Arduino Leonardo-compatible robotics controller with an ATmega32U4, an L298P dual H-bridge, separate motor and servo power terminals, and sockets for optional serial radio modules.
Arduino Leonardo-compatible robotics controller with an ATmega32U4, an L298P dual H-bridge, separate motor and servo power terminals, and sockets for optional serial radio modules. This pinout follows the V2.2 [R3] silkscreen in DFRobot’s photographs.
Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show alternate functions
Pin index
Pin index
Quickly scan every header pin, port name, supported function and usage note.
54 visible
Pin
MCU pin
Types
Notes
I2C
Shield I²C clock. Shared with D3 and the TWI connectors.
I2C
Shield I²C data. Shared with D2 and the TWI connectors.
Analog
Reference input for the ADC.
GND
Common ground beside AREF.
UARTGPIO
Arduino digital pin 0. Hardware USART receive (Serial1). Shared with both serial radio sockets.
UARTGPIO
Arduino digital pin 1. Hardware USART transmit (Serial1). Shared with both serial radio sockets.
I2CGPIO
Arduino digital pin 2. I²C data. Shared with the SDA shield contact and all three TWI headers.
I2CPWMGPIO
Arduino digital pin 3. I²C clock. Shared with the SCL shield contact and all three TWI headers.
AnalogMotorGPIO
Arduino digital pin 4. Arduino analog input A6, ADC channel 8.
PWMMotorGPIO
Arduino digital pin 5. Arduino PWM on Timer 3 channel A.
AnalogPWMMotorGPIO
Arduino digital pin 6. Arduino analog input A7, ADC channel 10.
MotorGPIO
Arduino digital pin 7. ATmega32U4 external interrupt 6.
AnalogGPIO
Arduino digital pin 8. Arduino analog input A8, ADC channel 11.
AnalogPWMGPIO
Arduino digital pin 9. Arduino analog input A9, ADC channel 12.
AnalogPWMGPIO
Arduino digital pin 10. Arduino analog input A10, ADC channel 13.
PWMGPIO
Arduino digital pin 11. Arduino PWM on Timer 0 channel A.
AnalogGPIO
Arduino digital pin 12. Arduino analog input A11, ADC channel 9.
PWMLEDGPIO
Arduino digital pin 13. Arduino PWM on Timer 4 channel A.
GND
Upper contact of the servo power terminal. Common ground.
Power
Positive servo supply input.
I2C
SDA at the upper end of the left-facing TWI port.
I2C
SCL at the left-facing TWI port.
GND
Common ground at the left-facing TWI port.
Power
Regulated 5 V at the lower end of the left-facing TWI port.
Motor
Upper Motor 2 contact, marked +.
Motor
Lower Motor 2 contact, marked −.
Motor
Upper Motor 1 contact, marked +.
Motor
Lower Motor 1 contact, marked −.
Power
Positive input for the motor supply.
GND
Negative contact of the motor supply. Common ground.
SPI
MISO signal in the SPI expansion, in the column marked D.
SPI
SCK signal in the SPI expansion, in the column marked D.
SPI
MOSI signal in the SPI expansion, in the column marked D.
Internal
Unmarked first position of the shield power header.
Power
Shield logic reference, marked IOREF.
Control
Active-low microcontroller reset.
Power
Regulated 3.3 V supply.
Power
Board 5 V logic supply.
GND
First common ground beside 5V.
GND
Second common ground beside VIN.
Power
Raw board regulator input on the shield header.
Analog
Analog sensor signal A0.
Analog
Analog sensor signal A1.
Analog
Analog sensor signal A2.
Analog
Analog sensor signal A3.
Analog
Analog sensor signal A4.
Analog
Analog sensor signal A5.
GND
Common ground. Leftmost position in the Bluetooth/APC220 socket.
Power
5 V at the module socket.
Control
Position marked EN for the module.
UART
Socket position marked TX.
UART
Socket position marked RX.
Internal
Unmarked sixth position of the module socket.
Internal
Unmarked seventh position of the module socket.
Specifications
Processor and logic
ATmega32U4 AVR at 16 MHz, with 5 V GPIO
Arduino board profile
Arduino Leonardo
Motor supply (M-VIN)
6–20 V DC, as marked on the photographed V2.2 PCB. ON links the M-VIN supply to the board regulator input. OFF separates the motor and logic supplies.
Servo supply (PWR)
The external servo input feeds PWR on the digital three-pin banks. DFRobot recommends 5 V when connecting 5 V sensors. A higher servo supply raises PWR without raising the GPIO logic level.
Motor outputs
Two brushed DC channels, or one bipolar stepper across both channel pairs.
Analog and PWM
12 ADC inputs, 6 shared with digital pins. Arduino PWM on D3, D5, D6, D9, D10, D11 and D13.
Buses
I²C on D2/D3, SPI on D14–D16, Serial1 on D0/D1, and native USB on Micro-B.
References
Datasheets
Manufacturer references and technical documentation.
Chip
Role
Manufacturer
Notes
Link
DFR0225
Product wiki
DFRobot
Connector groups, power switches and motor mode assignments.
For each D0–D13 column, the green contact is signal, red is PWR and black is GND. The external servo input feeds PWR on the digital three-pin banks. DFRobot recommends 5 V when connecting 5 V sensors. A higher servo supply raises PWR without raising the GPIO logic level.
Analog sensor connectors
The blue, red and black contacts are signal, 5 V and GND. The signal row follows A0–A5 from left to right. S1–S5 share A0 when enabled.
Serial sockets
Both optional radio sockets share Serial1 with D0/D1. Micro-B is native USB (Serial). Bluetooth socket markings TX and RX follow the board direction in the earlier circuit.
Revision limits
DFRobot links a 2.0 schematic, and its V2.2 changelog mentions changes to power and ADC. Use the V2.2 markings for the screw terminals. Check the original V2.2 power ratings before drawing load current.