Sumi Proj Copyprojectdoc (Repaired)
Sumi Proj Copyprojectdoc (Repaired)
ACKNOWLEDGEMENT
ABSTRACT
CHAPTERS
1. INTRODUCTION
3.1 Introduction
4.1 Introduction
8. MAX-232
12. APPLICATIONS
15. CONCLUSION
BIBLIOGRAPHY
APPENDICES
INTRODUCTION
TRANSMITTER
PC
MICROCONTROLLER
Max 232
AT89S52
ENcoder RF Tx
RPS
Crystal
RECEIVER
Robot
platform
MICROCONTROLLER
L293D
AT89S52
DECODER RF Rx
RPS
Crystal
BASIC REQUIRMENT
1. Power Supply
2. Crystal Oscillator
3. Reset
4. SIP Resistor
VOLTAGE REGULATORS
Transformer
Transformers convert AC electricity from one voltage to another with little loss of
power. Transformers work only with AC and this is one of the reasons why mains
electricity is AC. Step-up transformers increase voltage, step-down transformers
reduce voltage.
A step down power transformer is used to step down the AC voltage from the
of 110 VAC or 220 VAC i.e, it converts higher voltage at the input side to a lower
voltage at the output.
Rectifier
Filter
Regulator
This is a simple DC regulated supply project using 7805 voltage regulator to obtain
a variable DC voltage range from 5V to 15V
1. Unregulated voltage in
2. Ground
Crystal Oscillator
The 8051 uses the crystal for precisely that: to synchronize it’s operation.
Effectively, the 8051 operates using what are called "machine cycles." A single
machine cycle is the minimum amount of time in which a single 8051 instruction
can be executed. Although many instructions take multiple cycles. 8051 has an on-
chip oscillator. It needs an external crystal that decides the operating frequency of
the 8051. The crystal is connected to pins 18 and 19 with stabilizing capacitors. 12
MHz (11.059MHz) crystal is often used and the capacitance ranges from 20pF to
40pF.
A cycle is, in reality, 12 pulses of the crystal. That is to say, if an instruction takes
one machine cycle to execute, it will take 12 pulses of the crystal to execute. Since
we know the we can calculate how many instruction cycles the 8051 can execute
per second:
11,059,000 / 12 = 921,583
11.0592 MHz crystals are often used because it can be divided to give you exact
clock rates for most of the common baud rates for the UART, especially for the
higher speeds (9600, 19200).
Reset
RESET is an active High input When RESET is set to High, 8051 goes back to the
power on state.The 8051 is reset by holding the RST high for at least two machine
cycles and then returning it low. Initially charging of capacitor makes RST High,
When capacitor charges fully it blocks DC.
SIP Resistor
Sip Resistor is a single in pack Resistor (i.e.,) 8 resistors connected in series.
Basically SIP resistor is a 9 pin connector first pin is for power supply to the entire
8 resistors in SIP.
Generally SIP Resistor is used to close the open drain connections of Port 0.
AT89S52 MICROCONTROLLER
The AT89S52 is a low-power, high-performance CMOS 8-bit microcontroller with
8K bytes of in-system programmable Flash memory. The device is manufactured
using Atmel’s high-density nonvolatile memory technology and is compatible with
the industry-standard 80C51 instruction set and pin out. The on-chip Flash
allows the program memory to be reprogrammed in-system or by a conventional
nonvolatile memory programmer. By combining a versatile 8-bit CPU with in-
system programmable Flash on a monolithic chip, the Atmel AT89S52 is a
powerful microcontroller which provides a highly-flexible and cost-effective
solution to many embedded control applications.
Internal ROM of 8k
Pin Description