# Electronics (Arduino, etc.)

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

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

**Page:** 17

---

## [Animation that turns on and off when I receive an arduino data](https://discourse.processing.org/t/animation-that-turns-on-and-off-when-i-receive-an-arduino-data/16259)

<div class="topic-metadata">

**Author:** [@sebasg94](https://discourse.processing.org/u/sebasg94)\
**Replies:** 2\
**Last updated:** [December 9, 2019, 11:35am UTC](https://discourse.processing.org/t/animation-that-turns-on-and-off-when-i-receive-an-arduino-data/16259 "2019-12-09T11:35:29Z")

</div>

I want to make an animation of the car park dashboard lights, but I don’t know how to do it. I have 2 images, one of the lights on and one of the lights off. What I try is to make an animation that turns on and off as i…

---

## [Minim volume control using potentiometer](https://discourse.processing.org/t/minim-volume-control-using-potentiometer/16253)

<div class="topic-metadata">

**Author:** [@Ardy2743](https://discourse.processing.org/u/Ardy2743)\
**Replies:** 4\
**Last updated:** [December 8, 2019, 10:29pm UTC](https://discourse.processing.org/t/minim-volume-control-using-potentiometer/16253 "2019-12-08T22:29:58Z")

</div>

Hi peeps! So when my game starts the music does also but id like to be able to control the volume of the music with a potentiometer. I have sound.setGain(0); working in processing and I have the output of the potentiom…

---

## [MIDI: from Processing to DAW (Linux)](https://discourse.processing.org/t/midi-from-processing-to-daw-linux/5411)

<div class="topic-metadata">

**Author:** [@moscardo](https://discourse.processing.org/u/moscardo)\
**Replies:** 4\
**Last updated:** [December 8, 2019, 10:44am UTC](https://discourse.processing.org/t/midi-from-processing-to-daw-linux/5411 "2019-12-08T10:44:32Z")

</div>

Hi everybody, I’ve created a MIDI control GUI in Processing that I would have liked to link to Reaper to control some automation by sending MIDI CCs (using the MidiBus library). Unfortunately, different from what I exp…

---

## [Servo glitches caused by Processing](https://discourse.processing.org/t/servo-glitches-caused-by-processing/16238)

<div class="topic-metadata">

**Author:** [@urthlight](https://discourse.processing.org/u/urthlight)\
**Replies:** 2\
**Last updated:** [December 8, 2019, 4:57am UTC](https://discourse.processing.org/t/servo-glitches-caused-by-processing/16238 "2019-12-08T04:57:25Z")

</div>

I have a little weirdness here. I do not know where this spasm is coming from. The servo moves are clean but the button pushes spasm almost every time. If I send data from the Serial monitor it is ok. Any ideas where thi…

---

## [Code snippet needed](https://discourse.processing.org/t/code-snippet-needed/16200)

<div class="topic-metadata">

**Author:** [@urthlight](https://discourse.processing.org/u/urthlight)\
**Replies:** 4\
**Last updated:** [December 7, 2019, 5:21pm UTC](https://discourse.processing.org/t/code-snippet-needed/16200 "2019-12-07T17:21:16Z")

</div>

Does anyone have a more advanced handshaking sketch? Sensor data from Nano. Buttons and sliders from Processing to variables in the nano

---

## [RFID sensor Arduino to Processing triggering video](https://discourse.processing.org/t/rfid-sensor-arduino-to-processing-triggering-video/16137)

<div class="topic-metadata">

**Author:** [@GraceOD](https://discourse.processing.org/u/GraceOD)\
**Replies:** 1\
**Last updated:** [December 5, 2019, 6:57am UTC](https://discourse.processing.org/t/rfid-sensor-arduino-to-processing-triggering-video/16137 "2019-12-05T06:57:25Z")

</div>

Hi guys, I am pretty new to Processing and Arduino so an help would be greatly appreciated. I have set up an RFID sensor that is being read through my Arduino and I want to play a video through processing, when the RFI…

---

## [Lines don't draw when using custom "zooming" - can't see why](https://discourse.processing.org/t/lines-dont-draw-when-using-custom-zooming-cant-see-why/16051)

<div class="topic-metadata">

**Author:** [@C-Level-Increment](https://discourse.processing.org/u/C-Level-Increment)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 7:37pm UTC](https://discourse.processing.org/t/lines-dont-draw-when-using-custom-zooming-cant-see-why/16051 "2019-12-03T19:37:50Z")

</div>

Hey there, since this is my first post here I’ll quickly introduce myself: I am an material sciences engeneering student with a hobby level experience in some coding matters (like arduinos, tinkering with physics engi…

---

## [Can I Sort my incoming String based on the first char?](https://discourse.processing.org/t/can-i-sort-my-incoming-string-based-on-the-first-char/15847)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 12\
**Last updated:** [December 3, 2019, 11:00am UTC](https://discourse.processing.org/t/can-i-sort-my-incoming-string-based-on-the-first-char/15847 "2019-12-03T11:00:41Z")

</div>

I am getting a lot of data from an Arduino Serial port. The problem is that some are numbers , some are sentences, etc While I can split a String in Floats, that string can have only numbers. So I decided to have seve…

---

## [Sending Arduino to Processing](https://discourse.processing.org/t/sending-arduino-to-processing/16058)

<div class="topic-metadata">

**Author:** [@Cbeni](https://discourse.processing.org/u/Cbeni)\
**Replies:** 3\
**Last updated:** [December 2, 2019, 11:53pm UTC](https://discourse.processing.org/t/sending-arduino-to-processing/16058 "2019-12-02T23:53:57Z")

</div>

Hey, Its my first time connecting the arduino to processing. I followed a tutorial to the T and double checked the code but i am still getting an error. can someone tell me where i went wrong? Processing Code — import …

---

## [Modifying Project Sentry Gun (PSG) to Detect Fires](https://discourse.processing.org/t/modifying-project-sentry-gun-psg-to-detect-fires/16047)

<div class="topic-metadata">

**Author:** [@gupperino](https://discourse.processing.org/u/gupperino)\
**Replies:** 0\
**Last updated:** [December 2, 2019, 4:15pm UTC](https://discourse.processing.org/t/modifying-project-sentry-gun-psg-to-detect-fires/16047 "2019-12-02T16:15:02Z")

</div>

Hello all, I’m a high school student working on a project for the New York City Science and Engineering Fair. My partner and I have created a device that can track fires and extinguish them using water. The software driv…

---

## [Video Game using inputs from serial](https://discourse.processing.org/t/video-game-using-inputs-from-serial/16024)

<div class="topic-metadata">

**Author:** [@richardw1102](https://discourse.processing.org/u/richardw1102)\
**Replies:** 1\
**Last updated:** [December 1, 2019, 11:07pm UTC](https://discourse.processing.org/t/video-game-using-inputs-from-serial/16024 "2019-12-01T23:07:49Z")

</div>

So I am creating a video game, similar to this https://circuitdigest.com/microcontroller-projects/ping-pong-game-using-arduino-accelerometer#comment-30863 I currently have a button thats an input to my arduino and whene…

---

## [Getting data from strain guages](https://discourse.processing.org/t/getting-data-from-strain-guages/15978)

<div class="topic-metadata">

**Author:** [@shariqqureshi](https://discourse.processing.org/u/shariqqureshi)\
**Replies:** 13\
**Last updated:** [December 1, 2019, 2:10am UTC](https://discourse.processing.org/t/getting-data-from-strain-guages/15978 "2019-12-01T02:10:52Z")

</div>

hello guys… i am facing problem regarding processing 3… we are doing final year project in which we are doing structural health monitoring by using strain guages. now being a civil engineer i am not capable of writing c…

---

## [Arduino to Processing String Comparison Error](https://discourse.processing.org/t/arduino-to-processing-string-comparison-error/15968)

<div class="topic-metadata">

**Author:** [@HAOZOO](https://discourse.processing.org/u/HAOZOO)\
**Replies:** 13\
**Last updated:** [November 30, 2019, 10:00pm UTC](https://discourse.processing.org/t/arduino-to-processing-string-comparison-error/15968 "2019-11-30T22:00:07Z")

</div>

Hello, I am trying to have an Arduino use six different buttons to play six different playlists based off of comparing strings sent by Arduino to the value of a string in Processing, but am consistently running into a wa…

---

## [Is it possible to convert arduino ADC value to wav file?](https://discourse.processing.org/t/is-it-possible-to-convert-arduino-adc-value-to-wav-file/15931)

<div class="topic-metadata">

**Author:** [@GWAK](https://discourse.processing.org/u/GWAK)\
**Replies:** 2\
**Last updated:** [November 29, 2019, 2:17pm UTC](https://discourse.processing.org/t/is-it-possible-to-convert-arduino-adc-value-to-wav-file/15931 "2019-11-29T14:17:00Z")

</div>

Is it possible to convert arduino ADC value to wav file? Hi. The flowchart is as follows: Receive the sound signal from the microphone. It is delivered to Arduino analog pins through the amplifier. Get the ADC value…

---

## [Processing not writing on a file](https://discourse.processing.org/t/processing-not-writing-on-a-file/9037)

<div class="topic-metadata">

**Author:** [@begosustatx](https://discourse.processing.org/u/begosustatx)\
**Replies:** 10\
**Last updated:** [November 24, 2019, 11:27pm UTC](https://discourse.processing.org/t/processing-not-writing-on-a-file/9037 "2019-11-24T23:27:24Z")

</div>

Good morning, I am trying to save some data that my arduino is getting and save it into a file, the problem is the processing is not writing into the file, the data is correct and the processing is getting the data perfe…

---

## [Arduino To Processing Error For Capactive Sensor](https://discourse.processing.org/t/arduino-to-processing-error-for-capactive-sensor/15781)

<div class="topic-metadata">

**Author:** [@SusanAlyse001](https://discourse.processing.org/u/SusanAlyse001)\
**Replies:** 16\
**Last updated:** [November 25, 2019, 12:42am UTC](https://discourse.processing.org/t/arduino-to-processing-error-for-capactive-sensor/15781 "2019-11-25T00:42:57Z")

</div>

Hello, I have successfully drafted the Ardunio code for capacitive sensing. The serial Monitor shows right values. Also, I have successful drafted the processing code which shows the exact same values from Arduino’s se…

---

## [Get and Set System Output Volume](https://discourse.processing.org/t/get-and-set-system-output-volume/15761)

<div class="topic-metadata">

**Author:** [@mildyredbeard](https://discourse.processing.org/u/mildyredbeard)\
**Replies:** 1\
**Last updated:** [November 24, 2019, 12:13pm UTC](https://discourse.processing.org/t/get-and-set-system-output-volume/15761 "2019-11-24T12:13:29Z")

</div>

Hi Everyone, I’m working on a project that is supposed to take the Windows Output Volume, and map that to an LED strip. I’ve managed to get everything working exactly the way I want except for the part where I actually …

---

## [Arduino-processing glove](https://discourse.processing.org/t/arduino-processing-glove/15619)

<div class="topic-metadata">

**Author:** [@neneeangulo](https://discourse.processing.org/u/neneeangulo)\
**Replies:** 4\
**Last updated:** [November 23, 2019, 3:26pm UTC](https://discourse.processing.org/t/arduino-processing-glove/15619 "2019-11-23T15:26:09Z")

</div>

Hi! I am trying to make a glove with flex sensors using the arduino UNO board and connecting it to processing to create an animation of a hand. The idea is to have a hand drawn in processing and every time a finger from…

---

## [Serial write char larger than 127](https://discourse.processing.org/t/serial-write-char-larger-than-127/15449)

<div class="topic-metadata">

**Author:** [@pandl](https://discourse.processing.org/u/pandl)\
**Replies:** 2\
**Last updated:** [November 22, 2019, 3:44pm UTC](https://discourse.processing.org/t/serial-write-char-larger-than-127/15449 "2019-11-22T15:44:46Z")

</div>

Thank you for reading this. I’ve been playing with the g4p text box and the knob to send serial data to an Arduino but have run into a problem with char values larger than 127. Is there another method to serial write in…

---

## [Control a shape using a game pad](https://discourse.processing.org/t/control-a-shape-using-a-game-pad/15453)

<div class="topic-metadata">

**Author:** [@DaviesSteve](https://discourse.processing.org/u/DaviesSteve)\
**Replies:** 7\
**Last updated:** [November 17, 2019, 11:17pm UTC](https://discourse.processing.org/t/control-a-shape-using-a-game-pad/15453 "2019-11-17T23:17:53Z")

</div>

Hello, I am very new to processing, and would like to try a project. Where on earth would I start to learn how to create something like this: (Credit: https://www.schultzschultz.com/free-works.html) I have a USB gam…

---

## [Triggering response from 3 Solenoids between Processing and Arduino](https://discourse.processing.org/t/triggering-response-from-3-solenoids-between-processing-and-arduino/15592)

<div class="topic-metadata">

**Author:** [@rebekah\_tkd](https://discourse.processing.org/u/rebekah_tkd)\
**Replies:** 6\
**Last updated:** [November 17, 2019, 6:23pm UTC](https://discourse.processing.org/t/triggering-response-from-3-solenoids-between-processing-and-arduino/15592 "2019-11-17T18:23:26Z")

</div>

hey guys, I am currently having problems trying to use Processing to tell arduino when to turn solenoids on and off. I am new to this so been struggling to find some help. I created a float array which contains data and …

---

## [How to input static dataset in this code?](https://discourse.processing.org/t/how-to-input-static-dataset-in-this-code/14917)

<div class="topic-metadata">

**Author:** [@cadidutta](https://discourse.processing.org/u/cadidutta)\
**Replies:** 8\
**Last updated:** [November 15, 2019, 5:46am UTC](https://discourse.processing.org/t/how-to-input-static-dataset-in-this-code/14917 "2019-11-15T05:46:36Z")

</div>

'm a undergraduate Biomedical Engineering , only a beginner in coding. I was trying to understand this BCI code written in processing and wanted to input an EEG eye movement dataset rather than the microphone jack input …

---

## [Giant LED Display Memory Leak?](https://discourse.processing.org/t/giant-led-display-memory-leak/140)

<div class="topic-metadata">

**Author:** [@Brick](https://discourse.processing.org/u/Brick)\
**Replies:** 16\
**Last updated:** [November 14, 2019, 8:07pm UTC](https://discourse.processing.org/t/giant-led-display-memory-leak/140 "2019-11-14T20:07:49Z")

</div>

Hi, Using instructions online I built a giant LED video screen. It’s very cool, but I ran into a big problem: the screen runs for about ~8-12 minutes (depending on the video) then freezes. I can reset and re-run as ma…

---

## [serialEvent(Serial port) realtime](https://discourse.processing.org/t/serialevent-serial-port-realtime/15485)

<div class="topic-metadata">

**Author:** [@kb12592](https://discourse.processing.org/u/kb12592)\
**Replies:** 1\
**Last updated:** [November 14, 2019, 4:35pm UTC](https://discourse.processing.org/t/serialevent-serial-port-realtime/15485 "2019-11-14T16:35:12Z")

</div>

Hi all, I was wondering if anyone could tell me how void serialEvent function works - I know it is called when data is available from the serial port - but does it wait until it has run through the whole function before…

---

## [How do I read windows accelerometer?](https://discourse.processing.org/t/how-do-i-read-windows-accelerometer/15318)

<div class="topic-metadata">

**Author:** [@irmantas](https://discourse.processing.org/u/irmantas)\
**Replies:** 37\
**Last updated:** [November 14, 2019, 1:24pm UTC](https://discourse.processing.org/t/how-do-i-read-windows-accelerometer/15318 "2019-11-14T13:24:12Z")

</div>

how do I read windows accelerometer?

---

## [Error with Serial Communication using the call response method](https://discourse.processing.org/t/error-with-serial-communication-using-the-call-response-method/15432)

<div class="topic-metadata">

**Author:** [@SaltyApe](https://discourse.processing.org/u/SaltyApe)\
**Replies:** 1\
**Last updated:** [November 13, 2019, 2:29am UTC](https://discourse.processing.org/t/error-with-serial-communication-using-the-call-response-method/15432 "2019-11-13T02:29:47Z")

</div>

Hello! I am a newbie in Arduino and Processing and I am having some issues with receiving data using serial call response. Processing outputs Error Disabling SerialEvent() for COM6 null and does not print the data i send…

---

## [Which library? for simple GUI programming, need to use it with Arduino](https://discourse.processing.org/t/which-library-for-simple-gui-programming-need-to-use-it-with-arduino/15299)

<div class="topic-metadata">

**Author:** [@jk2019](https://discourse.processing.org/u/jk2019)\
**Replies:** 6\
**Last updated:** [November 12, 2019, 6:42am UTC](https://discourse.processing.org/t/which-library-for-simple-gui-programming-need-to-use-it-with-arduino/15299 "2019-11-12T06:42:03Z")

</div>

Hi, Could someone please inform which library should I use? Need - want to create a simple GUI for the data captured from Arduino. Want to reflect changes in the data, and may also display data. Former alone is also en…

---

## [Processing to Arduino Serial Library Example](https://discourse.processing.org/t/processing-to-arduino-serial-library-example/11143)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 5\
**Last updated:** [November 11, 2019, 11:44pm UTC](https://discourse.processing.org/t/processing-to-arduino-serial-library-example/11143 "2019-11-11T23:44:32Z")

</div>

The SimpleWrite example in the Processing examples was not working on PCs I had available to me. The Arduino resets when establishing a serial connection. I added a delay(1000) to allow the Arduino to reset after se…

---

## [How to remove sensor drift?](https://discourse.processing.org/t/how-to-remove-sensor-drift/14733)

<div class="topic-metadata">

**Author:** [@KGS](https://discourse.processing.org/u/KGS)\
**Replies:** 4\
**Last updated:** [November 11, 2019, 11:23am UTC](https://discourse.processing.org/t/how-to-remove-sensor-drift/14733 "2019-11-11T11:23:08Z")

</div>

I have taken continuous readings of body temperature from the temperature sensor. I have observed that there is a drift of the temperature value during baseline reading. What are the methods that I could eliminate sensor…

---

## [How do I break serial/audio output loop?](https://discourse.processing.org/t/how-do-i-break-serial-audio-output-loop/15395)

<div class="topic-metadata">

**Author:** [@mdrou001](https://discourse.processing.org/u/mdrou001)\
**Replies:** 1\
**Last updated:** [November 11, 2019, 3:23am UTC](https://discourse.processing.org/t/how-do-i-break-serial-audio-output-loop/15395 "2019-11-11T03:23:07Z")

</div>

I’m having problems with having an RFID tag scanned and triggering an audio file. Every time I scan an RFID tag the audio constantly plays multiple instances at once, creating a Doppler effect. I did println(file.isPlayi…

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

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