# Electronics (Arduino, etc.)

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

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

**Page:** 20

---

## [Led System Turn on/off](https://discourse.processing.org/t/led-system-turn-on-off/12662)

<div class="topic-metadata">

**Author:** [@Murphy](https://discourse.processing.org/u/Murphy)\
**Replies:** 2\
**Last updated:** [July 12, 2019, 11:59am UTC](https://discourse.processing.org/t/led-system-turn-on-off/12662 "2019-07-12T11:59:32Z")

</div>

Hey everyone, I am new. I want to do led system. I do all. I need just something. Firstly, I want to put 2 button on Processing. One button work to start light. One button work to stop light. I tried 10 time but I can’t…

---

## [SOUND ILLUSTRATION of the different motives of five engines driven with Arduino](https://discourse.processing.org/t/sound-illustration-of-the-different-motives-of-five-engines-driven-with-arduino/12559)

<div class="topic-metadata">

**Author:** [@bking](https://discourse.processing.org/u/bking)\
**Replies:** 5\
**Last updated:** [July 11, 2019, 12:32pm UTC](https://discourse.processing.org/t/sound-illustration-of-the-different-motives-of-five-engines-driven-with-arduino/12559 "2019-07-11T12:32:36Z")

</div>

I try to illustrate with sounds the general movement of my artistic installation. Maybe there is easier way to do it with Max/msp but if someone can help with Processing, let’s try! For the moment, I can just play one s…

---

## [Real-Time dataviz with Neurosky Mindwave mobile](https://discourse.processing.org/t/real-time-dataviz-with-neurosky-mindwave-mobile/12567)

<div class="topic-metadata">

**Author:** [@yashkhataokar](https://discourse.processing.org/u/yashkhataokar)\
**Replies:** 7\
**Last updated:** [July 9, 2019, 7:31pm UTC](https://discourse.processing.org/t/real-time-dataviz-with-neurosky-mindwave-mobile/12567 "2019-07-09T19:31:52Z")

</div>

Hi, I have a visual that reacts to the live data from the EEG headset, the problem is the data streams at a 1 sec interval and the form of the visual changes accordingly, when there is a huge jump in the data value the a…

---

## [Cannot plot realtime (slow,delay)](https://discourse.processing.org/t/cannot-plot-realtime-slow-delay/12610)

<div class="topic-metadata">

**Author:** [@pauledd](https://discourse.processing.org/u/pauledd)\
**Replies:** 6\
**Last updated:** [July 9, 2019, 6:31pm UTC](https://discourse.processing.org/t/cannot-plot-realtime-slow-delay/12610 "2019-07-09T18:31:44Z")

</div>

Hi Intention: Realtime plot an ECG Signal from Arduino’s ADC (sent from Arduino–\>RaspberryPi–\>LAN–\>ClientPC–\>Processing). Problem: The plotting in processing somehow lags/delays behind realtime. In depth: I use a E…

---

## [Graphical user interface](https://discourse.processing.org/t/graphical-user-interface/12624)

<div class="topic-metadata">

**Author:** [@amitshishodia](https://discourse.processing.org/u/amitshishodia)\
**Replies:** 1\
**Last updated:** [July 9, 2019, 3:55pm UTC](https://discourse.processing.org/t/graphical-user-interface/12624 "2019-07-09T15:55:24Z")

</div>

Hello All I want to make a GUI with this GUI I want to control the sampling rate. I have some devices in these devices have analog sensor I have used SPI serial communication for acquiring temperature and humidity data. …

---

## [How do i use another serial to send data from arduino to processing?](https://discourse.processing.org/t/how-do-i-use-another-serial-to-send-data-from-arduino-to-processing/12595)

<div class="topic-metadata">

**Author:** [@diazdaiz](https://discourse.processing.org/u/diazdaiz)\
**Replies:** 1\
**Last updated:** [July 9, 2019, 12:58am UTC](https://discourse.processing.org/t/how-do-i-use-another-serial-to-send-data-from-arduino-to-processing/12595 "2019-07-09T00:58:06Z")

</div>

i am using arduino teensy and i want to send data to processing using another serial, how do i write it in processing? i am following this tutorial: https://www.youtube.com/watch?v=NhyB00J6PiM but in my case, i need to…

---

## [Arduino, as a SCOPE](https://discourse.processing.org/t/arduino-as-a-scope/12483)

<div class="topic-metadata">

**Author:** [@Luis](https://discourse.processing.org/u/Luis)\
**Replies:** 6\
**Last updated:** [July 7, 2019, 12:19am UTC](https://discourse.processing.org/t/arduino-as-a-scope/12483 "2019-07-07T00:19:41Z")

</div>

hi I´m doing a proyect, and i need use a scope; i found this code: import processing.serial.Serial; import processing.serial.\*; Serial myPort; int xPos=1; void setup (){ size(400,300); println(Serial.list()); …

---

## [Get image number and looping number from filename parameters](https://discourse.processing.org/t/get-image-number-and-looping-number-from-filename-parameters/12537)

<div class="topic-metadata">

**Author:** [@The\_nish](https://discourse.processing.org/u/The_nish)\
**Replies:** 1\
**Last updated:** [July 6, 2019, 1:58pm UTC](https://discourse.processing.org/t/get-image-number-and-looping-number-from-filename-parameters/12537 "2019-07-06T13:58:47Z")

</div>

i want to give four digit name of an image like 0102. where two digit define image number and other two define looping time of image . is this is possible to get parameter from image name and use it in looping and other …

---

## [How to update my sketch each time when sketch is complete run](https://discourse.processing.org/t/how-to-update-my-sketch-each-time-when-sketch-is-complete-run/12515)

<div class="topic-metadata">

**Author:** [@The\_nish](https://discourse.processing.org/u/The_nish)\
**Replies:** 7\
**Last updated:** [July 5, 2019, 5:47pm UTC](https://discourse.processing.org/t/how-to-update-my-sketch-each-time-when-sketch-is-complete-run/12515 "2019-07-05T17:47:03Z")

</div>

i am taking data from my server and database. and each time i update my database manually but my sketch data is not update and its running previous data in loop. i want that if i change or update database then my sketch…

---

## [Input Data from Command Line](https://discourse.processing.org/t/input-data-from-command-line/12344)

<div class="topic-metadata">

**Author:** [@dlerner](https://discourse.processing.org/u/dlerner)\
**Replies:** 9\
**Last updated:** [July 3, 2019, 5:30am UTC](https://discourse.processing.org/t/input-data-from-command-line/12344 "2019-07-03T05:30:02Z")

</div>

I am trying to create a system to test motors and propellers and include a nice GUI using Processing. I am using an Arduino to measure some data but am also using certain other measurement tools that need to be plugged d…

---

## [save serial data to .txt file on Mac](https://discourse.processing.org/t/save-serial-data-to-txt-file-on-mac/12459)

<div class="topic-metadata">

**Author:** [@jasone](https://discourse.processing.org/u/jasone)\
**Replies:** 1\
**Last updated:** [July 3, 2019, 3:58am UTC](https://discourse.processing.org/t/save-serial-data-to-txt-file-on-mac/12459 "2019-07-03T03:58:25Z")

</div>

I state that I don’t know how to use processing. I need to save data sent via serial from Arduino to a .txt file on my mac. Can anyone help me?

---

## [Processing control of Ethernet to serial board](https://discourse.processing.org/t/processing-control-of-ethernet-to-serial-board/4562)

<div class="topic-metadata">

**Author:** [@glv](https://discourse.processing.org/u/glv)\
**Replies:** 7\
**Last updated:** [July 3, 2019, 12:13am UTC](https://discourse.processing.org/t/processing-control-of-ethernet-to-serial-board/4562 "2019-07-03T00:13:09Z")

</div>

Hello, I would like to use Processing to communicate with an Ethernet to serial device: https://www.usriot.com/products/serial-ttl-to-ethernet-module.html “serial to Ethernet” or “Ethernet to serial” references below …

---

## [Visualizing resultant forces](https://discourse.processing.org/t/visualizing-resultant-forces/12423)

<div class="topic-metadata">

**Author:** [@ele](https://discourse.processing.org/u/ele)\
**Replies:** 4\
**Last updated:** [July 2, 2019, 7:40am UTC](https://discourse.processing.org/t/visualizing-resultant-forces/12423 "2019-07-02T07:40:27Z")

</div>

Hello! I am trying to create a visualizer that shows the resultant force of three forces each angeled at 60 degrees from eachother. However - something is off, and I would love to get some help. The forces are values …

---

## [How to make a processing GUI with a slider and button talking to Arduino](https://discourse.processing.org/t/how-to-make-a-processing-gui-with-a-slider-and-button-talking-to-arduino/11934)

<div class="topic-metadata">

**Author:** [@burak.eral](https://discourse.processing.org/u/burak.eral)\
**Replies:** 8\
**Last updated:** [July 1, 2019, 9:08pm UTC](https://discourse.processing.org/t/how-to-make-a-processing-gui-with-a-slider-and-button-talking-to-arduino/11934 "2019-07-01T21:08:57Z")

</div>

Dear all; I am trying to make a guy with a slider and two buttons talking to Arduino. Unfortunately, I cannot detect the signals send from processing to Arduino. I think I am struggling to separately read the serial sig…

---

## [How to save console output as a .txt file](https://discourse.processing.org/t/how-to-save-console-output-as-a-txt-file/12353)

<div class="topic-metadata">

**Author:** [@The\_nish](https://discourse.processing.org/u/The_nish)\
**Replies:** 14\
**Last updated:** [June 28, 2019, 7:52pm UTC](https://discourse.processing.org/t/how-to-save-console-output-as-a-txt-file/12353 "2019-06-28T19:52:20Z")

</div>

i am printing an image of binary and i want to print exactly this Image of String in .txt file. is this possible to take ouput of console print data to save as .txt file

---

## [String not converted Properly from int](https://discourse.processing.org/t/string-not-converted-properly-from-int/12295)

<div class="topic-metadata">

**Author:** [@The\_nish](https://discourse.processing.org/u/The_nish)\
**Replies:** 15\
**Last updated:** [June 28, 2019, 5:25am UTC](https://discourse.processing.org/t/string-not-converted-properly-from-int/12295 "2019-06-28T05:25:54Z")

</div>

post is deleted…

---

## [\[SOLVED\] Arduino button press should only spawn single object](https://discourse.processing.org/t/solved-arduino-button-press-should-only-spawn-single-object/12281)

<div class="topic-metadata">

**Author:** [@RealDwayneJ](https://discourse.processing.org/u/RealDwayneJ)\
**Replies:** 5\
**Last updated:** [June 26, 2019, 11:55am UTC](https://discourse.processing.org/t/solved-arduino-button-press-should-only-spawn-single-object/12281 "2019-06-26T11:55:15Z")

</div>

I linked my code to my Arduino and replaced the “keyPressed” buttons for the “arduino.HIGH” However, currently when I press a button, it registers as multiple presses at once. I realize this could be very well the cause…

---

## [Serial.list() hangs if 32bit export is run under 64bit Windows](https://discourse.processing.org/t/serial-list-hangs-if-32bit-export-is-run-under-64bit-windows/12231)

<div class="topic-metadata">

**Author:** [@dtmr](https://discourse.processing.org/u/dtmr)\
**Replies:** 5\
**Last updated:** [June 22, 2019, 9:58pm UTC](https://discourse.processing.org/t/serial-list-hangs-if-32bit-export-is-run-under-64bit-windows/12231 "2019-06-22T21:58:11Z")

</div>

Serial.list() hangs in exported apps if the exported 32bit version is started unter 64bit Windows (the exported 64bit version works under 64bit Windows). Is there any way to fix this on my side, short of distributing tw…

---

## [Please help me TT](https://discourse.processing.org/t/please-help-me-tt/12098)

<div class="topic-metadata">

**Author:** [@apple](https://discourse.processing.org/u/apple)\
**Replies:** 4\
**Last updated:** [June 22, 2019, 5:02pm UTC](https://discourse.processing.org/t/please-help-me-tt/12098 "2019-06-22T17:02:32Z")

</div>

String a = "1,235,345,234,123,234,345.\\n"; //channel(0,1,2),value,value,value,value,value,value.\\n String\[\] temp = split(a,','); String CH = temp\[0\].replace("\\n",""); //int value1 = int(temp\[1\]); //int value2 = int(tem…

---

## [Serial cannot be resolved to a type](https://discourse.processing.org/t/serial-cannot-be-resolved-to-a-type/12167)

<div class="topic-metadata">

**Author:** [@VernH](https://discourse.processing.org/u/VernH)\
**Replies:** 3\
**Last updated:** [June 19, 2019, 6:10pm UTC](https://discourse.processing.org/t/serial-cannot-be-resolved-to-a-type/12167 "2019-06-19T18:10:40Z")

</div>

I have a program that uses processing to communicate with and Arduino. I have downlaoaded Processing and installed core 3.5.3 (and all other jars) into eclipse on Windows 8.1. I have import processing.serial.\* but then w…

---

## [Save Data from Arduino to .txt with Processing](https://discourse.processing.org/t/save-data-from-arduino-to-txt-with-processing/12144)

<div class="topic-metadata">

**Author:** [@arpe](https://discourse.processing.org/u/arpe)\
**Replies:** 7\
**Last updated:** [June 19, 2019, 1:57pm UTC](https://discourse.processing.org/t/save-data-from-arduino-to-txt-with-processing/12144 "2019-06-19T13:57:13Z")

</div>

Hi, I’m trying to save my sensor data from the Arduino in a text-file with Processing. Now I really struggle with the Code for Processing. All I want is to save several data from the Arduino into .txt. With my actual Co…

---

## [Serial Write - print more than one byte?](https://discourse.processing.org/t/serial-write-print-more-than-one-byte/12159)

<div class="topic-metadata">

**Author:** [@Col\_John\_Matrix](https://discourse.processing.org/u/Col_John_Matrix)\
**Replies:** 2\
**Last updated:** [June 18, 2019, 5:07pm UTC](https://discourse.processing.org/t/serial-write-print-more-than-one-byte/12159 "2019-06-18T17:07:09Z")

</div>

Hello there, I’m very new to Processing, so forgive me if this is an overly simple question or whatever. I have created a Toggle button that I’m using to toggle an LED on/off on an Arduino. In the code below, when the …

---

## [Gauge or meter graphics?](https://discourse.processing.org/t/gauge-or-meter-graphics/12087)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 2\
**Last updated:** [June 17, 2019, 12:04am UTC](https://discourse.processing.org/t/gauge-or-meter-graphics/12087 "2019-06-17T00:04:40Z")

</div>

Would like to send numerical data from an Arduino to Processing and use “canned” meter or speedometer type graphic to display it. Are there any such files or libraries available? Guess I could draw it myself, but a cool …

---

## [How to label live graph visualizer](https://discourse.processing.org/t/how-to-label-live-graph-visualizer/11982)

<div class="topic-metadata">

**Author:** [@osibada](https://discourse.processing.org/u/osibada)\
**Replies:** 0\
**Last updated:** [June 10, 2019, 10:52pm UTC](https://discourse.processing.org/t/how-to-label-live-graph-visualizer/11982 "2019-06-10T22:52:55Z")

</div>

Hi, I have found a live Blood Pressure and Pulse Pressure visualiser that works with my PPG sensor but the current graph screen doesn’t show the labels for the vertical and horizontal axis. I’d like to have these labell…

---

## [Please, help. Arduino: Saving data to a .something file](https://discourse.processing.org/t/please-help-arduino-saving-data-to-a-something-file/11831)

<div class="topic-metadata">

**Author:** [@Arturo18](https://discourse.processing.org/u/Arturo18)\
**Replies:** 4\
**Last updated:** [June 6, 2019, 7:46am UTC](https://discourse.processing.org/t/please-help-arduino-saving-data-to-a-something-file/11831 "2019-06-06T07:46:03Z")

</div>

Hi guys, please, I need help with making an Arduino program thar saves data that I recieve from a circuit made on a breadboard to a .something file. Please, need your help. Code down below. #define BINS\_SIZE 256 #define…

---

## [Save data from Arduino to a .csv file](https://discourse.processing.org/t/save-data-from-arduino-to-a-csv-file/11827)

<div class="topic-metadata">

**Author:** [@Arturo18](https://discourse.processing.org/u/Arturo18)\
**Replies:** 1\
**Last updated:** [June 5, 2019, 10:12am UTC](https://discourse.processing.org/t/save-data-from-arduino-to-a-csv-file/11827 "2019-06-05T10:12:10Z")

</div>

Hello, everyone. I’m trying to save data from an Arduino to a .csv file. I don’t know how to do it, so, couls someone help me? Please? Code down below. #define BINS\_SIZE 256 #define CALIBRATION\_SIZE 50000 #define NO\_BI…

---

## [How to show a string on the screen?](https://discourse.processing.org/t/how-to-show-a-string-on-the-screen/11842)

<div class="topic-metadata">

**Author:** [@francesca.comanducci](https://discourse.processing.org/u/francesca.comanducci)\
**Replies:** 2\
**Last updated:** [June 4, 2019, 9:24pm UTC](https://discourse.processing.org/t/how-to-show-a-string-on-the-screen/11842 "2019-06-04T21:24:01Z")

</div>

Hi everyone, I’m working on this code, my aim is to print on the screen the value of C (that works) and the value of h (that compute from C). However, when I run the code, this latter value is not shown on the screen. S…

---

## [Receiveing multiple data strings from arduino HELP FAST](https://discourse.processing.org/t/receiveing-multiple-data-strings-from-arduino-help-fast/11794)

<div class="topic-metadata">

**Author:** [@corbax](https://discourse.processing.org/u/corbax)\
**Replies:** 4\
**Last updated:** [June 4, 2019, 10:33am UTC](https://discourse.processing.org/t/receiveing-multiple-data-strings-from-arduino-help-fast/11794 "2019-06-04T10:33:00Z")

</div>

hello guys. First of all sorry for a title but I have 4 hours to finish my school project. SO my problem is that I don’t know how to read multiple values via serial port. I got it working for one value but when I add n…

---

## [Optical mouse CAMERA](https://discourse.processing.org/t/optical-mouse-camera/11803)

<div class="topic-metadata">

**Author:** [@komats](https://discourse.processing.org/u/komats)\
**Replies:** 1\
**Last updated:** [June 3, 2019, 3:57pm UTC](https://discourse.processing.org/t/optical-mouse-camera/11803 "2019-06-03T15:57:57Z")

</div>

Hello all! Recently I discovered that an optical mouse can be hacked into a camera with a use of Arduino and Processing (from THIS video)! I bought a cheap mouse, opened it up. And for my surprise, the guts where differ…

---

## [Centering loading bar](https://discourse.processing.org/t/centering-loading-bar/11712)

<div class="topic-metadata">

**Author:** [@corbax](https://discourse.processing.org/u/corbax)\
**Replies:** 1\
**Last updated:** [May 31, 2019, 1:29am UTC](https://discourse.processing.org/t/centering-loading-bar/11712 "2019-05-31T01:29:27Z")

</div>

hello guys. so I want to make a “loading bar” that shows RPM of motors in real time (for now it is just variable that is slowly growing). My bar is getting bigger but as it grows it is not centered (it grows up and down…

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

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