This sensor node was designed to be used in the MySensors dollhouse display, created for the Eindhoven Maker Faire 2017
Left-to-right: gesture sensor, door sensor, wind sensor, soil moisture sensor
The resulting node is very small (28.5 x 25.5mm, excluding antenna) and costs roughly E4,30/piece (excluding sensor)
I created a small addon board to simplify connecting a numer of standard sensors. It can be mounted on the IO connector using male headers. Supported sensors/actuators:
Small 10 x 4 proto board to connect other sensors (e.g. the soil humidity & wind-speed reed sensor)
Start with the ATMega, followed by the small SMD's on the top and nRF24. Flip the board and mount either the CR2032 holder, or the AMS1117-3V3.
The switch is optional. Either mount the switch or short solder jumper SJ1.
Mount the power LED (and its resistor R2) if you prefer a visible indication of a node being switched on. Do not mount it on a CR2032 powered sleeping node as it will drain the battery too quickly.
Pull-up resistors R4-R11 can be used for digital inputs to further reduce the power drain. Mount approx. 1Meg ohm and disable internal pullups.
To keep the sensor small the ISP and FTDI connectors are scaled down to use pogo pins for programming. ISP programming requires a ProtoProg adapter.
To flash the bootloader refer to my Ikea Molgan Hack
The serial connection used by the Arduino IDE is available at a 5 pin FTDI-to-pogo adapter, also included in this repository. Make sure to align the white pin on the adapter to the white pin on the board. I use the node's power when programming at 3V3 serial levels.
Part | Value | Device | Package | Description | Remark | Source |
---|---|---|---|---|---|---|
C1 | 10uF | CPOL-EUSMCA | SMC_A | POLARIZED CAPACITOR | Only mount for 5V supply | |
C2 | 100nF | C-EUC0603 | C0603 | CAPACITOR | Only mount for 5V supply | |
C3 | 100nF | C-EUC0603 | C0603 | CAPACITOR | Only mount for 5V supply | |
C4 | 47uF | CPOL-EUSMCA | SMC_A | POLARIZED CAPACITOR | ||
C5 | 100nF | C-EUC0603 | C0603 | CAPACITOR | ||
C6 | 100nF | C-EUC0603 | C0603 | CAPACITOR | ||
C7 | 100nF | C-EUC0603 | C0603 | CAPACITOR | ||
G1 | CR2032H | LI BATTERY Varta | Only mount for CR2032 supply | https://www.aliexpress.com/item//32476465581.html | ||
IC1 | V_REG_LM1117SOT223 | SOT223 | Voltage Regulator LM1117 | Only mount for 5V supply | ||
IC2 | MEGA328P-AU | MEGA48/88/168-AU | TQFP32-08 | |||
L1 | LEDCHIPLED_0603 | CHIPLED_0603 | LED | Power LED. Optional. Do not mount for battery sensors! | ||
L2 | LEDCHIPLED_0603 | CHIPLED_0603 | LED | |||
M1 | WIRELESS-NRF24L01SMD2 | WIRELESS-NRF24L01-SMD-2 | 2.4 GHz Wireless Module based on NRF24L01 chip | |||
PWR | MSK-12C02_SMD_SPDT_SWITCH | MSK-12C02 | Footprint of the VIMEX MSK-12C02 SPDT SMD Switch | Optional. Mount if you prefer a switch | https://www.aliexpress.com/item//32703634956.html | |
R1 | 10k | R-EU_R0603 | R0603 | RESISTOR | ||
R2 | 56 | R-EU_R0603 | R0603 | RESISTOR | ||
R3 | 10k | R-EU_R0603 | R0603 | RESISTOR | ||
R4 | R-EU_R0603 | R0603 | RESISTOR | Optional pullup resistor | ||
R5 | R-EU_R0603 | R0603 | RESISTOR | Optional pullup resistor | ||
R6 | R-EU_R0603 | R0603 | RESISTOR | Optional pullup resistor | ||
R7 | R-EU_R0603 | R0603 | RESISTOR | Optional pullup resistor | ||
R8 | R-EU_R0603 | R0603 | RESISTOR | Optional pullup resistor | ||
R9 | R-EU_R0603 | R0603 | RESISTOR | Optional pullup resistor | ||
R10 | R-EU_R0603 | R0603 | RESISTOR | Optional pullup resistor | ||
R11 | R-EU_R0603 | R0603 | RESISTOR | Optional pullup resistor | ||
R12 | 56 | R-EU_R0603 | R0603 | RESISTOR |
Revision | Created | Layers | Dimensions |
---|---|---|---|
rev1 | 7 years ago | 2 | 29 × 26 |