A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge (SMT Components Only)

This programmable module is designed to be the core of a small robot, either as an auxiliary controller atop a Raspberry Pi base or as a complete control solution on its own. Its Atmel ATmega32U4 microcontroller comes preloaded with an Arduino-compatible bootloader.

AUD$ 43.95

Special Order  

Shipping from $7.90

+26 more from our supplier in 7-10 days

Our Code: SKU-003525

Supplier Link: [Pololu MPN:3116]


Description

Overview

A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge, bottom view with dimensions

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 Atmel’s ATmega32U4 AVR microcontroller, 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+, Model A+, Pi 2 Model B, or Pi 3 Model B). 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 analogue sensors and controlling timing-sensitive devices (e.g. servos).

We provide 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.

Our comprehensive user’s guide provides the basics you need to get started with the A-Star as well as detailed technical information for advanced users.

This product requires a USB A to Micro-B cable (not included) to connect to a computer.

Driving motors with an A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge on a Raspberry Pi Model B+ or Pi 2 Model B

A-Star 32U4 Robot Controller LV (2.7 V to 11 V) configurations:

A-Star 32U4 Robot Controller SV (5.5 V to 36 V) configurations:

Features

  • Dimensions: 65 mm × 56 mm (2.6″ × 2.2″)
  • Programmable ATmega32U4 MCU with 32 KB flash, 2.5 KB SRAM, 1 KB EEPROM, and native full-speed USB (clocked by precision 16 MHz crystal oscillator)
  • Preloaded with Arduino-compatible bootloader (no external programmer required)
  • All 26 general-purpose I/O lines from the ATmega32U4 are broken out (including PB0, PD5, and PE2); 7 of these can be used as hardware PWM outputs and 12 of these can be used as analogue inputs (some I/O lines are used by on-board hardware)
  • Convenient 0.1″-spaced power, ground, and signal connection points
  • Dual bidirectional DRV8838 motor drivers (1.8 A per channel)
  • Buzzer option for simple sounds and music
  • 3 user-controllable LEDs
  • 3 user pushbuttons
  • Reset button
  • Level shifters for interfacing 5 V logic to 3.3 V Raspberry Pi
  • Power features:
    • 5 V power can be sourced from USB or from a 2.7 V to 11 V external supply through on-board regulator (with several access points for connecting external power)
    • Switching 5 V regulator enables efficient operation
    • Power switch for external power inputs
    • Reverse-voltage protection on external power inputs
    • Power selection circuit allows for seamless switching between power sources while providing overcurrent protection, and feedback about which power source is selected
    • Provides 5 V power to Raspberry Pi
  • 6-pin ISP header for use with an external programmer
  • Comprehensive user’s guide

Details for item #3116

A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge (SMT components only) (1)

This version of the A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge (2.7 V to 11 V input voltage) does not include any through-hole components. It ships as shown in the picture above, without any male or female headers, terminal blocks, DC power jack, buzzer, or Raspberry Pi mounting hardware. This configuration is intended for those who want to use the board as a standalone robot controller or customise the way it is assembled for use with a Raspberry Pi, such as by installing a stackable 2×20-pin female header in order to continue to have access to the Raspberry Pi’s 40 GPIO pins while the A-Star is plugged in. If you want to use this version with the Raspberry Pi, we recommend you also get 11 mm M2.5 standoffs along with compatible nuts and screws.

For a version assembled with selected through-hole parts for use as a Raspberry Pi add-on and with mounting hardware included, see item #3117.

A-Star 32U4 Robot Controller LV 5 V regulator

A major feature of the A* Robot Controller LV is its power system, which allows it to efficiently operate from a 2.7 V to 11 V external source and provide power to an attached Raspberry Pi. The input voltage is regulated to 5 V by a TPS63061 switching step-up/step-down (buck-boost) converter from Texas Instruments. (We also make a standalone regulator based on this integrated circuit.) The regulator’s flexibility in input voltage is especially well-suited for battery-powered applications in which the battery voltage begins above 5 V and drops below 5 V as the battery discharges. Without the typical restriction on the battery voltage staying above 5 V throughout its life, a wider range of battery types can be considered. For example:

  • A 4-cell battery holder, which might have a 6 V output with fresh alkalines or a 4.0 V output with partially discharged NiMH cells, can be used to power this A*.
  • A disposable 9 V battery powering the board can be discharged to under 3 V instead of cutting out at 6 V, as with typical linear or step-down regulators.

As shown in the left graph below, the LV’s 5 V switching regulator has an efficiency – defined as (Power out)/(Power in) – of 80% to 90% for most combinations of input voltage and load.

Typical efficiency of the 5 V regulator on the A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge

Pololu - Typical maximum output currents of the 5 V regulators on the A-Star 32U4 Robot Controller LV and SV with Raspberry Pi Bridge

The A-Star’s components, including the microcontroller and LEDs, draw 30 mA to 40 mA in typical applications (without the buzzer). The rest of the regulator’s achievable output current, which depends on input voltage as well as ambient conditions, can be used to power other devices; this can include an attached Raspberry Pi (which typically draws a few hundred milliamps). The blue line in the right graph above shows output currents at which the voltage regulator’s over-temperature protection typically kicks in after a few seconds. These currents represent the limit of the regulator’s capability and cannot be sustained for long periods; under typical operating conditions, a safe limit for the maximum continuous regulator output current is 60% to 70% of the values shown in the graph.

Arduino compatibility

Like our other A-Star 32U4 programmable controllers, the A-Star 32U4 Robot Controller ships with a preloaded Arduino-compatible bootloader (which uses 4 KB of flash memory, leaving 28 KB available for the user program). We provide a software add-on that enables the board to be easily programmed from the Arduino environment and an Arduino library to make it easy to use the additional on-board hardware.

The A-Star 32U4 Robot Controller has the same microcontroller as the Arduino Leonardo and Arduino Micro, and it runs at the same frequency, so most code examples intended for those boards should also work on the A-Star.

The A-Star family

The A-Star 32U4 Robot Controller is a part of our larger A-Star 32U4 family, all of whose members are based on the same ATmega32U4 microcontroller, feature native USB interfaces, and are preloaded with Arduino-compatible bootloaders. The table below shows some key features and specifications of our A-Star microcontroller boards to help you choose the right one for your application.







A-Star 32U4 Micro A-Star 32U4 Mini ULV

A-Star 32U4 Mini LV

A-Star 32U4 Mini SV
A-Star 32U4 Prime LV

A-Star 32U4 Prime SV
A-Star 32U4 Robot Controller LV

A-Star 32U4 Robot Controller SV
Microcontroller: ATmega32U4 ATmega32U4 ATmega32U4 ATmega32U4
User I/O lines: 18 26 26(1) 26(1)
PWM outputs: 7 7 7 7(1)
Analogue inputs: 8 12 12 12(1)
Ground access points: 2 4 43 44
User LEDs: 2 3 3 3
User pushbuttons: 3 3
Reset button:  
Power switch:    
Buzzer option:    
microSD option:      
LCD option:      
Motor drivers:      
Operating voltage: 5.5 V to 15 V ULV: 0.5 V to 5.5 V
LV: 2.7 V to 11.8 V
SV: 5 V to 36 V
LV: 2.7 V to 11.8 V
SV: 5 V to 36 V
LV: 2.7 V to 11 V
SV: 5.5 V to 36 V
Regulator type: linear switching

ULV: step-up
LV: step-up/step-down
SV: step-down
switching

LV: step-up/step-down
SV: step-down
switching

LV: step-up/step-down
SV: step-down
Regulated current:(2) 100 mA ULV: 500 mA
LV: 1 A
SV: 500 mA
1 A LV: 1 A
SV: 1.5 A
Dimensions: 1″ × 0.6″ 1.9″ × 0.7″ 2.8″ × 2.1″ 2.6″ × 2.2″
Weight: 1.3 g(3) 3.4 g(3) 13 g to 33 g 14 g to 23 g

1 Some microcontroller resources are used by on-board hardware.

2 These values are rough approximations for comparison purposes. Available current depends on input voltage, current consumed by the board, ambient conditions, and regulator topology. See product documentation and performance graphs for details.

3 Without included optional headers.


Specifications

Dimensions

Size: 65 mm × 56 mm
Weight: 14 g

General specifications

Processor: ATmega32U4 @ 16 MHz
RAM size: 2560 bytes
Program memory size: 32 Kbytes1
Motor driver: DRV8838
Motor channels: 2
User I/O lines: 262
Input voltage range: 2.7 V to 11 V
Minimum operating voltage: 2.7 V
Maximum operating voltage: 11 V
Maximum output current: 1.5 A3
Continuous output current per channel: 1.8 A
Peak output current per channel: 1.8 A
Logic voltage: 5 V
Reverse voltage protection?: Y
External programmer required?: N

Identifying markings

PCB dev codes: ac04b
Other PCB markings: 0J8907

Notes:

1
Note that 4 KB of the MCU's 32 KB of flash memory is used by the pre-installed USB bootloader. All 32 KB is available when programming via the ISP header rather than the bootloader.
2
Some I/O lines are used by on-board hardware.
3
Available current depends on input voltage, current consumed by the board, ambient conditions, and regulator topology. See product documentation and performance graphs for details.

Resources

Documentation and other information

Pololu A-Star 32U4 Robot Controller User’s Guide (Printable PDF)

User’s manual for the Pololu A-Star 32U4 Robot Controller with Raspberry Pi Bridge.


File downloads

Pololu A-Star/Zumo 32U4 Software and Drivers (version 2.0.0) (98k zip)
This download contains the Windows drivers for the A-Star, the add-on for the Arduino IDE, the source code and compiled version of the bootloader, and a configuration file that some Linux users will need.
A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge pinout and power distribution diagrams (1MB pdf)
Printable pinout and power distribution diagrams of the A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge.
A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge schematic diagram (382k pdf)
Printable schematic for the A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge.
Dimension diagram of the A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge (2MB pdf)
Drill guide for the A-Star 32U4 Robot Controller LV with Raspberry Pi Bridge (188k dxf)
This DXF drawing shows the locations of all of the board’s holes.
Texas Instruments DRV8837/DRV8838 motor driver datasheet (1MB pdf)

Recommended links

A-Star 32U4 Arduino library
The AStar32U4 library for the Arduino IDE helps interface with the on-board hardware on the A-Star 32U4 controllers.
AStar32U4 library documentation
Documentation for the AStar32U4 Arduino library.
A-Star/Zumo 32U4 repository on GitHub
This repository contains the A-Star Arduino add-on files, the Windows drivers, and the source code of the bootloader, as well as the AStar32U4Prime library and the Zumo32U4 library.
Raspberry Pi slave library for Arduino
This is an Arduino library that helps establish I²C communication between an A-Star 32U4 Robot Controller and a Raspberry Pi, with the Arduino acting as the I²C slave. Example Arduino code and Python code for the Raspberry Pi are included.
Building a Raspberry Pi robot with the A-Star 32U4 Robot Controller
This blog post shows how to build an expandable robot platform based on a Raspberry Pi and an A-Star 32U4 Robot Controller using our Raspberry Pi slave library for Arduino.
Arduino Software
Arduino integrated development environment (IDE) software
ATmega32U4 documentation
Atmel’s product page for the ATmega32U4, with links to its datasheet and other resources.
AVR Libc Home Page
The web site for AVR Libc, which is the standard library of functions that you can use with C and C++ on the AVR.
Pololu A-Star and Orangutan Forum Section
The A-Star and Orangutan discussion section of the Pololu Robotics Forum.
AVR Freaks
AVR community with forums, projects, and AVR news.
AVRDUDE
AVRDUDE is a cross-platform command-line utility for programming the flash memory on AVR microcontrollers.
LUFA – the Lightweight USB Framework for AVRs
LUFA is an embedded software library written in C that can be used to create USB applications on USB-capable AVRs. It comes with a large library of example USB applications and bootloaders.
Atmel Studio
Atmel’s free integrated development environment (IDE) for AVRs.
WinAVR
A free, open-source suite of development tools for the AVR family of microcontrollers, including the GNU GCC compiler for C/C++.

Related Products