1 / 14

Final Wiring

Final Wiring. Robot Challenge 2013 Updated 10 th October. Final Wiring Notes. USE MASTERSKETCH_TEMPLATE Motors and Motor Drivers Ultrasonic Sensor Line Followers Tilt and Pan Servos IR Obstacle Sensors Wheel Sensors – Not Used. Motors. Driver Board to Arduino.

gerik
Télécharger la présentation

Final Wiring

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Final Wiring Robot Challenge 2013 Updated 10th October

  2. Final Wiring Notes • USE MASTERSKETCH_TEMPLATE • Motors and Motor Drivers • Ultrasonic Sensor • Line Followers • Tilt and Pan Servos • IR Obstacle Sensors • Wheel Sensors – Not Used

  3. Motors • Driver Board to Arduino P12 P8 P6 P5 IN1 IN2 IN3 IN4 P6 P5 P12 P8

  4. Motors • Use MasterSketch_TEMPLATE • Motor Pinout for all sketches • int L1 = 6, L2 = 5, L3 = 12, 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)

  5. UltraSonic Sensor • Check the UltrasonicTest.ino sketch to make sure this is working • Ensure you have NewPing library installed

  6. UltraSonic Sensor

  7. Line Followers • Check the LineFollowerTest.ino sketch to make sure this is working

  8. Line Followers G S V LEFT THE SENSOR SHOWN IS POINTING DOWN

  9. Line Followers G S V RIGHT THE SENSOR SHOWN IS POINTING DOWN

  10. Tilt and Pan • Use the MASTERSKETCH_TEMPLATE • Maxservo value 180 • Min servo value 0 • Midpoint 90

  11. Tilt and Pan • Use sensor shield pins 10 and 11 • 10 Tilt ( Up and Down action ) • 11 Pan Servo ( left to right action)

  12. Tilt and Pan Just remember for servo – Yellow goes to sensor pin

  13. Obstacle Sensors • Use sensor shield pins 2 and 3 (Right and Left) • Use MASTERSKETCH_TEMPLATE to test this • Note no distance – only a switch

  14. Obstacle Sensor Just remember for sensor– Yellow goes to sensor pin

More Related