Hi everybody! Just joined, pretty clueless, electrically illiterate, but working on a volunteer project in a developing country that would greatly benefit from your wisdom and a good solution.
Here's the goal: We need to create a small system for measuring and recording power supply, which frequently fluctuates/surges due to lightning strikes, poor infrastructure, demand on the wider electrical system, etc. I was wondering if this would be possible with a raspberry pi-based system. What I was envisioning is to have a voltmeter plugged into the wall running to a raspberry pi (could be battery powered so it can survive potential surges) that either a) collects voltage readings at a set interval of 10s for example or b) only records readings when power supply deviates from a specified range. These readings are logged (format isn't important, it could just write a long string of comma-separated values or something) and, in a perfect world, emailed to a central account at specified times.
My questions for you: Is this remotely possible? How much equipment is needed? Rough cost?
If you can't tell already, I have no idea what I'm talking about, so any help you have to offer would be greatly appreciated!