# Processing + Arduino

**URL:** <https://discourse.processing.org/t/processing-arduino/36295>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [April 12, 2022, 10:25am UTC](https://discourse.processing.org/t/processing-arduino/36295 "2022-04-12T10:25:38Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![RichardDL](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@RichardDL](https://discourse.processing.org/u/RichardDL)\
**Post date:** [April 12, 2022, 7:18pm UTC](https://discourse.processing.org/t/processing-arduino/36295/4 "2022-04-12T19:18:32Z")

</div>

Hi @Leonid, When you connect Processing to Arduino there are lots of choices. One of the major ones is

- use the Processing Arduino library which talks to the Firmata sketch in the Arduino
- use my own Processing sketch, talking to my own Arduno sketch.
- use one of the value synchronising libraries (see Processing ref → libraries).

To avoid many of the errors I wrote an [example](https://discourse.processing.org/t/processing-and-arduino-serial-example/31650) with the intention that it works first time with data going both ways. Then you can feed your data in place of the data it uses, and then expand it with more data.

---

_[View the full topic](https://discourse.processing.org/t/processing-arduino/36295)._
