This board allows you to transform a 433MHz "VHOME" remote control switch into a MySensors switch. This will complement my Livolo switches The base switch is available at the link below. The seller always changes the prices so I cannot link to a specific model, but there's always a set of switches (1, 2, 3 buttons) below 10$.
This version is for 1 or 3 buttons switches, I will make a version later for the 2 buttons switch. I'm using a TTP224 to manage the 3 touch buttons with only one chip, as the power consumption is nearly the same as a TTP223 (that manages only 1 button)
WARNING: I have unfortunately not yet received the PCBs, so please wait a few days before making PCB orders so I can confirm it's running as expected...
The original PCB is glued to the switch so you have to remove it with a screwdriver, be careful not to ruin the paint on the front glass with it
We will keep the CR2032 holder and reuse it on our PCB so you can unsolder it.
On the other side, the "buttons" or at least their covers are made of a bit of conductive foam that pushes the white plastic layer on the surface of the glass. It's pretty efficient at making the led light even on the button, while thanks to the conductive foam it provides a good sensitivity for the touch buttons. Good reasons to keep them and reuse them on our board !
I think information on board is clear enough. You have additional information in the schema that you can open in free version of Eagle. There's plenty of space on the board so you can solder in nearly every order you want.
Only recommendations I have are :
|Button N#||Touch button pin||Green led pin||Red led pin|
As you can guess, the external interrupts will not allows us to use the middle button on A2 pin, so we have to use the Pin Change interrupts to manage this board. Unfortunately this is not managed directly by MySensors so we have to use a few tricks. I've not had time to look into this at the moment so I can't supply a script at the moment, but it's already been done by other MySensors uses so it won't take very long :)
|C1||10�F||4.7UF-16V-20%,+80%-(1206)||1206-CAP||0805 Radio filter capacitor|
|CDTR||100nF||CAP0805||805||Capacitor for DTR line|
|CR2032||BATCR20328_SMDROUND||BATCR20328_SMDROUND||BAT_CR2032_SMDROUND||CR2032 holder from existing PCB|
|CS1||0-50pF||CAP0805||805||Sensitivity setting capacitor for touch button 1|
|CS2||0-50pF||CAP0805||805||Sensitivity setting capacitor for touch button 2|
|CS3||0-50pF||CAP0805||805||Sensitivity setting capacitor for touch button 3|
|C_RES||100uF||10UF-16V-10%(TANT)||EIA3216||1206 Reserve capacitor|
|C_RES2||100uF||10UF-16V-10%(TANT)||EIA3216||1206 Reserve capacitor|
|C_RESRADIO||47uF||10UF-16V-10%(TANT)||EIA3216||1206 Reserve capacitor|
|L1||LED||LED_0805||Red 0805 LED|
|L2||LED||LED_0805||Green 0805 LED|
|L3||LED||LED_0805||Red 0805 LED|
|L4||LED||LED_0805||Green 0805 LED|
|L5||LED||LED_0805||Red 0805 LED|
|L6||LED||LED_0805||Green 0805 LED|
|M1||WIRELESS-NRF24L01SMD||WIRELESS-NRF24L01SMD||WIRELESS-NRF24L01-SMD||2.4 GHz Wireless Module based on NRF24L01 chip||AliExpress: https://www.aliexpress.com/item//32430639804.htm...|
|R1||220R||RESISTOR0805-RES||805||0805 Resistor for red LED|
|R2||220R||RESISTOR0805-RES||805||0805 Resistor for green LED|
|R3||220R||RESISTOR0805-RES||805||0805 Resistor for red LED|
|R4||220R||RESISTOR0805-RES||805||0805 Resistor for green LED|
|R5||220R||RESISTOR0805-RES||805||0805 Resistor for red LED|
|R6||220R||RESISTOR0805-RES||805||0805 Resistor for green LED|
|R7||10K||RESISTOR0805-RES||805||ATSHA pullup resistor|
|R8||10k||RESISTOR0805-RES||805||RESET pullup resistor|
|TTP224||TTP224SSOP16||TTP224SSOP16||SSOP16||TTP224 touch IC|
|U$1||SWITCHPROMINI_RESET||SWITCHPROMINI_RESET||SWITCH_SMD_PROMINI_RESET||SMD Reset button||AliExpress: 100PCS/Lot 3*6*2.5MM 3X6X2.5MM Tactile Tact Push...|
|U1||ATMEGA328P_TQFP||ATMEGA328P_TQFP||TQFP32-08||ATMega 328||AliExpress: https://www.aliexpress.com/item//1966707231.html|
|U2||IC_ATSHA204A_CRYPT||SOT23-3||ATSHA 204A||AliExpress: https://www.aliexpress.com/item//32541710425.htm...|
|rev1||4 years ago||2||71 × 71|