Using Processing with Arduino for Serial Data Plotting

preview_player
Показать описание
Processing has been around for almost two decades and has led to inspire development environments such as Arduino and Fritzing, making it easier for people to become makers.

I wanted to finally learn about Processing so I could use it as a computer hosted interface to capture data and present it more elegantly, log it to a file, or even do more advanced data processing than I might consider in silicon.

This is my first attempt at trying to get something up and running as my learning process begins...

Processing and Arduino Sketch:

Sketch References:

Рекомендации по теме
Комментарии
Автор

This video just saved me a ton of time. I was using a code example from 2012 and just could make it work. I cut all the lines out of the Void SerialEvent section and pasted them into the void draw and the code worked like a charm. Thanks!

kevinm.
Автор

Good info for newbies about arduino and processing. Thx.

digihz_data
Автор

Amazing video, save me a lot of time. I've wondering to make a simple 2 channel oscilloscope and GUI, and I ready to buld it

stevenarisnugroho
Автор

I managed to get some codes working by reading them carefully, one i fixed by adding a class called graph and copying the graph code(there are 2 codes for a single processing program)

bomxacalaka
Автор

Fun fact arduino IDE was actually based on processing

MahBor
Автор

Did they ever fix these issues or should you avoid any code from before processing 3?

nico.jovisst
Автор

It sux when updated software breaks old stuff. Besides the lack of manpower, they're having that problem trying to fix Fritzing.

SidneyCritic
Автор

I am running my code in enrgia and having 'import' does not name a type error?

sanjeevkumarsingh
Автор

I've created a working prototype recycling pet bottles into 3d filament, I'm trying to make it as Cheaply as possible for anyone to replicate at home.
I want to monitor the tempreture and usually do it with an android serial app but it's ugly with the rolling text ect and I don't know how to code.
I'd love a way to be able to see a dial on my android and not have to be around a pc....
ANY recommendations? Anyone...

hulkgqnissanpatrol
Автор

how numeric value can be send to arduino from processing sketch

minahilashraf
Автор

Any thoughts how fast the serial data can come in such that it plots without crashing and/or losing serial data?

For example, not sure how it compares but I tried matplotlib/pyqtgraph to plot real-time, but after just a few hundred samples, the GUI starts getting sluggish! Not sure if I need to use multiprocessing/QThread.. or if Processing may better suited for this?

bennguyen
Автор

How to display text / data in this graphics?

muhammadimamrafi
visit shbcf.ru