The DuinoMite-Mega is a complete self-contained computer running a BASIC interpreter called MM-Basic (originally written by Geoff Graham), which, when interfaced with a PS/2 keyboard and VGA or Composite monitor, is reminiscent of the old APPLE][ and TRS-80 personal computers. No need for a PC, no need for compilers, IDEs, or programmers; all you need to write embedded applications is DuinoMite.
DuinoMite also can be used from a PC via a virtual COM port through a USB connection, in case you don't want to dedicate a keyboard and monitor to it.
You can store code on a microSD card have it executed on power-up through an autoexec.bas main code.
The DuinoMite-Mega has Arduino shield connectivity, allowing Arduino shields to be plugged in, which makes DuinoMite the world's first stand-alone Arduino Single Board Complete BASIC computer.
It is possible now to program this board in C with an Arduino-like environment called MPIDE! See links at the bottom of this page.
You can purchase the DuinoMite-Mega as an open board or with a specially made enclosure. You can fit a low-profile Arduino shield and a small UEXT expansion module inside the enclosure. A second UEXT connector, a 20-pin GPIO connector, an RS232 port, and a USB OTG port allow you to connect external peripherals. It also features a microSD card slot, a CAN terminal block, composite and headphone audio jacks, and of course the power, keyboard, VGA and composite video jacks — all available from the optional enclosure seen below.
One side not visible in those pictures includes the Reset button, User button, and three LEDs. If you want the enclosure, be sure to select it using the Enclosure option at the bottom of this page.
At the heart of DuinoMite-Mega 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 Parallel 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 slot
- Two UEXT connectors (see below): one inside enclosure, one outside
- CAN connector (CAN driver requires 5V; will not work when board is powered by LiPo battery)
- GPIO connector
- Arduino shield connector (both standard and 0.1"-spaced pads)
- PS/2 Keyboard connector (requires 5V; will not work when board is powered by LiPo battery)
- RS232 connector
- VGA connector
- Audio RCA jack
- Composite Video RCA jack
- Headphones 3.5 mm jack
- 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 Connectors As well as the Arduino shield connector, this board has two universal extension connectors which allow you to add peripheral modules easily. UEXT can provide I2C, RS232, SPI and power to the external devices. Please see the UEXT Boards Category for a full list of modules that can plug into the UEXT ports.
Powering the DuinoMite DuinoMite-Mega can be powered four different ways. Its external power jack has a 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-Mega, which can consume up to 140mA depending on its configuration. On the board (i.e. inside the enclosure) there is 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 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 Because DuinoMite is a self-contained computer, 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
Now Programmable in C with MPIDE MPIDE is an Arduino-like development environment that supports multiple platforms. You will need a PIC32 in-system programmer (e.g. PIC-KIT3 with PIC-Mini-ICD-6 adapter cable) in order to load the DuinoMite MPIDE-Compatible Bootloader Firmware.
Optional Recommended Products for this Item
|Breadboard GPIO Adapter for DuinoMite Boards||+|| US$3.53|
|USB 2.0 Cable, 6ft. A-Male / Mini-USB (5-pin) B-Male||+|| US$6.00|
|Serial Null Modem Cable, 6ft., DB9 F/F||+|| US$7.00|
|Serial Cable, 6ft., DB9 M/F||+|| US$6.00|
|Power Supply 3-12V DC, U.S. plug, 6 connection tips||+|| US$10.00|
|Power Supply 3-12V DC, US/UK/Euro/AU Plugs, 100-240VAC||+|| US$10.90|
|Polymer Lithium Ion Battery, 2000mAh, JST Connector||+|| US$6.95|
|Polymer Lithium Ion Battery Pack, 6Ah, JST Connector||+|| US$19.95|
|2-pin Female JST Connector, 2mm pitch, with 5-inch Wires||+|| US$0.55|