Raspberry Pi: Python live web graphs from sensor data
I have completed the main section of Python code, I need help with building a web interface that displays 2 live updating graphs (from the sensor data my program obtains), and 2 clocks (one is standard time, the other varies according to the sensor data).
THIS CAN BE A LOCALLY RUNNING WEB INTERFACE TO PROVE THE CONCEPT WORKS.
A push button could be used as the circuit will not be available, (as long as it is connected to the same pin as specified it works fine).
Some background on what the code I have already written does:
calculates the mains AC frequency and stores this as a variable.
Reads the time using the time module
Varies a ‘frequency clock’, if the frequency is higher than 50 Hz (I am in the UK), the clock runs fast and if lower than 50 Hz, runs slower.
I would like this to be written in python. Using modules such as matplotlib / plotly / django / flask etc is fine.
If it isn’t possible to update the webpage at 50Hz (I suspect it isn’t), calculating the average frequency for the last second and updating every second (gmtime) is fine.
PROJECT SPEC AND MY CODE IS ATTACHED
You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.
Latest completed orders:
# | topic title | discipline | academic level | pages | delivered |
---|---|---|---|---|---|
6
|
Writer's choice
|
Business
|
University
|
2
|
1 hour 32 min
|
7
|
Wise Approach to
|
Philosophy
|
College
|
2
|
2 hours 19 min
|
8
|
1980's and 1990
|
History
|
College
|
3
|
2 hours 20 min
|
9
|
pick the best topic
|
Finance
|
School
|
2
|
2 hours 27 min
|
10
|
finance for leisure
|
Finance
|
University
|
12
|
2 hours 36 min
|