I’ve created a PCB to interact with MySensors. The board can be powerd from any source between 3.5v and 5.5v, and will generate 3V3 for the nRF24l01(+) module. It has 14 IO’s and footprints for a DHT11/DHT22 and a DS18B20 temperature sensor.
- On-board, software configurable, 3V3 regulator
- Current in shutdown mode: 7µA
- Supports nRF24l01(+) (PA/LNA) wireless module
- VCC from 3.5V to 5.5V
- 2 PWM 3mm LED footprints
The interface board has 2 onboard temperature sensors.
The DS18B20 has a temperature accuracy of ±0.5°C from -10°C to +85°C.
The DHT11 has a temperature accuracy of ±2°C from 0°C to +50°C and a humidity accuracy of 5% from 20% to 80%.
The DHT22 has a temperature accuracy of ±0.5°C from -40°C to +80°C and a humidity accuracy of 2-5% from 0% to 100%.
A footprint for a standard crystal is present, yet not required to populate. If precise timings are required, use of an external crystal is recommended as the internal oscillator of the ATmega328p has an accuracy of 10% without calibration.
The unit consumes about 3.5µA (or 10.5µW) in sleep state. When sending some data, around 9mA is drawn for about 10ms. All translated, it should be able to run for at least a year, powered by a CR2032, when sending some data every minute.
Click to open the schematic: MySensors Rev00 Schematic PDF
Tested and verified
- NRF24L01+ (PA-LNA)
- Program header
- 3V3 LDO with software enable
- 2 output LEDs
The schematic and board files are made in Altium CircuitMaker.
The nrf24l01(+) module is powered by the MIC5205-3.3 LDO. The enable pin is connected to pin PB8 (D8) of the µController (Atmega328p) which enables a complete shutdown of the 3V3 peripherals via software. Keep in mind, when using a MySensors sketch, you’ll have to enable and set the output pin high in order to communicate with the wireless module.
The VCC of the PROGRAM header can be detached from VCC by the jumper above the header.
- Light orange represents the Arduino IDE pin
- Light blue represents the physical atmega328p pin
Top without nRF24L01(+)
Top with nRF24L01(+)