PMM (Pico Mains Monitor)

Author Message

Joined: 05/03/2018
Location: Netherlands
Posts: 1055
Posted: 08:05am 23 Oct 2021      



png looks better, even at 100% quality of jpg

Pico, LCD and 6 components....
And a lot of math...

thanks Peter, especially for the ADC function.

The code runs 3 levels interrupts
top level: sampling (machine code, Peter does all that)
lower level: interrupt buffer full
lowest level: timer interrupt (refresh screen every second)

What I still have to do:
- implement RTC (I now enter date and time, but the pico time$ is not really accurate, need to add a DS3231).
- save events to SD card (complete ADC samples array, so you can actually analyze what went wrong, a single peak, or constant level, or outage).

Once I have a publish-able version (with comments) I will publish here.

Edited 2021-10-23 18:08 by Volhout