Simple MySensors sensor node with support for up to 3 I2C modules (nRF24L01, 2.4GHz).
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:
If you plan to power this node by a battery it is advised to first prepare your arduino pro mini according to MySensors battery powered sensors specifications (removing Vreg and power indicator LED). You may also want to change your BOD fuse settings. Do not remove the voltage regulator if you are powering the sensors using a USB wall charger, it will be used to power both arduino and radio module.
If you are using a battery holder start by soldering all SMD components except the radio module. Continue with arduino pin headers, trim them as close as you can of the PCB. Then solder the battery holder and if you need trim the negative pin to be flush with the PCB. Finally you can carefully add the radio module.
You can run this node using batteries, a CR123 battery holder can be mounted on the PCB, using + and - pins of the PCB. It is also designed to use a micro USB connector as power input, any old USB phone charger will do.
If using a battery to power the sensor current battery level can be sent to the controller if R3, R4 and C5 are installed.
For security reason you can add a CryptAuthEE SHA256 chip. This will allow you to sign messages and will secure communications between the node and your gateway (this is not encryption, just signing). If you only control lights, fan, or other non-essential hardware you probably don't need to bother with this chip. Signing can also be done at the software level, without the chip if you decide to add this function later.
This module is only used to perform OTA updates on the node. If you don't plan to use this feature you can also skip this chip. You will also need to burn a compatible bootloader to your arduino (DualOptiBoot)
Use "i2c_SI7021.h" library from I2C-Sensor-Lib (iLib). Simple program to retrieve temperature and humidity. Will also check battery status and report to controller.
Version 1.0: Initial release.
|Quantity||Reference||Value||Package||Manufacturer||Manufacturer P/N||Mouser P/N||Comment||Aliexpress or Ebay link|
|1||P1||USB_OTG||Micro USB connector||Hirose Connector||ZX62D-B-5PA8(30)||798-ZX62D-B-5PA830||AliExpress: https://www.aliexpress.com/item/Free-Shipping-10...|
|1||BT1||Battery||CR123 battery holder||Keystone Electronics||1051||534-1051||AliExpress: https://www.aliexpress.com/item/CR123A-CR123-Lit...|
|1||IC1||ArduinoProMini||Arduino Pro Mini 3.3V 8MHz||Arduino||Pro Mini 3.3V||AliExpress: https://www.aliexpress.com/item/10pcs-lot-Pro-Mi...|
|1||U2||NRF24L01||NRF24L01-SMD radio module||Radio module||NRF24L01+ SMD||AliExpress: https://www.aliexpress.com/item/5pcs-Free-Shippi...|
|1||U3||ATSHA204A||SOT-23||Atmel||ATSHA204A-STUCZ-T||566-ATSHA204ASTUCZ-T||Optional, for signing|
|1||U4||AT25DF512C||SOIC-8||Adesto Technologies||AT25DF512C-SSHN-B||988-AT25DF512CSSHN-B||Optional, for OTA|
|1||C2||4.7µF||SMD 0805||Murata||GRM21BR61C475KA88K||81-GRM21BR61C475KA8K||AliExpress: http://www.aliexpress.com/item/1LOT-100PCS-Chip-...|
|3||C3-5||0.1µF||SMD 0805||Murata||GRM21R71C104JA01D||81-GRM21R71C104JA01D||AliExpress: http://www.aliexpress.com/item/1LOT-100PCS-Chip-...|
|1||R1||4.7k||SMD 0805||Bourns||CR0805-JW-472ELF||652-CR0805-JW-472ELF||AliExpress: http://www.aliexpress.com/item/100pcs-lot-SMD-Ch...|
|1||R2||56k||SMD 0805||Bourns||CR0805-JW-563ELF||652-CR0805JW-563ELF||AliExpress: http://www.aliexpress.com/item/100pcs-lot-SMD-Ch...|
|1||R3||1M||SMD 0805||Bourns||CR0805-JW-105ELF||652-CR0805JW-105ELF||AliExpress: https://www.aliexpress.com/item/100pcs-lot-SMD-C...|
|1||R4||470k||SMD 0805||Bourns||CR0805-JW-474ELF||652-CR0805JW-474ELF||AliExpress: https://www.aliexpress.com/item/100pcs-lot-SMD-C...|