Literature Review
Literature Review
LITERATURE REVIEW
This project involved in hardware and software parts. For hardware it is using
microcontroller 8051, MAX232, RF module for transmission and receiving, DB 9
Connector, DB 25 Connector, transistor TIP31C, transistor BC547, power regulator,
keypad, LCD, PCB board and battery 9v.
The 8051 is one of the most popular microcontrollers in use today. Thus, the ability
to program in microcontroller 8051 is an important thing. A microcontroller has a CPU in
addition to a fixed amount of RAM, ROM, I/O ports and a timer all on a single chip. It ideal
for many applications in which cost and space are critical. It also save space of the
applications takes, the power it consumes and the price per unit are much more critical
consideration than the computing power.
Computers transfer data in two way, parallel and serial. To transfer to a device
located many meters away, the serial method is used. In serial communication, data is sent
4
one bit at a time, in contrast to parallel communication. The 8051 has serial communication
capability built into it. The fact that in serial communication a single data line is used
instead of the 8-bit data line of parallel communication makes it not only much cheaper.
There is three ways of transfer : simplex, half duplex and full duplex. Half duplex happened
when data is transmitted one way at a time.
The rate of data transfer in serial data communication is stated in bps or baud rate.
The RS232 was set to allow compatibility among data communication equipment made by
various manufacturers. RS232 is widely used serial I/O interfacing standard but it not TTL
compatible. In RS232, 1 is represented -3 to -25 V, while 0 bit is +3 to +25 V, making -3 to
+3 undefined. For this reason, to connect any RS232 to a microcontroller system we must
use voltage converters such as MAX 232 to convert the TTL logic level to RS232 voltage
level and vice versa.
2.1.2 MAX232
MAX232 is line driver (voltage converter) to convert the RS232’s signal to TTL
voltage levels that will be acceptable by 8051 TxD and RxD pin. MAX232 is made by
Maxim Corporate. It can converts from RS232 voltage levels to TTL voltage levels and
vice versa. The advantage of the MAX232 is it uses a +5 V power source which is the same
as the source voltage for 8051. MAX232 requires four capacitors ranging from 1 to 22uF.
5
2.1.3 RF Module
Below is a good set of figures for DB 9 male and female connectors, as viewed from
the pin side. (not the solder side)
6
Table 2.0: Pins commonly used for RS232
Both transistor is NPN type, it is used for medium power linear switching
applications. Most bipolar transistor used today are NPN because electron mobility
is higher than hole mobility in semiconductors. NPN is one of the two types of
bipolar transistors, in which the letters “N” and “P” refer to the majority charge
carriers inside the different regions of the transistor. A small current entering the
base in common-emitter mode is amplified in the collector output. The arrow in the
NPN transistor symbol is on the emitter leg and points in the direction of the
conventional current flow when the device is in forward active mode.
7
2.2 Software Overview
This are the software that using during this project : Program 8051, Visual Basic 6,
Microsoft Access, HyperTerminal, ISP loader and OrCAD 10.
8
2.2.3 HyperTerminal
It is a program that you can use it to connect to other computers, Telnet sites,
bulletin board systems, online services and host computers, using either your modem or a
null modem cable. HyperTerminal is still a useful means of configuring and testing your
modem or examining your connection with other sites. You can use HyperTerminal to
transfer large files from a computer onto your portable computer using a serial port rather
than going through the process of setting your portable computer up on a network.
The ISP-30a.zip file contains the main program and the I/O port driver and can be
downloading from internet. Place all files in the same folder. The main features of this
software are Read and Write the Intel Hex files, Read signature, lock and fuse bits, Clear
and Fill memory buffer, Verify with memory buffer, Reload current Hex files, Display
buffer checksum, Program selected lock bits & fuses and Auto detection of hardware. The
erase command is not provided in this software because this function is performed
automatically during device programming. If the requirement is to erase the controller, first
the clear buffer is been used to command the program the controller, this will ease the
controller.
2.2.5 OrCAD
OrCAD is software tool suite used primarily for electronic design automation. It
used mainly to create electronic prints for manufacturing of printed circuit boards. The
OrCAD product line is fully owned by Cadence Design Systems.