Skip to content
pbrook edited this page Sep 27, 2012 · 14 revisions

How to use a Minimus board with Arduino

Installing Minimus board package

The minimus board support directory should be placed in the hardware subdirectory of you sketchbook directory. On a linux system you can do this with:

mkdir -p ~/sketchbook/hardware git clone git://github.com/pbrook/minimus-arduino.git ~/sketchbook/hardware/minimus

If using Windows I suggest creating the hardware directory inside your sketchbook directory, then extracting the github Download as zip archive there.

Flashing the bootloader

The Minimus comes with a DFU bootloader installed. This is fine for "native" avr-c development, but does not play well with the Arduino IDE. To install the Arduino bootloader you will need an ISP programmer (e.g. and AVRISP mkII or Clone based on a Minimus or an Arduino running the ArduinoISP sketch). See below for the correct connections. Once connected fire up the Arduino IDE, ensure the correct board and programmer are selected, and click Tools/Burn Bootloader.

This only needs to be done once. The device should now appear as a serial port lite other Arduino boards. A flashing red LED indicates the bootloader is running. Windows users may need to install the Arduino Leonardo drivers.

Limitations

I2C (aka TWI, i.e. the arduino "Wire" library) is not supported.

PWM (analogWrite) support is incomplete.

PinOuts

Pins are numbered 0-23 anticlockwise starting from the USB connector. Special pins are as follows:

Pin Function
3 Serial1 RX
4 Serial1 TX
6 LED B (Blue, Active low)
7* LED A (Red, USB)
8 HWB
10 SCK
11* Ground
12 MOSI
13 MISO
20* Reset
23* Vcc

Clone this wiki locally