change layout and circuit for AC detection and RTC
add all DC voltage detection