Yo! This project is still a Work In Progress. Instructions, board layouts and BOM might change!
Livolo 3 buttons US/AU switch adapter
License:
CERN Open Hardware License
Created:
8 years ago
Updated:
8 years ago
Views:
8164
6 Collect
74 Comments
Share
118 Download (2.82 MB)
Make a donation to Nca78

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

  • replaces Livolo sensor board, no changes to do on main/relay board of the switch
  • on/off LEDs like original switch
  • 2 extra led indicators on the central button, this will be used for extra functionality when I will have time to improve the basic sketch

Warning I have not received the new revision of the PCB yet, so *DO NOT order at the moment

Changes in version 0.9 :

  • remove ground plate below touch pads 1 & 2 for better touch sensitivity
  • moved on&off leds a bit further away from the touch pads so they are not directly below the clear part of the glass
  • holes to attach a 3D printed plastic diffuser, so the light will be more evenly distributed around the button
  • changed connectors for serial programming to be more convenient
  • added 2 extra leds on middle button
  • improved VCC track to reduce risks of interferences/noise

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

  • complete this document to put more detailed instructions :)

Installation

  • After soldering, just remove the sensor plate from the Livolo switch and put this one.
  • Touch button order is the same order than the numbers for connecting the switch wires.
  • When connected, it will declare switch sensors 1,2,3 for the 3 buttons + 11,12 for the two extra led indicators
  • You need to add a capacitor or the Livolo "light savior" little box to avoid flickering if you have low power lights/leds.

Pins used for touch sensors, leds, relays

Touch sensors

Button N# Pin
1 A7
2 A2
3 A6

Leds

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

Relays

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