progress seminar 2
TRANSCRIPT
-
7/31/2019 Progress Seminar 2
1/25
8/15/12
BLOCK DIAGRAM
SENSORS MICROCONTROLLER
MOTORCONTROLLER
LEFTMOTOR
RIGHTMOTOR
-
7/31/2019 Progress Seminar 2
2/25
8/15/12
BLOCK DIAGRAM OF 89C51
-
7/31/2019 Progress Seminar 2
3/25
8/15/12
89C51
The ATmel 89C51 is a low-power,high-performance CMOS 8-bitmicrocomputer with 4K bytes of
Flash programmable and erasableread only memory (PEROM). TheATmel 89C51 device is manufactured
using Atmels high-densitynonvolatile memory technology andis compatible with the industry-standard MCS-51 instruction set andpinout. The on-chip Flash allows the
-
7/31/2019 Progress Seminar 2
4/25
8/15/12
FEATURES OF 89C51
Compatible with MCS-51 Products
4 Kbytes of In-System
Reprogrammable Flash Memory.Endurance 1,000 Write/EraseCycles
Fully Static Operation: 0 Hz to 24MHz
Three-Level Program Memory Lock
128 x 8-Bit Internal RAM
-
7/31/2019 Progress Seminar 2
5/25
8/15/12
PIN DIAGRAM
-
7/31/2019 Progress Seminar 2
6/25
8/15/12
PIN CONFIGURATIONS
Vcc pin 40
Vcc provides supply voltage to the
chip.The voltage source is +5V.
GND pin 20 ground
XTAL1 and XTAL2 pins 19,18
XTAL 1: input to the invertingoscillator amplifier and input to the
internal clock operating circuit.
-
7/31/2019 Progress Seminar 2
7/25
8/15/12
RST pin 9 reset
It is an input pin and is active high
normally low
.The high pulse must be high at least
2 machine cycles.
It is a power-on reset. Upon applying a high pulse to RST,
the microcontroller will reset and all
values in registers will be lost.
-
7/31/2019 Progress Seminar 2
8/25
8/15/12
EA/Vpp pin 31 external access
There is no on-chip ROM in 8031 and
8032 .The /EA pin is connected to GND to
indicate the code is stored externally.
/PSEN ALE are used for externalROM.
For 8051, /EA pin is connected to
Vcc.
-
7/31/2019 Progress Seminar 2
9/25
-
7/31/2019 Progress Seminar 2
10/25
8/15/12
Pins of I/O Port
The 8051 has four I/O ports
Port 0 pins 32-39 P0 P0.0
P0.7
Port 1 pins 1-8 P1 P1.0 P1.7
Port 2 pins 21-28 P2 P2.0 P2.7
Port 3 pins 10-17 P3 P3.0
P3.7
-
7/31/2019 Progress Seminar 2
11/25
8/15/12
Other Pins
P1, P2, and P3 have internal pull-upresisters.
P1, P2, and P3 are not open drain. P0 has no internal pull-up resistors
and does not connects to Vcc inside
the 8051. P0 is open drain.
Compare the figures of P1.X and
P0.X.
-
7/31/2019 Progress Seminar 2
12/25
8/15/12
SENSORS
The sensor measures some attribute of theworld.
The term transducer is often used
interchangeably with sensor. A transduceris the mechanism, or element, of thesensor that transforms the energyassociated with what is being measuredinto another form of energy.
A sensor receives energy and transmits asignal to a display or computer. Sensorsuse transducers to change the input signal
(sound, light, pressure, temperature, etc.)into an analo or di ital form ca able of
-
7/31/2019 Progress Seminar 2
13/25
8/15/12
Type of Sensors
-
7/31/2019 Progress Seminar 2
14/25
8/15/12
Type of Sensors
-
7/31/2019 Progress Seminar 2
15/25
8/15/12
I R Sensor
In IR sensor there is emitter and detector. Emitteremits the IR rays and detector detects it.
Sensor behavior if there is an object of Blue andBlack color
-
7/31/2019 Progress Seminar 2
16/25
8/15/12
L293D
The principle of the robot is based onsensing the background surfacemaking use of IR sensor. Basically IRsensor takes input by detecting thereflection of the IR rays from the
surface and accordingly gives itsoutput to the motors. The output ofthe sensors are not directly fed to the
motors instead a L293D IC is used in
-
7/31/2019 Progress Seminar 2
17/25
8/15/12
L293D IC is a dual H-bridge motordriver IC. One H-bridge is capable todrive a dc motor in bidirectional.
L293D IC is a current enhancing IC asthe output from the sensor is notable to drive motors itself so L293D
is used for this purpose. L293D is a16 pin IC having two enables pinswhich should always be remain highto enable both the H-bridges.
-
7/31/2019 Progress Seminar 2
18/25
8/15/12
PIN DIAGRAM OF L293D
-
7/31/2019 Progress Seminar 2
19/25
8/15/12
WORKING MODEL
-
7/31/2019 Progress Seminar 2
20/25
8/15/12
ABOUT THE ROBOT
The robot will be a edge avoiderrobot. Apart from that we will try toincorporate some extra features like
finding out the survivor.
-
7/31/2019 Progress Seminar 2
21/25
8/15/12
BURNER USED
The burner used is sunrom. It is a fullfeatured low cost programmer. Theprogrammer works on usb ports and
can be used with laptops. It comeswith a full featured sotware whichallows batch programming and saves
time. It is compatible most versionsof window-98/2000/XP/vista/7.
M lti b ti
-
7/31/2019 Progress Seminar 2
22/25
Click to edit Master subtitle style
8/15/12
Multipurpose roboticsystem
more functions will be added during the development phase
Functions
Movement Edgeavoiding
-
7/31/2019 Progress Seminar 2
23/25
8/15/12
Progress till now.Date: 1/2/12 -----Topic selection
Multipurpose robotic system
Date:4/2/12 ----- Selection & procurement of Microcontroller
AT89C51 & AT89S51
Date:8/2/12 ----- Test of 8051 programmer
Programmer used:--USB LOW COST 8051Programmer for
Atmel 89XXX series
----- Tested on 64bit windows 7 system
----- IC detection failed
Date:22/2/12 -----Programmer tested on 32bit windows XP/7
----- Detection failed
-
7/31/2019 Progress Seminar 2
24/25
8/15/12
Date: 10/3/12 ----12MHz Quartz Crystal was procured.
---- Its used for frequency stabilizationof the clock
signal of the microcontroller.
Date:13/3/12 -----The DEMO program that was burnt
successfully on
6th March12 was implemented onbread board.
Result : LEDs did glow !!
Note: The days that are not mentioned here,were utilized in the study of the instructions of
-
7/31/2019 Progress Seminar 2
25/25
8/15/12
Video showing LED glow