GPU-Accelerated Arduino Data Logging and Telemetry

preview_player
Показать описание
In this video I share an easy to use program for visualizing data received from an Arduino or any other microcontroller or FPGA. This is an update to the program I released a couple months ago. The video starts off with two demos: an STM32-based balancing robot with accelerometer/gyro/magnetometer readings, and an Arduino Uno with potentiometer/light sensor/thermistor readings. After the demos I cover how to write the Arduino sketch, then go into detail about how to use the program, and finally cover how the source code is laid out in case you want to modify it.

The data can be visualized as: line charts (time domain), line charts (frequency domain), histograms, and as simple dials/gauges. The Dial visualization also shows some basic statistics: min, max, mean, and standard deviation.

If you saw the earlier video, here's a summary of changes in this new version:
- Ported to OpenGL (so it's faster and GPU-accelerated)
- Rewrote all charts (no longer using JFreeChart)
- Can rewind/fast-forward by using your scroll wheel.
- Can zoom in and out by using your scroll wheel while holding Ctrl.
- Can change display scaling (font sizes and line thickness) by using your scroll wheel while holding Shift.
- Individual charts can now be removed by click their "X" icon at the top-right corner.
- Axis autoscaling is smoother.

Download the program and source code here:

This video is part of a series showing how to build a balancing robot:

Part 1: Modify RC Servos for Continuous Rotation and External H-Bridge Control

Part 2: Building a Robot Chassis with Brass Square Tube, a Dremel, and Solder

Part 3: First Steps with a GY-86 10DOF Sensor: MPU6050, HMC5883L and MS5611

Part 4: 6DOF & 9DOF Sensor Fusion with Madgwick's Filter, MPU6050, HMC5883L (GY-86 Module)

Part 5: How to Use CC2500 PA LNA 2.4GHz Wireless RF Modules

Part 6: [THIS VIDEO] GPU-Accelerated Data Logging and Telemetry

Part 7: How to Tune PID Control Loops Visually
Рекомендации по теме
Комментарии
Автор

This is so fantastic! I have been looking for something like this and lack the ability to code my own program. I appreciate all the work you put in and sharing it with everyone!

consciousenergies
Автор

Thank you sir!! This is how to begin innovation - integrated devices that when coupled together and programmed does fantastic jobs like a car that parks itself, drone (postal delivery, food delivery....). Thanks again.

hoatolagbe
Автор

WOW. Very fine and impressive work. Thank you so much for sharing even though I cannot thank you enough, Sir.

musafi
Автор

this is great, thank you for creating this software and thank you for spending the time to thoroughly explain it. this is exactly what i needed

RHBTurbochargers
Автор

This is the best find yet! You deserve a lot more subscribers. I subed and will be trying to use your work to make some DIY race car telemetry.
Best Matt

centurialinc
Автор

This is the most powerful program in open source i have seen !

nali
Автор

Thank you for saving so many people so much work - this is a work of art!!!

barryfitzsimmons
Автор

A feature request, a "serial monitor" chart type. Maybe define a special leading character that TelemViewer interprets as 'send to the serial monitor chart as text'. This way I can send debug messages in-between the CSV data stream lines. Also if strings can be sent back to the Arduino it would enable a lot of possibilities. Thanks, Steve

ConductiveLabs
Автор

What a great job you have done!. Thank you for sharing.

Avionics
Автор

Mate you're most Lit code elaborator i've come across my entire exposure to this domain. What a software . Loved it mate . Just one thing if you can tell the solution to !?
(video timestamp : 37:50)
How can we get the calibrated values of the data extracted from the sensor say temperature, humidity as of their own SI unit values (degree, g/kg3) rather than the raw arduino values ?

maaz
Автор

Thanks a lot for sharing the code!!! Great job.

discolapy
Автор

Great project, thank you so much for sharing your work, very helpful !

myroniv
Автор

The best data visualizer i have ever seen. Sir, I have used your great creation. I am facing a problem. I am not able to export the .csv data. I am using windows10. I have no idea, about where am I going wrong. Please help me getting out from this. Do i need to install anything else along with it so that I can export the data from it?

desidavinci
Автор

Hi! First off, this is just AMAZING! Perfecly done and so well explained. Thank you so much.

I'm currenlty working on a more efficient controller for heating resistances and ventilators and I need to log my set point and actual temperature. The problem is : Whenever I declare these values as doubles or float your logger displays weird values like instead of 20°C it shows 15000 or smth. I have to declare them as Integers otherwise it won't work

Do you know how can I correct this?

Thanks again!

patrickhochleitner
Автор

All related videos are great ! I never expected to be capable of stepping into Java programming so easy. Thank you very much for such clean and effective work. I would like to upload such a graph into my own hosted webpage. Could you help ? Thanks again

frasenci
Автор

Hi, Thank you for posting this tutorial. I'm a newbie to programming but this is perfect for what I'm wanting to do with temperature & voltage monitoring with the Arduino inputs and data logging. I may have missed it on the Video but is there any way of fixing the scale limits on the charts instead of auto scaling. Also is there a feature that is already available or could be added to set alarm values and possible colour change of the dial chart for example, if a reading went above a predefined threshold. Many thanks Darren.

TheRealBigDofficial
Автор

I know this is a year old but is there any way to have the time instead of the sample count? So i imagine there would be a division number in the bottom right corner saying something like "1µs/div" or something.

officialdjnoel
Автор

Wow... ! just WoW.. thanks im going to test this.

JimCoupeTQ
Автор

Hey!! Your project is very impressive! I'm trying to re-create the application using LORA as the main source of data streaming! I just wanna know what technologies/ tech-stack did you use for the project! Thanks in advance.

wikipediabutter
Автор

Fantastic program.
could you add a way to send serial back to the arduino
thanks

martyn
join shbcf.ru