MySensors sensor node aimed to monitor sensitive lab equipment, especially ultra low temperature -80°C freezers.
4-20mA sensors are commonly available via a plug connector on the back of recent -80°C Freezer. This requires a 47Ω resistor in R5. Connecting PCB "An-" and "An+" to a 4-20mA sensor will allow you to monitor your -80°C precisely without having to install anything inside the freezer.
Alarm relays are commonly available via a plug connector on the back of recent -80°C Freezer. They are also often present for industrial fridges, incubators, etc. Any of these can be monitored and will wake up the device when alarm is triggered. Code is provided for Normally Open relays (circuit is closed when alarm is triggered) as they are the most commons, but a normally closed relay can also be used by updating the code. Connecting PCB "NO" and "COM" to an alarm relay will allow you to monitor the alarm state of the device.
You can add extra I2C sensors if you need to expand the monitoring capacities of this PCB, or simply for extra versatility. You will need to update the code to add support for your I2C sensor. Exemple: add an Si7021 sensor and power the PCB via a USB wall charger and you can monitor a cold/hot room temperature and/or add a radio repeater.
To monitor equipment lacking a 4-20mA output you can add a DS18b20 sensor on the 1-Wire port. This requires a 4.7kΩ resistor in R6. Optionally by switching R6 to a higher value (ex: 10kΩ) you can update the code to use a thermistor probe by plugging it between "1Wire" and "GND"
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.
Only required while monitoring an Alarm relay. Prevents static noise to be detected as an alarm.
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)
Will monitor temperature using a 4-20mA sensor. This is calibrated for most of -80°C where 4ma equals -100°C and 20mA equals 50°C. You can change this accordingly to your device specifications by updating the line "temperature = map(voltage, 225, 875, -100, 50);" in the code. While in MY_DEBUG mode you will also have access to the ADC level to perform a fine tuning.
Will monitor temperature using a DS18b20 temperature probe. If measured temperature is >-10°C then a software alarm will be activated. Temperature is defined by "TEMPERATURE_ALARM".
Version 1.0: Initial release.
|Quantity||Part||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//32307359968.htm...|
|1||P2, P3||CONN_01X04||Pin Header Straight 1x04|
|1||BT1||Battery||CR123 battery holder||Keystone Electronics||1051||534-1051||AliExpress: https://www.aliexpress.com/item//32739137115.htm...|
|1||U1||DS18B20||Pin Header Straight 1x03|
|1||U2||NRF24L01||NRF24L01-SMD radio module||Radio module||NRF24L01+ SMD|
|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||IC1||ArduinoProMini||ArduinoProMini||Arduino Pro Mini 3.3V 8MHz||Arduino||Pro Mini 3.3V||AliExpress: https://www.aliexpress.com/item//1966734488.html|
|1||C1||4.7µF||SMD 0805||Murata||GRM21BR61C475KA88K||81-GRM21BR61C475KA8K||AliExpress: https://www.aliexpress.com/item//32561376020.htm...|
|4||C2-C5||0.1µF||SMD 0805||Murata||GRM21R71C104JA01D||81-GRM21R71C104JA01D||AliExpress: https://www.aliexpress.com/item//32560085454.htm...|
|2||R1, R6||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||R3||1M||SMD 0805||Bourns||CR0805-JW-105ELF||652-CR0805JW-105ELF||AliExpress: https://www.aliexpress.com/item//32569356535.htm...|
|1||R4||470k||SMD 0805||Bourns||CR0805-JW-474ELF||652-CR0805JW-474ELF||AliExpress: https://www.aliexpress.com/item//32569352634.htm...|
|1||R5||47||SMD 0805||Susumu||RG2012N-470-W-T1||754-RG2012N-470-W-T1||0.05% tolerance|
|rev1||6 years ago||2||26 × 45|