RobotDyn DUE XPRO - is an Atmel SAM3X8E ARM Cortex-M3 based microcontroller board. This is one of the few boards, based on the 32-bit ARM core. It is upgraded version of the regular Arduino DUO board, it has 98 digital inputs / outputs (that’s 30 more than the original model), 12 analog inputs, 4 UART (hardware serial ports), 84 MHz clock frequency, USB OTG connection, 2 DACs (D / A) , TWI, power connector, SPI header, JTAG header, reset button and erase button. Also on board can find Micro-SD card reader and socket for Wi-Fi module ESP-01.
The controller works on 3.3V logic level. The board has the USB interface, simply connect it to your computer with a micro-USB cable, or connect it with an AC adapter or battery to start working with it. RobotDyn DUE XPRO is compatible with all Arduino supported devices.
IOREF: allows the attached display with the correct configuration to adapt to the voltage provided by the board. This ensures that the screen is compatible with a 3.3V board, such as the Due and AVR boards, which operate at 5 V.
RobotDyn DUEXPRO can be powered by an USB connector or from an external power source. The power source is selected automatically. External (non-USB) power can be supplied either from the AC adapter to the direct current or from the battery. The adapter can be connected by inserting a 2.1 mm center positive plug into the card's power connector. Battery pins can be plugged into the GND and VIN pins of the POWER connector. The board can operate from an external power source from 6 to 20 volts, the recommended range is 7 to 12 volts. Power pins are as follows:
SAM3X has 512 KB (2 blocks of 256 KB) of flash memory for storing code. The board comes with bootloader already pre-burned. Available SRAM is 96 KB in two adjacent banks of 64 KB and 32 KB. All available memory (Flash, RAM and ROM) can be accessed directly as a single address space. You can erase the SAM3X flash memory using a built-in erase button. This will remove currently loaded thumbnail from the MCU. To wipe the memory, press and hold the "Erase" button for a few seconds while the board is on.
The RobotDyn DUE XPRO has a number of means for communicating with a computer, another Arduino board or other microcontrollers, as well as various devices, such as phones, tablets, cameras, etc. The SAM3X provides one hardware UART and three hardware USART for TTL serial communication.
The programming port is connected to the ATmega16U2, which provides a virtual COM port for software on the connected computer (Windows will need an .inf file to recognize the device, but OSX and Linux machines automatically recognize the board as a COM port). The 16U2 is also connected to the hardware UART SAM3X. A serial connection on the RX0 and TX0 pins provides communication between the serial port and USB, for programming the board through the ATmega16U2 microcontroller. The Arduino software includes a serial monitor that allows you to send simple text data to and from the board. The RX and TX indicators on the board will flash when transmitting data through an ATmega16U2 chip and a USB connection to a computer.
The USB port is connected to the SAM3X, it allows for serial communication via USB. This provides a serial connection to the Serial Monitor or other applications on your computer, and will also allow to emulate a USB mouse or keyboard to a connected computer.
The Native USB port can also act as a USB host for connected peripherals, such as mice, keyboards, and smartphones. To use these features, see the USBHost man pages.
SAM3X also supports TWI and SPI communication. The Arduino software includes the Wire library to simplify the use of the TWI bus. For SPI communication, use the SPI library.
DUEXPRO can be programmed using the Arduino IDE. Uploading thumbnails to the SAM3X is different from AVR microcontrollers, which can be found on other Arduino boards, since flash memory must be erased before being programmed again. The boot to the microcircuit is controlled by a ROM on the SAM3X, which is started only when the flash memory of the chip is empty. Any of the USB ports can be used to program the board, although it is recommended to use the programming port due to the way the chip is erased.
Programming Port: To use this port, select “Arduino Due (ProgrammingPort)” as the board in the Arduino IDE “Tools” menu. Connect the DUEXPRO programming port (closest to the DC power connector) to your computer. The programming port uses 16U2 as a USB-to-serial chip connected to the first SAM3X UART (RX0 and TX0). The 16U2 has two pins connected to the SAM3X reset and erase contacts. Opening and closing a programming port connected at 1200 bps starts the “hard erase” procedure for the SAM3X chip, activating the erase and reset contacts on the SAM3X before establishing a connection with the UART. This is the recommended programming port. This is more reliable than the “soft erase” that occurs on its own port, and it should work even if the main MCU fails.
Own port: to use this port, select “Arduino Due (NativeUSBPort)” as the board in the Arduino IDE. The native USB port is connected directly to the SAM3X. Connect your own USB port Due (closest to the reset button) to the computer. Opening and closing your own port at 1200 bps starts the “soft erase” procedure: the flash memory is erased and the board reboots with the bootloader.
Unlike other Arduino boards that use avrdude for download, DUEXPRO relies on the bossac. The ATmega16U2 firmware source code is available in the Arduino repository. You can use the ISP header with an external programmer (overwriting the DFU bootloader). Protection against overcurrent via USB RobotDyn DUEXPRO has a reloadable polyfuse that protects your computer's USB ports against short circuits and overloads. Although most computers provide their own internal protection, the fuse provides an extra level of protection. If more than 500 mA is connected to the USB port, the fuse will automatically break the connection until the short circuit or overload is removed. Three screw holes allow you to attach the board to the surface or housing. Note that the distance between digital pins 7 and 8 is 160 mil (0.16 inch), which is not a multiple of 100 mil from other pins. RobotDyn DUEXPRO is designed to be compatible with most screens designed for Uno, Diecimila or In connection with this digital pins 0–13 (and adjacent pins AREF and GND), analog inputs 0–5, the power header and the ICSP header (SPI) are in equivalent places. Further, the main UART (serial port) is located on the same pins (0 and 1).