Quickly add the Arduboy & Arduboy DevKit to the Arduino IDE


(Scott) #1

Note: this guide has now been incorporated into the Quick Start Guide
(so you’ve probably already followed it :wink:)
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.

Introduction

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.

Instructions

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:
    https://arduboy.github.io/board-support/package_arduboy_index.json

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.

  • Select 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.

<img src="/uploads/arduboy/original/2X/d/d4665a8936f975eca6f7bc278d21b984e9fc327c.png" width=“690” height=“388”

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.


drawSprite - a demo showing one function doing an animation
Mac OS X El Capitan no longer recognizes Arduino Leonardo usb
Do-Nuts - A demo showing animated backgrounds
Filesheet Scrolling - a demo showing a scrolling background
Waving Images - A demo showing bitmaps waving like a flag
ArduboyTones doesn't work
VeCToR Letters - An other small demo showing vector letters
SiNe DeMo - A small demo showing sine calculation
[Discuss] Arduboy Quick Start Guide
Do you have to use the reset button every time you want to change a game?
[Discuss] Arduboy Quick Start Guide
Rotating Clock - A demo showing a clock rotating around its Y-axis
First IMAGE - a very small demo for people to show their first image
(Ross) #2

No takers yet huh! I’ve been goofing with the 1.0.x IDE too long, I’ll give this a shot and report some feedback.

This should make it a lot simpler to use the Arduboy and the Arduino IDE for everyone. Thanks @MLXXXp.

Update

I tried the file with both the devkit and production units, using the HelloWorld example from the 1.1 version of the library, and everything works great!

Awesome.


(Scott) #3

Was this on a Mac system? I’ve tested it under Linux and Windows but not on a Mac.


(Ross) #4

People are still using Apple products? I thought that fad would have ended by now. Bleh. : ) but no, I haven’t tested it on a Mac. I sort of use the rule, “if it builds for linux, it will probably build on Mac”.


(Scott) #5

OK, perhaps it’s @Dreamer3 who uses a Mac.

Since the Arduino IDE runs under it’s own self contained Java environment, I figured if it worked on one, it would likely work on the other two, but it would still be nice to have a confirmation.


#6

I can confirm this works on Mac too !


(Darrell) #7

Indeed, works on my MacBook (OS 10.10) and Linux (Ubuntu 15.10). This stuff rocks!!!


(Scott) #8