# Electronics (Arduino, etc.)

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

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

**Page:** 22

---

## [Help me with my thesis database UI](https://discourse.processing.org/t/help-me-with-my-thesis-database-ui/10737)

<div class="topic-metadata">

**Author:** [@greggy](https://discourse.processing.org/u/greggy)\
**Replies:** 7\
**Last updated:** [May 4, 2019, 6:02am UTC](https://discourse.processing.org/t/help-me-with-my-thesis-database-ui/10737 "2019-05-04T06:02:39Z")

</div>

So this is my last resort, all my IT graduate friends are busy and cannot help me right now. First of all, i dont really have much knowledge about coding specially java. this project is my thesis for school. (im taking …

---

## [Issue with using array after splitTokens()](https://discourse.processing.org/t/issue-with-using-array-after-splittokens/10826)

<div class="topic-metadata">

**Author:** [@eezJerome](https://discourse.processing.org/u/eezJerome)\
**Replies:** 5\
**Last updated:** [May 3, 2019, 10:46am UTC](https://discourse.processing.org/t/issue-with-using-array-after-splittokens/10826 "2019-05-03T10:46:52Z")

</div>

Hello. This can be considered an extension of my previous thread here Using two different readStringUntil "characters" Now, I am working on a basic Arduino project, but for understand Processing, I am now using a poten…

---

## [Simple arduino to processing serial not outputting anything](https://discourse.processing.org/t/simple-arduino-to-processing-serial-not-outputting-anything/10837)

<div class="topic-metadata">

**Author:** [@eezJerome](https://discourse.processing.org/u/eezJerome)\
**Replies:** 5\
**Last updated:** [May 3, 2019, 7:56am UTC](https://discourse.processing.org/t/simple-arduino-to-processing-serial-not-outputting-anything/10837 "2019-05-03T07:56:24Z")

</div>

I understand that it might be annoying that I am posting on a different thread for the same project, but it is a different code and approach, so I thought it was appropriate to do this. I have literally been at this thi…

---

## [Trouble with the Serial port read](https://discourse.processing.org/t/trouble-with-the-serial-port-read/10724)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 5\
**Last updated:** [May 2, 2019, 12:29pm UTC](https://discourse.processing.org/t/trouble-with-the-serial-port-read/10724 "2019-05-02T12:29:11Z")

</div>

I am getting a periodic string from an Arduino Mega, about once a second. I parse it and get various values from it. About every 20 messages I get this weird error, and I dont know why. Here is my receiving code wh…

---

## [Marlin and processing](https://discourse.processing.org/t/marlin-and-processing/10681)

<div class="topic-metadata">

**Author:** [@Grisha](https://discourse.processing.org/u/Grisha)\
**Replies:** 3\
**Last updated:** [April 27, 2019, 12:43pm UTC](https://discourse.processing.org/t/marlin-and-processing/10681 "2019-04-27T12:43:03Z")

</div>

How to control cnc with marlin from processing?

---

## [I can not erase the old line](https://discourse.processing.org/t/i-can-not-erase-the-old-line/10172)

<div class="topic-metadata">

**Author:** [@nektarios](https://discourse.processing.org/u/nektarios)\
**Replies:** 5\
**Last updated:** [April 22, 2019, 10:16am UTC](https://discourse.processing.org/t/i-can-not-erase-the-old-line/10172 "2019-04-22T10:16:09Z")

</div>

Hi friends …I am new to processing…I write a code (combine examples) which create a graph speed- time from two sensors(later i will add acelleration-time also to the same graph) .The code run with only two problems:1) wh…

---

## [Changing Image transparency](https://discourse.processing.org/t/changing-image-transparency/10439)

<div class="topic-metadata">

**Author:** [@wom1998](https://discourse.processing.org/u/wom1998)\
**Replies:** 1\
**Last updated:** [April 18, 2019, 9:57pm UTC](https://discourse.processing.org/t/changing-image-transparency/10439 "2019-04-18T21:57:24Z")

</div>

I’m working on a project where image transparency is scaled with the viewers’ proximity to an Arduino ultrasonic sensor. I’ve been following a tutorial that scales image size with proximity. Here is my code so far. Ardu…

---

## [Why I cannot run code NullPointerException](https://discourse.processing.org/t/why-i-cannot-run-code-nullpointerexception/10378)

<div class="topic-metadata">

**Author:** [@warayutsitha2](https://discourse.processing.org/u/warayutsitha2)\
**Replies:** 8\
**Last updated:** [April 17, 2019, 3:20pm UTC](https://discourse.processing.org/t/why-i-cannot-run-code-nullpointerexception/10378 "2019-04-17T15:20:29Z")

</div>

import processing.serial.\*; Serial myPort; String inBuffer; PImage img; String\[\] txt = split(inBuffer,' '); void setup(){ myPort = new Serial(this, "COM9", 115200); myPort.bufferUntil('\\n'); } void draw(){ \*…

---

## [Coding AxiDraw as I want](https://discourse.processing.org/t/coding-axidraw-as-i-want/10329)

<div class="topic-metadata">

**Author:** [@duddy](https://discourse.processing.org/u/duddy)\
**Replies:** 10\
**Last updated:** [April 16, 2019, 8:00am UTC](https://discourse.processing.org/t/coding-axidraw-as-i-want/10329 "2019-04-16T08:00:42Z")

</div>

Hello everybody ! Just want to precise first that I’m not a native English speaker so please be merciful with me if you spot grammar mistakes or anything… I need help on a project about making an AxiDraw v3 robot (pain…

---

## [How to solve "Disabling serialEvent for COM3 null"](https://discourse.processing.org/t/how-to-solve-disabling-serialevent-for-com3-null/10214)

<div class="topic-metadata">

**Author:** [@Frank-95](https://discourse.processing.org/u/Frank-95)\
**Replies:** 4\
**Last updated:** [April 13, 2019, 1:16pm UTC](https://discourse.processing.org/t/how-to-solve-disabling-serialevent-for-com3-null/10214 "2019-04-13T13:16:21Z")

</div>

Hello, sorry for another thread about serialEvent and NullPointerException. I’ve searched for this problem a lot, but actually found no solution to my problem (try/catch just solve the crash not the problem). import g4…

---

## [Delay Reading Serial Port and Displaying Data](https://discourse.processing.org/t/delay-reading-serial-port-and-displaying-data/10071)

<div class="topic-metadata">

**Author:** [@SearayCA](https://discourse.processing.org/u/SearayCA)\
**Replies:** 1\
**Last updated:** [April 10, 2019, 4:34am UTC](https://discourse.processing.org/t/delay-reading-serial-port-and-displaying-data/10071 "2019-04-10T04:34:34Z")

</div>

We are using a line scan camera,10 bit data, 128 pixels per line. We reduce this to 8 bit data. We are attempting to read serial data at 115200 baud, 130 bytes at a time, header plus data. We are displaying a vertical li…

---

## [Changing "keyPressed" to Arduino buttons](https://discourse.processing.org/t/changing-keypressed-to-arduino-buttons/10100)

<div class="topic-metadata">

**Author:** [@anon98404100](https://discourse.processing.org/u/anon98404100)\
**Replies:** 3\
**Last updated:** [April 8, 2019, 7:23pm UTC](https://discourse.processing.org/t/changing-keypressed-to-arduino-buttons/10100 "2019-04-08T19:23:24Z")

</div>

After getting some help here to randomize my work more, I am currently trying to add 1 small addition which is required for my school project : usage of Arduino, however, the addition can be as small or as major as I lik…

---

## [Load random images every time the button is pressed - Processing - Arduino](https://discourse.processing.org/t/load-random-images-every-time-the-button-is-pressed-processing-arduino/9960)

<div class="topic-metadata">

**Author:** [@Sol81](https://discourse.processing.org/u/Sol81)\
**Replies:** 22\
**Last updated:** [April 8, 2019, 4:45pm UTC](https://discourse.processing.org/t/load-random-images-every-time-the-button-is-pressed-processing-arduino/9960 "2019-04-08T16:45:13Z")

</div>

Hey guys, I need to use a button through an Arduino to be able to load random images on screen every time this button is pressed. I have a background image and want to be able first time I press the button to see a bul…

---

## [Wanting advise on how I could randomize my work more](https://discourse.processing.org/t/wanting-advise-on-how-i-could-randomize-my-work-more/9267)

<div class="topic-metadata">

**Author:** [@anon98404100](https://discourse.processing.org/u/anon98404100)\
**Replies:** 41\
**Last updated:** [April 8, 2019, 4:23pm UTC](https://discourse.processing.org/t/wanting-advise-on-how-i-could-randomize-my-work-more/9267 "2019-04-08T16:23:18Z")

</div>

I am working on a project where I use a keylogger to collect button input, let Processing read it and let it do certain actions when it goes over the specific letter. I need to make the program somewhat random, and I am …

---

## [How to know when a sound file has been read in its entirety?](https://discourse.processing.org/t/how-to-know-when-a-sound-file-has-been-read-in-its-entirety/9873)

<div class="topic-metadata">

**Author:** [@Mimal](https://discourse.processing.org/u/Mimal)\
**Replies:** 4\
**Last updated:** [April 8, 2019, 9:02am UTC](https://discourse.processing.org/t/how-to-know-when-a-sound-file-has-been-read-in-its-entirety/9873 "2019-04-08T09:02:10Z")

</div>

Hi, Here my program that retrieves a value from the Arduino card and plays a sound based on that value. The value varies according to the position of a potentiometer: an Arduino program transforms the voltage across th…

---

## [Question about RuntimeException: Error opening serial port /dev/tty1: Permission denied](https://discourse.processing.org/t/question-about-runtimeexception-error-opening-serial-port-dev-tty1-permission-denied/10027)

<div class="topic-metadata">

**Author:** [@nanonatron](https://discourse.processing.org/u/nanonatron)\
**Replies:** 1\
**Last updated:** [April 8, 2019, 1:40am UTC](https://discourse.processing.org/t/question-about-runtimeexception-error-opening-serial-port-dev-tty1-permission-denied/10027 "2019-04-08T01:40:07Z")

</div>

hello, i’m new here and dont know how to fix this problem… RuntimeException: Error opening serial port /dev/tty1: Permission denied I’m using ubuntu 18.04

---

## [Where to start with Processing with Arduino](https://discourse.processing.org/t/where-to-start-with-processing-with-arduino/9991)

<div class="topic-metadata">

**Author:** [@realmeteo](https://discourse.processing.org/u/realmeteo)\
**Replies:** 1\
**Last updated:** [April 5, 2019, 11:06am UTC](https://discourse.processing.org/t/where-to-start-with-processing-with-arduino/9991 "2019-04-05T11:06:24Z")

</div>

Hello , please can you advice me some url to start with Processing with Arduino? I work currently with Arduino and sensors, and like create for test an amazing user interface with some instruments (temperature, humidit…

---

## [Exporting Empty Excel Files](https://discourse.processing.org/t/exporting-empty-excel-files/9969)

<div class="topic-metadata">

**Author:** [@ggates31](https://discourse.processing.org/u/ggates31)\
**Replies:** 2\
**Last updated:** [April 4, 2019, 7:45pm UTC](https://discourse.processing.org/t/exporting-empty-excel-files/9969 "2019-04-04T19:45:14Z")

</div>

I’m using processing with an Arduino sketch to measure and export IR sensor temperature data. Until recently everything was been working out great, and after I stop running processing the data that’s been collecting in t…

---

## [Need to 'linearize' a logarithmic pot](https://discourse.processing.org/t/need-to-linearize-a-logarithmic-pot/9647)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 9\
**Last updated:** [March 27, 2019, 12:54pm UTC](https://discourse.processing.org/t/need-to-linearize-a-logarithmic-pot/9647 "2019-03-27T12:54:22Z")

</div>

Have been working with @jeremydouglass on using a joystick that was returning unusual values, and I couldn’t get them to work like a ‘normal’ joystick. As it turns out - the pot on this stick has a logarithmic curve! …

---

## [Joystick math assistance needed](https://discourse.processing.org/t/joystick-math-assistance-needed/9507)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 10\
**Last updated:** [March 26, 2019, 1:47pm UTC](https://discourse.processing.org/t/joystick-math-assistance-needed/9507 "2019-03-26T13:47:49Z")

</div>

Greets to all! I am replacing a Logitech 3D Pro joystick (which was working fine with Game Control Plus) with a custom stick (actually an Navy joystick of amazing build-quality!). Prob is with GCP the stick returned va…

---

## [Advice for Building Wearable Location Tracker](https://discourse.processing.org/t/advice-for-building-wearable-location-tracker/9388)

<div class="topic-metadata">

**Author:** [@zoppa](https://discourse.processing.org/u/zoppa)\
**Replies:** 6\
**Last updated:** [March 22, 2019, 3:10pm UTC](https://discourse.processing.org/t/advice-for-building-wearable-location-tracker/9388 "2019-03-22T15:10:51Z")

</div>

Hi, I need location data (x,y,z) of the audience for my art project. I used to use Kinect v.1 but for my next project, I need location data of several people that are walking in different rooms. I also need to track the…

---

## [FFT music analyser](https://discourse.processing.org/t/fft-music-analyser/9485)

<div class="topic-metadata">

**Author:** [@Staijn](https://discourse.processing.org/u/Staijn)\
**Replies:** 4\
**Last updated:** [March 21, 2019, 9:35am UTC](https://discourse.processing.org/t/fft-music-analyser/9485 "2019-03-21T09:35:02Z")

</div>

Hello everyone, I am very new to processing, and to programming at all really. I’ve done some basic things on my arduino with LED’s, and I am now trying to extend my bluetooth LED project on my arduino. I want to add t…

---

## [More GameControlPlus Woes!](https://discourse.processing.org/t/more-gamecontrolplus-woes/9020)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 3\
**Last updated:** [March 12, 2019, 5:03pm UTC](https://discourse.processing.org/t/more-gamecontrolplus-woes/9020 "2019-03-12T17:03:35Z")

</div>

Still trying to get the custom joystick working. Have a test test Processing script to access it but the returned data does not change. Here is the setup: Arduino Micro reading pots via Joystick library The Arduino is…

---

## [Trigger an image in interactive installation “sensor input cannot be resolved as a variable”](https://discourse.processing.org/t/trigger-an-image-in-interactive-installation-sensor-input-cannot-be-resolved-as-a-variable/8800)

<div class="topic-metadata">

**Author:** [@shiv94](https://discourse.processing.org/u/shiv94)\
**Replies:** 11\
**Last updated:** [March 11, 2019, 1:16am UTC](https://discourse.processing.org/t/trigger-an-image-in-interactive-installation-sensor-input-cannot-be-resolved-as-a-variable/8800 "2019-03-11T01:16:46Z")

</div>

Hello, I am currently working on an interactive canvas installation, where conductive ink is the Capsense input and the out is an image or gif that is projected onto the canvas via a projector linked to a laptop. This …

---

## [Trouble with multiple COM ports -import processing.serial.\*;](https://discourse.processing.org/t/trouble-with-multiple-com-ports-import-processing-serial/9049)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 3\
**Last updated:** [March 10, 2019, 3:06am UTC](https://discourse.processing.org/t/trouble-with-multiple-com-ports-import-processing-serial/9049 "2019-03-10T03:06:09Z")

</div>

I am trying to do a data gathering system on the PC. I was planning to use 5 or more HC-06 bluetooth dongles on arduinos and start receiving data in Processing. The system worked fine for one device I could talk back a…

---

## [VT100 in processing](https://discourse.processing.org/t/vt100-in-processing/9039)

<div class="topic-metadata">

**Author:** [@Dolomiti](https://discourse.processing.org/u/Dolomiti)\
**Replies:** 1\
**Last updated:** [March 9, 2019, 12:06am UTC](https://discourse.processing.org/t/vt100-in-processing/9039 "2019-03-09T00:06:56Z")

</div>

Hello friends. It is possible to make a VT100 hyperterminal in processing. I have not seen any forum thread on this topic. Thanks and best regards Charli

---

## [Opendmx ft232 no output](https://discourse.processing.org/t/opendmx-ft232-no-output/8934)

<div class="topic-metadata">

**Author:** [@spiderdab](https://discourse.processing.org/u/spiderdab)\
**Replies:** 3\
**Last updated:** [March 8, 2019, 11:43pm UTC](https://discourse.processing.org/t/opendmx-ft232-no-output/8934 "2019-03-08T23:43:36Z")

</div>

Hi, first time writing on this new platform, but have been on the old forum for years. I need to implement a particular dmx software to control some dmx winch. The problem I have is I want to use a entec opendmx usb co…

---

## [Question on GameControlPlus](https://discourse.processing.org/t/question-on-gamecontrolplus/9011)

<div class="topic-metadata">

**Author:** [@alan856](https://discourse.processing.org/u/alan856)\
**Replies:** 1\
**Last updated:** [March 8, 2019, 11:25pm UTC](https://discourse.processing.org/t/question-on-gamecontrolplus/9011 "2019-03-08T23:25:12Z")

</div>

Greetings! I’m building a custom joystick using an Arduino Micro to be used expressly with GameControlPlus. I’m using the Joystick (v2) library to have the stick show up as an HID device. GCP IS sing it so I’m almost t…

---

## [Processing for arduino](https://discourse.processing.org/t/processing-for-arduino/8775)

<div class="topic-metadata">

**Author:** [@help](https://discourse.processing.org/u/help)\
**Replies:** 1\
**Last updated:** [February 28, 2019, 1:47am UTC](https://discourse.processing.org/t/processing-for-arduino/8775 "2019-02-28T01:47:00Z")

</div>

hi im fake joe ! i am trying to send f to my arduino and it fights me ! posting the arduino and the processing clip ! small clip of much larger program ! the arduino runs fine if i use the serial monitor ! i just typ…

---

## [Extending Kinect v2.0 cable](https://discourse.processing.org/t/extending-kinect-v2-0-cable/8649)

<div class="topic-metadata">

**Author:** [@Fausto](https://discourse.processing.org/u/Fausto)\
**Replies:** 2\
**Last updated:** [February 25, 2019, 4:49am UTC](https://discourse.processing.org/t/extending-kinect-v2-0-cable/8649 "2019-02-25T04:49:06Z")

</div>

Hi Processing community, for an installation I am working on at the moment, I need to have one Kinect v2.0 about 10m away from my computer. Ideally I would like to have the Kinect at 20m, but 10m away could potentially…

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

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