User Manual

menu. Then, put the Fubarino Mini into bootloader mode (see above), and then select the proper serial
port in the Tools->Serial Port menu.
After you enter your sketch and click the Upload button, MPIDE will compile your sketch and upload it to
the Fubarino Mini. After the upload is complete, the Fubarino Mini will automatically reset and
immediately begin running your sketch code. This includes sending information to the USB serial,
UART1, and UART2.
Serial communications
The Fubarino Mini board has two hardware serial ports: UART1 on pins 17 (TX) and 18 (RX), and UART2
on pins 26 (TX) and 25 (RX). It also has a USB serial port that operates as the default serial port. See the
Code Examples wiki page on the Fubarino Mini website for example sketch code on how to uses the
three serial ports. Note that UART1 and UART2 can be configured (using PPS) to appear on multiple
different I/O pins – the pins listed below are simply the defaults that are applied at boot.
USB serial init: Serial.begin()
UART1 pins 17 (TX), 18 (RX): Serial0.begin()
UART2 pins 26 (TX), 25 (RX): Serial1.begin()
Power
The Fubarino Mini can be powered in a number of different ways.
1. USB: When 5V is present on the USB connector (from a PC or a powered hub for example), the
Fubarino Mini will use this power source. This power source has a reverse protection diode
connection to the 3.3V regulator. If both USB and Vin are powered, whichever is higher will end
up providing the power to the regulator.
2. Vin pin: You can also place 2.8V to 13.2V on the Vin pin to power it from an external power
source. This power source has a reverse protection diode connection to the 3.3V regulator. If
both USB and Vin are powered, whichever is higher in voltage will power the device.
3. 3.3V pin(s): You can power the Fubarino Mini by connecting a 3.3V source to either 3.3V pin.
You must be careful not to exceed 3.6V on these pins or the PIC32 will be destroyed.
Fubarino Mini Versions
Fubarino Mini versions 1.0 to 1.3 were not produced in any number and were not widely distributed.
Fubarino Mini version 1.4 made its way into several users’ hands, and is functionally identical to version
1.5 except that it uses a 40MHz rated PIC32 part and only runs at 40MHz. Thus the bootloader is slightly
different, and the “Fubarino Mini (dev)” board should be chosen in the MPIDE Boards->Fubarino menu.
Fubarino Mini v1.5 was the first version Microchip built, and uses a 50MHz rated PIC32 part. Its internal
clock speed is set to 48MHz, and thus uses a slightly different bootloader than the v1.4 and earlier