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
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.