Graph Arduino Sensor Data with Java and JFreeChart

preview_player
Показать описание
Make a data logger with your Arduino! Using the built-in serial port of an Arduino, we are able to communicate with a Java program. In this demo, a simple graphical user interface is made to graph the level of light seen by a Cadmium Sulfide sensor. This program could easily be extended to send data from an Arduino to a web site. Check back for more videos on this topic.

This project's source code:

EDIT: Several of you asked about how to graph multiple sensors. I have a new video showing that, check it out here:

That video also shows how to do histograms, fourier transforms and more.
Рекомендации по теме
Комментарии
Автор

This is even more powerful than programming with Arduino and Processing.

Many thanks. There is a real shortage of Arduino <> Java tutorials. If you have more ideas please do them.

HitAndMissLab
Автор

This is more of a tutorial/reference video about making a UI with Java than anything else! Which is great!

JimmiJohnJunnior
Автор

You are my hero!

He had long months trying to get the data, but, with the help of your video I made it in few minutes.

Greetings from Mexico.

vacm
Автор

I just successfully completed my first Java project by following your excellent tutorial. Your graph program is exactly what I needed for my Arduino heart monitor. I'm a 75 year old retired hardware engineer with minimal software skills an no previous exposure to Java or eclipse, so I needed every single detail in your video. I would have been lost if you had left out a single word. Fortunately for me, you produced the most complete, detailed, and professionally presented youtube video I've ever seen. I also like the way you take the time to respond to the comments. Thank you for this superb tutorial.

itisonlyadream
Автор

This is the level of quality that all training videos should strive for. Thanks for the detailed tutorial, amazing work!

paveltrostianko
Автор

Good work! Saved me a lot of time having to read and sort through books in order to get a GUI up and running. BRAVO!

jeffreymelanson
Автор

Excellent video just what I needed to go from zero to having a running java app over the weekend. Thank for all your hard work.

hughclarkson
Автор

You are an excellent tutor for Java and Arduino. Excellent work !

khanqaiserster
Автор

Wow...I just gotta say, This Is A Fantastic Tutorial! Way "above and beyond". Keep up the great work.

devilshand
Автор

I am not used to comment videos, but this is so great, that I have to express it. Thank you very much, Your video helped me a lot and is really useful.

janjiratko
Автор

What a delightful tutorial! VERY detailed!! Thank you for the EASY and in-depth Step-by-step instruction!
GREAT JOB Sir!

doylemaleche
Автор

I couldn't help but comment how good this was/is. I also started thinking about when exceptions were caught. I might suggest incrementing x (as in x++) in the try/catch block, but if you do it in the finally() portion, you guarantee the value of x to increment-even though there may be an exception.

I suggest this because if you have a series of, or frequent exceptions, you might want to ensure your 'seconds' time series still represented reality. It would just have 'blank' spots where there was no data. This way you could accurately count back & know when you had disconnects/exceptions.

I've always avoided graphing in Java, so being an arduino hobbyist and a crack Java programmer, this was just what I needed to motivate me to use SWT!

pattrainor
Автор

You're a very good teacher. I've learned a lot from your video. I'll be returning back as long as I haven't done it all. Thanks, great video. Very clear.

Автор

Finally, after searching for hours I found this. Thanks! This will help us in our study. <3

melvsuy
Автор

Excellent tutorial! You made it comprehensive, easy to understand, anyone can follow it. Thanks!

caioporai
Автор

Excellent video. Very informative, clear, and thorough. Thanks for taking the time to create this video.

abdietabrizi
Автор

really thank you !!!
l just learn so much . i have done some projects with arduino lonely ! l have studied the java last term and now based on your vid l have more confidence to build communication project between PC and arduino ! l think it is pretty cool ! thx again

chenamee
Автор

Incredible video/tutorial ! Everything to the point from start to the end ! Thanks a lot sir ! Waiting for more java+arduino tutorials !

zachfotis
Автор

Really thanks for informative java video, I truly understand real job of class and thread here .

rz
Автор

Very informative. Thank you for taking the time to start from scratch and develop a useful application.

agwri
welcome to shbcf.ru