pololu / zumo-2040-robot

Example code for the Pololu Zumo 2040 Robot
MIT License
1 stars 3 forks source link

Pololu Zumo 2040 Robot Libraries and Example Code

www.pololu.com

Summary

This repository includes example code and libraries for the Pololu Zumo 2040 Robot.

The Zumo 2040 Robot is a complete, high-performance mobile platform based on the Raspberry Pi RP2040 microcontroller. It has integrated motor drivers, encoders, a 128x64 graphical OLED display, six RGB LEDs, a buzzer, buttons, line sensors, side and front proximity sensors, an LSM6DSO accelerometer and gyro, and an LIS3MDL compass.

MicroPython

Most features of the Zumo will work with the standard Micropython firmware compiled for the Pico, but you should install our Zumo-specific version for complete support and the latest bugfixes. You can check that you are on compatible firmware by connecting to the REPL and looking for the name of the board:

MicroPython v1.22.0-preview-8-g05cb1406a build 231113-5e56368; with ulab 6.4.0a05ec05; Pololu Zumo 2040 Robot
Type "help()" for more information.
>>>

You can also get firmware version information by running import sys; sys.version in the REPL or Python code.

The micropython_demo folder in this repository includes a variety of example programs as well as a complete MicroPython library supporting the hardware on the robot. These examples include a main.py file that runs automatically on boot and allows you to select other Python programs to run from a menu. See that file for details about how to customize it for your own application.

C/C++

The c folder in this repository includes several example programs and a C library supporting some of the hardware on the robot.

See also