Beruflich Dokumente
Kultur Dokumente
, Cortex
-M,
Cortex-R, 8051.
Proteus:
Proteus PCB design combines the ISIS schematic
capture and ARES PCB layout programs to
provide a powerful, integrated and easy to use
suite of tools for professional PCB Design.
89C51 (Atmel) Features
4 KB flash memory
128 Bytes RAM
32 I/O lines
2 16-bit Timer/Counter
Features:
Modulated IR transmitter
Ambient light protected IR receiver
3 pin interface connectors
Indicator LED
1.Microcontroller provides us only digital logic (1 or a 0).
2. We cant provide polarity from microcontroller.
3. We cant connect motors to Controller as mostly motors runs on
voltage higher that +5V, and motors demands high current (depends).
Now the solution to above limitations is use of a H Bridge.
8051C
PC
Memory
ML
MR MR
Clock
LS
RS
LS: Left Sensor
FS: Front Sensor
RS: Right Sensor
ML: Motor Left
MR: Motor Right
Left
Sensor
Right
Sensor
Action
1 0
45
o
turn
right
0 1
45
o
turn
left
1 1 Move
Back
0 0 Move
forward
Path of robot