Use Arduino Uno

Use Arduino Uno

  • mdo  DigitalBox
  •   Ports
  •   December 29, 2024

What about using your Arduino Uno under Haiku ?

It's working quite well as the Arduino IDE has been ported to Haiku.

And you know what ?

It's a pleasure :)

Installation

To install the Arduino IDE, go into Haiku Depot and type "arduino" in the "All packages" tab :

Proceed with the installation.

The first time the Arduino IDE is launched, a sketch template document is visible :

Looking at the version number, the last one which is available for Haiku is 1.6.1 :

Please note, it's an old version.

However until the latest version is available for Haiku, it's running fine.

Simple project

In order to check the Arduino Uno is working fine with Haiku, I have prepared the below :

All of this comes from the Arduino Uno Starter Kit, which is packaged with a nice projects book.

The schema I will prepare is as below :

Once the Arduino Uno is prepared with the leds, the resistors, the push button and the wires, I connect the breadboard to the NUC Intel with Haiku via the yellow USB cable (which is part of the starter kit) :

Going back to Haiku, the below program must be coded :

It's a simple program which is triggering the red leds when the push button is pressed.

Save it under the "sketch_haiku" filename :

Ok, now let's check if everything is recognized.

In the "Tools" menu go to "Board", and check that the Arduino Uno is selected :

In the same menu, verify also that the "Port" is recognized with the USB :

Let's compile the program :

If there's no error, the below details are displayed with "Done compiling" :

Upload the compiled program to the Arduino Uno via the right arrow icon :

Now let's verify the result.

This project is a spaceship interface.

By default the green led is ON, meaning the spaceship system is ready :

Now, let's push the launch button :

Yes !

The engage hyperdrive is activated, and until you release the push button, the red leds will flash alternatively.

I hope you have enjoyed this article, maybe it will be the occasion for you to test the Arduino Uno under Haiku.


Powered by Bludit - Hosted by Planet Hoster
© 2025 Haiku Insider