DFRobot FireBeetle 2 M0 Development Board Pinout

FireBeetle 2 M0 with native USB-C, a single-cell charger, 16 MB of onboard SPI flash and a GDI display interface. This component-side view shows the 32 edge contacts and the two battery socket terminals.

Jump to pin index ↓

Main pinout

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 signal details

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

34 visible
PinMCU pinTypesNotes
ResetP1.1 · Active-low MCU reset. Shared with the reset button and rear RST pad.
PowerP1.2 · Regulated 3.3 V rail from RT9080 (U2).
AnalogP1.3 · External analog reference input on the VREF net.
GNDP1.4 · Common power and logic return.
ControlP1.5 · Regulator enable. Pull to ground to disable the board's regulated 3.3 V rail.
SPIDigitalP1.6 · SPI clock output. Shared with onboard flash U4 and the display connector P2.
SPIDigitalP1.7 · SPI controller data output. Shared with onboard flash U4 and the display connector P2.
SPIDigitalP1.8 · SPI controller data input. Shared with onboard flash U4 and the display connector P2.
I2CDigitalP1.9 · I²C clock. Shared with GDI, the prototype block and the labelled rear bus pad.
I2CDigitalP1.10 · I²C data. Shared with GDI, the prototype block and the labelled rear bus pad.
DigitalPWMP1.11 · 3.3 V GPIO and PWM. Drives the GDI backlight control.
DigitalPWMP1.12 · 3.3 V GPIO and PWM. Shared with GDI data/command.
DigitalPWMP1.13 · 3.3 V GPIO and PWM. Shared with display reset.
DigitalPWMP1.14 · 3.3 V GPIO and PWM. Shared with the display chip select.
DigitalPWMP1.15 · 3.3 V GPIO and PWM. Shared with the GDI SD card chip select.
DigitalPWMP1.16 · 3.3 V GPIO and PWM. Shared with the GDI interrupt contact.
UARTDigitalP1.17 · Serial1 transmit output at 3.3 V logic.
UARTDigitalP1.18 · Serial1 receive input at 3.3 V logic.
PowerP3.1 · USB VBUS rail, nominally 5 V with USB power. The board label is VIN.
NCP3.2 · Leave this contact open.
UARTDigitalP3.3 · Serial2 receive input at 3.3 V logic.
UARTDigitalP3.4 · Serial2 transmit output at 3.3 V logic.
ADCDigitalP3.5 · Analog input and 3.3 V digital I/O.
ADCDigitalP3.6 · Analog input and 3.3 V digital I/O. Shared with the GDI font memory chip select.
ADCDigitalP3.7 · Analog input and 3.3 V digital I/O. Shared with the GDI touch controller chip select.
ADCDigitalP3.8 · Analog input and 3.3 V digital I/O. The onboard 1:1 divider biases this pin to half the cell voltage.
ADCDigitalP3.9 · Analog input and 3.3 V digital I/O.
ADCDigitalDACP3.10 · Analog input and 3.3 V digital I/O. Also the true analog output.
DigitalPWMP3.11 · 3.3 V GPIO and PWM. Drives the onboard user LED.
DigitalPWMP3.12 · 3.3 V GPIO and PWM.
DigitalPWMP3.13 · 3.3 V GPIO and PWM.
DigitalPWMP3.14 · 3.3 V GPIO and PWM. Shared with the display BUSY/TE signal.
GNDBAT1.2 · Negative terminal for a single-cell Li-ion or LiPo battery.
PowerBAT1.1 · Positive terminal for a 3.7 V nominal, 4.2 V full single-cell Li-ion or LiPo battery.

Specifications

Processor
ATSAMD21G18A · Cortex-M0+ at 48 MHz · 256 KB flash · 32 KB SRAM
Onboard storage
W25Q128JVSIQ, 16 MB on the external SPI bus
Logic
3.3 V I/O · 12-bit capable ADC · 10-bit DAC on A0
Power
5 V nominal on USB-C/VIN · regulated 3.3 V output · 3.7 V nominal single cell at BAT1
Board
25.4 × 60 mm PCB · 18- and 14-contact rows at 2.54 mm pitch
Interfaces
Native USB 2.0 FS · Serial1 (D0/D1) · Serial2 (RX/TX) · SPI · I²C · GDI (18 contacts)

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
DFR0652Board guide and GDI wiringDFRobotDatasheet
DFR0652 V1.0Circuit schematicDFRobotDatasheet
DFR0652 V1.0Mechanical drawingDFRobotDatasheet
ATSAMD21G18A48-pin pinout and PORT mux (Table 7-1)MicrochipDatasheet
FireBeetle-M0Arduino SAMD board variant 0.0.5DFRobotDatasheet

Board notes

VIN and the battery rail
The V1.0 schematic shows VIN on the USB VBUS net. Separate diodes feed U2 from VUSB or BAT1. Battery-only operation does not supply a battery-voltage output on VIN in this drawing.
Battery monitor
A2 sees half the cell voltage. The V1.0 schematic shows two 1 MΩ resistors. The wiki example mentions 100 kΩ each and uses the same 1:1 ratio.
Controls
K2 resets the MCU. K1 is the D4 user button. D8 drives the WS2812B RGB LED.