The DuinoMite is a MaxiMite-compatible computer running a BASIC interpreter called MM-BASIC (originally written by Geoff Graham). While similar to MaxiMite, the DuinoMite adds Arduino shield compatibility.
DuinoMite can be used directly from a terminal program on a PC via a virtual COM port through a USB connection. An optional DuinoMite I/O Interface adds keyboard, video and audio interfaces, turning DuinoMite into a fully self-contained computer. Whether standalone like that or through a PC terminal program, DuinoMite's operation and usage is reminiscent of old Apple][ and TRS-80 computers.
You can store code on a microSD card have it executed on power-up through an autoexec.bas main code.
At the heart of DuinoMite is the Microchip PIC32MX795F512 microcontroller which, among other features, includes on-chip 80MHz clock operation, 512KB Flash memory, 128KB RAM, USB with OTG functionality, UARTs, SPIs, I2C, ADC, CAN, and Parllel Master Port (PMP).
- PIC32MX795F512H processor running at 80MHz with 128KB RAM and 512KB Flash
- DC-DC power supply 9-30V DC input
- USB On-The-Go mini-USB port allows DuinoMite to be either USB Host or USB Device
- microSD card socket
- UEXT connector (see below)
- EXT1 connector for optional DuinoMite-IO
- 26-pin GPIO connector
- Arduino shield connector (both standard and 0.1"-spaced pads)
- RESET and USER buttons
- Three status LEDs (red indicates power source other than battery; yellow indicates board ready; green indicates SD card activity or PIN(0) state)
- Built-in LiPo Lithium-Polymer battery charger (JST connector)
- Ultra low-power design which allows down to 30µA current consumption
- Industrial temperature operation: -40°C to +85°C
- Noise immunity
- ICSP programming connector for programming and debugging
- 32.768 kHz low-frequency crystal allows implementation of RTC and low-power modes
UEXT Connector As well as the Arduino shield connector, this board has a universal extension connector, UEXT, which allows you to add other peripheral modules easily. The UEXT can provide I2C, RS232, SPI and power to the external device. Please see the UEXT Boards Category for a full list of modules that can plug into the UEXT port.
Powering the DuinoMite DuinoMite can be powered four different ways. Its external power jack has 2.1 mm internal pin (positive) and 6 mm outer diameter, and accepts 9V to 30V DC. It also can get 5V external power via USB when connected to a USB Host. Note however that some USB ports may not supply enough current for the DuinoMite, which can consume up to 140mA depending on its configuration. The board has a JST connector for attaching a Lithium-Polymer battery, which would put the DuinoMite into low-power mode. The final power option is through the Arduino VIN port, which can accept 9-30V DC (no protection diode, so make sure).
These power supply options are set up so that multiple power sources can be connected and the board will change its power source automatically without disrupting operation of the board. The power jack and the VIN pin have top priority, then USB (i.e. board will use USB for power only when power jack and VIN power sources are not available), then the battery connector. A LiPo battery will be charged when any other power source is connected.
The external power jack utilizes a DC/DC converter. Power consumption when running at maximum frequency and with a VGA monitor and keyboard attached (using the DuinoMite-IO) is 100mA @ 12V, 40mA @ 30V and 130mA at 9V. When working as a USB Host, DuinoMite may provide up to 500mA to the attached USB devices.
Programming the DuinoMite With the optional DuinoMite-IO, DuinoMite becomes a self-contained computer, so you never need a PC; you can write BASIC code directly on it using a PS/2 keyboard and with a monitor connected to the DuinoMite itself — no compilers, no libraries, no linkers. This allows you to do things in seconds that in a C or Arduino system could take hours.
Read a Programming Example to see how easy it is.
If you don't want to dedicate a keyboard and a monitor to DuinoMite, you simply can connect it to your PC via USB. MM-BASIC will use the USB as a virtual COM port from which you can operate and program DuinoMite via a terminal program on your PC.
Firmware upgrading also is done via USB connection to a PC. The DuinoMite has a bootloader which is activated by holding down the BUT button then pressing RESET. A bootloader application is available for Windows below, or you can use mphidflash for Linux or Mac, or PIC32PROG for Linux. See the DuinoMite user manual for details.
If instead of a standalone computer, you want to use the DuinoMite board as a typical Arduino system, you can reprogram the PIC32MX795 with Pinguino firmware. However, the DuinoMite's bootloader does not support the Pinguino IDE, so you would need an external programmer to change it.
The board has a mini 6-pin ICSP connector which you can use if the bootloader has become corrupted or you need to change it. An inexpensive programming setup could include the PIC-KIT3 programmer with the PIC-Mini-ICD-6 adapter.
Warning for PICKIT3 Users Do not use the "programmer-to-go" button when there is no image on the programmer (either the Olimex PIC-KIT3 or Microchip's own PICKIT3). Doing so will put a PIC32 microcontroller into an irrecoverable state. See this Microchip Forum thread for details.
DuinoMite Project Examples
More peripheral capability with DuinoMite-Mega If the self-contained computer idea is appealing, you may want to get the DuinoMite-Mega instead. As well having VGA, Composite video, RCA audio, headphone jack, and PS/2 keyboard connectors built in, DuinoMite-Mega adds RS232 and CAN ports, and a second UEXT port. Also, it is available in an enclosure.
Optional Recommended Products for this Item
|Breadboard GPIO Adapter for DuinoMite Boards||+|| US$5.53|
|I/O Interface Add-on for DuinoMite: VGA, A/V, Headphone, PS/2||+|| US$6.93|
|USB 2.0 Cable, 6ft. A-Male / Mini-USB (5-pin) B-Male||+|| US$6.00|
|Power Supply 3-12V DC, U.S. plug, 6 connection tips||+|| US$11.00|
|Power Supply 3-12V DC, US/UK/Euro/AU Plugs, 100-240VAC||+|| US$13.00|
|Polymer Lithium Ion Battery, 850mAh, JST Connector||+|| US$9.95|
|Polymer Lithium Ion Battery, 2000mAh, JST Connector||+|| US$16.95|
|Polymer Lithium Ion Battery Pack, 6Ah, JST Connector||+|| US$29.95|
|2-pin Female JST Connector, 2mm pitch, with 5-inch Wires||+|| US$0.95|
|microSDHC 4GB Flash Memory Card with Full-Size Adapter, Class 4||+|| US$6.50|