# Electronics (Arduino, etc.)

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

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

**Page:** 26

---

## [Control a crane system](https://discourse.processing.org/t/control-a-crane-system/3448)

<div class="topic-metadata">

**Author:** [@bill](https://discourse.processing.org/u/bill)\
**Replies:** 2\
**Last updated:** [September 11, 2018, 3:27am UTC](https://discourse.processing.org/t/control-a-crane-system/3448 "2018-09-11T03:27:26Z")

</div>

Hi there, I am working on a project of control crane system, and I have did the positioning of trolley which moves on the jib using Arduino, However, I have used a webcam which is located beneath the trolley to detect t…

---

## [Log data from Arduino Serial to .txt file](https://discourse.processing.org/t/log-data-from-arduino-serial-to-txt-file/3363)

<div class="topic-metadata">

**Author:** [@beatrice94](https://discourse.processing.org/u/beatrice94)\
**Replies:** 5\
**Last updated:** [September 9, 2018, 3:52pm UTC](https://discourse.processing.org/t/log-data-from-arduino-serial-to-txt-file/3363 "2018-09-09T15:52:38Z")

</div>

Hi all, I know this question pops up on the web a lot but so fa I havent’ been able to find one solution than works for me. I am a complete newbie to Java and Processing, so please be patient with me. I have an Arduino…

---

## [Slider Value Delay](https://discourse.processing.org/t/slider-value-delay/2629)

<div class="topic-metadata">

**Author:** [@sandy](https://discourse.processing.org/u/sandy)\
**Replies:** 16\
**Last updated:** [September 3, 2018, 6:13pm UTC](https://discourse.processing.org/t/slider-value-delay/2629 "2018-09-03T18:13:03Z")

</div>

I want to set the value of the duty cycle through the slider in processing, but when I set the slider value (0-255) there is a very long delay. How to overcome it ? This is my arduino code: #include \<SoftwareSerial.h\> …

---

## [Unable to save point cloud 3d data video](https://discourse.processing.org/t/unable-to-save-point-cloud-3d-data-video/3024)

<div class="topic-metadata">

**Author:** [@vivekbarsaiyan](https://discourse.processing.org/u/vivekbarsaiyan)\
**Replies:** 3\
**Last updated:** [August 28, 2018, 7:36am UTC](https://discourse.processing.org/t/unable-to-save-point-cloud-3d-data-video/3024 "2018-08-28T07:36:19Z")

</div>

I AM USING LIDAR SENSOR FOR CREATING POINT CLOUD BY INTERFACING WITH ARDUINO UNO BOARD AND PROCESSING I3 SOFTWARE BUT UNABLE TO SAVE THE 3D OUTPUT POINT CLOUD VIDEO DATA. MEAN WHILE I TRIED FOR SAVING EACH POINT CLOUD A…

---

## [Frame differencing with Kinect and opencv](https://discourse.processing.org/t/frame-differencing-with-kinect-and-opencv/2919)

<div class="topic-metadata">

**Author:** [@raya](https://discourse.processing.org/u/raya)\
**Replies:** 1\
**Last updated:** [August 24, 2018, 9:37pm UTC](https://discourse.processing.org/t/frame-differencing-with-kinect-and-opencv/2919 "2018-08-24T21:37:55Z")

</div>

Hi, Is there any way to do frame differencing with openCV and/or the depth data of Kinect to detect interaction in a scene? In the scene there are no skeletons, just a table with some objects on it and I need to detect…

---

## [Control servos with SSC-32U \[URGENT\]](https://discourse.processing.org/t/control-servos-with-ssc-32u-urgent/2662)

<div class="topic-metadata">

**Author:** [@parvinFrzd](https://discourse.processing.org/u/parvinFrzd)\
**Replies:** 2\
**Last updated:** [August 15, 2018, 1:49pm UTC](https://discourse.processing.org/t/control-servos-with-ssc-32u-urgent/2662 "2018-08-15T13:49:18Z")

</div>

Hi I’m trying to move a servo from a position to another position. I’m using SSC-32U and Processing. the function seems very easy but when I run it, it stays at the minimum position and never goes to the maximum position…

---

## [\[SOLVED\] ArrayIndexOutOfBoundsException: 1](https://discourse.processing.org/t/solved-arrayindexoutofboundsexception-1/2288)

<div class="topic-metadata">

**Author:** [@racs](https://discourse.processing.org/u/racs)\
**Replies:** 11\
**Last updated:** [August 2, 2018, 10:04pm UTC](https://discourse.processing.org/t/solved-arrayindexoutofboundsexception-1/2288 "2018-08-02T22:04:27Z")

</div>

Using an arduino Mega to collect temperature and humidity data then using Processing to display data on meters. Everything works fine for a few seconds then I receive this error: ArrayIndexOutOfBoundsException: 1. Not su…

---

## [Help with void receive](https://discourse.processing.org/t/help-with-void-receive/2121)

<div class="topic-metadata">

**Author:** [@MPROCD](https://discourse.processing.org/u/MPROCD)\
**Replies:** 3\
**Last updated:** [August 2, 2018, 11:11am UTC](https://discourse.processing.org/t/help-with-void-receive/2121 "2018-08-02T11:11:51Z")

</div>

I wanted to use my laptop to work on some processing sketches that I had on my desktop PC. Laptop Environment: WINDOWS 10 with PROCESSING 3.3.7, static IP Desktop Environment: WINDOWS 7 with PROCESSING 3.3.3, another…

---

## [Arduino Air Instrument with Ultrasonic Sensor and Processing](https://discourse.processing.org/t/arduino-air-instrument-with-ultrasonic-sensor-and-processing/2245)

<div class="topic-metadata">

**Author:** [@nateswill](https://discourse.processing.org/u/nateswill)\
**Replies:** 4\
**Last updated:** [August 2, 2018, 3:32am UTC](https://discourse.processing.org/t/arduino-air-instrument-with-ultrasonic-sensor-and-processing/2245 "2018-08-02T03:32:56Z")

</div>

This is my first time using processing although I’ve been making Arduino projects for awhile. I’m trying to to create an instrument that changes pitch as the distance from an ultrasonic sensor varies. So far I am unabl…

---

## [Read two separate sensor value](https://discourse.processing.org/t/read-two-separate-sensor-value/2161)

<div class="topic-metadata">

**Author:** [@jbalbarez](https://discourse.processing.org/u/jbalbarez)\
**Replies:** 2\
**Last updated:** [August 1, 2018, 2:04pm UTC](https://discourse.processing.org/t/read-two-separate-sensor-value/2161 "2018-08-01T14:04:36Z")

</div>

I have two light sensor setup to my Arduino Uno, and I want to send the value of two sensors to processing and then separately assign it to val1 and val2 and show it in window. But in my Processing code it is only design…

---

## [How do I make an app in a video?(message box)](https://discourse.processing.org/t/how-do-i-make-an-app-in-a-video-message-box/1934)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 1\
**Last updated:** [July 20, 2018, 4:28pm UTC](https://discourse.processing.org/t/how-do-i-make-an-app-in-a-video-message-box/1934 "2018-07-20T16:28:16Z")

</div>

ummary: When a shock is detected, Arduino transmits data to the smartphone via Bluetooth communication. At this time, the following message box appears on the background screen. How do I make the message …

---

## [Unable to form communication between processing and arduino](https://discourse.processing.org/t/unable-to-form-communication-between-processing-and-arduino/1771)

<div class="topic-metadata">

**Author:** [@ayesha](https://discourse.processing.org/u/ayesha)\
**Replies:** 2\
**Last updated:** [July 17, 2018, 9:23am UTC](https://discourse.processing.org/t/unable-to-form-communication-between-processing-and-arduino/1771 "2018-07-17T09:23:16Z")

</div>

I am trying to form serial communication between arduino and processing. I am trying the simple code of hello world but it is not working on processing. I am getting ArrayIndexOutOfBoundsException: 1. Please help, I need…

---

## [Code and Printer](https://discourse.processing.org/t/code-and-printer/1332)

<div class="topic-metadata">

**Author:** [@Farida](https://discourse.processing.org/u/Farida)\
**Replies:** 8\
**Last updated:** [July 3, 2018, 8:36am UTC](https://discourse.processing.org/t/code-and-printer/1332 "2018-07-03T08:36:57Z")

</div>

Hi :smile: I found a code that I really love but I’m having troubles understanding it. Can anyone help me understand each line? And another question: I added a screenshot to the code and want this screenshot to be conne…

---

## [Arduino to Processing // Reading data from sensors to control video output](https://discourse.processing.org/t/arduino-to-processing-reading-data-from-sensors-to-control-video-output/1223)

<div class="topic-metadata">

**Author:** [@Lula](https://discourse.processing.org/u/Lula)\
**Replies:** 4\
**Last updated:** [June 25, 2018, 11:52am UTC](https://discourse.processing.org/t/arduino-to-processing-reading-data-from-sensors-to-control-video-output/1223 "2018-06-25T11:52:49Z")

</div>

Hi there! :slight\_smile: I’m very new to Processing and am currently working on an interactive, Uni project and was wondering if anyone could please help me. : ) Usng FSR and Piezo sensors, I would like to transfer dat…

---

## [Try catch with serial](https://discourse.processing.org/t/try-catch-with-serial/1148)

<div class="topic-metadata">

**Author:** [@matheplica](https://discourse.processing.org/u/matheplica)\
**Replies:** 5\
**Last updated:** [June 25, 2018, 9:49am UTC](https://discourse.processing.org/t/try-catch-with-serial/1148 "2018-06-25T09:49:04Z")

</div>

Hi, I’m using an arduino that I plugged after my program is running. I would like, if there is a problem that my app doesn’t crash. I think to use this : try { Serial serial = new Serial(this, "/dev/ttyACM0", 1920…

---

## [Processing to Arduino to Neopixels communication problems](https://discourse.processing.org/t/processing-to-arduino-to-neopixels-communication-problems/1210)

<div class="topic-metadata">

**Author:** [@mhol](https://discourse.processing.org/u/mhol)\
**Replies:** 5\
**Last updated:** [June 25, 2018, 3:34am UTC](https://discourse.processing.org/t/processing-to-arduino-to-neopixels-communication-problems/1210 "2018-06-25T03:34:24Z")

</div>

Hello! I’m trying change the intensity of my Neopixels with a string of values from processing. Setup is pretty simple - 15 Neopixels wired to Arduino Uno. Signal on pin 6. I’m sending a string of 16 characters from pr…

---

## [Use 2 leds and 2 buttons using arduino and processing](https://discourse.processing.org/t/use-2-leds-and-2-buttons-using-arduino-and-processing/1020)

<div class="topic-metadata">

**Author:** [@animebrowny](https://discourse.processing.org/u/animebrowny)\
**Replies:** 2\
**Last updated:** [June 19, 2018, 1:39am UTC](https://discourse.processing.org/t/use-2-leds-and-2-buttons-using-arduino-and-processing/1020 "2018-06-19T01:39:42Z")

</div>

Hi everyone, I’m kind of stuck on something. I am trying to work 2 leds using arduino with 2 buttons in processing. The goal is to link 1 button to one led. Now the problem. I have tried several things, but i cannot ge…

---

## [Serial Communication Issues--Arduino](https://discourse.processing.org/t/serial-communication-issues-arduino/1032)

<div class="topic-metadata">

**Author:** [@hbara](https://discourse.processing.org/u/hbara)\
**Replies:** 3\
**Last updated:** [June 19, 2018, 1:19am UTC](https://discourse.processing.org/t/serial-communication-issues-arduino/1032 "2018-06-19T01:19:30Z")

</div>

Hi! I’m trying to re-write a processing program that was designed for v2 to work with v3. In short, I’m trying to take data from an Arduino and plot, calculations, etc in Processing. It wasn’t clear what about the progra…

---

## [Serial.read() gives null value from Arduino and or the port is not open on processing side](https://discourse.processing.org/t/serial-read-gives-null-value-from-arduino-and-or-the-port-is-not-open-on-processing-side/747)

<div class="topic-metadata">

**Author:** [@mgullefer01](https://discourse.processing.org/u/mgullefer01)\
**Replies:** 11\
**Last updated:** [June 18, 2018, 10:05pm UTC](https://discourse.processing.org/t/serial-read-gives-null-value-from-arduino-and-or-the-port-is-not-open-on-processing-side/747 "2018-06-18T22:05:17Z")

</div>

I’m writing a program that reads sensor data sent from Arduino and then processes it and turns it into a graph which is the exported as PDF. I originally managed to get the serial communications working between processin…

---

## [Processing (image display) via Arduino ultrasonic sensor](https://discourse.processing.org/t/processing-image-display-via-arduino-ultrasonic-sensor/947)

<div class="topic-metadata">

**Author:** [@komats](https://discourse.processing.org/u/komats)\
**Replies:** 2\
**Last updated:** [June 16, 2018, 6:22am UTC](https://discourse.processing.org/t/processing-image-display-via-arduino-ultrasonic-sensor/947 "2018-06-16T06:22:23Z")

</div>

Hi, I am just starting to explore posibilities to make something work in processing via arduino (sensors). On school exhibition I want to make a picture display that shows one image at the time on the wall (with a proje…

---

## [Error arduino processing codes](https://discourse.processing.org/t/error-arduino-processing-codes/706)

<div class="topic-metadata">

**Author:** [@la\_bapt](https://discourse.processing.org/u/la_bapt)\
**Replies:** 2\
**Last updated:** [June 5, 2018, 10:12am UTC](https://discourse.processing.org/t/error-arduino-processing-codes/706 "2018-06-05T10:12:05Z")

</div>

Hello processing community, for my first program with processing i have an error when reading the datas from the IMU that i’m coding when i convert my String from the serial port into float values. The error is “ArrayInd…

---

## [School project problem (arduino)](https://discourse.processing.org/t/school-project-problem-arduino/433)

<div class="topic-metadata">

**Author:** [@Ada](https://discourse.processing.org/u/Ada)\
**Replies:** 5\
**Last updated:** [May 28, 2018, 5:25am UTC](https://discourse.processing.org/t/school-project-problem-arduino/433 "2018-05-28T05:25:24Z")

</div>

hi guys, i’m trying to make a school project with arduino and processing but I have a problem. I’m trying to make a controller with 4 buttons that send the digital signal via serial to a processing game that I made, i s…

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