check in
Completed

[Low power | Rechargeable] ESP8266 Wireless Switch

PRO[Low power | Rechargeable] ESP8266 Wireless Switch

tag

176
0
0
0
Mode:Full

License

GPL 3.0

Creation time:2024-09-25 07:50:17Update time:2024-09-25 10:13:29

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.Imo3JlXRPdr6s0N9kWKN1sWiHOAddehZdPjkhTVO.jpeg

 

fUgVZ4osZsW8VCMjXLJKkXZSVRKKThTTkMFqxddq.jpeg

 

J87WnZ47UXLRsCrw4n5SLDcCy4gCumZWnAV91Z6v.jpeg

Power consumption after entering deep sleep↑

Q08Im8JDMmWD6eLt8bfauwTShMwLHp4xDriVOcdp.png

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

cWpOQPJwLmpOrQhGqEMvLzeY1P8zRfnupYI1tlF9.png

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.

Ha7IkYhgBTeHbGQeJdR6cg2t8hBSURISzrzYWHmR.png

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.

yVyULC2LkrLN2IUFaAn0TGps01MjRvmqhvKO80pG.png

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)

Link:https://oshwhub.com/littleoandlittleq/wu-xian-kai-guan

Design Drawing

Download File
The preview image was not generated, please save it again in the editor.

Attachments

OrderFile nameDownload times
1
WirelessSwitch.ino
484
2
Wireless Switch - Button - Right.STL
243
3
WIRELESS SWITCH - BUTTON - LEFT.STL
204
4
Wireless switch - bottom cover.STL
223
5
Wireless switch - middle frame.STL
211
6
WirelessSwitch-9.15.ino
406
Add to Album
0
0
Share
Report

Comment

All Comments(1)
Sort by time|Sort by popularity
Followers0|Likes0
Related projects
Empty

Bottom Navigation