Arduino - Processing: serial data

preview_player
Показать описание
Some of our most popular programs are now available over on the website:

Commonly requested so thought I would put together something that gets you started with a robust serial capture in processing.

On the road - so didn't have my usual microphone setup.
Рекомендации по теме
Комментарии
Автор

So simple but it opens up a whole range of possibilities - thanks

geoffmarriott
Автор

I’m a newbie to programming on the Arduino, and even greener on Processing language (just learned about the program a few days ago). Anyway, I was perplexed that I couldn’t get Arduino and Processing to talk to each other over the serial port. Went to forums, websites, etc... (nothing worked)! But your excellent tutorial was the answer!! I was able to reproduce what you did, then carry the critical portions of the code you demonstrated, to my program (PhysicalPixel), that I was working on... and Eureka!! Thanks so much!!!!

tenapier
Автор

I have just been using processing for a few hours but now I can read serial data and visualise acc and other data from the micro:bit in real time. I´m using the radio feature on the micro:bit, really simple and you can read off any other microbit with radio send feature enabled. Great help thanks for sharing!

swishpan
Автор

Man u have no ideia how much this helped my, i was losing my mind on this. Thanks a lot!!

fabiomarques
Автор

Very helpful video. May I suggest making your font larger on future videos. Barely readable on my iPad. Thanks for the great info.

jameselliott
Автор

This is such a useful tutorial, thank you so much.

burakcan
Автор

what if I have more than one variable, e.g. variable2, variable3, how do you separate them into individual variables at the processing end so you can have 3 bars being drawn simultaneously.

bomxacalaka
Автор

If I want to send and receive data between Arduino and unity.
Should I use the same kinda code on both side? In the Arduino and in unity.

Lennings
Автор

While trying to do serial communication it is showing could not load jssc library. (I am using MacOS). any solution ?

pradipta
Автор

When communicating with Arduino from Processing, can I use the same conversion method wich was used in the video in Processing (myVal = float(myString); ) from string to int or float for numbers between 0 and 100?

raymi
Автор

Really appreciated the explanation!! Cheers

profesorjan
Автор

Hi, I'm using an Arduino Mega 2560 and almost everything works fine, it doesn't show me any error, but the value of my variable in processing it doesn't change, and on my Arduino it appears no data on the window that open once you click on the "zoom" icon. I'm totally a newbie on Arduino but I understand Processing

mateodemicheli
Автор

Why don't you full screen the IDE so we can see what you do?

jcjensenllc
Автор

that float(myport) instruction is what im after i think. thanks for posting

joesmith
Автор

gracias genio.. me tenía loco este tema. una explicación perfecta
Saludos
Gabriel

dinastia
Автор

good work thank u
what about sending data of 2 or more variables (sensors data) ?

khalidMohsin
Автор

This is super close to doing something I need to do for a project im so excited to find it, but... there's a few things im not clear on (I am a total noob) . 1: where is this "processing" window coming from? Is it part of the arduino ide or what?
2. Can someone walk me thru the "this" and "new" commands talked about at 5 min? I can't find any reference material.

Please help! Thx!

patrickhalseth
Автор

GREAT VIDEO MY FRIEND YOU HELP ME A LOT

rato
Автор

My arduino port in linx is /dev/tty/USB0 how do I get that to work? thanks

truthseeker
Автор

how to send multiple pieces of data through the serial port to processing? Help

esersazli