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

learn more… | top users | synonyms (1)

1
vote
0answers
27 views

Arduino Uno to Processing, using Serial

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 ...
0
votes
0answers
17 views

Multiple signals requires multiple filters? [migrated]

So, this might seem rather basic, but I'm going to pose it in the hope that I can save some work. So, I have a series of electrodes that are sensitive to voltage fluctuations, but, before I pass the ...
0
votes
1answer
19 views

Arduino sketch won't run until I open up GUI in processing

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 ...
0
votes
1answer
25 views

Writing and reading multiple values through serial

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 ...
0
votes
1answer
55 views

Read RFID Card Number in Processing over Serial

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]; ...
1
vote
1answer
104 views

Controlling an arduino by html/php

Hello I am controlling a arduino through html/php using processing basically what it does is it has a txt file in the web server that holds the value for the state of a led that gets changed through ...
0
votes
1answer
48 views

Problem with analog pins' name when trying to connect Arduino board and Processing

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; ...
0
votes
1answer
64 views

Communication from Arduino to Processing via Serial

I'm trying to send data from Arduino to Processing via serial but Processing isn't receiving the data. I use the write() method to send data from Processing to Arduino and in Arduino I have this ...
3
votes
1answer
160 views

Need help converting a processing sketch for a robot arm with servo shield

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 ...
1
vote
1answer
199 views

Graph plotting on Processing from Arduino sensor data

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 ...
1
vote
1answer
103 views

pushing accelerometer data in packets from an arduino due to the pc and unto processing

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 ...
0
votes
1answer
77 views

Processing printing sensor readings and raising NaN exception at the same time

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 ...
0
votes
0answers
43 views

Arduino Processing client fails to upload file to PHP server

Background I want pressure sensors (they are working) to trigger the built-in camera and take a picture when cat goes to bed, upload the pic and email me so I can go check out the real-time image on ...
1
vote
1answer
222 views

Processing error with processing-arduino examples

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) ...
0
votes
1answer
60 views

Sending data from Processing and receiving as uint32_t

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
1
vote
2answers
200 views

Arduino Serial Queue

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 ...
0
votes
3answers
77 views

Sending serial data to Processing

I have a question about using the Arduino and Processing. I want to build a touch sensor using aluminum foil and connect it to an interface built in Processing. However i've come across a problem. I ...
2
votes
1answer
333 views

How to convert a String number Into a int value?

I want to convert a string into a int value. in my real code, I receive a string "Slider 255" the number after slider changes from 0 to 255, so I want a int value to be equal to that number. This is a ...
1
vote
2answers
416 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
vote
1answer
127 views

General Question about fast Serial Communication and Arduino

I'm looking for a fast (and safe, in terms of stability) way to send sensor data from an Arduino UnoR3 in real time to a Computer (in my case a MacBook Pro) with a sample rate of at least 1kHz. I ...
-1
votes
1answer
91 views

How to prevent file overwriting in processing?

i am working on this arduino project using processing. There are some sensor values which should be logged, but unfortunately my processing code rewrites the file after each cycle so that i get the ...
1
vote
0answers
333 views

Saving Arduino output to a text file in append mode

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, ...
1
vote
0answers
112 views

Talking between Arduino and PC (Java) [closed]

I have to realize a communication between Arduino Leonardo and a demon which runs on a pc. The demon has to tell Arduino informations about the operative system of the machine to which it is ...