# Arduino / Firmata

**URL:** <https://openrndr.discourse.group/t/arduino-firmata/289>\
**Category:** How to?\
**Created:** [October 26, 2021, 4:53pm UTC](https://openrndr.discourse.group/t/arduino-firmata/289 "2021-10-26T16:53:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![torb](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@torb](https://openrndr.discourse.group/u/torb)\
**Post date:** [October 26, 2021, 4:53pm UTC](https://openrndr.discourse.group/t/arduino-firmata/289/1 "2021-10-26T16:53:04Z")

</div>

I was curious about how you control Arduino (running Firmata) from OPENRNDR. I searched and all I found was that itwas supported and references to OPENRNDR being successfully used with Arduino. I didn’t find any concrete information _how_ you do it in OPENRNDR.

My guess would be that one would use [firmata4j java library](https://github.com/kurbatov/firmata4j), but I was curious if my assumption was correct.

---

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [October 27, 2021, 7:03am UTC](https://openrndr.discourse.group/t/arduino-firmata/289/2 "2021-10-27T07:03:55Z")

</div>

Hi @torb 🙂

It looks like by adding

```auto
    implementation("com.github.kurbatov", "firmata4j", "2.3.8")

```

to

> <https://github.com/openrndr/openrndr-template/blob/master/build.gradle.kts#L163>

and reloading Gradle the library should be available in your project.

Do you know how to convert the Java code to Kotlin?

What are you going to build? 🙂

---

<div class="post-metadata">

**Author:** ![torb](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@torb](https://openrndr.discourse.group/u/torb)\
**Post date:** [October 27, 2021, 6:06pm UTC](https://openrndr.discourse.group/t/arduino-firmata/289/3 "2021-10-27T18:06:21Z")

</div>

Hah, I googled but forgot to check the build file!

I’m not building anything in particular, but I was curious of how working in Arduino (in particular: working with Arduino (and Seeed Grove System) would be compared to Phidgets in a OPENRNDR context.

But I’ll surely post about it in this forum if I ever do something concrete.

Thanks for answering!
