but [Mike] decided the best course of action would be to control line voltage with an Arduino. [Mike] started his build with a four socket wall housing he picked up at Home Depot for a few dollars.
A meter to measure the electrical parameters of devices connected to a USB socket or charger would be ... divider that has a range of up to 6V. An Arduino sketch reads voltage and current data ...