Quantcast
Channel: Arduino - Processing 2.x and 3.x Forum
Browsing all 747 articles
Browse latest View live

Automatic connection to device with new Serial Library?

Hello, wondering if it is possible to read any of the lower-level USB device information from a USB serial device with Processing? For example, hardware ID's (VID, PID) or 'Bus reported device...

View Article


How do I split an incoming 6 value string into separate variables?

Hey there, This is my first Processing project. So far it's going well, but I'm stuck with the string splitting bit. OK, so ive programmed the arduino, and its connected to sensors giving correct...

View Article


Reading multiple values in processing > Help needed!

Hello, For a school project i’m making an interactive installation where you can make a digital ball go higher with a sensor. I’m trying to make this work with processing and Arduino. Several things...

View Article

How to get around "port busy" error

Hello all, I am working on a project in which I am using an Arduino attached to an XBee to send data to an XBee that is attached to my computer. I am then trying to use processing to intercept the data...

View Article

PLEASE DELETE

PLEASE DELETE

View Article


correct value is not sent to arduino from processing for servo -where is the...

I am trying to control servo by sending values from processing to arduino but whatever value i send within 0 to 180 degree it rotates only 90 degree,after first time 90 degree rotation it stood...

View Article

Can any one please explain this code line by line as i am new to processing...

This is the code for the ECG graph display using Arduino and AD8232 heart rate sensor. import processing.serial.*; Serial myPort; // The serial port int xPos = 1; // horizontal position of the graph...

View Article

APC INDEX MISMATCH

Hello, First time user and forum visitor of processing, so hello and apologies in advance if I should be asking this in another section. So I'm trying to build this 3D scanner:...

View Article


Send two vectors from Processing to Arduino

Hi, i have a big problem.. I'm trying to send two int vectors from Processing to Arduino but when i run processing and also arduino, it says that the Serial Port is busy. I first tried for one vector...

View Article


Colliding a ball into a target

I want to create a programme that shoots a ball into a target, which will then turn on an LED. I think it is something to do with the float dis as nothing is printed in the debug window. Thanks...

View Article

Reading multiple serial inputs

Hello, For a project I have an Arduino sending 5 different values. The values are between 0 and 100 and if they go over 50, I want a boolean to become true. The Arduino is sending data over the serial...

View Article

Serial Message Chopped

Hi All, I am using the default SimpleSerialRead example. I verified the serial is working on Arduino Monitor/ Putty and set the baud rate to 250000. I am only getting 2-digit numbers by println() to...

View Article

Serial Communication.

Hello, the following Code: void serialEvent(Serial p) { message = myPort.readStringUntil(124); if (message != null) { int messageLength = message.length(); message = message.substring(0, messageLength...

View Article


Image may be NSFW.
Clik here to view.

CharAt command does not exist

Hi everybody, I need help, the command charAt() does not work because does not exist. How can I fix It? PLZ i need help.

View Article

could someone pls give me a simple code so I can complete this assignment....

task: Create your own Enbedded system: a working device with a specific purpose and function. The source code for the device will be submitted, with a completet description of the function and how to...

View Article


how to create multiple window with processing?

i am trying to make a GUI for the bluetooth controlled bot. the bluetooth controlled bot will send back the feedback from the motor encoder of the shaft count to the processing ide. and with the data...

View Article

very basic/stupid serial question (i hope)

when using serial.write(byte[]) is the whole array sent out ? for example lets say I have out_byteBuffer[128] and sometimes I'm only storing two of bytes to the buffer and then I go...

View Article


Trying to simulate Paint app in processing, question about drawing effect

Hi guys, im trying to accomplish something in my code and i dont even have an idea how to do it, so ill try to explain it best as i can: I wanna be able to draw in processing, basically what i wanna do...

View Article

Image may be NSFW.
Clik here to view.

real time graph plotting using processing

i have to plot a graph in processing by the feedback from encoder motors of the bot. so i have two variables basically left motor encoder and right motor encoder. i planned to vary on in x-axis and...

View Article

Trying to simulate Paint app in processing, question about drawing effect

Hi guys, im trying to accomplish something in my code and i dont even have an idea how to do it, so ill try to explain it best as i can: I wanna be able to draw in processing, basically what i wanna do...

View Article
Browsing all 747 articles
Browse latest View live


Latest Images