This is a MySensors adapter for Livolo 3 button touch wall switch, US/AU size. It will also work for one button switch by putting components for the central button only.
Features
Warning I have not received the new revision of the PCB yet, so *DO NOT order at the moment
Changes in version 0.9 :
I don't know why I cannot upload the youtube video link so here it is, just a proof it's running ;) https://youtu.be/0z4vhWA3xJ8
TO DO
Installation
| Button N# | Pin |
|---|---|
| 1 | A7 |
| 2 | A2 |
| 3 | A6 |
| Button N# | Function | Pin |
|---|---|---|
| 1 | On/Off | D5 |
| 2 | On/Off | D6 |
| 2 | Extra LED 1 | A0 |
| 2 | Extra LED 2 | A5 |
| 2 | Extra LED 3 | A4 |
| 2 | Extra LED 4 | A1 |
| 3 | On/Off | D8 |
As relays are triggered using a decoder that takes a 3 bits "address" as input, it's necessary to have the 3 relay pins on the same register of the ATMega so they can all be changed at the same time. Relay pins are D3, D4 and D7, all on PORTD
| Part | Value | Device | Package | Description | PROD_ID | VALUE | |
|---|---|---|---|---|---|---|---|
| C1 | 4.7uF | 4.7UF-16V-20%,+80%-(1206) | 1206 | Radio input capacitor | CAP-10300 | ||
| C2 | 100nF | CAP0805 | 0805 | Input capacitor for ATMEGA | |||
| C3 | 100nF | CAP0805 | 0805 | Input capacitor for ATMEGA | |||
| C7 | 100nF | CAP0805 | 0805 | Filter capacitor for ATSHA (not used if no ATSHA...) | |||
| CS1 | 0-50pF | CAP0805 | 0805 | Capacitor for touch sensibility. Marked "S" on board. Not mandatory | |||
| CS2 | 0-50pF | CAP0805 | 0805 | Capacitor for touch sensibility. Marked "S" on board. Not mandatory | |||
| CS3 | 0-50pF | CAP0805 | 0805 | Capacitor for touch sensibility. Marked "S" on board. Not mandatory | |||
| CT1 | 100nF | CAP0805 | 0805 | Filter capacitor for touch sensor 1. Marked "T" on board. | |||
| CT2 | 100nF | CAP0805 | 0805 | Filter capacitor for touch sensor 2. Marked "T" on board. | |||
| CT3 | 100nF | CAP0805 | 0805 | Filter capacitor for touch sensor 3. Marked "T" on board. | |||
| C_4 | 10uF | 10UF-16V-10%(TANT) | EIA3216 | Extra filter tantalum capacitor near radio as Vcc track goes all around the board, should be at least 10uF | CAP-00811 | ||
| C_IN | 10uF | 10UF-16V-10%(TANT) | EIA3216 | Input filter tantalum capacitor | CAP-00811 | ||
| C_RES | 100uF | 10UF-16V-10%(TANT) | EIA3216 | Reserve capacitor, tantalum or ceramic | CAP-00811 | ||
| J1 | CONNECTOR_02_X_072MM_SPACING | CONNECTOR_02_X_072MM_SPACING | CONNECTOR_02_X_07_2MM | 2*7 connector | |||
| LE1 | LED | LED_0805 | Extra led (bottom left of central button) | ||||
| LE2 | LED | LED_0805 | Extra led (bottom right of central button) | ||||
| LR1 | LED | LED_0805 | On (red) led, button 1 | ||||
| LR2 | LED | LED_0805 | On (red) led, button 2 | ||||
| LR3 | LED | LED_0805 | On (red) led, button 3 | ||||
| LV1 | LED | LED_0805 | Off (blue) led, button 1 | ||||
| LV2 | LED | LED_0805 | Off (blue) led, button 2 | ||||
| LV3 | LED | LED_0805 | Off (blue) led, button 3 | ||||
| M1 | NRF24L01+ | SMD | NRF24L01+ SMD breakout board | ||||
| R1 | 10k | RESISTOR0805-RES | 0805 | Pullup Resistor for RESET pin | |||
| R2 | 10K | RESISTOR0805-RES | 0805 | Pullup resistor for ATSHA (not used if no ATSHA...) | |||
| RR1 | 1K | RESISTOR0805-RES | 0805 | Resistor for "on" LED 1 | |||
| RV1 | 1K | RESISTOR0805-RES | 0805 | Resistor for "off" LED 1 | |||
| RR2 | 1K | RESISTOR0805-RES | 0805 | Resistor for "on" LED 2 | |||
| RV2 | 1K | RESISTOR0805-RES | 0805 | Resistor for "off" LED 2 | |||
| RR3 | 1K | RESISTOR0805-RES | 0805 | Resistor for "on" LED 3 | |||
| RV3 | 1K | RESISTOR0805-RES | 0805 | Resistor for "off" LED 3 | |||
| RE1 | 1K | RESISTOR0805-RES | 0805 | Resistor for "extra" led indicator 1 | |||
| RE2 | 1K | RESISTOR0805-RES | 0805 | Resistor for "extra" led indicator 2 | |||
| TTP1 | TTP223-BA6 | SOT-23-6 | TTP223 touch sensor | ||||
| TTP2 | TTP223-BA6 | SOT-23-6 | TTP223 touch sensor | ||||
| TTP3 | TTP223-BA6 | SOT-23-6 | TTP223 touch sensor | ||||
| U$1 | CONNECTOR_3DUPONT | DUPONT_3 | SPI pins | ||||
| U$2 | CONNECTOR_3DUPONT | DUPONT_3 | Serial pins | ||||
| U$3 | CONNECTOR_2DUPONT | DUPONT_2 | Power pins | ||||
| U1 | ATMEGA328P_TQFP | TQFP32-08 | IC-09069 | ATMEGA328P_TQFP | |||
| U2 | IC_ATSHA204A_CRYPT | SOT23-3 |
| Name | Size | # Downloads |
|---|---|---|
| LivoloSwitch3.brd | 95.85 kB | 871 |
| LivoloSwitch3.sch | 144.42 kB | 866 |
| PRODUCT.txt | 110 B | 526 |
| COPYRIGHT.txt | 428 B | 476 |
| LICENSE.pdf | 95.73 kB | 395 |
| License_howto.pdf | 55.06 kB | 384 |
| LivoloSwitch3.GBL | 71.1 kB | 672 |
| LivoloSwitch3.GBO | 23.49 kB | 676 |
| LivoloSwitch3.GBP | 13.7 kB | 694 |
| LivoloSwitch3.GBS | 14.38 kB | 703 |
| LivoloSwitch3.GML | 11.75 kB | 663 |
| LivoloSwitch3.GTL | 66.17 kB | 635 |
| LivoloSwitch3.GTO | 67.03 kB | 656 |
| LivoloSwitch3.GTP | 15.43 kB | 683 |
| LivoloSwitch3.GTS | 16.11 kB | 648 |
| LivoloSwitch3.TXT | 1.83 kB | 489 |
| CHANGES.txt | 488 B | 478 |
| Name | Size | # Downloads |
|---|---|---|
| Test_livolo3.ino | 4.63 kB | 827 |