Recently, when building a controller for my cooker, I decided to experiment with something simpler. Admittedly, I'm not keen on Wi-Fi control, but I was curious to see how low the current consumption could currently be. In the off-the-shelf solutions I tested, the consumption ranged from 0.3 W to 1 W. So I bought some Zigbee modules, a couple of Wi-Fi modules, a couple of different transformerless inverter ICs and bistable relays. A bit of coding and. A pleasant surprise. 0.1 W in the first tests, and after a couple of changes in the software + enabling power saving less than 0.05 W.... With WiFi... Eeeeee? It didn't stop there. By modifying the power supply slightly, I managed to get down to around 30 mW. I even assembled my own meter to confirm the results. I was expecting something in the region of 0.1 W. I decided not to use the Zigbee version.
I wrote the softwares using ESP-IDF 5.5, without any bytes, apps or clouds. Control from a browser on/off + simple configuration. There is also the possibility of updating the FW.
To make things less rosy, the whole thing took a while. I am completely unfamiliar with web development, some 90% of my programming time was taken up with it.
There was also a bug that was causing all sorts of things to happen, I got stuck until I found it. Reset! Apparently the capacitor + resistor in the module wasn't enough and ESP was able to crash at odd times. I connected a reset to the GPIO and set it to high after startup, helped.
Used Wi-Fi module ESPC2-02 from DOIT, 230 V-->5 V inverter BP2525D, 5 V-->3.3 V inverter M3406, bistable relay control GM8023B.
Schedule:
Building: Building:
Dimensions: 44x44x22 mm
Current consumption:
Measured with a plug-in meter and an average hourly measurement when powered from 5 V.
Consumption measured with the control side running.
Control: Control:
WiFi Configuration:
Updating FW:
You can either press and select the file, or drag the file onto the button.
Info:
Various helpful information.
Commercial use prohibited.
Cool? Ranking DIY