<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:pixy_zumo_howto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:v2:pixy_zumo_howto [2018/08/27 13:24]
pixycam
wiki:v2:pixy_zumo_howto [2019/02/15 21:37] (current)
jfrench
Line 10: Line 10:
   * [[https://​pixycam.com/​pixy2/​|Pixy2]]   * [[https://​pixycam.com/​pixy2/​|Pixy2]]
   * [[https://​pixycam.com/​pixy2-pan-tilt-kit/​|Pixy2 pan-tilt kit]]   * [[https://​pixycam.com/​pixy2-pan-tilt-kit/​|Pixy2 pan-tilt kit]]
-  * Zumo robot for Arduino, [[https://​www.pololu.com/​product/​2509|unassembled kit]] or [[https://​www.pololu.com/​product/​2510|assembled]]+  * Zumo robot for Arduino, [[https://​www.pololu.com/​product/​2509|unassembled kit]] or [[https://​www.pololu.com/​product/​2510|assembled]] ​(note that the new 32U4 Zumo model will not work with this tutorial!)
   * 2 [[https://​www.pololu.com/​product/​3063|50:​1 geared motors]] (not needed if you buy Zumo assembled)   * 2 [[https://​www.pololu.com/​product/​3063|50:​1 geared motors]] (not needed if you buy Zumo assembled)
   * Arduino Uno or similar   * Arduino Uno or similar
Line 59: Line 59:
   ​   ​
 After you assemble the Zumo base, run a simple Arduino program to test the motors and buzzer. ​ Below is a simple Arduino program you can cut and paste into the Arduino IDE.  Note, the files ZumoMotors.h and ZumoBuzzer.h are part of the Pixy2 Arduino library (found [[https://​pixycam.com/​downloads-pixy2/​|here]]). ​ Install the Pixy2 Arduino library if you haven'​t already.  ​ After you assemble the Zumo base, run a simple Arduino program to test the motors and buzzer. ​ Below is a simple Arduino program you can cut and paste into the Arduino IDE.  Note, the files ZumoMotors.h and ZumoBuzzer.h are part of the Pixy2 Arduino library (found [[https://​pixycam.com/​downloads-pixy2/​|here]]). ​ Install the Pixy2 Arduino library if you haven'​t already.  ​
 +
 +
 +It's easy to hook the Zumo motors up backwards. ​ This program will help you determine if your Zumo is working correctly. ​ If something isn't right, none of the Zumo demos will work!  So it's good to give this test a whirl...
        
  
Line 182: Line 185:
  
  
-3. With the robot on its "​lift"​ (so it doesn'​t run off) hold the object directly in front of the robot, centered, about a foot from Pixy2'​s lens.  Both of Zumo's treads should be moving forward. ​ Move the object to the right. ​ Zumo's left tread should accelerate. ​ Move the object to the left.  Zumo's right tread should accelerate. ​ If one or more of the treads moves incorrectly or doesn'​t move at all, inspect the motor connections to Zumo's PCB, and use the Zumo test program (above) to better characterize how the motion is incorrect. ​ +3. With the robot on its "​lift"​ (so it doesn'​t run off) hold the object directly in front of the robot, centered, about a foot from Pixy2'​s lens.  Both of Zumo's treads should be moving forward. ​ Move the object to the right. ​ Zumo's left tread should accelerate. ​ Move the object to the left.  Zumo's right tread should accelerate. ​ If one or more of the treads moves incorrectly or doesn'​t move at all, inspect the motor connections to Zumo's PCB, and use the Zumo test program (above) to better characterize how the motion is incorrect.
  
  
wiki/v2/pixy_zumo_howto.1535376265.txt.gz ยท Last modified: 2018/08/27 13:24 by pixycam