Pololu 3117 A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge
The A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge is a programmable module well-suited for robotics applications, designed to work either as an auxiliary controller mounted to a Raspberry Pi or as a standalone control solution for a small robot. This A-Star (abbreviated A*) is based on the ATmega32U4 AVR microcontroller from Microchip (formerly Atmel), which has built-in USB functionality, and it ships with a preloaded Arduino-compatible bootloader. Its complement of peripheral hardware includes dual motor drivers capable of delivering a continuous 1.8 A per channel, along with pushbuttons, LEDs, and an optional buzzer for building a user interface. An efficient switching voltage regulator allows the controller to work over a wide range of input voltages (2.7 V to 11 V).
The robot controller board conforms to the Raspberry Pi HAT specification, allowing it to be used as an add-on for a Raspberry Pi with a 40-pin GPIO header (Model B+ or newer, including Pi 3 Model B+ and Model A+) . On-board level shifters make it easy to set up I²C communication and interface other signals between the two controllers, and the A-Star automatically supplies 5 V power to an attached Raspberry Pi. In this setup, the Raspberry Pi can handle the high-level robot control while relying on the A-Star for low-level tasks like reading analog sensors and controlling timing-sensitive devices (e.g. servos).
Pololu have provided a library that helps establish communication between the A-Star and a Raspberry Pi, as well as a tutorial that demonstrates how to use the library and its included example code to build such a robot.