Beruflich Dokumente
Kultur Dokumente
UBOCON 02
Bengkel Asas Pembinaan Robot
Prepared by Yeong Che Fai
Overview
Introduction-Robot?
Line
Following Robot
Hardware
Video
Introduction-Robot?
A machine able to extract information from its environment and use knowledge about its world to move safely in a meaningful and purposive manner
Introduction-Robot?
Human Brain Legs Eye Robot Controller Actuators Sensors
Overview
Platform
(Try to be as interesting possible)
Sensors (Eye)
Wheels
Toy Wheels A portion of PVC ( or any cylindrical) tube wrapped with rubber grip (racquet grip)
Motors Wheels
Motor
Wheel
Vss = Logic Supply = 4.5V to 36V Vs = Motor Driver Supply = Vss to 36V
Sensors
Platform
(Try to be as interesting possible)
Sensors (Eye)
Sensors
Sensors (Eye)
Sensors
Sensors (Eye)
Sensors (Eye)
Sensors
Wheel
Platform
(Try to be as interesting possible)
Sensors (Eye)
Controller
Controller
Hard Wired
Microcontroller, Motorola,Atmel,PIC
Microprocessor
DSP Board
PC based Controller
FPGA
Input Start button Stop button Line Sensors Output Motor direction (L293) Leds Buzzer
33pF
Vcc 20 Gnd 10
33pF
Vcc 20 Gnd 10
11 9 8 7 6 3 2
Right Motor
L 2 9 3 B Motor Driver
Algorithm
How to integrate all the components together ; the controller, actuator and sensors?
Platform
(Try to be as interesting possible)
Sensors (Eye)
Algorithm
Line Following
Controller (Brain) ALGORITHM ! Controller (Brain) Motors and wheels (Leg) Controller ALGORITHMand wheels (Leg) (Brain) Motors ! ALGORITHM !Platform Platform Platform (Try to be as (Try to be as interesting Sensors (Eye) possible) interesting (Try to be as
Sensors (Eye) Sensors (Eye)
possible) interesting possible)
Algorithm
Controller
Actuators
Algorithm
L 0 0 0 1 0
M 0 0 1 0 0
R 0 1 0 0 0
Forward
Turn Left Stop/Error
Algorithm
Middle Sensors?
Yes
No
Right Sensors?
Yes
Turn Right
Yes
Left Sensors?
No
No
Algorithm
mov
mov again: jnb
p3,#11111111b
p1,#00000000b
l1:
l2: l3:
mov
mov
r2,#255
r3,#255
p3.0,ps1
jnb
p3.1,ps2
djnz r1,l1
ret ;Led Blinking
ljmp again ; switch1: mov p1,#11111111b acall delay1 mov p1,#00000000b acall delay1 ljmp switch1 switch2:
end
The tiles are expected to have a bit of slack in fit and variation Robots should be designed to handle these discrepancies!!!
Conclusion
This workshop is merely a guideline for students to start off their project, especially those with no prior knowledge in robotics. However, students are strongly encouraged to be creative and innovative, and improve on whats been presented here.
Appendices
The End