Module was created at http://forum.mysensors.org/topic/2511/in-wall-light-switch-node-custom-pcb by myself and many inputs from yourselves.
This ATmega328p-au based board has been created to enable you to have what is essentially a extremely low powered, low current wireless switch. It was designed with the use as a light switch in the primary driving seat, however you can use it as any switch you would like. The Micro Controller, when not in sleep mode, is running at 8MHz, using the internal crystal to bring the power consumption right down to what is supposedly around the same power consumption as the self discharge rate of the 3v3 coin cell battery power supply. The only disadvantage of this is that Atmel themselves do not support the use of Serial connections when using the internal crystal, however we do have it working perfect. We are able to upload through the serial connection and also monitor the serial communication through a FTDI programmer. This requires us to use a baud rate of 9600 with a copy of Gertsanders bootloader.
3v3 Coin Cell Battery. Other variations of this board may be available in the future but currently we only have a working battery version.
With special thanks to forum and community member 'GertSanders' for providing the branch of OptiBoot's bootloader with an upload speed of 9600.
PLEASE NOTE THE FOLLOWING FUSE CHANGES FOR CORRECT BATTERY CONSUMPTION
The current software that runs on the module is that of BinarySwitchSleepSensor, at the time of creating this module this software is located in the development branch (V1.6). The code is as shown on Source Code tab of this project.
This module can be used as a generic switch that relays a 1/0 ON/OFF to your gateway.
The monitoring method that would suit this module would be a software version, specifically that of 'secret voltmeter'. This is perfect for this module because the module gets its VCC straight from the battery without any step-ups or voltage regulators to filter its power. This enables us to have battery monitoring at virtually no extra power consumption unlike the conventional hardware monitoring variations. I'm currently working on getting this integrated with the module. Soon as I get it in a working, in a stable sense I will upload added information regarding this. However, as with all open source projects, feel free to experiment and implement this beautiful feature yourselves!
I have been running this module since day one and we're still going strong with a voltage reporting close to the original. So at the moment we are at 1 year on this battery. (as of 26/02/17)
I'm very interested in all of your variations, improvements and applications of this module, please add them to the comments with pictures and videos if you can.
Qty | Value | Device | Package | Parts | Description | MF | MPN | Aliexpress or ebay link |
---|---|---|---|---|---|---|---|---|
1 | 3v | BATTERY245MM | BATTCON_245MM | BAT | Battery Holders | MULTICOMP | BC-2404 | |
1 | 4.7uF | B0603R104KCT | CAPC1608X85N | C1 | CAPACITOR, 0603 | MULTICOMP | 0603X475K6R3CT | |
7 | 0.1uF | B0603R104KCT | CAPC1608X85N | C2, C3, C4, C5, C6, C7, C9 | CAPACITOR, 0603 | MULTICOMP | MCB0603R104KCT | |
1 | 47uF | CAP_POLC | PANASONIC_C | C8 | Capacitor Polarized | PANASONIC | EEE0JA470SR | |
1 | FTDI | Header Pins | FTDI | FTDI - Generic 2.54mm pin pitched header pins | HARWIN | M20-9990446 | ||
1 | AVR_SPI_PRG_6PTH | Header Pins | JP1 | ISP - Generic 2.54mm pin pitched header pins | HARWIN | M20-9990446 | ||
1 | WIRELESS-NRF24L01 | WIRELESS-NRF24L01 | WIRELESS-NRF24L01 | M1 | 2.4 GHz Wireless Module based on NRF24L01 chip | |||
1 | 10k | MC0.1W08055%10K | RESC2013X65N | R1 | RESISTOR, 0805 | MULTICOMP | MC01W0805510K | |
1 | M04SCREW | SCREWTERMINAL-3.5MM-4 | SWITCHES | Screw Terminal | METZ CONNECT | 31059104 | ||
1 | ATMEGA328P-AU | QFP80P900X900X120-32N | U1 | 8-bit Microcontroller with In-System Programmable Flash ATMEL | ATMEL | ATMEGA328P-AU |
Name | Size | # Downloads |
---|---|---|
HominiSwitchNode1.0Rev2.GBL | 53.63 kB | 508 |
HominiSwitchNode1.0Rev2.GBO | 14.63 kB | 492 |
HominiSwitchNode1.0Rev2.GBS | 1.06 kB | 494 |
HominiSwitchNode1.0Rev2.GTL | 49.56 kB | 389 |
HominiSwitchNode1.0Rev2.GTO | 105.27 kB | 470 |
HominiSwitchNode1.0Rev2.GTS | 1.97 kB | 414 |
HominiSwitchNode1.0Rev2.TXT | 567 B | 343 |
HominiSwitchNode1.0Rev2.brd | 365.6 kB | 611 |
HominiSwitchNode1.0Rev2.sch | 490.94 kB | 633 |
HominiSwitchNode1.0Rev2_Sch.pdf | 44.94 kB | 453 |
HominiSwitchNode1.0Rev2_Brd.pdf | 32.25 kB | 342 |