DFRobot Romeo V2 Pinout

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.

Jump to pin index ↓

Main pinout

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.

100%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
PinMCU pinTypesNotes
I2CShield I²C clock. Shared with D3 and the TWI connectors.
I2CShield I²C data. Shared with D2 and the TWI connectors.
AnalogReference input for the ADC.
GNDCommon ground beside AREF.
UARTGPIOArduino digital pin 0. Hardware USART receive (Serial1). Shared with both serial radio sockets.
UARTGPIOArduino digital pin 1. Hardware USART transmit (Serial1). Shared with both serial radio sockets.
I2CGPIOArduino digital pin 2. I²C data. Shared with the SDA shield contact and all three TWI headers.
I2CPWMGPIOArduino digital pin 3. I²C clock. Shared with the SCL shield contact and all three TWI headers.
AnalogMotorGPIOArduino digital pin 4. Arduino analog input A6, ADC channel 8.
PWMMotorGPIOArduino digital pin 5. Arduino PWM on Timer 3 channel A.
AnalogPWMMotorGPIOArduino digital pin 6. Arduino analog input A7, ADC channel 10.
MotorGPIOArduino digital pin 7. ATmega32U4 external interrupt 6.
AnalogGPIOArduino digital pin 8. Arduino analog input A8, ADC channel 11.
AnalogPWMGPIOArduino digital pin 9. Arduino analog input A9, ADC channel 12.
AnalogPWMGPIOArduino digital pin 10. Arduino analog input A10, ADC channel 13.
PWMGPIOArduino digital pin 11. Arduino PWM on Timer 0 channel A.
AnalogGPIOArduino digital pin 12. Arduino analog input A11, ADC channel 9.
PWMLEDGPIOArduino digital pin 13. Arduino PWM on Timer 4 channel A.
GNDUpper contact of the servo power terminal. Common ground.
PowerPositive servo supply input.
I2CSDA at the upper end of the left-facing TWI port.
I2CSCL at the left-facing TWI port.
GNDCommon ground at the left-facing TWI port.
PowerRegulated 5 V at the lower end of the left-facing TWI port.
MotorUpper Motor 2 contact, marked +.
MotorLower Motor 2 contact, marked −.
MotorUpper Motor 1 contact, marked +.
MotorLower Motor 1 contact, marked −.
PowerPositive input for the motor supply.
GNDNegative contact of the motor supply. Common ground.
SPIMISO signal in the SPI expansion, in the column marked D.
SPISCK signal in the SPI expansion, in the column marked D.
SPIMOSI signal in the SPI expansion, in the column marked D.
InternalUnmarked first position of the shield power header.
PowerShield logic reference, marked IOREF.
ControlActive-low microcontroller reset.
PowerRegulated 3.3 V supply.
PowerBoard 5 V logic supply.
GNDFirst common ground beside 5V.
GNDSecond common ground beside VIN.
PowerRaw board regulator input on the shield header.
AnalogAnalog sensor signal A0.
AnalogAnalog sensor signal A1.
AnalogAnalog sensor signal A2.
AnalogAnalog sensor signal A3.
AnalogAnalog sensor signal A4.
AnalogAnalog sensor signal A5.
GNDCommon ground. Leftmost position in the Bluetooth/APC220 socket.
Power5 V at the module socket.
ControlPosition marked EN for the module.
UARTSocket position marked TX.
UARTSocket position marked RX.
InternalUnmarked sixth position of the module socket.
InternalUnmarked 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.

ChipRoleManufacturerNotesLink
DFR0225Product wikiDFRobotConnector groups, power switches and motor mode assignments.Datasheet
Romeo 2.0Earlier board schematicDFRobotShared signal names and design context. The store documents a power and ADC redesign for V2.2.Datasheet
DFR0225Wiring notesDFRobotLeave the motor switch OFF when debugging over USB. Open the S1–S5 switch before using A0 as an external input.Datasheet
LeonardoArduino core pin mappingsArduinoGPIO, ADC, interrupt, SPI and PWM timer mappings.Datasheet
ATmega32U4MicrocontrollerMicrochipAVR digital and analog peripherals and I/O limits.Datasheet
L298PDual H-bridgeSTMicroelectronicsDriver package, bridge outputs and operating limits.Datasheet

Board notes

Digital three-pin banks
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.