You are on page 1of 4

ABSTRACT

In most of all the applications, it is very necessary to store the data even in power
failures. There are certain rules and regulations to be followed while writing or reading
data in to a memory device. There are many such protocols to perform this task. The most
convenient protocol which uses very less hardware is I2C Protocol.

I2C stands for Inter Integrated Circuit. It is a 2-wired protocol. That is, data from
a memory can be read or written using only two wires (i.e., using only two port pins of
the microcontroller). Using this protocol, the user can write the data into the memory.
The data can be given from any input devices. In this application, the data is given
through the keyboard of PC. To have the communication between PC and
microcontroller, serial communication is used.

In order to control the robot through PC, data transfer must be ensured between
PC and 8051 system. Serial data communication uses a single data line which makes it
not only cheaper but also enables two computers located in two different cities to
communicate over the telephone. There are special IC chips made by many
manufacturers for serial data communication. These chips are usually referred to as
USART(Universal synchronous-asynchronous receiver-transmitter) and UART(Universal
asynchronous receiver-transmitter). 8051 chip has an in-built UART i.e., it has an
integrated serial port which enables one to read and write values to the serial port very
easily.

The rate of data transfer in serial data communication is stated in bps (bits per
second) or baud rate. To allow data transfer between PC and 8051 system without any
error, the baud rate of the 8051 system should match the baud rate of the PC’s COM port.
Thus the operation mode and baud rate of the serial port is to be configured. Once
configured, read or write operations can be performed accordingly.
Thus the data given from PC is taken using RS-232 standards into the
microcontroller and stored into EEPROM using I2C protocol. Similarly, the data can be
read from EEPROM which is already written into it using I2C protocol and can be
displayed on PC HyperTerminal window using RS-232 Standards.

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.
Block Diagram

Power On

EEPROM

PC
Microcontroller

MAX232

You might also like