# Electronics (Arduino, etc.)

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

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

**Page:** 12

---

## [Modbus RTU Library for Processing](https://discourse.processing.org/t/modbus-rtu-library-for-processing/25704)

<div class="topic-metadata">

**Author:** [@Samsanit](https://discourse.processing.org/u/Samsanit)\
**Replies:** 2\
**Last updated:** [November 26, 2020, 1:19am UTC](https://discourse.processing.org/t/modbus-rtu-library-for-processing/25704 "2020-11-26T01:19:40Z")

</div>

Hi All, Is there a library out there that can be used for sending serial modbus communications that hooks to processing? I have a pump which uses Modbus RTU in order to control the pump, as well as receive information …

---

## [Anyone possible make project](https://discourse.processing.org/t/anyone-possible-make-project/25109)

<div class="topic-metadata">

**Author:** [@r0x15](https://discourse.processing.org/u/r0x15)\
**Replies:** 29\
**Last updated:** [November 22, 2020, 4:29pm UTC](https://discourse.processing.org/t/anyone-possible-make-project/25109 "2020-11-22T16:29:29Z")

</div>

Hello to All this my project ; this working fine on java mode from serial (run on window 10) i need run same project on android app phone via bluetooth and from usb connect output encoder. i test on windows it work …

---

## [Playing videos alternately](https://discourse.processing.org/t/playing-videos-alternately/25432)

<div class="topic-metadata">

**Author:** [@Johnny](https://discourse.processing.org/u/Johnny)\
**Replies:** 1\
**Last updated:** [November 15, 2020, 4:00am UTC](https://discourse.processing.org/t/playing-videos-alternately/25432 "2020-11-15T04:00:38Z")

</div>

Hello! I am trying to play two videos alternately depending on the distance measurement of the ultrasonic sensor. This is my first time using both Arduino and processing, and I’m lost in setting values properly. I don’t …

---

## [Bezier editor with data from serial port](https://discourse.processing.org/t/bezier-editor-with-data-from-serial-port/25184)

<div class="topic-metadata">

**Author:** [@myramoons](https://discourse.processing.org/u/myramoons)\
**Replies:** 1\
**Last updated:** [November 5, 2020, 9:03am UTC](https://discourse.processing.org/t/bezier-editor-with-data-from-serial-port/25184 "2020-11-05T09:03:29Z")

</div>

Hello! Im doing a project for school, where I’m using a pixy camera to track and send coordinates to processing so that it draws a smooth curve. I stumbled upon @Chrisir 's bezier editor, and have been trying to change t…

---

## [Using Processing for creating a GUI to display Vibration Measurements from an Arduino (using the Grove SW-420 Vibration Sensor)](https://discourse.processing.org/t/using-processing-for-creating-a-gui-to-display-vibration-measurements-from-an-arduino-using-the-grove-sw-420-vibration-sensor/25166)

<div class="topic-metadata">

**Author:** [@AbroChief](https://discourse.processing.org/u/AbroChief)\
**Replies:** 6\
**Last updated:** [November 4, 2020, 11:36am UTC](https://discourse.processing.org/t/using-processing-for-creating-a-gui-to-display-vibration-measurements-from-an-arduino-using-the-grove-sw-420-vibration-sensor/25166 "2020-11-04T11:36:04Z")

</div>

Hello everyone. I am creating a project, everything has gone perfect and the task is accomplished. I have fixed a Grove SW-420 vibration sensor and a Grove - LoRa Radio 433MHz Transmitter (acting as the client for sendin…

---

## [Serial data from arduino to processing (Vital Signs monitor)](https://discourse.processing.org/t/serial-data-from-arduino-to-processing-vital-signs-monitor/24088)

<div class="topic-metadata">

**Author:** [@IttaloAlvarenga](https://discourse.processing.org/u/IttaloAlvarenga)\
**Replies:** 2\
**Last updated:** [November 2, 2020, 4:22pm UTC](https://discourse.processing.org/t/serial-data-from-arduino-to-processing-vital-signs-monitor/24088 "2020-11-02T16:22:16Z")

</div>

Hello there! I´m new coding with processing and I have some issues that I hope you guys can help me to understand and solve. I´m fascinated about vital signs and I´ve decided to build my own monitor, but I only have some…

---

## [How do I connect serial over USB on Chromebook](https://discourse.processing.org/t/how-do-i-connect-serial-over-usb-on-chromebook/24884)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 4\
**Last updated:** [October 30, 2020, 3:16pm UTC](https://discourse.processing.org/t/how-do-i-connect-serial-over-usb-on-chromebook/24884 "2020-10-30T15:16:18Z")

</div>

I jumped down a new rabbit hole and I don’t know how to get out, ha,ha. Ok, I better be more specific. I have an Arduino that runs MultiWii2.3 and uses a protocol to send and receive data over serial. MultiWii comes w…

---

## [Processing on Microcontrollers?(Teensy, Arduino, etc.)](https://discourse.processing.org/t/processing-on-microcontrollers-teensy-arduino-etc/24962)

<div class="topic-metadata">

**Author:** [@onionwasabi](https://discourse.processing.org/u/onionwasabi)\
**Replies:** 5\
**Last updated:** [October 30, 2020, 9:47am UTC](https://discourse.processing.org/t/processing-on-microcontrollers-teensy-arduino-etc/24962 "2020-10-30T09:47:34Z")

</div>

Hi everyone. I am pretty sure there is a similar question but I couldn’t find the answer I want. Sorry if this is redundant. (I am a noob, still learning) My Question: Is there any way to run Processing on Microcontrol…

---

## [RXTX mismatch on chromebook /dev/ttyusb0](https://discourse.processing.org/t/rxtx-mismatch-on-chromebook-dev-ttyusb0/24335)

<div class="topic-metadata">

**Author:** [@HackinHarry](https://discourse.processing.org/u/HackinHarry)\
**Replies:** 5\
**Last updated:** [October 24, 2020, 5:25am UTC](https://discourse.processing.org/t/rxtx-mismatch-on-chromebook-dev-ttyusb0/24335 "2020-10-24T05:25:57Z")

</div>

I seem to get dumber with each new error I encounter. I’m using a chromebook running linux in a container and then I run the processing-3.5.3 IDE on that. For some time now, I have been trying to connect an Arduino run…

---

## [To play a video against the background of the kinect](https://discourse.processing.org/t/to-play-a-video-against-the-background-of-the-kinect/24716)

<div class="topic-metadata">

**Author:** [@seoha](https://discourse.processing.org/u/seoha)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 2:55pm UTC](https://discourse.processing.org/t/to-play-a-video-against-the-background-of-the-kinect/24716 "2020-10-19T14:55:44Z")

</div>

I’m a beginner, can you tell me the details please?:joy::joy: The background image is regenerated, but I can’t see the image of people being recognized and floating people. And the video that you ran before that runs t…

---

## [Processing does not find device](https://discourse.processing.org/t/processing-does-not-find-device/24193)

<div class="topic-metadata">

**Author:** [@laererlund](https://discourse.processing.org/u/laererlund)\
**Replies:** 8\
**Last updated:** [October 19, 2020, 3:06pm UTC](https://discourse.processing.org/t/processing-does-not-find-device/24193 "2020-10-19T15:06:05Z")

</div>

Hi, I have a problem with a LEAP Motion controller not responding. And I dont think it is the controller, because it worked fine the other day - I think it is Processing somehow losing track of ports and devices, somewh…

---

## [Help needed to code videos play with processing by receiving data from Arduino](https://discourse.processing.org/t/help-needed-to-code-videos-play-with-processing-by-receiving-data-from-arduino/24237)

<div class="topic-metadata">

**Author:** [@Annak](https://discourse.processing.org/u/Annak)\
**Replies:** 7\
**Last updated:** [October 3, 2020, 7:21pm UTC](https://discourse.processing.org/t/help-needed-to-code-videos-play-with-processing-by-receiving-data-from-arduino/24237 "2020-10-03T19:21:06Z")

</div>

Hello everyone! I am an artist and I am trying to make an interactive artwork using Arduino and Processing. I am really new at all this,.I know very little about programming but I have to complete this artwork as it is …

---

## [Input controlled video playback in Processing](https://discourse.processing.org/t/input-controlled-video-playback-in-processing/23084)

<div class="topic-metadata">

**Author:** [@ruta](https://discourse.processing.org/u/ruta)\
**Replies:** 1\
**Last updated:** [September 29, 2020, 8:25am UTC](https://discourse.processing.org/t/input-controlled-video-playback-in-processing/23084 "2020-09-29T08:25:54Z")

</div>

Hi! I am reading capacitive sensors with Arduino and the number of the sensor touched is communicated to Processing, at the moment it is just 1 or 2. In Processing, I am trying to play a video depending on the number of …

---

## [Exporting DXF is mirrored - CMM Arm](https://discourse.processing.org/t/exporting-dxf-is-mirrored-cmm-arm/13995)

<div class="topic-metadata">

**Author:** [@Bryan1](https://discourse.processing.org/u/Bryan1)\
**Replies:** 18\
**Last updated:** [September 25, 2020, 9:32pm UTC](https://discourse.processing.org/t/exporting-dxf-is-mirrored-cmm-arm/13995 "2020-09-25T21:32:18Z")

</div>

I am working on building a CMM Arm with the end goal of exporting a 3D .DXF file of the object measured as well as a point cloud file (simple Tab Delimited Text file). I am having trouble with exporting the DXF as its sa…

---

## [ArrayIndexOutOfBoundsException: 1 error when using String\[\] and split()](https://discourse.processing.org/t/arrayindexoutofboundsexception-1-error-when-using-string-and-split/24016)

<div class="topic-metadata">

**Author:** [@katesfb](https://discourse.processing.org/u/katesfb)\
**Replies:** 4\
**Last updated:** [September 23, 2020, 9:58am UTC](https://discourse.processing.org/t/arrayindexoutofboundsexception-1-error-when-using-string-and-split/24016 "2020-09-23T09:58:13Z")

</div>

Hi, I am reading temperature values from an ESP8266 (10 temp probes), then putting them into array befor displaying these values however i am getting the ArrayIndexOutOfBoundsException: 1 error when using String\[\] and …

---

## [Removing Border from Processing Screen](https://discourse.processing.org/t/removing-border-from-processing-screen/23965)

<div class="topic-metadata">

**Author:** [@BuffaloFan32](https://discourse.processing.org/u/BuffaloFan32)\
**Replies:** 8\
**Last updated:** [September 22, 2020, 1:21am UTC](https://discourse.processing.org/t/removing-border-from-processing-screen/23965 "2020-09-22T01:21:20Z")

</div>

I wrote the script below that takes part of my computer screen and shows a smaller version of it in a tiny window in the corner. I found a helpful thread that helped me remove the toolbar from the top of the window but …

---

## [Kinect with Windows 10 or any alternative?](https://discourse.processing.org/t/kinect-with-windows-10-or-any-alternative/23963)

<div class="topic-metadata">

**Author:** [@730](https://discourse.processing.org/u/730)\
**Replies:** 0\
**Last updated:** [September 19, 2020, 3:20pm UTC](https://discourse.processing.org/t/kinect-with-windows-10-or-any-alternative/23963 "2020-09-19T15:20:44Z")

</div>

Hi everyone, I’m about to start teaching Processing at an art academy and I would like to propose the students some interactive works with Kinect. It’s been some years I don’t use this device and as I should buy one to…

---

## [How to connect and "read" two light sensors (photoresistors)](https://discourse.processing.org/t/how-to-connect-and-read-two-light-sensors-photoresistors/23254)

<div class="topic-metadata">

**Author:** [@Mirzohid](https://discourse.processing.org/u/Mirzohid)\
**Replies:** 12\
**Last updated:** [September 18, 2020, 2:19pm UTC](https://discourse.processing.org/t/how-to-connect-and-read-two-light-sensors-photoresistors/23254 "2020-09-18T14:19:21Z")

</div>

Hi, everyone I wanted to connect 2 photoresistors and creat 2 rectangles which reflects lighting on that photoresistors seperatly. 1 st question is is it even possible 'cause i couldn’t find anything about it on the int…

---

## [Delay occurs in real time plotting using threads](https://discourse.processing.org/t/delay-occurs-in-real-time-plotting-using-threads/23885)

<div class="topic-metadata">

**Author:** [@KGS](https://discourse.processing.org/u/KGS)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 7:54am UTC](https://discourse.processing.org/t/delay-occurs-in-real-time-plotting-using-threads/23885 "2020-09-17T07:54:39Z")

</div>

I’m using 7 serial ports with 7 sensors required to be plotted in rela time without any delays. I have used separate thread functions to plot the data. However, after 5 minutes of plotting I have observed there is a dela…

---

## [Processing software not working](https://discourse.processing.org/t/processing-software-not-working/23784)

<div class="topic-metadata">

**Author:** [@jayvaidya](https://discourse.processing.org/u/jayvaidya)\
**Replies:** 5\
**Last updated:** [September 11, 2020, 4:04pm UTC](https://discourse.processing.org/t/processing-software-not-working/23784 "2020-09-11T16:04:57Z")

</div>

I searched but most of the people have issues like the software is crashing after the logo is displayed. But, in my case, I can open the editor and my code. But when I click on the Run button to execute the code, I see…

---

## [Issues on installing Kinect - Cataline osx](https://discourse.processing.org/t/issues-on-installing-kinect-cataline-osx/23781)

<div class="topic-metadata">

**Author:** [@shade594](https://discourse.processing.org/u/shade594)\
**Replies:** 0\
**Last updated:** [September 10, 2020, 7:02pm UTC](https://discourse.processing.org/t/issues-on-installing-kinect-cataline-osx/23781 "2020-09-10T19:02:44Z")

</div>

please format code with \</\> button \* homework policy \* asking questions Hello everyone. I just started using kinect and facing some issues on install it. I tried every tutorial I’ve seen on the internet and I still…

---

## [Open Weather Maps using Multiple ID's](https://discourse.processing.org/t/open-weather-maps-using-multiple-ids/13444)

<div class="topic-metadata">

**Author:** [@zara2355](https://discourse.processing.org/u/zara2355)\
**Replies:** 2\
**Last updated:** [September 3, 2020, 12:10am UTC](https://discourse.processing.org/t/open-weather-maps-using-multiple-ids/13444 "2020-09-03T00:10:47Z")

</div>

Hey all- I’m still super new here, so apologies if this question is dumb… Im trying to use the Open Weather Maps API to Grab temperature data from multiple cities that i will eventually use with an Arduino As per the …

---

## [How to sequence or switch case automatically?](https://discourse.processing.org/t/how-to-sequence-or-switch-case-automatically/17464)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 22\
**Last updated:** [September 1, 2020, 7:31am UTC](https://discourse.processing.org/t/how-to-sequence-or-switch-case-automatically/17464 "2020-09-01T07:31:28Z")

</div>

Hi, I made a lot of cases to trigger them with the keyboard. Now, I wish I could sequence the cases in a special order and manage their duration. For example with the Arduino IDE, I made case ‘0’ and case ‘4’’ In void…

---

## [Horizon artificial and compass animation](https://discourse.processing.org/t/horizon-artificial-and-compass-animation/3794)

<div class="topic-metadata">

**Author:** [@zohrahamadene](https://discourse.processing.org/u/zohrahamadene)\
**Replies:** 15\
**Last updated:** [September 1, 2020, 6:37am UTC](https://discourse.processing.org/t/horizon-artificial-and-compass-animation/3794 "2020-09-01T06:37:39Z")

</div>

Hi guys, I want to draw an Artificial horizon and a compass by processing can someone tell me how to do that please, I put here a picture of what I want to realize.

---

## [Audio via Serial, not soundcard - draw() too slow to analyze](https://discourse.processing.org/t/audio-via-serial-not-soundcard-draw-too-slow-to-analyze/23545)

<div class="topic-metadata">

**Author:** [@RFullum](https://discourse.processing.org/u/RFullum)\
**Replies:** 4\
**Last updated:** [August 30, 2020, 9:18am UTC](https://discourse.processing.org/t/audio-via-serial-not-soundcard-draw-too-slow-to-analyze/23545 "2020-08-30T09:18:10Z")

</div>

Hey all, I’m trying to figure out the best way to attack this problem. I have a Mic (Max4466) -\> ADC (ADS1115) -\> Arduino Nano 33 IoT -\> Processing via Serial (USB). My current test sketches work like this: -Arduino is…

---

## [About JS Google Maps](https://discourse.processing.org/t/about-js-google-maps/23206)

<div class="topic-metadata">

**Author:** [@SouSageYa](https://discourse.processing.org/u/SouSageYa)\
**Replies:** 1\
**Last updated:** [August 22, 2020, 4:29pm UTC](https://discourse.processing.org/t/about-js-google-maps/23206 "2020-08-22T16:29:19Z")

</div>

How to send arduino values to a map created by Js

---

## [Arduino Add Library Error - not valid library reported](https://discourse.processing.org/t/arduino-add-library-error-not-valid-library-reported/22938)

<div class="topic-metadata">

**Author:** [@videodub](https://discourse.processing.org/u/videodub)\
**Replies:** 7\
**Last updated:** [August 13, 2020, 5:12pm UTC](https://discourse.processing.org/t/arduino-add-library-error-not-valid-library-reported/22938 "2020-08-13T17:12:17Z")

</div>

When attempting to add video processing library for Arduino, reports ‘zip does not contain a valid library’ Tried older version, same result. Library will not install in Arduino environment. Running Win7 64bit. Used…

---

## [Using a Serial port. Can processing boot even if the port is un available](https://discourse.processing.org/t/using-a-serial-port-can-processing-boot-even-if-the-port-is-un-available/23041)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 2\
**Last updated:** [August 5, 2020, 12:48am UTC](https://discourse.processing.org/t/using-a-serial-port-can-processing-boot-even-if-the-port-is-un-available/23041 "2020-08-05T00:48:10Z")

</div>

I would want to be able to boot the sketch even if the USB cord is unplugged to my arduino. Eventually I would write a message “COM Not Available” and maybe make a button to re-connect. But Processing will stop in the …

---

## [Arduino Add Library Error - not valid library reported - will not install](https://discourse.processing.org/t/arduino-add-library-error-not-valid-library-reported-will-not-install/23037)

<div class="topic-metadata">

**Author:** [@videodub](https://discourse.processing.org/u/videodub)\
**Replies:** 0\
**Last updated:** [August 4, 2020, 6:54pm UTC](https://discourse.processing.org/t/arduino-add-library-error-not-valid-library-reported-will-not-install/23037 "2020-08-04T18:54:45Z")

</div>

When attempting to add video processing library for Arduino, reports ‘zip does not contain a valid library’ Tried older version, same result. Library will not install in Arduino environment. Running Win7 64bit. Used — …

---

## [How to Change Image Transparency Using Ultrasonic Sensor](https://discourse.processing.org/t/how-to-change-image-transparency-using-ultrasonic-sensor/22578)

<div class="topic-metadata">

**Author:** [@nad1999](https://discourse.processing.org/u/nad1999)\
**Replies:** 9\
**Last updated:** [July 28, 2020, 7:25pm UTC](https://discourse.processing.org/t/how-to-change-image-transparency-using-ultrasonic-sensor/22578 "2020-07-28T19:25:56Z")

</div>

Hi everyone I’m trying to make a digital poster that changes when you get closer and farther away from it using an ultrasonic sensor and arduino. My distance measuring code works, but I can’t seem to get the two images …

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

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