To avoid compiling and downloading / installing the necessary tools each time I need to flash a device, I took some time to create a board library to Arduino IDE.
Now, you can add the board URL to your Arduino preference window, and add the board to your IDE without compiling anything.
This will enable you to:
- Flash the bootloader with an ISP programmer (e.g. USBTinyISP):
- Arduino Pro Mini @ 1Mhz / 7200 bauds
- Arduino Pro Mini @ 1Mhz / 3600 bauds
- Compile and send some code through the serial interface of your Arduino.
How to add the new boards to the Arduino IDE
- Open Arduino Studio (1.6.4+)
- Click on "File → Preferences"
- Click on the button near the field named "Additional Boards Manager URL"
- Add the following URL into the text area:
- Validate, close the "Preferences" window, and restart the Arduino IDE
- Click on "Tool → Board: ([current board]) → Boards Manager"
- Select "Type: Contributed". You will see "IoT-Experiments Boards".
- Select it, and click on the "Install" button
- Close the boards manager window.
Now, you will see two new boards in the "Tool → Board" menu (the screenshot only displays one board because the second one has been added on the 1.1 release).
You can now plug your ISP programmer on your Arduino Pro Mini and burn the bootloader.
After that, you will be able to compile and upload some code through the serial line.
You can look at the generated files with the two Github repositories :
Subscribe to IoT Experiments
Get the latest posts delivered right to your inbox