Introduction

DFRduino M0 is the only Arduino main board that supports 5V standard Logic level and adopts ARM Cortex-M0. [null It is unsatisfactory to make projects with most boards in the market. To be specify,] traditional Arduino UNO is lacking of pins, low-performance… Mega boards are better but too expensive; Arduino ZERO boards are not compatible with 5V power supply device. Luckily, DFRduino M0 is a great soul solves all.

DFRduino M0 selects 32 bytes Nuvoton SCM (Single Chip Micyoco) of high-performance as the core. Besides built-in ARM Cortex M0 infrastructure, DFRduino M0 supports 5V Logic level, equipped with 1 USB port and 2 serial ports, providing 31 digital pins (parts AFIO) and 6 analog pins, offering more IO resources. Moreover, DFRduino M0 is compatible with Arduino Leonardo package/encapsulation and the clock speed is 72MHz.

Additionally, DFRduino M0 supplies another IIS interface, supporting play &record wav files.  Once put DFRduino M0 with advanced IIS chip, professional HIFI audio is available.

warning_yellow.png NOTE: Different from official Arduino M0, DFRduino M0 adopts a unique chip solution which should be installed independently. It supports Windows, Linux and MAC. The default IDE version should be 1.6.0 and above, other versions should be modified according to FAQ instructions.

Features

Specification

Board Overview

Board Overview

Num Label Description
1 USB USB Power
2 External Power 7~12V
3 Digital IO D0~D13 Digital IO D0~D13 (Leonardo Compatible)
4 Digital IO D24~D31 Digital IO D24~D31
5 SPI Interface D14, D15, D16 (Pin Multiplexing)
6 Analog A0~A5 Analog A0~A5 (D18~D23 Multiplexing)
7 MCU NUC123LD4AN0
8 Xbee Socket Serial1, support wireless programming

PinMap

DFRduino M0 Pins IC pin Multiplex Note
D0 PC4 RXD1 INT2
D1 PC5 TXD1 INT3
D2 PF2 SDA INT0
D3 PF3 SCL INT1
D4 PC0 I2S LRCLK /
D5 PC3 PWM0 /
D6 PA13 PWM1 /
D7 PC2 I2S DI /
D8 PC3 I2S DO /
D9 PA14 PWM2 /
D10 PA15 PWM3 /
D11 PB8 PWM4 Software PWM
D12 PC1 I2S BCLK /
D13 PB14 PWM5 Software PWM
D14 PA10 SPI MISO /
D15 PA11 SPI SCK /
D16 PC11 SPI MOSI /
D17 PB6 RX LED /
D18 PD0 A0 /
D19 PD1 A1 /
D20 PD2 A2 /
D21 PD3 A3 /
D22 PD4 A4 /
D23 PD5 A5 /
D24 PB4 RXD2 RX2
D25 PB5 TXD2 TX2
D26 PC10 NULL /
D27 PC9 NULL /
D28 PC13 NULL /
D29 PC12 NULL /
D30 PB9 NULL /
D31 PB10 NULL /
D32 PB7 TX LED /

Tutorial

Requirements

Setup DFRduino M0 Software Development Environment

https://raw.githubusercontent.com/DFRobot/DFRobotDuinoBoard/master/package_dfrobot_index.json ;

Filepreferences

File->Preferences

Preferencesjson

paste url here

Search “DFRduino M0” Install DFRduino M0 MainBoard

Now, the development environment has been installed, you can use it like a normal Arduino board.

IDE_DFRduino_M0_Mainboard.png

Driver Installation

DFR0392_Device_Manager_UNINSTALL.png

DFRduino_M0_COM_Port.png

Special Function

Hardware Serial port x2 & USB Serial Port x1

USB Serial Port Serial
Hardware Serial Port 1 Serial1
Hardware Serial Port 2 Serial2

void setup() {  // put your setup code here, to run once:
    Serial.begin(115200);
    while(!Serial);
    Serial1.begin(115200);
    Serial2.begin(115200);
}
void loop() {   // put your main code here, to run repeatedly:
    Serial.println("I am USB CDC Serial");
    Serial1.println("I am Serial 1");
    Serial2.println("I am Serial 2");
    delay(1000);
}

FAQ

Q&A Some general Arduino Problems/FAQ/Tips
Q No permission under Linux system
A Input ’‘’sudo usermod -a -G USER NAME dialout‘’‘ to add user into dialout group. Log out and log back in

More Documents

DFshopping_car1.png Get DFRduino M0 Mainboard from DFRobot Store or DFRobot Distributor.

Turn to the Top