Você está na página 1de 4

WK601 www.WineYard.

in

IEEE Reference:

DATA TRANSMISSION AND RECEPTION FROM PIC 16F877A MCU TO PCS


HYPER TERMINAL USING RS-232 COMMUNICATION USING PIC
MICROCONTROLLER

Sun-Ying Zhu-Dazhong
Dept. of Inf. Sci. & Electron. Eng., Zhejiang Univ., Hangzhou;

www.WineYard.in Ph: 040-6464 6363, 6625 6695, 888 5555 212


This paper appears in: Solid-State and Integrated Circuit Technology, 2006.
ICSICT '06. 8th International Conference on
Publication Date: Oct. 2006
On page(s): 557-559
Location: Shanghai,
ISBN: 1-4244-0160-7
INSPEC Accession Number: 9398415
Digital Object Identifier: 10.1109/ICSICT.2006.306352
Current Version Published: 2007-04-02

Hyderabad: Tarakarama Estates, 2nd Left Lane Opp. RS Brothers, Ameerpet, Hyderabad-500073
Vijayawada: 4th Floor, White House, Opp. All India Radio, MG Road, Vijayawada-520010
WK601 www.WineYard.in

DATA TRANSMISSION AND RECEPTION FROM PIC 16F877A MCU TO PCS


HYPER TERMINAL USING RS-232 COMMUNICATION USING PIC
MICROCONTROLLER
Technical Specifications:

Title of the project : DATA TRANSMISSION AND RECEPTION


FROM PIC 16F877A MCU TO PCS HYPER
TERMINAL USING RS-232 COMMUNICATION
USING PIC MICROCONTROLLER

www.WineYard.in Ph: 040-6464 6363, 6625 6695, 888 5555 212


Domain : Embedded Systems Design
Software : Embedded C
Microcontroller : PIC16F877A

Power Supply : +5V, 500mA Regulated Power Supply

Display : a) LCD

b) LED

LCD : HD44780 16-character, 2-line (16X2)

LED : 5mm White-in-Red, 5mm White-in-Blue

Key Pad : 3X4

Developed By : M/S Wine Yard Technologies

Phone : 040-6464 63 63, www.WineYard.in

Hyderabad: Tarakarama Estates, 2nd Left Lane Opp. RS Brothers, Ameerpet, Hyderabad-500073
Vijayawada: 4th Floor, White House, Opp. All India Radio, MG Road, Vijayawada-520010
WK601 www.WineYard.in

ABSTRACT:
One of the PIC many powerful features is its integrated UART, otherwise known as a
serial port. The fact that the PIC has an integrated serial port means that you may very
easily read and write values to the serial port. If it were not for the integrated serial port,
writing a byte to a serial line would be a rather tedious process requiring turning on and
off one of the I/O lines in rapid succession to properly "clock out" each individual bit,
including start bits, stop bits, and parity bits.

www.WineYard.in Ph: 040-6464 6363, 6625 6695, 888 5555 212


However, we do not have to do this. Instead, we simply need to configure the serial
ports operation mode and baud rate. Once configured, all we have to do is write to an
SFR to write a value to the serial port or read the same SFR to read a value from the
serial port. The PIC will automatically let us know when it has finished sending the
character we wrote and will also let us know whenever it has received a byte so that we
can process it. We do not have to worry about transmission at the bit level--which saves
us quite a bit of coding and processing time.

In this project, a 3X4 key pad is interfaced to the microcontroller. This project is also
provided with a 16X2 LCD and push-to-on switches. In transmit mode if any key on key
pad is pressed, the corresponding data will be displayed on LCD and on PCs hyper
terminal window. In Reception mode, any message is typed on key board, the data will be
displayed on PCs hyper terminal window and on the LCD.

The additional feature of this project is, it is provided with Dancing LED system.
A push-to-on switch is provided to change the dancing effect of the LED array. This
project uses regulated 5V, 500mA power supply. 7805 three terminal voltage regulator is
used for voltage regulation. Bridge type full wave rectifier is used to rectify the ac out put
of secondary of 230/12V step down transformer.

Hyderabad: Tarakarama Estates, 2nd Left Lane Opp. RS Brothers, Ameerpet, Hyderabad-500073
Vijayawada: 4th Floor, White House, Opp. All India Radio, MG Road, Vijayawada-520010
WK601 www.WineYard.in

Block Diagram:
Contrast
Control

16X2 LCD

SW1

www.WineYard.in Ph: 040-6464 6363, 6625 6695, 888 5555 212


SW2
PIC
16F877A
Micro
Controller

LED
Array

MAX232

To PC

Step Bridge Filter


down Rectifier Circuit Regulator
T/F Power supply to all sections

Hyderabad: Tarakarama Estates, 2nd Left Lane Opp. RS Brothers, Ameerpet, Hyderabad-500073
Vijayawada: 4th Floor, White House, Opp. All India Radio, MG Road, Vijayawada-520010

Você também pode gostar