60 likes | 190 Views
Final Wiring. Robot Challenge 2013. Final Wiring Notes. Motors and Motor Drivers Ultrasonic Sensor Line Followers Tilt and Pan Servos IR Obstacle Sensors Distance Sensors – Not Used. Motors. Driver Board to Arduino . P9 P8 P6 P5. IN1 IN2 IN3 IN4.
E N D
Final Wiring Robot Challenge 2013
Final Wiring Notes • Motors and Motor Drivers • Ultrasonic Sensor • Line Followers • Tilt and Pan Servos • IR Obstacle Sensors • Distance Sensors – Not Used
Motors • Driver Board to Arduino P9 P8 P6 P5 IN1 IN2 IN3 IN4 P5 P6 P9 P8
Motors • To Test use BasicMovment.ino sketch • Motor Pinout for all sketches • int L1 = 6, L2 = 5, L3 = 9, L4 =8; • Test – forward back spin left spin right – must be correct otherwise other sketches wont work • This will allow motor speed variation – eg • forward(1000,150); where 150 is speed ( max 255)
UltraSonic Sensor • Check the UltrasonicTest.ino sketch to make sure this is working • Ensure you have NewPing library installed
UltraSonic Sensor • Check the UltrasonicTest.ino sketch to make sure this is working