# Electronics (Arduino, etc.)

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

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

**Page:** 25

---

## [Is it dangerous to link my router to my pc?](https://discourse.processing.org/t/is-it-dangerous-to-link-my-router-to-my-pc/4784)

<div class="topic-metadata">

**Author:** [@Quix](https://discourse.processing.org/u/Quix)\
**Replies:** 4\
**Last updated:** [October 28, 2018, 2:45pm UTC](https://discourse.processing.org/t/is-it-dangerous-to-link-my-router-to-my-pc/4784 "2018-10-28T14:45:22Z")

</div>

Hi! i would like to know if it’s dangerous to link my router to my pc I did this for my website project with processing :thinking:

---

## [Neopixel and Sensor not working/overheating](https://discourse.processing.org/t/neopixel-and-sensor-not-working-overheating/4915)

<div class="topic-metadata">

**Author:** [@chisholmem](https://discourse.processing.org/u/chisholmem)\
**Replies:** 3\
**Last updated:** [October 27, 2018, 4:56am UTC](https://discourse.processing.org/t/neopixel-and-sensor-not-working-overheating/4915 "2018-10-27T04:56:44Z")

</div>

Hi there! I am using Adafruit Flora and Arduino to create a circuit of 4 megapixels and 1 sensor. Everytime I try to upload the code to test it, the Flora overheats and then it doesn’t work. here is my code: #include \<A…

---

## [Changing the 5000ms timeout?](https://discourse.processing.org/t/changing-the-5000ms-timeout/4729)

<div class="topic-metadata">

**Author:** [@bbulkow](https://discourse.processing.org/u/bbulkow)\
**Replies:** 7\
**Last updated:** [October 24, 2018, 5:19pm UTC](https://discourse.processing.org/t/changing-the-5000ms-timeout/4729 "2018-10-24T17:19:12Z")

</div>

I have some code where we’ve changed the initalization sequence, and we’re right up against the 5000ms timeout where, so I read, JOGL is waiting for an initial draw to the canvas. I’d really rather not put processing co…

---

## [Interactive lightinstallation Processing with Arduino](https://discourse.processing.org/t/interactive-lightinstallation-processing-with-arduino/4690)

<div class="topic-metadata">

**Author:** [@martinatina42](https://discourse.processing.org/u/martinatina42)\
**Replies:** 1\
**Last updated:** [October 23, 2018, 8:40pm UTC](https://discourse.processing.org/t/interactive-lightinstallation-processing-with-arduino/4690 "2018-10-23T20:40:11Z")

</div>

Hi Forum I have a question regarding a code made in Processing which is also connected to Arduino. There is a buzzer which should be pushed and the signal goes directly to Processing and then to Arduino. The Code btw. …

---

## [Sending string command to DCCpp](https://discourse.processing.org/t/sending-string-command-to-dccpp/4695)

<div class="topic-metadata">

**Author:** [@rva1945](https://discourse.processing.org/u/rva1945)\
**Replies:** 1\
**Last updated:** [October 20, 2018, 8:50pm UTC](https://discourse.processing.org/t/sending-string-command-to-dccpp/4695 "2018-10-20T20:50:53Z")

</div>

Hi: I’m using DCCpp for controlling my trains. Everything works fine but now I want to use a controller that I designed for controlling the turnouts and throttles. Yes I know there is a Processing Controller already wor…

---

## [Creating game using Aurdino and Processing](https://discourse.processing.org/t/creating-game-using-aurdino-and-processing/4612)

<div class="topic-metadata">

**Author:** [@japoiu](https://discourse.processing.org/u/japoiu)\
**Replies:** 0\
**Last updated:** [October 18, 2018, 6:41pm UTC](https://discourse.processing.org/t/creating-game-using-aurdino-and-processing/4612 "2018-10-18T18:41:37Z")

</div>

I have written the code for a game using Arduino and Processing where the ball hits the blocks and we get points and a paddle bounces the ball. If the ball misses the paddle and moves out the game ends. I have a button w…

---

## [USB comm from an Android device](https://discourse.processing.org/t/usb-comm-from-an-android-device/4501)

<div class="topic-metadata">

**Author:** [@rva1945](https://discourse.processing.org/u/rva1945)\
**Replies:** 0\
**Last updated:** [October 15, 2018, 6:24pm UTC](https://discourse.processing.org/t/usb-comm-from-an-android-device/4501 "2018-10-15T18:24:03Z")

</div>

HI: I have already tried to control my layout from Processing running on a PC with W7. Of course I now want to run it on an Android device for the same purpose. It sends commands to the Arduino via USB serial port. My …

---

## [Turn gauge arc into gradient](https://discourse.processing.org/t/turn-gauge-arc-into-gradient/4103)

<div class="topic-metadata">

**Author:** [@Interalia](https://discourse.processing.org/u/Interalia)\
**Replies:** 12\
**Last updated:** [October 13, 2018, 10:09pm UTC](https://discourse.processing.org/t/turn-gauge-arc-into-gradient/4103 "2018-10-13T22:09:31Z")

</div>

How would you change an arc on a guage so it goes from green to yellow to red?

---

## [Stuck with SIZE command](https://discourse.processing.org/t/stuck-with-size-command/4441)

<div class="topic-metadata">

**Author:** [@sljivan](https://discourse.processing.org/u/sljivan)\
**Replies:** 4\
**Last updated:** [October 13, 2018, 10:44pm UTC](https://discourse.processing.org/t/stuck-with-size-command/4441 "2018-10-13T22:44:58Z")

</div>

Hello guys. I am trying to control my servo with Processing. And it actually works. But I wanted to fool around with the code a bit to get a grip off it, and I started changing a tutorial code a bit. And I ran into a …

---

## [Cannot Export To Mac](https://discourse.processing.org/t/cannot-export-to-mac/4390)

<div class="topic-metadata">

**Author:** [@Myselium](https://discourse.processing.org/u/Myselium)\
**Replies:** 2\
**Last updated:** [October 12, 2018, 5:56pm UTC](https://discourse.processing.org/t/cannot-export-to-mac/4390 "2018-10-12T17:56:27Z")

</div>

Hello, When i try to export my project to mac (I am on windows 10), the checkbox is greyed out. Why is this happening and how do i fix it. i am using the serial library for communicating with my arduino and the G4P f…

---

## [Parsing Data in Processing thru Serial Port from Arduino + Pixy Cam](https://discourse.processing.org/t/parsing-data-in-processing-thru-serial-port-from-arduino-pixy-cam/4067)

<div class="topic-metadata">

**Author:** [@mck.sanderson](https://discourse.processing.org/u/mck.sanderson)\
**Replies:** 4\
**Last updated:** [October 12, 2018, 1:41pm UTC](https://discourse.processing.org/t/parsing-data-in-processing-thru-serial-port-from-arduino-pixy-cam/4067 "2018-10-12T13:41:49Z")

</div>

Hello! New here and haven’t been able to really find anything super helpful for what I specifically need. I’m a super beginner…n00b, really. My professor is helping me with this but we haven’t quite figured it out yet an…

---

## [Why cant I display the text of a string made with toString?](https://discourse.processing.org/t/why-cant-i-display-the-text-of-a-string-made-with-tostring/4306)

<div class="topic-metadata">

**Author:** [@laptophead](https://discourse.processing.org/u/laptophead)\
**Replies:** 2\
**Last updated:** [October 11, 2018, 1:57am UTC](https://discourse.processing.org/t/why-cant-i-display-the-text-of-a-string-made-with-tostring/4306 "2018-10-11T01:57:06Z")

</div>

got this from the AP-Sync library. building a string that will be sent to Ardu when enter is pressed. Works great, great library. However, I want to also display that string on the java, so I can see what I am typing. …

---

## [Multiple Values from Processing to Arduino through Serial Port](https://discourse.processing.org/t/multiple-values-from-processing-to-arduino-through-serial-port/4152)

<div class="topic-metadata">

**Author:** [@Cai](https://discourse.processing.org/u/Cai)\
**Replies:** 2\
**Last updated:** [October 8, 2018, 11:04pm UTC](https://discourse.processing.org/t/multiple-values-from-processing-to-arduino-through-serial-port/4152 "2018-10-08T23:04:41Z")

</div>

I have managed to send one value from processing to arduino. (which maps mouseX and lights the respective LED on an LED strip of Neopixels) I went through a lot of forums and tried to send Mouse Position(2 values ) from …

---

## [Wall monitor for SVG collage project](https://discourse.processing.org/t/wall-monitor-for-svg-collage-project/4062)

<div class="topic-metadata">

**Author:** [@Turnbuckle2](https://discourse.processing.org/u/Turnbuckle2)\
**Replies:** 6\
**Last updated:** [October 4, 2018, 5:43am UTC](https://discourse.processing.org/t/wall-monitor-for-svg-collage-project/4062 "2018-10-04T05:43:56Z")

</div>

---

## [Processing 3.4 UnsatisfiedLinkError when trying Visualiser example Pycom](https://discourse.processing.org/t/processing-3-4-unsatisfiedlinkerror-when-trying-visualiser-example-pycom/4013)

<div class="topic-metadata">

**Author:** [@MinaDarsh](https://discourse.processing.org/u/MinaDarsh)\
**Replies:** 1\
**Last updated:** [October 3, 2018, 2:07am UTC](https://discourse.processing.org/t/processing-3-4-unsatisfiedlinkerror-when-trying-visualiser-example-pycom/4013 "2018-10-03T02:07:22Z")

</div>

Hello, for learning how to use the Pycom PyTrack, I’m following this tutorial from Core-Electronics. Sadly, when getting to the visualiser example that Pycom also uses on their site, I run into a pretty big error that I …

---

## [Kinect v2 with processing error -12](https://discourse.processing.org/t/kinect-v2-with-processing-error-12/3732)

<div class="topic-metadata">

**Author:** [@leereset](https://discourse.processing.org/u/leereset)\
**Replies:** 2\
**Last updated:** [September 23, 2018, 6:59am UTC](https://discourse.processing.org/t/kinect-v2-with-processing-error-12/3732 "2018-09-23T06:59:25Z")

</div>

Hi I’m using kinect v2. 64 windows Init Kinect2 \[Freenect2Impl\] enumerating devices… \[Freenect2Impl\] 8 usb devices connected \[Freenect2Impl\] failed to open Kinect v2 @1:19! \[Freenect2Impl\] found valid Kinect v2 @1:…

---

## [Trouble with bluetooth BLE connection between Pi3 and Blueduino](https://discourse.processing.org/t/trouble-with-bluetooth-ble-connection-between-pi3-and-blueduino/3578)

<div class="topic-metadata">

**Author:** [@jb4x](https://discourse.processing.org/u/jb4x)\
**Replies:** 15\
**Last updated:** [September 28, 2018, 7:36pm UTC](https://discourse.processing.org/t/trouble-with-bluetooth-ble-connection-between-pi3-and-blueduino/3578 "2018-09-28T19:36:30Z")

</div>

Hi everyone, I have a processing sketch that gather some data every frames. Then I would need to send those data to a blueduino (basically an arduino with an integrated BLE module) that can then use them to light some L…

---

## [360 controller trigger axis](https://discourse.processing.org/t/360-controller-trigger-axis/3881)

<div class="topic-metadata">

**Author:** [@lmccandless](https://discourse.processing.org/u/lmccandless)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 10:21pm UTC](https://discourse.processing.org/t/360-controller-trigger-axis/3881 "2018-09-26T22:21:16Z")

</div>

I’m trying to use an xbox 360 controller, and I need both analog triggers to work. Game Control Plus puts both of the triggers onto the same axis, in opposite directions. So pulling both analog triggers all the way in, …

---

## [For Loop, populate array with data from the loop](https://discourse.processing.org/t/for-loop-populate-array-with-data-from-the-loop/3853)

<div class="topic-metadata">

**Author:** [@m3talsix66](https://discourse.processing.org/u/m3talsix66)\
**Replies:** 2\
**Last updated:** [September 27, 2018, 1:30am UTC](https://discourse.processing.org/t/for-loop-populate-array-with-data-from-the-loop/3853 "2018-09-27T01:30:25Z")

</div>

Hi I am using an example from Arduino - processing serial communication. I am sending variables from my arduino and want to set the variables in processing from these. import processing.serial.\*; // import the Proce…

---

## [How to remove powerline noise from ecg signal](https://discourse.processing.org/t/how-to-remove-powerline-noise-from-ecg-signal/3815)

<div class="topic-metadata">

**Author:** [@siriusng](https://discourse.processing.org/u/siriusng)\
**Replies:** 3\
**Last updated:** [September 26, 2018, 7:29am UTC](https://discourse.processing.org/t/how-to-remove-powerline-noise-from-ecg-signal/3815 "2018-09-26T07:29:52Z")

</div>

Hello everyone! I’m new in processing. I would get ECG signal using ArduinoUno and AD3282 board. I get sketch from github and run my project. However, when I run processing programme, here appear power line noise (it w…

---

## [\[SOLVED\] Unexpected token:processing error in code drawn from an author's code](https://discourse.processing.org/t/solved-unexpected-token-processing-error-in-code-drawn-from-an-authors-code/3653)

<div class="topic-metadata">

**Author:** [@bobhurd](https://discourse.processing.org/u/bobhurd)\
**Replies:** 17\
**Last updated:** [September 23, 2018, 12:52am UTC](https://discourse.processing.org/t/solved-unexpected-token-processing-error-in-code-drawn-from-an-authors-code/3653 "2018-09-23T00:52:25Z")

</div>

The following code yields the error “unexpected token: processing”. What am I missing? It’s a straight copy of an author’s code (from “Arduino Projects Book”) that apparently did not get this error… Did I not install …

---

## [\[SOLVED\] serial port write with no delay between bytes when sending hex values](https://discourse.processing.org/t/solved-serial-port-write-with-no-delay-between-bytes-when-sending-hex-values/3712)

<div class="topic-metadata">

**Author:** [@matt6ft9](https://discourse.processing.org/u/matt6ft9)\
**Replies:** 2\
**Last updated:** [September 21, 2018, 3:27pm UTC](https://discourse.processing.org/t/solved-serial-port-write-with-no-delay-between-bytes-when-sending-hex-values/3712 "2018-09-21T15:27:58Z")

</div>

I’m trying to send hex data out of the FTDI serial port IC at 19200, 8N1. (windows 7, processing 3.3.6) When I use this code: public void button2(){ int i; int collect\[\] = {0x55,0x02,0x50,0xFE,0x20,0x20,0x20,0x20,0…

---

## [\[SOLVED\] SinOsc in draw loop is very choppy (Sound Library)](https://discourse.processing.org/t/solved-sinosc-in-draw-loop-is-very-choppy-sound-library/3701)

<div class="topic-metadata">

**Author:** [@bobhurd](https://discourse.processing.org/u/bobhurd)\
**Replies:** 3\
**Last updated:** [September 20, 2018, 7:13pm UTC](https://discourse.processing.org/t/solved-sinosc-in-draw-loop-is-very-choppy-sound-library/3701 "2018-09-20T19:13:45Z")

</div>

I am a novice programmer having a problem with the Sound library. I am trying to use the SinOsc function to generate a smooth sine wave. I also want it to vary the pitch as it reads serial data (range 0 to 255) that is…

---

## [Problem with controlling Minim with Arduino + proximity sensor](https://discourse.processing.org/t/problem-with-controlling-minim-with-arduino-proximity-sensor/3559)

<div class="topic-metadata">

**Author:** [@marvast](https://discourse.processing.org/u/marvast)\
**Replies:** 3\
**Last updated:** [September 19, 2018, 7:40pm UTC](https://discourse.processing.org/t/problem-with-controlling-minim-with-arduino-proximity-sensor/3559 "2018-09-19T19:40:29Z")

</div>

Hi Forum Im very new to processing and am trying to help someone out with a project. this is based on code that i found and have tried to change to fit the needs for the project. the idea is to use a proximity sensor …

---

## [Two Cameras in one Sketch](https://discourse.processing.org/t/two-cameras-in-one-sketch/3663)

<div class="topic-metadata">

**Author:** [@jorgeeduardojonas](https://discourse.processing.org/u/jorgeeduardojonas)\
**Replies:** 2\
**Last updated:** [September 19, 2018, 2:21pm UTC](https://discourse.processing.org/t/two-cameras-in-one-sketch/3663 "2018-09-19T14:21:59Z")

</div>

Hello! I’m trying to control a fade between two cameras in the same application, the following code works, however, the first camera has some jitter (the endoscope), am I missing something? One camera is a Go Pro going…

---

## [Accessing a webcam via network library](https://discourse.processing.org/t/accessing-a-webcam-via-network-library/3603)

<div class="topic-metadata">

**Author:** [@bardiel13th](https://discourse.processing.org/u/bardiel13th)\
**Replies:** 2\
**Last updated:** [September 17, 2018, 8:20pm UTC](https://discourse.processing.org/t/accessing-a-webcam-via-network-library/3603 "2018-09-17T20:20:50Z")

</div>

Hi Processing group! I’m working on a project which uses the networking library in processing. Basically, the Client program draws on a canvas, and the coordinates are sent back to the Server program, which then takes …

---

## [Drawing Problem](https://discourse.processing.org/t/drawing-problem/3536)

<div class="topic-metadata">

**Author:** [@PhysicsFreak](https://discourse.processing.org/u/PhysicsFreak)\
**Replies:** 3\
**Last updated:** [September 17, 2018, 7:33pm UTC](https://discourse.processing.org/t/drawing-problem/3536 "2018-09-17T19:33:07Z")

</div>

Okay, I made a program that uses a accelerometer on a Arduino Circuit Playground that tracks where the accelerometer is heading, and now in need to turn the “point(x,y);” into a drawing, where it places a point where the…

---

## [Processing.serial in BlueJ doesn't work](https://discourse.processing.org/t/processing-serial-in-bluej-doesnt-work/3351)

<div class="topic-metadata">

**Author:** [@Paul94](https://discourse.processing.org/u/Paul94)\
**Replies:** 15\
**Last updated:** [September 17, 2018, 5:35am UTC](https://discourse.processing.org/t/processing-serial-in-bluej-doesnt-work/3351 "2018-09-17T05:35:32Z")

</div>

Hello, Currently I am trying to use Processing in BlueJ. So far this works quite well - except for the serial interface to the Arduino. For this I have written the following code in Processing, which also works: import…

---

## [Udp problem sending byte (-127)](https://discourse.processing.org/t/udp-problem-sending-byte-127/3545)

<div class="topic-metadata">

**Author:** [@tuxilus](https://discourse.processing.org/u/tuxilus)\
**Replies:** 2\
**Last updated:** [September 15, 2018, 6:41am UTC](https://discourse.processing.org/t/udp-problem-sending-byte-127/3545 "2018-09-15T06:41:32Z")

</div>

Hello, I am trying to send visca commands over udp. To send a command to camera 1 you have to send byte (0x81). Unfortunately udp.send sends the value 63! I discovered this by sending from processing 3 on windows and…

---

## [Having multiple moving objects collide detection issues](https://discourse.processing.org/t/having-multiple-moving-objects-collide-detection-issues/3463)

<div class="topic-metadata">

**Author:** [@MartinM](https://discourse.processing.org/u/MartinM)\
**Replies:** 6\
**Last updated:** [September 13, 2018, 5:26pm UTC](https://discourse.processing.org/t/having-multiple-moving-objects-collide-detection-issues/3463 "2018-09-13T17:26:52Z")

</div>

Recently I have been playing with the Arduino and I have been using processing for the coding. Before I go any further the program does run without the specific need for an Arduino and the issue I am having also does not…

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

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