Coding for Arduboy on the Raspberry Pi 3

Hi there, I have got my raspberry pi starter kit from pimoroni through the post today, and so did my arduboy which I also ordered. I wanted to code for Arduboy on the Raspberry Pi so I downloaded the Arduino IDE (ARM) onto it successfully, but i’m having some trouble adding libraries and boards. I’ll add some screenshots below to show you.

When I try to add the library

When I try to add the Board

What am I doing wrong?

Update: I have added the library.

1 Like

Did you follow the instructions in Step 2 of the Quick Start Guide for installing the library and board support?

If the Arduino IDE preferences in the Rpi don’t have a field to allow you to enter Additional Boards Manager URLs, just select Arduino Leonardo as the board type.

Ok, done all that, arduino IDE output is giving me error when uploading:

HelloWorld.ino:14:21: fatal error: Arduboy.h: No such file or directory
compilation terminated.

@MLXXXp

It looks like you don’t have the Arduboy library installed properly or in the right place.

It should be in a folder named Arduboy in the libraries folder in your sketchbook.
According to your screen shot of your IDE preferences, your Sketchbook location is
/home/pi/sketchbook

What version of the Arduino IDE are you using? I’m getting the feeling that it is quite old. You should be using version 1.6.10 or higher. 1.8.0 is the latest. You can download the latest IDE from:
https://www.arduino.cc/en/Main/Software

I don’t know what you have to do to install it on a RPi, but for Ubuntu Linux I follow these instructions:
http://ubuntuhandbook.org/index.php/2015/11/install-arduino-ide-1-6-6-ubuntu/

1 Like

Yeah its the latest version, I downloaded it direct from the Arduino website for Linux ARM.

I’m going to reinstall the library.

@MLXXXp

1 Like

That is IDE version 1.0.5
It’s way to old to work with the Arduboy library.

You need verson 1.6.10 or higher.
Again, you can download 1.8.0 from here:
https://www.arduino.cc/en/Main/Software

Fixed! That took a while. Kinda embarrassing. Anyway, thank you @MLXXXp ! :grinning:

3 Likes

Fantastic! I just got my Adafruit PiGrrl Zero kit today, and was wondering how hard it would be to implement this. My Linux experiences are very limited. I will try this later on. :slight_smile: