Simple MySensors WeMos Mini gateway shield with support for 3 radio modules: SMD NRF24L01+, SMD PA+LNA NRF24L01+ or SMD RFM69HW.
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:
Simply solder your favorite radio module to the corresponding trace and a 4.7 to 47µF SMD 0805 capacitor on the top side of the PCB. It is also recommended to solder the 0.1µF and 10µF SMD 0805 capacitors but not required unless you add some of the optional components.
Radio module layout:
You should not need to add this, but if you are using an amplified radio module (such as a PA+LNA NRF24L01+) you may experience Tx errors. If the WeMos power regulator do not provide enough current for your radio you can add an additional AMS117 regulator between the 5V and 3.3V circuits and a 10µF SMD 0805 capacitor between 3.3V and GND.
For security reason 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. Currently ESP8266 MySensors gateway do not seem to support hardware encryption but it may work in a later release or if used as a node or repeater. For complete reference see the detailled MySensors Security & Signing guide
If you have a compatible controller you can add an inclusion mode button.
Plug the shield on top of your WeMos Mini. Do not forget to edit the various options of the Arduino example code before uploading it.
Included programs
Adapted from MySensors Security & Signing SecurityPersonalizer sketch with pin assigned for this shield.
Gateway sketch exemple (NRF24L01, ESP8266 OTA and inclusion mode enabled)
Shields are stackable and additional ones can be added on top / below the WeMos to introduce new functions / sensors to your gateway. As a note, keep in mind that an ESP8266 tends to be warm while in use, a temperature probe won't be accurate if too close. For best radio performances it is recommended to have the radio shield on the topmost position.
Only a few pins are left to be used, depending on your configuration and the additional components added on the board:
Version 1.0: Initial release.
This project use the Kicad footrpints and templates for wemos D1 mini board library.
Quantity | Reference | Value | Package | Manufacturer | Manufacturer P/N | Mouser P/N | Comment | Aliexpress or Ebay link |
---|---|---|---|---|---|---|---|---|
2 | P1, P2 | CONN_01X08 | WeMos D1 mini Pin Header | WeMos | D1 mini pro | https://www.aliexpress.com/item//32724692514.html | ||
1 | P3 | ANT | Antenna connector | |||||
1 | U1 | NRF24L01_PA+LNA | NRF24L01-SMD PA+LNA radio module | U1 or U3 or U5 | https://www.aliexpress.com/item//32367250849.html | |||
1 | U2 | AMS1117 | SOT-223 | Texas Instruments | LM1117MP-3.3/NOPB | 926-LM1117MP-3.3NOPB | https://www.aliexpress.com/item//32351569056.html | |
1 | U3 | NRF24L01 | NRF24L01-SMD radio module | U1 or U3 or U5 | ||||
1 | U4 | ATSHA | SOT-23 | Atmel | ATSHA204A-STUCZ-T | 566-ATSHA204ASTUCZ-T | Optional, for signing | |
1 | U5 | RFM69HW | RFM69HW-SMD | U1 or U3 or U5 | https://www.aliexpress.com/item//32707574282.html | |||
1 | R1 | 4.7k | SMD 0805 | Bourns | CR0805-JW-472ELF | 652-CR0805-JW-472ELF | https://www.aliexpress.com/item//32570155447.html | |
1 | C1 | 4.7µF | SMD 0805 | Murata | GRM21BR61C475KA88K | 81-GRM21BR61C475KA8K | https://www.aliexpress.com/item//32561376020.html | |
1 | C2 | 10µF | SMD 0805 | Murata | GRM21BR6YA106KE43L | 81-GRM21BR6YA106KE3L | https://www.aliexpress.com/item//32560458041.html | |
1 | C3 | 0.1µF | SMD 0805 | Murata | GRM21R71C104JA01D | 81-GRM21R71C104JA01D | https://www.aliexpress.com/item//32560085454.html | |
1 | SW1 | Inclusion_switch | Tactile Switches 6X6 Flat | Omron Electronics | B3F-1000 | 653-B3F-1000 | https://www.aliexpress.com/item//32696256274.html |
Name | Size | # Downloads |
---|---|---|
MySWeMosGWShield-B.Cu.gbr | 27.13 kB | 620 |
MySWeMosGWShield-B.Mask.gbr | 1.87 kB | 669 |
MySWeMosGWShield-B.SilkS.gbr | 9.93 kB | 688 |
MySWeMosGWShield-Edge.Cuts.gbr | 1.57 kB | 674 |
MySWeMosGWShield-Edge.Cuts.gko | 1.57 kB | 637 |
MySWeMosGWShield-F.Cu.gbr | 24.35 kB | 677 |
MySWeMosGWShield-F.Mask.gbr | 1.42 kB | 650 |
MySWeMosGWShield-F.SilkS.gbr | 29.47 kB | 645 |
MySWeMosGWShield.drl | 627 B | 610 |
MySWeMosGWShield.pdf | 82.35 kB | 462 |
Name | Size | # Downloads |
---|---|---|
MySWeMosGWShield_SecurityPersonalizer.ino | 39.6 kB | 662 |
MySWemosGatewayESP8266OTA.ino | 8.04 kB | 663 |
Revision | Created | Layers | Dimensions |
---|---|---|---|
rev1 | 8 years ago | 2 | 26 × 35 |