Need a sanity/safety check from you guys. I'm just getting into IoT and am looking at purchasing a bunch of Sonoff Basic WiFi Wireless Switches (link here) (ESP8266-based). They are all AC powered (90-250V). For simplicity of developing a common firmware platform (I'm going to be flashing the existing firmware with my own code), I want to be able to use them both where there are AC and in some cases, DC (battery only). My question is, for the latter case, can I simply remove/disconnect the traces for the AC portion of the power supply circuitry?
From the circuit diagram (link here), it would seem that I can simply disconnect the 5 and 8 contacts of the EE10 transformer (see section C,3 on page 2) and provide my own DC power. I can't tell from the pictures of the circuit board (link here) what the U2 voltage regulator (see section C,1 on page 2), needs, but I'm hoping to be able to provide either a 5V or 12V).
The controlled AC output will still seem to be available as the traces from the AC input seem to be unaffected by how the rest of the circuit is powered.
Before I blow myself up, can anyone see anything wrong with my approach?
(First time posting, so I didn't know whether to just provide the links to the files or upload; I opted for the former, but let me know if I need to upload the schematics pictures instead of linking them.)
From the circuit diagram (link here), it would seem that I can simply disconnect the 5 and 8 contacts of the EE10 transformer (see section C,3 on page 2) and provide my own DC power. I can't tell from the pictures of the circuit board (link here) what the U2 voltage regulator (see section C,1 on page 2), needs, but I'm hoping to be able to provide either a 5V or 12V).
The controlled AC output will still seem to be available as the traces from the AC input seem to be unaffected by how the rest of the circuit is powered.
Before I blow myself up, can anyone see anything wrong with my approach?
(First time posting, so I didn't know whether to just provide the links to the files or upload; I opted for the former, but let me know if I need to upload the schematics pictures instead of linking them.)