Note: this guide has now been incorporated into the Quick Start Guide
(so you’ve probably already followed it )
The instructions here may be outdated.
The Arduboy, Arduboy DevKit and the Arduino IDE
The ability to add the Arduboy and Arduboy DevKit as selectable boards in the Arduino IDE has been implemented. Follow this guide to implement the feature in your own Arduino IDE workspace.
Adding the Arduboy to the Arduino IDE’s Boards Manager gives users the ability to select Arduboy or Arduboy DevKit instead of having to select Arduino Leonardo when choosing the board in the IDE using
Tools > Board:.
For DevKit owners, it also means that by choosing Arduboy DevKit, sketches using the standard Arduboy library will compile properly for it. You will no longer have to edit the core.h file in the library to use the DevKit. Previously, to use the DevKit alongside the Arduboy 1.1 library, it required commenting out the line
#define ARDUBOY_10 in the
core.h header file found in the library’s source, and uncommenting the line
#define AB_DEVKIT in order to set the pins properly.
Editing the library file is no longer necessary and will be especially helpful for those people whom own both the DevKit and production Arduboy.
Here’s how to add the boards:
- In the Arduino IDE select
File > Preferences. In the Settings tab there will be a field titled Additional Boards Manager URLs:
Put the following text in this field:
If the field already has had other URL(s) added, you can click on the edit icon at the end of the field to allow you to add the new URL on a separate line.
Click on OK to save the preferences.
Tools > Board: > Boards Manager...
In the search field at the top right of the Boards Manager window, enter arduboy.
Click on the box containing: Arduboy by Arduboy Team
and then click on the Install button that appears at the bottom right of the box.
The word INSTALLED should appear in the box.
Close the Boards Manager window.
There should now be items Arduboy and Arduboy DevKit available for selection in the menu that you get using
Tools > Board:
Note that when you select the port using
Tools > Port it will still say (Arduino Leonardo) as the board on that port. This is fine. The Arduboy uses the Arduino Leonardo bootloader so is detected as such.