A C Detection Sensor - ThisSmartHouse/mobile-command GitHub Wiki
Plans call for multiple sensors to detect A/C power in the system:
- Are we plugged into shore power?
- Are we running on 50a or 30a Shore power?
- Are we running on Generator power?
- Are we running on Inverter Power?
For this sensor we borrow the design from the OpenEVSE project, which uses a MID400 optocoupler:
(See the section labeled "L1/L2 Sense")
Soon I will be designing a PCB that implements this circuit with an integrated ESP8266 powered off of 5V since we have so many of them we need.