C
C
Cyril2017-01-30 23:24:55
Do it yourself
Cyril, 2017-01-30 23:24:55

What to use to store information and display graphs with raspberry pi?

There is such a type-TK:
1. A sensor connected to the RPi measures a certain parameter of the environment
2. The number of measurements per second is 100
3. The total duration of measurements is 10-12 hours
4. All this must be stored and displayed in in the form of a "live graph" and in the form of a history view.
Since I usually deal with microcontrollers, I had a number of stupid questions:
1. What is the best use for collecting? Python or C++?
2. How to keep all this beauty?
3. How to display? At first I thought highcharts, but at high speeds the madness starts ( jsfiddle.net/6Ls6yamj/) , then I looked in the rrdtool store, but that's not it either.
4. What framework or library to use for output? pyramid or lighttpd+cgicc
So I'm confused and asking for help from the community.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dponyatov, 2017-02-10
@dponyatov

store in a text file cat /dev/yourdevice >> /mnt/sdcard/data
output tail /mnt/sdcard/data | gnuplot

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question