Questions tagged [processing-lang]
A programming language and an IDE based on Java, but with simplified syntax and graphics programming model.
56 questions
1
vote
1
answer
414
views
Can’t send string from arduino to processing via hc05
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 ...
1
vote
1
answer
415
views
How to find the time of any point on the graph on an Arduino serial plotter or Processing software?
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 ...
2
votes
0
answers
361
views
Arduino filling serial buffer with nulls
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 ...
1
vote
2
answers
856
views
Serial connection between Processing and Arduino doesn't work
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 ...
1
vote
1
answer
322
views
Arduino and Processing Call and response not working
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 ...
2
votes
0
answers
302
views
HC-05 bluetooth module stops working when blinking
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 ...
1
vote
3
answers
4k
views
Send information (such as a string) over digital pins
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 ...
1
vote
1
answer
680
views
Sending mouseX and mouseY from Processing to Arduino
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 ...
-1
votes
1
answer
1k
views
Need a simple accelerometer visualization example!
I'm doing a project using the ADXL335 accelerometer from SparkFun. The actual project I'm using P5 and it's working great. I'm running workshops in parallel and want to demo the chip in real-time but ...
-1
votes
1
answer
46
views
How do I make my Arduino do a specific action when the computer is locked/unlocked?
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 ...
4
votes
1
answer
2k
views
Saving Arduino output to a text file in append mode [closed]
I used the code below to save output from an Arduino Uno to a text file.
The problem is whenever I run the code the old data in the text file is deleted.
I don't want the old data to be deleted, ...
2
votes
2
answers
1k
views
Interface with mux-controlled LED rope
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 ...
1
vote
1
answer
984
views
Why does reading an analog pin give a different results when interfacing with Processing?
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....
3
votes
2
answers
1k
views
Press on pressure sensor, then wait 5 seconds, turn on LED
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 ...
0
votes
2
answers
2k
views
Send Color value from Processing into Arduino
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....