# Arduino with Julia

**URL:** https://discourse.julialang.org/t/arduino-with-julia/75465
**Category:** General Usage
**Tags:** arduino
**Created:** [January 30, 2022, 1:43pm UTC](https://discourse.julialang.org/t/arduino-with-julia/75465 "2022-01-30T13:43:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![davibarreira](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davibarreira/32/20270_2.png) [@davibarreira](https://discourse.julialang.org/u/davibarreira)
#### Post date: [January 30, 2022, 1:43pm UTC](https://discourse.julialang.org/t/arduino-with-julia/75465/1 "2022-01-30T13:43:09Z")

</div>

I just got an Arduino for my birthday, and I was wondering if there were any tutorials out-there on how to use Julia with Arduino 🙂  
I saw @yakir12 has a discussion on the issue, but there is not really a tutorial showcasing, and it seems that the Arduino.jl package is not maintained anymore ☹

---

<div class="post-metadata">

### Author: ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)
#### Post date: [January 30, 2022, 7:26pm UTC](https://discourse.julialang.org/t/arduino-with-julia/75465/2 "2022-01-30T19:26:02Z")

</div>

I’m not aware of any Arduino tutorial for Julia. Likely since, you can’t compile Julia to Arduino. Julia doesn’t support the CPU of the original, and even with the more recent ARM-based, it’s too low-spec:

> **[Arduino Due](https://store-usa.arduino.cc/products/arduino-due)**
>
> The Arduino Due is a microcontroller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU. It is the first Arduino board based on a 32-bit ARM core microcontroller. It has 54 digital input/output pins (of which 12 can be used as PWM outputs), 12...

Julia DOES support ARM, just not such small ARM microcontrollers. Unless something changed/es, then Julia isn’t about to support any time soon. I look forward to the ability of Julia to support microcontrollers, I wouldn’t rule it out happening, while it’s very much not the target audience of Julia.

You CAN connectmmunicate with Arduino if that’s what you meant:

> [@How to start programing microcontroller in Julia ? is any package?](https://discourse.julialang.org/t/how-to-start-programing-microcontroller-in-julia-is-any-package/3688/9):
>
> I’m still unclear if you want to: run julia on the ATMEGA8 – impossible (without some serious work on changing the language itself) communicate with a program on ATMEGA – which is what Arduino.jl lets you do, but you could do directly with [SerialPorts.jl](https://github.com/JuliaIO/SerialPorts.jl) Use julia to automate the transferring of compiled programs (eg written in C), to the ATMEGA, eg via JTAG – in which case you probably are best off using julia’s great power for calling external programs, to run the commandline tools that At…

> [@Control Arduino](https://discourse.julialang.org/t/control-arduino/29982):
>
> Hi! I want to control an LED strip (DotStar) from an Arduino UNO. Is there anything new in this domain? I managed to find these 3 resources: [https://gitlab.control.lth.se/labdev/LabConnections.jl](https://gitlab.control.lth.se/labdev/LabConnections.jl) but maybe I missed something, perhaps this has some implications on that?

---

<div class="post-metadata">

### Author: ![jar1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jar1](https://discourse.julialang.org/u/jar1)
#### Post date: [November 15, 2022, 10:51pm UTC](https://discourse.julialang.org/t/arduino-with-julia/75465/3 "2022-11-15T22:51:49Z")

</div>

[Julia Abstractions for Arduino registers](https://seelengrab.github.io/articles/Julia%20Abstractions%20for%20Arduino%20registers/) by @Sukera
