# Electronics (Arduino, etc.)

**URL:** https://discourse.processing.org/c/processing/processing-electronics/25.md?page=3

[Latest](https://discourse.processing.org/latest.md) · [Categories](https://discourse.processing.org/categories.md) · [Tags](https://discourse.processing.org/tags.md)

**Page:** 4

---

## [Code is running but the robotic arm did not move](https://discourse.processing.org/t/code-is-running-but-the-robotic-arm-did-not-move/41750)

<div class="topic-metadata">

**Author:** [@jingchi](https://discourse.processing.org/u/jingchi)\
**Replies:** 3\
**Last updated:** [April 18, 2023, 11:39am UTC](https://discourse.processing.org/t/code-is-running-but-the-robotic-arm-did-not-move/41750 "2023-04-18T11:39:20Z")

</div>

Hi everyone, I need help here. Im sorry too noob at here. Initially I can operate my robotic arm by using processing software. The robotic arm can’t be executed in my current laptop but it works on my previous laptop b…

---

## [Why does my Arduino code not register data from Processing?](https://discourse.processing.org/t/why-does-my-arduino-code-not-register-data-from-processing/41719)

<div class="topic-metadata">

**Author:** [@REK166](https://discourse.processing.org/u/REK166)\
**Replies:** 4\
**Last updated:** [April 16, 2023, 2:47pm UTC](https://discourse.processing.org/t/why-does-my-arduino-code-not-register-data-from-processing/41719 "2023-04-16T14:47:22Z")

</div>

I am trying to control a 32x32 led matrix display using Processing. My Arduino code works fine, as far as i can tell. It can interact with my display and if i send text using the Arduino IDEs serial monitor, the LEDs lig…

---

## [Check a match with serial port. How to make a simple test? Should I use a class?](https://discourse.processing.org/t/check-a-match-with-serial-port-how-to-make-a-simple-test-should-i-use-a-class/41683)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 0\
**Last updated:** [April 11, 2023, 2:30pm UTC](https://discourse.processing.org/t/check-a-match-with-serial-port-how-to-make-a-simple-test-should-i-use-a-class/41683 "2023-04-11T14:30:34Z")

</div>

Hi everyones! I tried to create a class to list what is plugged on serial port. Then if a string match with a specific port, I want to see if it is true or not. the program listing port is below import processing.ser…

---

## [Could not load Java Mode, please reinstall processing?](https://discourse.processing.org/t/could-not-load-java-mode-please-reinstall-processing/41626)

<div class="topic-metadata">

**Author:** [@llsummer](https://discourse.processing.org/u/llsummer)\
**Replies:** 1\
**Last updated:** [April 5, 2023, 6:27pm UTC](https://discourse.processing.org/t/could-not-load-java-mode-please-reinstall-processing/41626 "2023-04-05T18:27:00Z")

</div>

Hi all. The Arduino processing 4.2 on win11can’t be open and got error as title, how to fix please? Thanks adam

---

## [Software for industrial automation using Arduino](https://discourse.processing.org/t/software-for-industrial-automation-using-arduino/39786)

<div class="topic-metadata">

**Author:** [@Spidoug](https://discourse.processing.org/u/Spidoug)\
**Replies:** 2\
**Last updated:** [April 5, 2023, 10:18am UTC](https://discourse.processing.org/t/software-for-industrial-automation-using-arduino/39786 "2023-04-05T10:18:45Z")

</div>

Hello guys. I come here to present my software and firmware that I developed for my monograph. The system consists of acquiring data from an Arduino and the possibility of recording them in .TXT or .CSV files. The syste…

---

## [OpenBCI GUI works in 3.3.7 but doesn't work in 4](https://discourse.processing.org/t/openbci-gui-works-in-3-3-7-but-doesnt-work-in-4/41146)

<div class="topic-metadata">

**Author:** [@hcdebey](https://discourse.processing.org/u/hcdebey)\
**Replies:** 5\
**Last updated:** [March 5, 2023, 4:31pm UTC](https://discourse.processing.org/t/openbci-gui-works-in-3-3-7-but-doesnt-work-in-4/41146 "2023-03-05T16:31:33Z")

</div>

I have an application that works in Processing 3.3.7 but not in 4. This line gets an error. Serial port; The error message is: “The type Serial is ambiguous” Can someone help me with this?

---

## [Searching someone for a collaboration for a driver camera](https://discourse.processing.org/t/searching-someone-for-a-collaboration-for-a-driver-camera/41261)

<div class="topic-metadata">

**Author:** [@animalfrommars](https://discourse.processing.org/u/animalfrommars)\
**Replies:** 8\
**Last updated:** [March 22, 2023, 9:25pm UTC](https://discourse.processing.org/t/searching-someone-for-a-collaboration-for-a-driver-camera/41261 "2023-03-22T21:25:20Z")

</div>

Hello, First i apologize if i don’t post this message at the good place because i dont’ really know where to post it so i try here. I’am looking for a collaboration with someone who can help me for a driver for my came…

---

## [Error, disabling serialEvent() for /dev/cu.usbserial-0001 null](https://discourse.processing.org/t/error-disabling-serialevent-for-dev-cu-usbserial-0001-null/41352)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 6\
**Last updated:** [March 20, 2023, 8:45pm UTC](https://discourse.processing.org/t/error-disabling-serialevent-for-dev-cu-usbserial-0001-null/41352 "2023-03-20T20:45:41Z")

</div>

Hello there, I have backup my os catalina. And now i have this trouble Error, disabling serialEvent() for /dev/cu.usbserial-0001 null I have installed an uart driver but without effect. What could I do? I’m just s…

---

## [Problem with serial port. Upgrade Monterey from Catalina](https://discourse.processing.org/t/problem-with-serial-port-upgrade-monterey-from-catalina/41269)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 4\
**Last updated:** [March 16, 2023, 11:59am UTC](https://discourse.processing.org/t/problem-with-serial-port-upgrade-monterey-from-catalina/41269 "2023-03-16T11:59:03Z")

</div>

Hello everybody! I upgraded my Mac OS from Catalina to Monterey. Since I have did that my program stops itself around 30 secondes. Do I have to download a special library? Do you have the same problem? In this progr…

---

## [How to create data array?](https://discourse.processing.org/t/how-to-create-data-array/41094)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 2\
**Last updated:** [March 2, 2023, 11:20am UTC](https://discourse.processing.org/t/how-to-create-data-array/41094 "2023-03-02T11:20:13Z")

</div>

How can I create an array of data to send to the com port from this example?

---

## [How to target a specific connection on macos](https://discourse.processing.org/t/how-to-target-a-specific-connection-on-macos/41113)

<div class="topic-metadata">

**Author:** [@npuckett](https://discourse.processing.org/u/npuckett)\
**Replies:** 7\
**Last updated:** [March 4, 2023, 3:33pm UTC](https://discourse.processing.org/t/how-to-target-a-specific-connection-on-macos/41113 "2023-03-04T15:33:23Z")

</div>

So, I’m working on a sketch that reads and relays data from a Universal UR10E. Grabs the data over TCP modbus, formats the data 2 ways. Osc that it sends to localhost Websocket as JSON The wired ethernet connection t…

---

## [Receive and send datas to the same port. Possible?](https://discourse.processing.org/t/receive-and-send-datas-to-the-same-port-possible/41064)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 2\
**Last updated:** [February 27, 2023, 9:09pm UTC](https://discourse.processing.org/t/receive-and-send-datas-to-the-same-port-possible/41064 "2023-02-27T21:09:05Z")

</div>

Hello ladies and gentlemen; I read and receive datas to and from twos differents serial usb ports. Is it possible to do this on the same serial port.? I tried but if i read data on the same serial.port, Processing tel…

---

## [Passing a Variable outside an if statement](https://discourse.processing.org/t/passing-a-variable-outside-an-if-statement/40794)

<div class="topic-metadata">

**Author:** [@slaz](https://discourse.processing.org/u/slaz)\
**Replies:** 5\
**Last updated:** [February 2, 2023, 10:02am UTC](https://discourse.processing.org/t/passing-a-variable-outside-an-if-statement/40794 "2023-02-02T10:02:47Z")

</div>

Hi everyone , In my code I am trying to pass the value of int node1, node2, node3 in texts as you can see in void draw. import java.util.Arrays; import processing.serial.\*; import http.requests.\*; PImage bg; int addr…

---

## [Processing 2 compiled program does not show gui](https://discourse.processing.org/t/processing-2-compiled-program-does-not-show-gui/40747)

<div class="topic-metadata">

**Author:** [@inselbegabung](https://discourse.processing.org/u/inselbegabung)\
**Replies:** 3\
**Last updated:** [January 31, 2023, 9:02am UTC](https://discourse.processing.org/t/processing-2-compiled-program-does-not-show-gui/40747 "2023-01-31T09:02:52Z")

</div>

I’m using Processing 2 on a Win10 computer and try to compile a code for a plotter. I did not write the code. You can find the code here The program works fine when I run it from the IDE but compiled as exe file it do…

---

## [Processing no compiles on Arduino UNO R3](https://discourse.processing.org/t/processing-no-compiles-on-arduino-uno-r3/40721)

<div class="topic-metadata">

**Author:** [@roberto64](https://discourse.processing.org/u/roberto64)\
**Replies:** 15\
**Last updated:** [January 28, 2023, 10:31pm UTC](https://discourse.processing.org/t/processing-no-compiles-on-arduino-uno-r3/40721 "2023-01-28T22:31:08Z")

</div>

hi I installed processing to make applications with arduino, but I’ve been trying to make a simple arduino program like Blink work for two days but nothing I state that with Arduino ide 2.03 it works well, but when I cle…

---

## [How to talk \[YDLIDAR X4\] on USB port](https://discourse.processing.org/t/how-to-talk-ydlidar-x4-on-usb-port/40552)

<div class="topic-metadata">

**Author:** [@koba](https://discourse.processing.org/u/koba)\
**Replies:** 1\
**Last updated:** [January 11, 2023, 9:16pm UTC](https://discourse.processing.org/t/how-to-talk-ydlidar-x4-on-usb-port/40552 "2023-01-11T21:16:50Z")

</div>

I am trying to connect to YDLIDAR X4 with Processing serial library. As the first step, I want to send system commands to X4, for example 0xA5 0x60 to being scan mode. But X4 return nothing so far. X4 is definitely con…

---

## [SD Plotter 1.00 pass to source code?](https://discourse.processing.org/t/sd-plotter-1-00-pass-to-source-code/40551)

<div class="topic-metadata">

**Author:** [@Vadimkuzmin](https://discourse.processing.org/u/Vadimkuzmin)\
**Replies:** 1\
**Last updated:** [January 11, 2023, 2:17pm UTC](https://discourse.processing.org/t/sd-plotter-1-00-pass-to-source-code/40551 "2023-01-11T14:17:14Z")

</div>

SD Plotter 1.00 archive Good afternoon, I downloaded the image, unpacked it, but there is no access to the archives, it requires a password! Who knows?

---

## [Photo transistors not working](https://discourse.processing.org/t/photo-transistors-not-working/40532)

<div class="topic-metadata">

**Author:** [@Fritjof](https://discourse.processing.org/u/Fritjof)\
**Replies:** 3\
**Last updated:** [January 11, 2023, 2:21am UTC](https://discourse.processing.org/t/photo-transistors-not-working/40532 "2023-01-11T02:21:50Z")

</div>

I am trying to get my Arduino photo transistors to work with my code in Processing. I can’t get them to work. Earlier I got it to work but without a class, which I have added now. The computer tells me that it should wor…

---

## [Cannot convert int to boolean](https://discourse.processing.org/t/cannot-convert-int-to-boolean/40540)

<div class="topic-metadata">

**Author:** [@Fritjof](https://discourse.processing.org/u/Fritjof)\
**Replies:** 2\
**Last updated:** [January 10, 2023, 6:34pm UTC](https://discourse.processing.org/t/cannot-convert-int-to-boolean/40540 "2023-01-10T18:34:45Z")

</div>

I keep getting the error message: cannot convert int to boolean. Any ideas how to fix it? Processing code with error message: import processing.serial.\*; boolean lightSensorRed, lightSensorGreen, lightSensorBlue; floa…

---

## [Как сделать трехфазную нулевую схему?](https://discourse.processing.org/t/topic/40454)

<div class="topic-metadata">

**Author:** [@fancer](https://discourse.processing.org/u/fancer)\
**Replies:** 0\
**Last updated:** [January 5, 2023, 7:36am UTC](https://discourse.processing.org/t/topic/40454 "2023-01-05T07:36:57Z")

</div>

Good afternoon! I need help writing code for a sifu with a three-phase zero circuit, I can’t figure out how to write it, in my example I only have a three-phase bridge circuit

---

## [Draw rectangles in Processing from data in serial monitor](https://discourse.processing.org/t/draw-rectangles-in-processing-from-data-in-serial-monitor/40273)

<div class="topic-metadata">

**Author:** [@axeltheodorus](https://discourse.processing.org/u/axeltheodorus)\
**Replies:** 3\
**Last updated:** [December 28, 2022, 12:53pm UTC](https://discourse.processing.org/t/draw-rectangles-in-processing-from-data-in-serial-monitor/40273 "2022-12-28T12:53:48Z")

</div>

I have 2 ultrasonic sensors that i have already programmed to print out 2 values of distance in one string seperated by a coma. The values will then be read by processing and it should display 2 seperate rectangles that …

---

## [How to display Microbit's orientation as a 3D model in Processing?](https://discourse.processing.org/t/how-to-display-microbits-orientation-as-a-3d-model-in-processing/40248)

<div class="topic-metadata">

**Author:** [@neospace](https://discourse.processing.org/u/neospace)\
**Replies:** 5\
**Last updated:** [December 22, 2022, 12:05am UTC](https://discourse.processing.org/t/how-to-display-microbits-orientation-as-a-3d-model-in-processing/40248 "2022-12-22T00:05:16Z")

</div>

I am working on a project with my rocketry club. I want to have a microbit control the orientation of the fins to auto-stabilize the rocket. But first, I tried to make a processing code to display in real-time my micro-b…

---

## [Reading serial data from Arduino - big delays](https://discourse.processing.org/t/reading-serial-data-from-arduino-big-delays/40229)

<div class="topic-metadata">

**Author:** [@scottbouch](https://discourse.processing.org/u/scottbouch)\
**Replies:** 3\
**Last updated:** [December 22, 2022, 10:25am UTC](https://discourse.processing.org/t/reading-serial-data-from-arduino-big-delays/40229 "2022-12-22T10:25:35Z")

</div>

Hi all first post here, and new to Processing, this is my first project. I am trying to read a stream of serial data from an Arduino board, and have it set the angle of a pointer in processing on my screen. I have foll…

---

## [My recorded DXF file turns up tilted when I open it in CAD](https://discourse.processing.org/t/my-recorded-dxf-file-turns-up-tilted-when-i-open-it-in-cad/25133)

<div class="topic-metadata">

**Author:** [@Teljemo](https://discourse.processing.org/u/Teljemo)\
**Replies:** 10\
**Last updated:** [December 17, 2022, 6:45am UTC](https://discourse.processing.org/t/my-recorded-dxf-file-turns-up-tilted-when-i-open-it-in-cad/25133 "2022-12-17T06:45:20Z")

</div>

Hi, I have found a purpose for a program I have been working on a while back. The program is based on another program I didn’t create so I don’t know all the history on how it was made and I am a beginner in programming…

---

## [Processing - Serial Coms with Arduino - receiving mostly "nulls"](https://discourse.processing.org/t/processing-serial-coms-with-arduino-receiving-mostly-nulls/39816)

<div class="topic-metadata">

**Author:** [@Europa81](https://discourse.processing.org/u/Europa81)\
**Replies:** 1\
**Last updated:** [November 21, 2022, 11:50pm UTC](https://discourse.processing.org/t/processing-serial-coms-with-arduino-receiving-mostly-nulls/39816 "2022-11-21T23:50:29Z")

</div>

Trying to get an Arduino report Data to Processing with a sketch which sends a String (“abcd”) every second. On Processing side there is: import processing.serial.\*; Serial SerPort; String rx = ""; void setup () { …

---

## [Serial Events and the which parameter](https://discourse.processing.org/t/serial-events-and-the-which-parameter/39638)

<div class="topic-metadata">

**Author:** [@GhostGlitch](https://discourse.processing.org/u/GhostGlitch)\
**Replies:** 4\
**Last updated:** [November 20, 2022, 1:58am UTC](https://discourse.processing.org/t/serial-events-and-the-which-parameter/39638 "2022-11-20T01:58:44Z")

</div>

In the Libraries Reference for serialEvents it mentions a “which” parameter but does not go into any details about it. I’ve search for any references on how to use this, but have come up short. How does this parameter …

---

## [Minim gain not increasing past 6.026dB](https://discourse.processing.org/t/minim-gain-not-increasing-past-6-026db/39698)

<div class="topic-metadata">

**Author:** [@rigo](https://discourse.processing.org/u/rigo)\
**Replies:** 0\
**Last updated:** [November 14, 2022, 3:25am UTC](https://discourse.processing.org/t/minim-gain-not-increasing-past-6-026db/39698 "2022-11-14T03:25:21Z")

</div>

please format code with \</\> button \* homework policy \* asking questions I’m trying to get audio output from processing after receiving input from an arduino. I was just trying to test the processing code without the …

---

## [Multiple Serial in multiple windows can it be Done?](https://discourse.processing.org/t/multiple-serial-in-multiple-windows-can-it-be-done/39325)

<div class="topic-metadata">

**Author:** [@Graci2017](https://discourse.processing.org/u/Graci2017)\
**Replies:** 14\
**Last updated:** [November 8, 2022, 1:12pm UTC](https://discourse.processing.org/t/multiple-serial-in-multiple-windows-can-it-be-done/39325 "2022-11-08T13:12:21Z")

</div>

Hello Processing community. I am working with multiple Windows and with multiple Serials. I been trying to separate my 2 serial data into 2 different Windows (not 1 windows with multiple panes) in processing. Hopefully…

---

## [Serial connection between Processing and Arduino doesn’t work](https://discourse.processing.org/t/serial-connection-between-processing-and-arduino-doesn-t-work/39557)

<div class="topic-metadata">

**Author:** [@Mathis](https://discourse.processing.org/u/Mathis)\
**Replies:** 8\
**Last updated:** [November 8, 2022, 12:56pm UTC](https://discourse.processing.org/t/serial-connection-between-processing-and-arduino-doesn-t-work/39557 "2022-11-08T12:56:53Z")

</div>

Hello, I’m trying to send data from Arduino to processing via serial. I’m getting no errors on either side, and all seems to work. Just one problem : the data doesn’t arrive in processing… Here is the code from Ardui…

---

## [Having multiple sketches running and mixing them in Open Broadcaster Software (OBS)?](https://discourse.processing.org/t/having-multiple-sketches-running-and-mixing-them-in-open-broadcaster-software-obs/39580)

<div class="topic-metadata">

**Author:** [@amundsen](https://discourse.processing.org/u/amundsen)\
**Replies:** 2\
**Last updated:** [November 7, 2022, 8:10am UTC](https://discourse.processing.org/t/having-multiple-sketches-running-and-mixing-them-in-open-broadcaster-software-obs/39580 "2022-11-07T08:10:09Z")

</div>

Hello, Is anyone running several sketches and mixing them using OBS? How smooth is it? Thank you in advance.

[Previous page](https://discourse.processing.org/c/processing/processing-electronics/25.md?page=2)

[Next page](https://discourse.processing.org/c/processing/processing-electronics/25.md?page=4)
