# Electronics (Arduino, etc.)

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

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

**Page:** 23

---

## [Port Serial en "Size"](https://discourse.processing.org/t/port-serial-en-size/7568)

<div class="topic-metadata">

**Author:** [@Dolomiti](https://discourse.processing.org/u/Dolomiti)\
**Replies:** 15\
**Last updated:** [January 29, 2019, 5:49pm UTC](https://discourse.processing.org/t/port-serial-en-size/7568 "2019-01-29T17:49:04Z")

</div>

Hello colleagues, I got stuck in this little program and I can not see a thread of the forum that opens the way. With this code it sent the characters “ACSii” to “scripcommunicator” but I want to send the same data from …

---

## [NullPointer Exception on port.write](https://discourse.processing.org/t/nullpointer-exception-on-port-write/7822)

<div class="topic-metadata">

**Author:** [@MrDoggss](https://discourse.processing.org/u/MrDoggss)\
**Replies:** 11\
**Last updated:** [February 21, 2019, 8:26pm UTC](https://discourse.processing.org/t/nullpointer-exception-on-port-write/7822 "2019-02-21T20:26:06Z")

</div>

I’m trying to send data to an Arduino, but I keep getting a NullPointerException. I don’t get it. I’m no coder, so I am working with examples. If someone could point me in the right direction that would be awesome! imp…

---

## [Virtual Serial Ports macOS/Processing](https://discourse.processing.org/t/virtual-serial-ports-macos-processing/8529)

<div class="topic-metadata">

**Author:** [@Dolomiti](https://discourse.processing.org/u/Dolomiti)\
**Replies:** 1\
**Last updated:** [February 21, 2019, 4:58am UTC](https://discourse.processing.org/t/virtual-serial-ports-macos-processing/8529 "2019-02-21T04:58:10Z")

</div>

Hello friends. Someone who works with the macOS and processing system could tell me if it is possible to create virtual ports to test the applications. In the free virtual Serial ports style. Thank you. Charles

---

## [Serial Communication not working with value 300+](https://discourse.processing.org/t/serial-communication-not-working-with-value-300/8427)

<div class="topic-metadata">

**Author:** [@KeirMeDear](https://discourse.processing.org/u/KeirMeDear)\
**Replies:** 4\
**Last updated:** [February 20, 2019, 7:05pm UTC](https://discourse.processing.org/t/serial-communication-not-working-with-value-300/8427 "2019-02-20T19:05:35Z")

</div>

Hey, So I’m working on a project which measures the fluctuations in the data of three sensors. This is where the sensor checks if its value has risen, fallen or stayed the same over a set time. I then send the results o…

---

## [Serial Input Text File](https://discourse.processing.org/t/serial-input-text-file/8557)

<div class="topic-metadata">

**Author:** [@OWL28SS](https://discourse.processing.org/u/OWL28SS)\
**Replies:** 2\
**Last updated:** [February 20, 2019, 1:34pm UTC](https://discourse.processing.org/t/serial-input-text-file/8557 "2019-02-20T13:34:17Z")

</div>

I am taking data from a pressure sensor from Arduino and I need to save the data in a text file. I am using processing to save the data. I am not able to figure out the code for the continuous saving of the data. Please …

---

## [Sampling color data for LED matrix](https://discourse.processing.org/t/sampling-color-data-for-led-matrix/8302)

<div class="topic-metadata">

**Author:** [@blue](https://discourse.processing.org/u/blue)\
**Replies:** 6\
**Last updated:** [February 19, 2019, 9:32pm UTC](https://discourse.processing.org/t/sampling-color-data-for-led-matrix/8302 "2019-02-19T21:32:48Z")

</div>

Hello, I’m working with a custom made 16\*16 white led matrix connected to an arduino. I’ve written a sketch that samples 256 pixels using the ‘get()’ function, converts the data, and sends to the arduino over osc. It wo…

---

## [\[SOLVED\] Processing with Arduino \[How to Save Serial output every 'x' hour?\]](https://discourse.processing.org/t/solved-processing-with-arduino-how-to-save-serial-output-every-x-hour/8420)

<div class="topic-metadata">

**Author:** [@musical0714](https://discourse.processing.org/u/musical0714)\
**Replies:** 4\
**Last updated:** [February 16, 2019, 10:22pm UTC](https://discourse.processing.org/t/solved-processing-with-arduino-how-to-save-serial-output-every-x-hour/8420 "2019-02-16T22:22:02Z")

</div>

Hello I’m working on an Arduino project and using Processing to catch serial data from Arduino (data such as timestamp and input/output data). I’m trying to automate the saving process so that I can save the data every …

---

## [Unsigned Bytes from Arduino Misbehaving](https://discourse.processing.org/t/unsigned-bytes-from-arduino-misbehaving/8318)

<div class="topic-metadata">

**Author:** [@TheGankerer](https://discourse.processing.org/u/TheGankerer)\
**Replies:** 6\
**Last updated:** [February 14, 2019, 2:42pm UTC](https://discourse.processing.org/t/unsigned-bytes-from-arduino-misbehaving/8318 "2019-02-14T14:42:08Z")

</div>

Hello everyone, I’m having some issues with data I’m reading from an Arduino Uno. Essentially I’m using the Arduino as a DAQ and sending over 4 analog inputs over the Serial. The first two inputs (A0 and A1) are single…

---

## [How does Serial.readString() manage the serial buffer?](https://discourse.processing.org/t/how-does-serial-readstring-manage-the-serial-buffer/8206)

<div class="topic-metadata">

**Author:** [@Wangmaster](https://discourse.processing.org/u/Wangmaster)\
**Replies:** 4\
**Last updated:** [February 8, 2019, 4:11am UTC](https://discourse.processing.org/t/how-does-serial-readstring-manage-the-serial-buffer/8206 "2019-02-08T04:11:32Z")

</div>

I want to use Processing to read serial data from my Arduino, but first i want to understand how it interacts with the serial buffer. According to the documentation, Serial.readString() returns all information in the se…

---

## [Getting the depth image from a Real Sense camera](https://discourse.processing.org/t/getting-the-depth-image-from-a-real-sense-camera/7456)

<div class="topic-metadata">

**Author:** [@Lucca](https://discourse.processing.org/u/Lucca)\
**Replies:** 7\
**Last updated:** [February 7, 2019, 4:29pm UTC](https://discourse.processing.org/t/getting-the-depth-image-from-a-real-sense-camera/7456 "2019-02-07T16:29:37Z")

</div>

Hi @cansik I am trying to use your Java wrapper to get a depth image from a Real Sense D435, but I get a NullPointerException when the context is created in line 63 of RealSenseCamera.pde. Any ideas? this.context = Con…

---

## [VISA support in Processing](https://discourse.processing.org/t/visa-support-in-processing/7728)

<div class="topic-metadata">

**Author:** [@parham](https://discourse.processing.org/u/parham)\
**Replies:** 6\
**Last updated:** [February 4, 2019, 8:47pm UTC](https://discourse.processing.org/t/visa-support-in-processing/7728 "2019-02-04T20:47:09Z")

</div>

Hi everyone I am using Visual Basic as RAD tool for writing code to control electronic measurement devices such as Digital Multi-meters, Programmable Power Supply, Signal Generators and Oscilloscopes. I am new to Proces…

---

## [Showing variable value + text in one single line](https://discourse.processing.org/t/showing-variable-value-text-in-one-single-line/8041)

<div class="topic-metadata">

**Author:** [@Cas](https://discourse.processing.org/u/Cas)\
**Replies:** 2\
**Last updated:** [February 3, 2019, 5:55pm UTC](https://discourse.processing.org/t/showing-variable-value-text-in-one-single-line/8041 "2019-02-03T17:55:02Z")

</div>

Hello, In arduino I’m sending the following: Serial.println(float(mlGeschonkenTotaal/1000),1); This is a results in a number like 0.1 which increases which 0.1 over time. In processing I would like to draw this …

---

## [What is right method to pass led info from processing to arduino](https://discourse.processing.org/t/what-is-right-method-to-pass-led-info-from-processing-to-arduino/8010)

<div class="topic-metadata">

**Author:** [@angelman](https://discourse.processing.org/u/angelman)\
**Replies:** 15\
**Last updated:** [February 2, 2019, 11:48pm UTC](https://discourse.processing.org/t/what-is-right-method-to-pass-led-info-from-processing-to-arduino/8010 "2019-02-02T23:48:55Z")

</div>

I am just a beginner. This my processing code; stil lhave a little trouble with the clear part of the input function . but main thing is the arduino write.out. My arduino code works. with the serial port. The processing…

---

## [Issue with reading Arduino Port](https://discourse.processing.org/t/issue-with-reading-arduino-port/7846)

<div class="topic-metadata">

**Author:** [@Ryan12](https://discourse.processing.org/u/Ryan12)\
**Replies:** 14\
**Last updated:** [January 30, 2019, 11:55pm UTC](https://discourse.processing.org/t/issue-with-reading-arduino-port/7846 "2019-01-30T23:55:31Z")

</div>

I have a phototransistor and an LED, when I test in Arduino I do get readings from the phototransistor, but when trying to get the same readings in Processing I just get continuous 0’s. Can any one help? I’ve placed the …

---

## [Creating a table of sensor data from arduino?](https://discourse.processing.org/t/creating-a-table-of-sensor-data-from-arduino/7942)

<div class="topic-metadata">

**Author:** [@Dab](https://discourse.processing.org/u/Dab)\
**Replies:** 2\
**Last updated:** [January 30, 2019, 3:31pm UTC](https://discourse.processing.org/t/creating-a-table-of-sensor-data-from-arduino/7942 "2019-01-30T15:31:57Z")

</div>

Hi there, im pretty new to the processing application, so bear with my knowledge. Ive got a mpu6050 reading out yaw ptich roll angles on the serial monitor on aurdino IDE, but i want to save the output to a .csv file. i…

---

## [Issue communicating with Arduino](https://discourse.processing.org/t/issue-communicating-with-arduino/7847)

<div class="topic-metadata">

**Author:** [@Ryan12](https://discourse.processing.org/u/Ryan12)\
**Replies:** 2\
**Last updated:** [January 28, 2019, 5:36am UTC](https://discourse.processing.org/t/issue-communicating-with-arduino/7847 "2019-01-28T05:36:00Z")

</div>

I have a phototransistor and an LED, when I test in Arduino I do get readings from the phototransistor, but when trying to get the same readings in Processing I just get continuous 0’s. Can any one help? I’ve placed the …

---

## [Rounding float number](https://discourse.processing.org/t/rounding-float-number/7091)

<div class="topic-metadata">

**Author:** [@lodolfo](https://discourse.processing.org/u/lodolfo)\
**Replies:** 18\
**Last updated:** [January 22, 2019, 6:34pm UTC](https://discourse.processing.org/t/rounding-float-number/7091 "2019-01-22T18:34:19Z")

</div>

Hi, I’m a new person with Processing and Java language also. So I’m sorry if my question is stupid and it bothers you. I’m trying to calculate float numbers then print out the result. My code as below: float x, y ; fl…

---

## [Saving into internal memory](https://discourse.processing.org/t/saving-into-internal-memory/7611)

<div class="topic-metadata">

**Author:** [@ArduinoKer](https://discourse.processing.org/u/ArduinoKer)\
**Replies:** 1\
**Last updated:** [January 18, 2019, 12:01pm UTC](https://discourse.processing.org/t/saving-into-internal-memory/7611 "2019-01-18T12:01:13Z")

</div>

Hello everyone, i have a coding question… I am currently doing a project about positioning. I am using the Processing application to display the movements and the coordinates of my device, also i’ve added some extra fea…

---

## [Reading Phidgets 22 in Processing](https://discourse.processing.org/t/reading-phidgets-22-in-processing/7384)

<div class="topic-metadata">

**Author:** [@rafedigma](https://discourse.processing.org/u/rafedigma)\
**Replies:** 1\
**Last updated:** [January 11, 2019, 4:16am UTC](https://discourse.processing.org/t/reading-phidgets-22-in-processing/7384 "2019-01-11T04:16:06Z")

</div>

Hello, I am trying to get Processing working with Phidgets 22, I found the library Phidgets for Processing but it seems to be only working with previous version of Phidgets 21. I do not know Java to write a new library …

---

## [Communications between Processing and Arduino IDE](https://discourse.processing.org/t/communications-between-processing-and-arduino-ide/7346)

<div class="topic-metadata">

**Author:** [@ArduinoKer](https://discourse.processing.org/u/ArduinoKer)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 7:44am UTC](https://discourse.processing.org/t/communications-between-processing-and-arduino-ide/7346 "2019-01-09T07:44:40Z")

</div>

Hello everyone, I am trying to learn how to communicate between my Processing application and my Arduino code together. I want to ask a simple question and that is, is it possible to use the exact same variable name wit…

---

## [Serialization and deserialization](https://discourse.processing.org/t/serialization-and-deserialization/6906)

<div class="topic-metadata">

**Author:** [@MoonMoon](https://discourse.processing.org/u/MoonMoon)\
**Replies:** 22\
**Last updated:** [January 5, 2019, 11:57am UTC](https://discourse.processing.org/t/serialization-and-deserialization/6906 "2019-01-05T11:57:52Z")

</div>

Hi! I’m new to processing, so please be patient and gentle :wink: I’ve installed the latest version (3.4) and I’m running Windows 10(x64) I’m quite advanced in programming Arduino Microcontroller and usually I use a co…

---

## [Hello! My presentation](https://discourse.processing.org/t/hello-my-presentation/7052)

<div class="topic-metadata">

**Author:** [@lemon](https://discourse.processing.org/u/lemon)\
**Replies:** 1\
**Last updated:** [December 31, 2018, 11:14am UTC](https://discourse.processing.org/t/hello-my-presentation/7052 "2018-12-31T11:14:05Z")

</div>

Hi, my name luigi from italy … learn programmation processing for arduino. My english elementary . Old 36 year . Happy new Year 2019.

---

## [How do i create a flight path using i3 processing](https://discourse.processing.org/t/how-do-i-create-a-flight-path-using-i3-processing/6838)

<div class="topic-metadata">

**Author:** [@ArduinoKer](https://discourse.processing.org/u/ArduinoKer)\
**Replies:** 18\
**Last updated:** [December 24, 2018, 10:47pm UTC](https://discourse.processing.org/t/how-do-i-create-a-flight-path-using-i3-processing/6838 "2018-12-24T22:47:07Z")

</div>

Hello everyone, I am trying to use i3 Processing to create a flight path. Currently i am able to use i3 processing for accurate positioning of my device. But after looking through the reference, i saw the " line() " fun…

---

## [Strange problem with an eclipse project and the Serial library](https://discourse.processing.org/t/strange-problem-with-an-eclipse-project-and-the-serial-library/6982)

<div class="topic-metadata">

**Author:** [@jaeger](https://discourse.processing.org/u/jaeger)\
**Replies:** 2\
**Last updated:** [December 31, 2018, 7:59am UTC](https://discourse.processing.org/t/strange-problem-with-an-eclipse-project-and-the-serial-library/6982 "2018-12-31T07:59:08Z")

</div>

Hi guys, as the title said i have a problem! I made an eclipse project with processing and the Serial library, on my windows 10 laptop everything works well and i have no problem. i tried to run the same project on my w…

---

## [The code stops working after a while - Help me with homework](https://discourse.processing.org/t/the-code-stops-working-after-a-while-help-me-with-homework/6789)

<div class="topic-metadata">

**Author:** [@Murat](https://discourse.processing.org/u/Murat)\
**Replies:** 4\
**Last updated:** [December 23, 2018, 8:32am UTC](https://discourse.processing.org/t/the-code-stops-working-after-a-while-help-me-with-homework/6789 "2018-12-23T08:32:51Z")

</div>

Hello. The code stops working after about between 30 seconds and 3 minutes. The video feed is freezing when the code stops working. After stopping and running it again, I have another up to 3 minutes successfully running…

---

## [Java robot library doesn't work with fullscreen games](https://discourse.processing.org/t/java-robot-library-doesnt-work-with-fullscreen-games/6835)

<div class="topic-metadata">

**Author:** [@kavindaveerakoon](https://discourse.processing.org/u/kavindaveerakoon)\
**Replies:** 3\
**Last updated:** [December 23, 2018, 7:52am UTC](https://discourse.processing.org/t/java-robot-library-doesnt-work-with-fullscreen-games/6835 "2018-12-23T07:52:23Z")

</div>

I controlled keyboard keys using java robot library, When i open microsoft word, i can see keys typing accurately. But when i open a game, nothing happens. Is game disabling IDE? What should i do?

---

## [Disabling serialEvent() for COM11 null](https://discourse.processing.org/t/disabling-serialevent-for-com11-null/6689)

<div class="topic-metadata">

**Author:** [@shady24](https://discourse.processing.org/u/shady24)\
**Replies:** 1\
**Last updated:** [December 19, 2018, 1:44pm UTC](https://discourse.processing.org/t/disabling-serialevent-for-com11-null/6689 "2018-12-19T13:44:57Z")

</div>

Hi, I am trying to make a game controller using Arduino mega and ADXL 335 & linear potentiometer. The controller works fine but most of the time it gives the error Error, disabling serialEvent() for COM11 null I am…

---

## [VR help can it be done](https://discourse.processing.org/t/vr-help-can-it-be-done/6690)

<div class="topic-metadata">

**Author:** [@ctrembla](https://discourse.processing.org/u/ctrembla)\
**Replies:** 2\
**Last updated:** [December 18, 2018, 11:31pm UTC](https://discourse.processing.org/t/vr-help-can-it-be-done/6690 "2018-12-18T23:31:33Z")

</div>

Anyone know if it possible to create a VR in processing & what VR headset would i use if I even made one? Any suggestions will be great.

---

## [Help with school piano stairs project](https://discourse.processing.org/t/help-with-school-piano-stairs-project/5667)

<div class="topic-metadata">

**Author:** [@skNDstry](https://discourse.processing.org/u/skNDstry)\
**Replies:** 3\
**Last updated:** [November 20, 2018, 2:26am UTC](https://discourse.processing.org/t/help-with-school-piano-stairs-project/5667 "2018-11-20T02:26:22Z")

</div>

Hi all I am new to processing, but I need to use processing to complete a school electronic project. I am trying to clone a project by Helen Bang on Instructables (https://www.instructables.com/id/Arduino-IR-Musical-St…

---

## [Video Projection with arduino](https://discourse.processing.org/t/video-projection-with-arduino/6430)

<div class="topic-metadata">

**Author:** [@ashleytg12](https://discourse.processing.org/u/ashleytg12)\
**Replies:** 1\
**Last updated:** [December 9, 2018, 3:48am UTC](https://discourse.processing.org/t/video-projection-with-arduino/6430 "2018-12-09T03:48:14Z")

</div>

Hi guys. I am attempting to use capacitive sensors that trigger a video on Processing. It works wonderfully when connected to my laptop but I want to project the video onto a TV screen. When I hook up my tv to my laptop …

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

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