Hi to all, I haven't been here in a long time, I have a busy life...
I have this project in mind... actually it is not in mind anymore, it is near completed;
I have a generator that is connected to a breaker in the mains electrical panel with an interlock which prevents the generator breaker from being ON at the same time as the main breaker.
So on a typical bad day I get a power failure, I switch the mains breaker OFF, move the interlock and turn the generator breaker ON and start the gen which restores the power for some of the house.
The problem is, when the mains power comes back I am not aware of it, specially if it happens during the day.
I have programmed an ESP8266 to trigger an email when a gpio sense the voltage near the mains' breaker.
The part where I am unsure is the AC detection circuit, This common circuit is popular but I have seen 2 versions of it and I am wondering if one is better than the other.
I know what a resistor is but what is the difference between those circuits, more specifically the resistors on the Darlington pair?