
[Low power | Rechargeable] ESP8266 Wireless Switch
PRO[Low power | Rechargeable] ESP8266 Wireless Switch
License
:GPL 3.0
Description
The ESP-12E or ESP-12F master controller is used to transmit signals via the ESP-NOW protocol.
Press the button to wake up the ESP8266, send a signal and re-enter the sleep state, the current during the transmission signal is about 100mA, and the sleep current is about 22uA.
(The above data allows me to use the IotPower power supply of Luat)
The shell is divided into three parts: the bottom shell, the middle frame and the button. Just buckle them up in turn, and use the repulsion of four 10*2mm magnets to bounce up the four buttons.
Power consumption after entering deep sleep↑
Current consumption of data sent once↑
The ESP8266 data sheet indicates that the deep sleep power consumption is 20uA, and I actually measured a total power consumption of 22uA, indicating that the data I measured is relatively accurate.
If the data fails to be sent, it will be resent every 200 ms, and it will go to sleep after the data is successfully sent or failed to be resent 5 times
The receiving device I am testing here is the curtain motor I am working on (engineering link: [Mijia] curtain motor - Jialichuang EDA open source hardware platform (oshwhub.com))
After the address of the receiving device is correct, the program can be compiled and uploaded to the wireless switch.
Since ESPNOW communication can be many-to-many, we can write the addresses of multiple receivers in the wireless switch, and we can control multiple ESP8266 devices.
And because this switch is only set with two buttons, three operations can be achieved (only press button 1, only press button 2, and press two buttons at the same time), so the controlled equipment can have three.
As shown in the figure, fill in the number of the receiving device and the data to be sent in the corresponding operation, and you can send information to multiple devices to realize the control of multiple devices.
September 15: Increased control over multiple devices.
Designed by 小O和小Q (from OSHWHub)
Design Drawing


Comment