Can you program micros ?
A V divider made from HV resistors (axial long body) or HV capacitors would
easily translate the AC to logic level, use diode/zener clamps to insure input
to processor stays within spec. Using sampling with processor validate input
is line frequency one way, or rectify and detect dc level another (although this
adds significant latency due to C filter needed on rectifier output).
Ohmite's industry-leading high voltage power resistors can regulate extremely high voltages and make them easily measurable and easy to handle. Get a quote today!
Display could be OLED. Could consider using Tuniot on ESP32 module with
OLED display to get count on web. Example of what it takes to create server/
client interface to WiFI, this is
block programming code. Tuniot converts your
block config to Arduino Code, and uses Arduino programmer utility to program
module. So you could have local count on module display as well as net interface
using IOT type server for interface to user, eg. phone or PC.....
Buy the best and latest esp32 oled on banggood.com offer the quality esp32 oled on sale with worldwide free shipping. | Shopping
View attachment 144828
Use the interrupt block in Tuniot to detect presence of AC on pin, to increment a counter on
first detection, and then idle until AC disappears (essentially resetting detection loop) .....
Tutorials :
Another example :
https://www.edaboard.com/threads/verizon-remote-hotspot-controller.400349/
Regards, Dana.