Professional Documents
Culture Documents
•Embedded System.
• VLSI Technology.
• Wireless Technology.
Products of Embedded Technology
•Function Generator
Aircraft electronics
Trains
Telecommunication
General-purpose microprocessor
CPU for Computers
No RAM, ROM, I/O on CPU chip itself
Example : Intel’s x86, Motorola’s 680x0
Microprocessor Microcontroller
•CPU is stand-alone, • CPU, RAM, ROM, I/O and
RAM, ROM, I/O, timer timer are all on a single
are separate chip
•designer can decide
• fix amount of on-chip
on the amount of
ROM, RAM and I/O ROM, RAM, I/O ports
ports. • for applications in which
•expansive cost, power and space are
•versatility critical
•general-purpose • single-purpose
Three criteria in Choosing a Microcontroller
1. Meeting the computing needs of the task efficiently and cost
effectively
• speed, the amount of ROM and RAM, the number of I/O
ports and timers, size, packaging, power consumption
• easy to upgrade
• cost per unit
1. availability of software development tools
• assemblers, debuggers, C compilers, emulator, simulator,
technical support
1. wide availability and reliable sources of the microcontrollers.
P1.0 1 4 Vcc
P1.1 2 3
0 P0.0(AD
P1.2 3 3
9 P0.1(AD1)
0)
P1.3 4 8051 3
8 P0.2(AD
P0.3(AD3
P1.4 5 3
7 2)
P1.5 6 3
6 )P0.4(AD4
P1.6 7 3
5 P
) 0.5(AD5)
P1.7 8 3
4 P0.6(AD6)
RST 9 3 P0.7(AD7
(RXD)P3.0 1 31
2 )EA/VPP
(TXD)P3.1 1
0 3 ALE/PROG
(INT0)P3.2 1 2
0 PSEN
(INT1)P3.3 1
2 2
9 P2.7(A15)
(T0)P3.4 1
3 2
8 P2.6(A1
(T1)P3.5 1
4 2
7 P2.5(A1
4)
(WR)P3.6 1
5 2
6 P2.4(A1
3)
(RD)P3.7 1
6 2
5 P2.3(A1
2)
XTAL2 1
7 2
4 P2.2(A10
1)
XTAL1 1
8 2
3 )P2.1(A9)
GND 2
9 2 P2.0(A8)
0 1
Block Diagram
S ————►
E A 805
N D 1
S 40
C
O PIN
R DIP
LCD
DISPLAY
4×4 MATRIX
SWITCHES KEYBOARD
The microcontroller development board is a
microcontroller based embedded system through
which students can understand different types of
interfacings such as LEDs, 7-
segment,switches,relays,buzzers, keyboard, ADC,
DAC, Sensors, EEPROM, RTC, LCD, 8255 etc. Using
this board one can easily understands the hardware
and software details of above mentioned devices.
DIFFERENT TYPES OF INTERFACINGS
•LED INTERFACING
•SWITCHES INTERFACING
•INTERFACING OF 7-SEGMENT DISPLAY
•INTERFACING OF
EEPROM
•RTC INTERFACING
•RELAY INTERFACING
•BUZZER INTERFACING
•LCD INTERFACING
•STEPPER MOTOR INTERFACING
LED INTERFACING
For interfacing a single Led to 89c51
microcontroller, we connect the
anode (+) end of LED to the
designated port pin via a pull-up
resistor. While the cathode end of
LED is connected to GND. For
glowing a LED, a high logic is
required at the anode (+), so port
pin is set to high for glowing LED.
● But how do we get th
programs onto the de
WITH THE USE OF KEIL SOFTWARE
8051
4.
4.7 s
k7 k
w
P0.0
29
Keyboard Interfacing
•Keyboards are the input devices and is
generally organized in a matrix of rows
and columns.
•When a key is pressed row makes a
contact with column, otherwise there is
no connection.
•Keyboard is a basic and essential
element of an embedded or
microcontroller system. For small and
hobby projects a 4x4 (hex) matrix
keyboard is sufficient. The keys in the
matrix keyboard are arranged in a
matrix arrangement in order to utilize
the port pins of the microcontrollers
efficiently. Here we can interface 16
keys by using just 8 pins of
microcontroller.
Interfacing of seven segment
display
Seven segment display is a
basic type of display which
can display numbers from 0
to 9. Driving a 7 segment
display is as simple as
flashing LEDs, but here we
are flashing 7+1 LEDs. The
7 segment display module
has 8 LEDs (7 segments to
display number and one
segment for decimal point
or dot) arranged in a
particular manner .
INTERFACING OF EEPROM
P1.0 D0
4×16 Character LCD Display
P1.7 D7
E RS R/W Gnd Vee Vcc
P2.0
P2.1 +5v
P2.2
^^^^^^
10k
RTC INTERFACING
RTC is widely used device that
provides accurate time and date for
many applications. Figure shows
interfacing of RTC chip DS12887 to
8051.
It has a total of 128 bytes of non
volatile RAM.
It uses 14 bytes of RAM for clock
calendar and control registers and
other 114 bytes of RAM for general
purpose data storage
VCC
8051
RST crystal
SDA
SCL
DS1307
SQW\OUT
GND
STEPPER MOTOR INTERFACING
This stepper motor is very simplified. The rotor of
a real stepper motor usually has many poles. The
animation has only ten poles, however a real
stepper motor might have a hundred. These are
formed using a single magnet mounted inline with
the rotor axis and two pole pieces with many
teeth. The teeth are staggered to produce many
poles. The stator poles of a real stepper motor
also has many teeth. The teeth are arranged so
that the two phases are still 90° out of phase. This
stepper motor uses permanent magnets. Some
stepper motors do not have magnets and instead
use the basic principles of a switched reluctance
motor. The stator is similar but the rotor is
composed of a iron laminates
How To Proceed ?
Initially we interfaced LED, 7-segment and
Keyboard and check programme which is the
purpose of trainer Kit.
In these way we go step by step for each
module interface and accomplish the goal of
making a well-functioning Trainer Kit.
Finally we add some features by interfacing RTC
for a Digital clock.
1
Locks & Keys
2
Security is less
Others can steal the user’s entry key
3
4
Power POWER SUPPLY TO ALL SECTIONS
supply
16 X 2
LCD
Finger Print
Module 8
9
ULN
S DRIVER
Reset
5
2 Driver
Circuit
Stepper
Motor
Buzzer
5
Enter ur
fingerprint
verifiein
g
fingerpri no
nt
yes
Enter password
Checking
Password no
yes
Locker is opened
by stepper
motor
6
Press Switch to
close the locker
Transformer
Bridge Rectifier
Regulator
7
89S52 microcontroller.
RAM 256Bytes.
is same as 8051
microcontroller.
8
In this we choose “verification” process.
9
In this mode,we can register our finger image in
present of manager.
1
0
Compare of input finger print and identified finger print
1
1
We are using 16x2 lcd display
1
2
1
3
Unique id (password) which is given to user to
keypad.
1
4
1
5
Automatically, locker will open by stepper
motor(step angle).
After the work by using reset pin user will
1
6
1
7
It is a signaling device.
1
8
1
9
Most secure
No manual errors
2
0
Voter Identification and electoral enrollment
Industries
Personal Computer
2
1
GSM modem can be connected to this unit to
2
2
This project is used for 100 members, we can also