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.
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.
- ProxSensorExample - Display the values for the proximity sensor on the LCD Video
- LineSensorExample - Display the values for the line sensors on the LCD
- GyroSensorExample - Display robot angle on LCD Video
- 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.
- SumoExample - Very unintelligent Sumo robot.
- MoveAndAvoid - Move the robot around, avoiding obstacles. Video