Skip to main content

Questions tagged [processing-lang]

A programming language and an IDE based on Java, but with simplified syntax and graphics programming model.

Filter by
Sorted by
Tagged with
2 votes
0 answers
361 views

I just wrote some code that just sends a string from Arduino to Processing. Processing prints the string and displays the number of characters in the buffer... After uploading the sketch to the ...
Robot12's user avatar
  • 21
1 vote
2 answers
856 views

I'm trying to connect an Arduino Nano Every and Processing via serial. I'm getting no errors on either side, and the arduino serial functionality works otherwise on the arduino IDE. I'm connecting on ...
Zhelyazko Grudov's user avatar
1 vote
1 answer
414 views

I’m trying to send and receive data from my laptop to arduino nano via hc05 Bluetooth for a rocket flight computer. For some reasons which I don’t know, I can send data from processing software using ...
Brandy's user avatar
  • 33
2 votes
0 answers
302 views

I'm using this HC-05 Bluetooth module to communicate between my Arduino mega 2560 and my laptop. I am using processing to send the data from my computer to the Arduino. The module connects nicely and ...
Sahibjot Singh's user avatar
-1 votes
1 answer
46 views

I have a windows computer connected to my Arduino Uno. I work in a area with a bunch of cubicles and we leave our desk fairly regularly to go and troubleshoot other computers (I'm a service desk ...
Nathan Hale's user avatar
1 vote
1 answer
415 views

I am plotting the graph of some sensor values on my Arduino serial plotter which looks something like this - But what I want to do is hover over any point on the graph and display the time at that ...
blazingcannon's user avatar
0 votes
1 answer
72 views

I am receiving data from an LDR which I am inputting into processing. The data seems to be received to Arduino correctly and I have looked at the data being sent via the serial monitor and it all ...
user62091's user avatar
0 votes
1 answer
50 views

I am fairly new to processing and Arduino - I have a coursework deadline for both on Monday (6th January). I am trying to write a script that uses the mouseX values to turn LEDs on and off. I haven'...
user62091's user avatar
-1 votes
1 answer
40 views

I try to solve this a month..but still problem... I want to make below led-matrix spectrum. Thumbnail image https://youtu.be/X35HbE7k3DA ※Environment Device UML One Raspberry pi 3 : 2019-09-26-...
LJB's user avatar
  • 1
0 votes
1 answer
57 views

So I have a java program that picks up the mouses x and y coords on the display and I would like to send those to my arduino and then move my two servos to those locations (I have two servos ontop of ...
Jamie Cole's user avatar
1 vote
0 answers
50 views

I am reasonably new to arduino and even newer to Processing so still struggle with trouble shooting my code. The intention of my sketch is have Processing receive IR codes from the arduino and ...
Harrie's user avatar
  • 11
1 vote
1 answer
112 views

Hey guys I have a LED strip with 6 LEDS (I control these through Kinect & processing. It sends 1,2,3,4,5,6 to Arduino. This seems to work fine.) In Arduino LED0,LED1,LED2,LED3,LED4 work ...
Juriaan 's user avatar
1 vote
1 answer
322 views

I have been trying to develop a connection from the arduino IDE to Processing so I can send data measured on the arduino Pins to processing to display. I first packaged the 10-bit integers I was ...
Tom's user avatar
  • 59
1 vote
1 answer
680 views

I'm new to serial communication and trying to send mouseX and mouseY from Processing to Arduino. Serial monitor doesn't show anything. Processing code: import processing.serial.*; Serial port; void ...
2012User's user avatar
  • 149
0 votes
1 answer
66 views

i have been trying to set Builtin LED frequency from arduino and turn it on and off . I have created an interface with knobs and buttons in processing . I want to set delay between ON and OFF with 1 ...
Gunes's user avatar
  • 13
-2 votes
1 answer
77 views

I have a Processing program that reads data sent to the serial port by an Arduino. When I go to device manager it shows that the Arduino is plugged into COM 4, however in order to get Processing to ...
Alison's user avatar
  • 21
0 votes
1 answer
95 views

I am using an Arduino to read sensors and then send the data to the serial port for Processing to read. It works totally fine when I first download the code and run the Processing program. But if I ...
Alison's user avatar
  • 21
1 vote
1 answer
984 views

I am interested in measuring the voltage over an analog pin (A6). When I use the Arduino IDE to print the results through the serial I get values around 300. Here's the code void setup(){ Serial....
acester123's user avatar
0 votes
1 answer
52 views

I am using Arduino Mega 2560 to sample and serially send a square wave. I am using Processing 3.3.6 for logging the data to .csv file. I am receiving about 6k samples at the moment. When I try ...
supreme_leader's user avatar
1 vote
1 answer
135 views

I am trying to get a sampling rate of over 10k Samples per second as well as send each sample over a serial line. Taking a sample and putting it on the serial line each time took too long. I am using ...
supreme_leader's user avatar
-1 votes
1 answer
378 views

Data can be seen in the console but the data is not being written in the text file. The file is created but there is no data in it. Here is my code in Processing, import processing.serial.*; Serial ...
stefanie's user avatar
1 vote
1 answer
286 views

I want to make a servo change its angle using my mouse. When I move mouse horizontally the servo should change its angle correspondingly. This is the sketch I wrote, unfortunately the servo doesn't ...
Socasx7's user avatar
  • 11
1 vote
1 answer
123 views

I am using an Arduino Uno for my project. I use 4 digital inputs and they will be triggered by 4 different relays. I would like to save the data in a *.csv file in the format below. For example, if ...
Bong's user avatar
  • 11
0 votes
1 answer
169 views

I have a Uno program and I can transfer data to Processing using println. In Processing bufferUntil('\n') interprets the ln as \n, stops buffering, and reads the string until the next '\n'. I would ...
Blaine Gray's user avatar
2 votes
2 answers
1k views

I'm working on using a GUI in Processing to control some LED rope from Adafruit, and using this multiplexer. I've gotten the following Arduino code working the way I want to cycle through the various ...
narner's user avatar
  • 267
3 votes
2 answers
1k views

I'm having some trouble wrapping my head around timers in Arduino. I've got a FSR Pressure Sensor and I want it to turn on my NeoPixel LED after pressing on it for 5 seconds. Any help is much ...
jmswng's user avatar
  • 33
2 votes
0 answers
93 views

As the title alludes to, I'm in the process of converting an Arduino sketch to a Processing sketch. So far, mostly pretty straightforward. I'm running into an issue with creating an array of ints for ...
narner's user avatar
  • 267
0 votes
1 answer
138 views

I am working on a small project with Processing and Arduino, in which, depending upon the value of a photoresistor, it displays whether it is day/night/evening. I read the value from the ...
Kavish Rupesh Mehta's user avatar
0 votes
2 answers
2k views

I know this has been asked before, but I'm new to Arduino and Processing, and I'm trying to take this step by step. I would like to pass an RGB value from processing, into Arduino via the Serial....
Oliver Jones's user avatar
2 votes
0 answers
137 views

In my project work, I have 3 robots with their own Arduino boards. Each robot has Infra Red Sensors, whose values I can read using its corresponding Arduino. The main thing however is that each robot ...
Craig's user avatar
  • 21
0 votes
1 answer
137 views

I am trying to run 2 TCS3200’s from one Arduino Due. Next, I must increase to 4 sensors. I need to read the data from the 2 digital pins but how do I read both within the same loop rather than in ...
S. Kuehl's user avatar
0 votes
1 answer
683 views

I am currently working on an Arduino project where the Arduino will send data to a processing program via bluetooth and processing will draw the data. However, my code doesn't seem to work. Here is ...
sir_weasels's user avatar
0 votes
2 answers
326 views

To all of this, hope to formulate the question right. In my project I have 5 sensors connected to Arduino, which I want to interpret via Seria.write() --> Processing. Arduino: firstSens = 100 + (...
goldi's user avatar
  • 3
1 vote
3 answers
4k views

I wan't to send information from my arduino digital pins to another arduino's digital pins like a string, or a char. Can I do this without something like Software Serial? The reason I am asking is ...
Radmation's user avatar
  • 113
1 vote
1 answer
632 views

I'm using the code off of the sparkfun website HX711 hookup guide (https://learn.sparkfun.com/tutorials/load-cell-amplifier-hx711-breakout-hookup-guide#arduino-code) to attempt to create a scale. ...
user20637's user avatar
0 votes
2 answers
259 views

I am currently making a robot with Arduino Uno, D6T omron thermal sensor (i2c sensor) and some other sensors. My thermal sensor will always update the data in array form. It will display 4 data arrays ...
lim lagoon's user avatar
-1 votes
1 answer
1k views

import processing.serial.*; import java.io.*; Serial myPort; int mySwitch; String transmitter[] = new String[1280000]; //initialize array void setup(){ mySwitch=1; //Open the ...
Jonathan's user avatar
  • 264
2 votes
0 answers
164 views

I am trying to get data from D6T Omron thermal sensor. It works fine with both Arduino and Processing when I connect it to pc directly. However, it seems to always cannot read my last data in my data ...
lim lagoon's user avatar
2 votes
0 answers
322 views

So I have 7 different sensor I’d like to send to Processing, then use each of their values as variables inside different webcam filters. I’m going off of this tutorial which has been helpful, but it ...
jess_JS's user avatar
  • 21
0 votes
1 answer
170 views

I am trying to make a human detection robot using D6T omron thermal sensor. However, I am facing some problem here. My Arduino Uno didn't run the sketches until I open up my GUI in processing. The tx/...
lim lagoon's user avatar
1 vote
1 answer
2k views

I am currently busy with a project that requires me to use an Arduino and 3 potentiometers (to change background in RGB format) to write values through the serial port and read and separate them in ...
Dewan's user avatar
  • 43
0 votes
1 answer
1k views

I have successfully setup up a RFID reader with Arduino Uno and EM-18 Card Reader Module. Its program for Arduino is below: int count = 0; // count = 0 char input[12]; ...
CrownedEagle's user avatar
0 votes
1 answer
252 views

I am trying to use Processing with Arduino Uno board to read the change of voltage done by a potentiometer. The code is simple: import processing.serial.*; import cc.arduino.*; Serial myport; ...
Amin's user avatar
  • 113
3 votes
1 answer
1k views

I'm currently building a robotic arm. I'm using an Adafruit servo shield, 7 servos, Arduino uno, and a 5V 10A power supply. I found a program that controls the arm with mouse movement using a ...
Symphy's user avatar
  • 31
1 vote
1 answer
4k views

I am trying to plot a graph on processing but I'm having challenges going about it. The processing sketch below does work for plotting only one axis, and I'm trying to plot all three axis on the same ...
dada's user avatar
  • 127
1 vote
1 answer
698 views

I'm quite a newbie to this and I've been struggling for sometime now with my school project, trying to find a way to send accelerometer data from my MMA7361 in data packets, I understand that I have ...
dada's user avatar
  • 127
0 votes
1 answer
2k views

I am using pressure sensor with Arduino Uno within Processing. Given these variables: Serial myPort; //the serial port float sensorValue = 0; //the value form the sensor Arduino is ...
8-Bit Borges's user avatar
2 votes
1 answer
5k views

I have followed the instructions to run the Arduino processing examples but with no success. Always import processing.serial.*; does not name a type. Which is perhaps a library (processing-arduino) ...
ibrahim's user avatar
  • 21
1 vote
1 answer
1k views

I need to send data from a processing sketch to an Arduino to pass to a function that takes a uint32_t. How to I send the data in Processing to be run on the Arduino
Tim's user avatar
  • 11
1 vote
2 answers
2k views

So I am programming an LED Music Visualizer that uses a combination of Processing and Arduino. I have it all working as I want to but there is a small problem. If I were to stop the music, then the ...
woakley5's user avatar
  • 119