Skip to content

pvcraven/zumo_32u4_examples

Repository files navigation

Example code for Polulu's Arduino-based Zumo 32U4 robot

Examples by Prof. Craven

This is a repository of example code for Pololu's Zumo 32U4 robot. Their user guide is here. To get started with their robot, download the Arduino compiler, Next install the A-Star support for the Arduino compiler. (Look down a ways on that page for where to copy things over to install.) Finally, install the Zumo library.

Software setup

For help in getting a computer set up with the Zumo robot, see this video. You'll need:

  • Arduino Compiler
  • Driver support Install drivers and copy over the Pololu hardware folder
  • From the Arduino compiler, go to Sketch...Include Library...Manage Libraries, then search for "Zumo" and install the library.

Easiest example:

  • LEDs - Learn to blink the three LEDs on the board. Video

Learn to use the sensors:

Move the robot:

  • MotorDeadReckoning - Move the robot using dead reckoning. (Timing.) Video
  • MotorEncoders - Move the robot using wheel encoders for more accurate distances.
  • TurnExample - Turn a certain number of degrees using the gyro
  • HeadingHold - More complex example. Attempts to hold-heading so we drive straight.

Complex examples:

About

Prof Craven's example code for Polulu's Zumo 32U4 robot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages