Gerber files are included so you can order these PCB at your favorite PCB fab house and solder the few components yourself. For an easy ordering process, you can directly order these PCB without having to do anything else:
Start by soldering all the SMD components, then proceed to WeMos header, IR LEDs and IR receiver. By default, the BOM indicates TSAL6400 LEDs but you can use any high-power IR LEDs to have different beam angle or power according to your needs. I personally use a mix of TSAL6400, TSAL6200 and TSAL6100. Some of the SMD 0805 capacitors are optional and could be skipped but I still recommended to solder all of them for optimal operation.
Tx and Rx LEDs are optional. Their only purpose is to indicate than an IR signal was either sent or received. If you do not wish to add these status LEDs you can also skip both 120Ω SMD 0805 resistors. By default, in the BOM Rx is green and Tx is yellow, but you can use different colors, update their corresponding current limiting resistor if needed.
For security reasons, you can add a CryptAuthEE SHA256 chip. This will allow you to sign messages and will secure communications between the gateway and other nodes (this is not encryption, just signing). If you decide to add the ATSHA204 chip you will need to add a 0.1µF SMD 0805 decoupling capacitor and 4.7kΩ SMD 0805 pull-up resistor. Signing can also be done at the software level, without the chip if you decide to add this function later. For complete reference see the detailed MySensors Security & Signing guide
The Infra-Red module is optional, if you already know your IR codes or plan to learn them separately you can omit it.
Because this module is based on ESP8266 you do not necessary need to install a radio module.
Example code implementing custom web server and MySensors support. You will (very probably) need to modify this code with your own IR codes and definitions. This program was created to allow me to control my Eufy RoboVac 11 robotic vacuum cleaner which unfortunately by default lack of any advanced scheduling options. By default, this vacuum cleaner will start its "auto" mode every day at the same hour, but can now be scheduled to operate only certain days, at different times, or even using different modes.
This program will set up a web server on your WeMos that you can access from any other device on your local network or by connecting directly to the ESP8266 hotspot (depending on WiFi settings) allowing you to trigger IR commands. Interface is optimized for access through a smartphone, allowing you to use it as a smart remote.
It will also create a MySensors node behaving like a selector switch. You can then program it to perform various actions through your controller.
Version 1.0: Initial release.
This project use the Kicad footprints and templates for WeMos D1 mini board library.
|Quantity||Reference||Value||Package||Manufacturer||Manufacturer P/N||Mouser P/N||Comment||Aliexpress or Ebay link|
|1||C1||4.7µF||SMD 0805||Murata||GRM21BR61C475KA88K||81-GRM21BR61C475KA8K||AliExpress: https://www.aliexpress.com/item//32561376020.htm...|
|1||C2||0.1µF||SMD 0805||Murata||GRM21R71C104JA01D||81-GRM21R71C104JA01D||AliExpress: https://www.aliexpress.com/item//32560085454.htm...|
|2||C3,C4||10µF||SMD 0805||Murata||GRM21BR6YA106KE43L||81-GRM21BR6YA106KE3L||AliExpress: https://www.aliexpress.com/item//32560458041.htm...|
|1||R1||4.7k||SMD 0805||Bourns||CR0805-JW-472ELF||652-CR0805-JW-472ELF||AliExpress: https://www.aliexpress.com/item//32570155447.htm...|
|1||R2||56k||SMD 0805||Bourns||CR0805-JW-563ELF||652-CR0805JW-563ELF||AliExpress: https://www.aliexpress.com/item//32570183133.htm...|
|1||U1||NRF24L01||NRF24L01-SMD||Radio module||NRF24L01+ SMD||U1 or U2||AliExpress: https://www.aliexpress.com/item//32430542898.htm...|
|1||U2||ATSHA||SOT-23-3||Atmel||ATSHA204A-STUCZ-T||566-ATSHA204ASTUCZ-T||Optional, for signing|
|1||U3||RFM69W||RFM69(H)W-SMD||Radio module||RFM69(H)W SMD||U1 or U2||AliExpress: https://www.aliexpress.com/item//32707574282.htm...|
|1||U4||WeMos_mini||WeMos D1 mini Pin Header||WeMos||D1 mini pro||AliExpress: https://www.aliexpress.com/item//32724692514.htm...|
|1||U5||TSOP4838||Through Hole||Vishay Semiconductors||TSOP4838||782-TSOP4838||AliExpress: https://www.aliexpress.com/item//32634580343.htm...|
|1||Q1||FDV303N||SOT-23-3||Fairchild Semiconductor||FDV303N||512-FDV303N||AliExpress: https://www.aliexpress.com/item//32551535591.htm...|
|7||D1-D7||LED||Through Hole||Vishay Semiconductors||TSAL6400||782-TSAL6400||AliExpress: https://www.aliexpress.com/item//32766698010.htm...|
|1||P1||ANT||Through Hole||RFM69 antenna||Various frequencies|
|1||D8||Tx||SMD 0805||OSRAM Opto Semiconductors||LG R971-KN-1||720-LGR971-KN-1||Green||AliExpress: 5 Colors 100PCS 0805 SMD LED Kit White Red Yello...|
|1||D9||Rx||SMD 0805||OSRAM Opto Semiconductors||LY R976-PS-36||720-LYR976-PS-36||Yellow||AliExpress: 5 Colors 100PCS 0805 SMD LED Kit White Red Yello...|
|rev1||6 years ago||2||50 × 50|