Professional Documents
Culture Documents
Submitted by
ABSTRACT
This ultrasonic proximity detector comprising independent, battery or
AC powered transmitter and receiver sections make use of a pair of
matched ultrasonic piezo ceramic transducers operating at around 40 kHz
each.
This circuit is used in getting reflected signals of 40 KHz from the object
(like a missile) to feed that to a program to the microcontroller to switch
on appropriate load while the program is executed at the microcontroller
end.
When the microcontroller receives the signal from ultrasonic receiver it
activates the study lamp by triggering the gate of MOSFET through a
transistor.
Stud
y
lamp
HARDWARE REQUIREMENTS
POWER SUPPLY BLOCK
MICROCONTROLLER (AT89S52/AT89C51)
ULTRASONIC MODULE
PUSH BUTTONS
LCD
BC547
RESISTORS
CAPACITORS
POWER SUPPLY
Bridge rectifier
230 V
AC
50
Hz
5v Regulator
5V
DC
12V step down
transformer
Filter(470f)
MICROCONTROLLER
It is a smaller computer
Has on-chip RAM, ROM, I/O ports...
CPU
I/O
Port
RAM ROM
Serial
Timer COM
Port
A single chip
Microcontroller
On-chip
ROM for
program
code
Timer/Counter
On-chip
RAM
Timer 1
Timer 0
CPU
OSC
Bus
Control
4 I/O Ports
P0 P1 P2 P3
Address/Data
Serial
Port
TxD RxD
Counter
Inputs
Features of AT89S51/52
Compatible with MCS-51 Products
8K Bytes of In-System Programmable (ISP) Flash Memory
Endurance: 10,000 Write/Erase Cycles
Watchdog Timer
Pin Description
sensors
(also
known
as
sensors
generate
high
MOSFET
TheMOSFET(Metal Oxide Semiconductor
Field Effect Transistor) is a Voltage controlled
device.
This means that a voltage at the gate control
the current flows from the drain to the source.
There are three terminals: Gate - connected
to the input device.
Drain - connected to the positive, since
electrons drain away to the positive. Source the source of the electrons
Contd..
USES OF MOSFETS High power devices like
motors and light bulbs give a large current
output for a very tiny current input.
So a MOSFET can act as the interface
between an integrated circuit that can give
only a tiny current, and the motor that
takes a big current.
In complimentary pairs they are used in hifi power amplifiers.
They produce less distortion as they are
more linear than bipolar transistors.
Integrated circuits, as they can be made
very compact.
LCD BACKGROUND
If an 8-bit data bus is used the LCD will require 11 data lines
(3 control lines plus the 8 lines for the data bus)
The three control lines are referred to as EN, RS, and RW
EN=Enable (used to tell the LCD that you are sending it data)
RS=Register Select (When RS is low (0), data is treated as a command)
(When RS is High(1), data being sent is text data )
R/W=Read/Write (When RW is low (0), the data written to the LCD)
(When RW is low (0), the data reading to the LCD)
Software Requirements
Keil an ARM Company makes C compilers, macro assemblers,
real-time
kernels,
environments,
debuggers,
evaluation
boards,
simulators,
and
integrated
emulators
for
i.e the programs written in one of the HLL like C will compile the
code to run on the system for a particular processor like x86
(underlying microprocessor in the computer).
For example compilers for Dos platform is different from the
Compilers for Unix platform So if one wants to define a compiler
then compiler is a program that translates source code into object
code.
BIBILOGRAPHY
The 8051 Microcontroller and Embedded systems
by Muhammad Ali Mazidi and Janice Gillispie
Mazidi , Pearson Education.
ATMEL 89S52 Data Sheets.
www.atmel.com
www.beyondlogic.org
www.wikipedia.org
www.howstuffworks.com
www.alldatasheets.com
U
O
Y
K
TH A N