Recently, when building a controller for my cooker, I decided to experiment with something simpler. Admittedly, I'm not keen on WiFi control, but I was curious to see how low the current consumption could currently be. The off-the-shelf solutions I tested ranged from 0.3W to 1W. So I bought some Zigbee modules, a couple of WiFi modules, a couple of different transformerless inverter ICs and bistable relays. A bit of coding and. a pleasant surprise. 0.1W in the first tests, and after a couple of changes to the software + enabling power saving less than 0.05W.... with WiFi... Eeeeee? It didn't stop there. By modifying the power supply a bit I managed to get down to around 30mW. I even assembled my own meter to confirm the results. I was expecting something in the region of 0.1W. 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. It is also possible to update 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 WiFi module ESPC2-02 from DOIT, 230v-->5v inverter BP2525D, 5v-->3.3v inverter M3406, bistable relay control GM8023B.
Schedule: 3e2333bd3
Building:
Dimensions: 44x44x22mm
Interior:
Current draw:
Measured with a plug-in meter and an average hourly measurement when powered from 5V.
Consumption measured with the control side running.
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