Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz

livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz

Scheduled Pinned Locked Moved My Project
135 Posts 31 Posters 106.1k Views 44 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Markhill
    wrote on last edited by Markhill
    #85

    Here are pictures of the US/AU 2 switch main board

    0_1487485129503_2017-02-16 21.31.36.jpg
    0_1487484434878_2017-02-18 23.42.28.jpg
    0_1487484470423_2017-02-18 23.42.38.jpg
    0_1487484520232_2017-02-18 23.42.46.jpg
    0_1487484591742_2017-02-18 23.42.52.jpg

    Here is a 4 gang US/AU
    0_1487484398247_2017-02-19 16.31.03.jpg

    Here is a 3 Gang US/AU
    0_1487484732891_2017-02-19 16.35.19.jpg

    1 Reply Last reply
    0
    • Nca78N Nca78

      @Markhill I have made 2 boards, one for 1/3 buttons, one for 4 buttons.
      It will be a MySensors actuator so yes status feedback etc.

      I'll make a script for basic switch function and probably a few extra things two. I'm planning to use 3 button switches in my home to command 2 light circuits with the top and bottom buttons, and AC with center button (not using the relay). I have included 2 extra leds on center button for that, to select different modes of AC.

      The 4 buttons version uses sx1509 extender to have more advanced feedback like breathing/flashing LEDs but it's probably not in a final form yet, it will take more time to be ready.

      M Offline
      M Offline
      Markhill
      wrote on last edited by
      #86

      @Nca78 said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

      buttons version uses sx1509 extender to have more advanced feedback like breathing/flashing LEDs but it's probably not in a final form y

      Can you send me the 1/3 buttons so I can test it?

      The switch I use at home is a 3 gang 2 way. That is one light control by two switches. Will your board still work with these?

      Thanks.

      Nca78N 1 Reply Last reply
      0
      • M Markhill

        @Nca78 said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

        buttons version uses sx1509 extender to have more advanced feedback like breathing/flashing LEDs but it's probably not in a final form y

        Can you send me the 1/3 buttons so I can test it?

        The switch I use at home is a 3 gang 2 way. That is one light control by two switches. Will your board still work with these?

        Thanks.

        Nca78N Offline
        Nca78N Offline
        Nca78
        Hardware Contributor
        wrote on last edited by
        #87

        I don't know about the 2 way switches so don't have one to check. But in my home I will just connect one side to a normal switch and use switch on the other side as radio switch only without the relay.

        You want a 1/3 switch PCB ? Where do you live ?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Samuel235
          Hardware Contributor
          wrote on last edited by
          #88

          Do you guys happen to know what the capacitive touch button part is called? I'm trying to look for some of these on the internet and getting nothing relevant coming up. Just the little glass/acrylic parts of the livolo switches that recognise your touch.

          MySensors 2.1.1
          Controller - OpenHAB (Virtual Machine)
          Gateway - Arduino Mega MQTT Gateway W5100

          Nca78N 1 Reply Last reply
          0
          • S Samuel235

            Do you guys happen to know what the capacitive touch button part is called? I'm trying to look for some of these on the internet and getting nothing relevant coming up. Just the little glass/acrylic parts of the livolo switches that recognise your touch.

            Nca78N Offline
            Nca78N Offline
            Nca78
            Hardware Contributor
            wrote on last edited by
            #89

            @Samuel235 there is no "capacitive touch button part", the touch function is managed directly by the IC of the board.
            So they just have an electrode (big circle of copper) connected to an IC pin and a plastic circle glued to it to have more even light from the led.
            What I am using is TTP223N (N version is more sensible) which is both very cheap and very easy to use

            S 1 Reply Last reply
            0
            • Nca78N Nca78

              @Samuel235 there is no "capacitive touch button part", the touch function is managed directly by the IC of the board.
              So they just have an electrode (big circle of copper) connected to an IC pin and a plastic circle glued to it to have more even light from the led.
              What I am using is TTP223N (N version is more sensible) which is both very cheap and very easy to use

              S Offline
              S Offline
              Samuel235
              Hardware Contributor
              wrote on last edited by Samuel235
              #90

              Not sure I completely get what you mean, but I will have a search for how these little IC's work. Their datasheet looks pretty nice tbh, small, low cost, easy to get. Do they basically look for a 'press' on their input and then output 1 or 0 to a MCU, one on each button too, correct?

              MySensors 2.1.1
              Controller - OpenHAB (Virtual Machine)
              Gateway - Arduino Mega MQTT Gateway W5100

              Nca78N 1 Reply Last reply
              0
              • S Samuel235

                Not sure I completely get what you mean, but I will have a search for how these little IC's work. Their datasheet looks pretty nice tbh, small, low cost, easy to get. Do they basically look for a 'press' on their input and then output 1 or 0 to a MCU, one on each button too, correct?

                Nca78N Offline
                Nca78N Offline
                Nca78
                Hardware Contributor
                wrote on last edited by
                #91

                @Samuel235 They just have one output. You can have them work in "toggle" mode (press to set output high, press again to set output low) or in "normal" mode (default behavior) then output is high when touch is detected.
                So yes, one ttp223 on each button. You can use other ics (TTP224 with 4 touch inputs for example) but I prefer TTP223 as you can put it very close to the touch electrode to avoid interferences.

                TTP223 is the IC that is used in all the cheap "one touch button" breakout boards on ebay/aliexpress/...

                S A 2 Replies Last reply
                0
                • Nca78N Nca78

                  @Samuel235 They just have one output. You can have them work in "toggle" mode (press to set output high, press again to set output low) or in "normal" mode (default behavior) then output is high when touch is detected.
                  So yes, one ttp223 on each button. You can use other ics (TTP224 with 4 touch inputs for example) but I prefer TTP223 as you can put it very close to the touch electrode to avoid interferences.

                  TTP223 is the IC that is used in all the cheap "one touch button" breakout boards on ebay/aliexpress/...

                  S Offline
                  S Offline
                  Samuel235
                  Hardware Contributor
                  wrote on last edited by Samuel235
                  #92

                  @Nca78 - These little beauties are perfect! I feel a light switch project coming on myself.... How is your development coming on?

                  Have you seen this: https://forum.mysensors.org/topic/4317/us-decora-style-wall-switch

                  Looks like it could be neat. But, not touch. Not sure what i would prefer tbh. Either way, i have myself a dual relay board that i'm in the finishing touches too before posting it up here and on Openhardware.IO.

                  How're you going about your switching, are you switching AC in the light switch, powering this from AC or DC or are you powering by battery and emitting wireless signals to the gateway to then switch relays not connected to this board?

                  MySensors 2.1.1
                  Controller - OpenHAB (Virtual Machine)
                  Gateway - Arduino Mega MQTT Gateway W5100

                  1 Reply Last reply
                  0
                  • Nca78N Offline
                    Nca78N Offline
                    Nca78
                    Hardware Contributor
                    wrote on last edited by
                    #93

                    I'm keeping the relays from the original livolo switch. My goal is to still have basic switch functionality even if the controller box and gateway are switched off/dead. This is only possible if the switch and the relay are physically connected.

                    For the progress well I soldered all components on a first board and tested MySensors connexion and touch functions+led indicators and it's all fine.
                    Tomorrow I'll update the script to manage the relays and test on the real switch.

                    S 1 Reply Last reply
                    1
                    • Nca78N Nca78

                      I'm keeping the relays from the original livolo switch. My goal is to still have basic switch functionality even if the controller box and gateway are switched off/dead. This is only possible if the switch and the relay are physically connected.

                      For the progress well I soldered all components on a first board and tested MySensors connexion and touch functions+led indicators and it's all fine.
                      Tomorrow I'll update the script to manage the relays and test on the real switch.

                      S Offline
                      S Offline
                      Samuel235
                      Hardware Contributor
                      wrote on last edited by
                      #94

                      @Nca78 - Keep us posted with images too if you could. Rather interested in your module!

                      MySensors 2.1.1
                      Controller - OpenHAB (Virtual Machine)
                      Gateway - Arduino Mega MQTT Gateway W5100

                      1 Reply Last reply
                      0
                      • Nca78N Nca78

                        @Samuel235 They just have one output. You can have them work in "toggle" mode (press to set output high, press again to set output low) or in "normal" mode (default behavior) then output is high when touch is detected.
                        So yes, one ttp223 on each button. You can use other ics (TTP224 with 4 touch inputs for example) but I prefer TTP223 as you can put it very close to the touch electrode to avoid interferences.

                        TTP223 is the IC that is used in all the cheap "one touch button" breakout boards on ebay/aliexpress/...

                        A Offline
                        A Offline
                        achurak1
                        wrote on last edited by achurak1
                        #95

                        @Nca78, does that mean I can send high from arduino to this electrode thus imitating the touch? If so, would it be easier to do that or send the high/low directly to the HC238 (to A0 - A2)? It seems that in the first case I can also easily control the dimming function by keeping high for a few seconds. Is there a way to control dimming directly through HC238?
                        And an unrelated question, will you be able to sell these replacement PCBs you're working on right now and when? I'm not sure I will have enough patience to solder arduinos/radios to dozens of the switches, so I'd rather buy your plug-n-play solution if the price is reasonable.

                        Nca78N 1 Reply Last reply
                        0
                        • A achurak1

                          @Nca78, does that mean I can send high from arduino to this electrode thus imitating the touch? If so, would it be easier to do that or send the high/low directly to the HC238 (to A0 - A2)? It seems that in the first case I can also easily control the dimming function by keeping high for a few seconds. Is there a way to control dimming directly through HC238?
                          And an unrelated question, will you be able to sell these replacement PCBs you're working on right now and when? I'm not sure I will have enough patience to solder arduinos/radios to dozens of the switches, so I'd rather buy your plug-n-play solution if the price is reasonable.

                          Nca78N Offline
                          Nca78N Offline
                          Nca78
                          Hardware Contributor
                          wrote on last edited by Nca78
                          #96

                          @achurak1 said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

                          @Nca78, does that mean I can send high from arduino to this electrode thus imitating the touch? If so, would it be easier to do that or send the high/low directly to the HC238 (to A0 - A2)? It seems that in the first case I can also easily control the dimming function by keeping high for a few seconds. Is there a way to control dimming directly through HC238?

                          I think you can simulate the press by setting the pin to a high level, it will cheat the capacitance measurement and should generate a "click". But I take no responsibility for that :P
                          I don't think the dimmer is using an HC238, which is a decoder that takes 3 pins as input and sets one of it's outputs high, it's convenient for the relays they use but not suitable for a dimmer. They are probably using PWM for that. I have no dimmer switch here, I ordered one but I still need time to receive it...
                          So if you want to control a dimmer livolo switch at the moment, try to simulate touches on the buttons and the mcu on their sensor board will do the job for you.

                          And an unrelated question, will you be able to sell these replacement PCBs you're working on right now and when? I'm not sure I will have enough patience to solder arduinos/radios to dozens of the switches, so I'd rather buy your plug-n-play solution if the price is reasonable.

                          I will be able to sell them if they work fine on the long term, but that will need at least one month in the wall to be sure, then another month to order and get the fixed PCB (got some improvements to make already...).
                          I want to get the dimmer swith also to have a look and if possible make a PCB compatible with both normal switch and dimmer.
                          For the price I have no idea, either I get them done in China but I don't think there will be enough volume and it takes a lot of time to prepare (but that's an interesting process to learn :)), or I make them myself which takes a lot of time and logistics to assemble, test, ship. BOM is already around 10 US$ so I don't think it could go below 20US$ for final board. That would make the final swith around 10$ more than the radio version of livolo switch, as with my pcb you can just buy the cheapest switches, without radios.

                          A 2 Replies Last reply
                          0
                          • Nca78N Nca78

                            Hello, I just found out that Livolo is selling the glass plates (EU standard only, too bad for me :( ) alone on it's aliexpress shop. 3.72€ for square plate (1 or 2 switches), 6.24€ for double sized plate (up to 4 switches) and 8.77€ for triple size (up to 6 switches !).

                            I have US(AU) sized switches here so I'm a bit screwed up, but I think I will try to order a double plate and put on top of one of my switches boxes which are a bit smaller.
                            Check the "EU DIY Parts" category in the Livolo shop.

                            http://www.aliexpress.com/item/Livolo-Luxury-White-Pearl-Crystal-Glass-80mm-80mm-EU-standard-Single-Glass-Panel-For-1-Gang/32484221458.html

                            wallyllamaW Offline
                            wallyllamaW Offline
                            wallyllama
                            wrote on last edited by
                            #97

                            @Nca78 if you search aliexpress hard enough you'll fund us standard plates only. Search "livolo glass plate -eu -uk"

                            Nca78N 1 Reply Last reply
                            0
                            • Nca78N Nca78

                              @achurak1 said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

                              @Nca78, does that mean I can send high from arduino to this electrode thus imitating the touch? If so, would it be easier to do that or send the high/low directly to the HC238 (to A0 - A2)? It seems that in the first case I can also easily control the dimming function by keeping high for a few seconds. Is there a way to control dimming directly through HC238?

                              I think you can simulate the press by setting the pin to a high level, it will cheat the capacitance measurement and should generate a "click". But I take no responsibility for that :P
                              I don't think the dimmer is using an HC238, which is a decoder that takes 3 pins as input and sets one of it's outputs high, it's convenient for the relays they use but not suitable for a dimmer. They are probably using PWM for that. I have no dimmer switch here, I ordered one but I still need time to receive it...
                              So if you want to control a dimmer livolo switch at the moment, try to simulate touches on the buttons and the mcu on their sensor board will do the job for you.

                              And an unrelated question, will you be able to sell these replacement PCBs you're working on right now and when? I'm not sure I will have enough patience to solder arduinos/radios to dozens of the switches, so I'd rather buy your plug-n-play solution if the price is reasonable.

                              I will be able to sell them if they work fine on the long term, but that will need at least one month in the wall to be sure, then another month to order and get the fixed PCB (got some improvements to make already...).
                              I want to get the dimmer swith also to have a look and if possible make a PCB compatible with both normal switch and dimmer.
                              For the price I have no idea, either I get them done in China but I don't think there will be enough volume and it takes a lot of time to prepare (but that's an interesting process to learn :)), or I make them myself which takes a lot of time and logistics to assemble, test, ship. BOM is already around 10 US$ so I don't think it could go below 20US$ for final board. That would make the final swith around 10$ more than the radio version of livolo switch, as with my pcb you can just buy the cheapest switches, without radios.

                              A Offline
                              A Offline
                              achurak1
                              wrote on last edited by
                              #98

                              @Nca78, thanks! I'm going to try this touch simulation, probably tomorrow.
                              They use PIC16F690 chip for the dimmable switch versions: http://www.microchip.com/wwwproducts/en/PIC16F690
                              $20 seems reasonable, I paid $22 for the one gang dimmable switch, so the total would be $42.

                              1 Reply Last reply
                              0
                              • wallyllamaW wallyllama

                                @Nca78 if you search aliexpress hard enough you'll fund us standard plates only. Search "livolo glass plate -eu -uk"

                                Nca78N Offline
                                Nca78N Offline
                                Nca78
                                Hardware Contributor
                                wrote on last edited by
                                #99

                                @wallyllama said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

                                livolo glass plate -eu -uk

                                Maybe but I'm missing your point ?
                                I still need to buy the switch to have the box + main power/relay board.

                                @achurak1 said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

                                They use PIC16F690 chip for the dimmable switch versions: http://www.microchip.com/wwwproducts/en/PIC16F690
                                They use the same PIC16F690 in all the switches but what is interesting is to know to which pins of the connector it is connected, and what is connected on the main/ac board to control the dimmers.

                                If someone has the 2 way switches I'm interested to know what ics are connected to the A and B connectors and to which pins those ics are connected to on the 2x7 pins connectors.

                                wallyllamaW M 2 Replies Last reply
                                0
                                • Nca78N Nca78

                                  @wallyllama said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

                                  livolo glass plate -eu -uk

                                  Maybe but I'm missing your point ?
                                  I still need to buy the switch to have the box + main power/relay board.

                                  @achurak1 said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

                                  They use PIC16F690 chip for the dimmable switch versions: http://www.microchip.com/wwwproducts/en/PIC16F690
                                  They use the same PIC16F690 in all the switches but what is interesting is to know to which pins of the connector it is connected, and what is connected on the main/ac board to control the dimmers.

                                  If someone has the 2 way switches I'm interested to know what ics are connected to the A and B connectors and to which pins those ics are connected to on the 2x7 pins connectors.

                                  wallyllamaW Offline
                                  wallyllamaW Offline
                                  wallyllama
                                  wrote on last edited by
                                  #100

                                  @Nca78 said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

                                  @wallyllama said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

                                  livolo glass plate -eu -uk

                                  Maybe but I'm missing your point ?
                                  I still need to buy the switch to have the box + main power/relay board.

                                  Nope, I missed yours. Someone mentioned getting glass plates only, then i saw your comment about US plates, and I combined the two. I return you to your regularly scheduled project.

                                  1 Reply Last reply
                                  0
                                  • Nca78N Nca78

                                    @wallyllama said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

                                    livolo glass plate -eu -uk

                                    Maybe but I'm missing your point ?
                                    I still need to buy the switch to have the box + main power/relay board.

                                    @achurak1 said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

                                    They use PIC16F690 chip for the dimmable switch versions: http://www.microchip.com/wwwproducts/en/PIC16F690
                                    They use the same PIC16F690 in all the switches but what is interesting is to know to which pins of the connector it is connected, and what is connected on the main/ac board to control the dimmers.

                                    If someone has the 2 way switches I'm interested to know what ics are connected to the A and B connectors and to which pins those ics are connected to on the 2x7 pins connectors.

                                    M Offline
                                    M Offline
                                    Markhill
                                    wrote on last edited by
                                    #101

                                    @Nca78 I have 2 way switch for 1 gang, 2 gang and 3 gang. Will take a picture for you guys soon

                                    1 Reply Last reply
                                    0
                                    • Nca78N Nca78

                                      @achurak1 said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

                                      @Nca78, does that mean I can send high from arduino to this electrode thus imitating the touch? If so, would it be easier to do that or send the high/low directly to the HC238 (to A0 - A2)? It seems that in the first case I can also easily control the dimming function by keeping high for a few seconds. Is there a way to control dimming directly through HC238?

                                      I think you can simulate the press by setting the pin to a high level, it will cheat the capacitance measurement and should generate a "click". But I take no responsibility for that :P
                                      I don't think the dimmer is using an HC238, which is a decoder that takes 3 pins as input and sets one of it's outputs high, it's convenient for the relays they use but not suitable for a dimmer. They are probably using PWM for that. I have no dimmer switch here, I ordered one but I still need time to receive it...
                                      So if you want to control a dimmer livolo switch at the moment, try to simulate touches on the buttons and the mcu on their sensor board will do the job for you.

                                      And an unrelated question, will you be able to sell these replacement PCBs you're working on right now and when? I'm not sure I will have enough patience to solder arduinos/radios to dozens of the switches, so I'd rather buy your plug-n-play solution if the price is reasonable.

                                      I will be able to sell them if they work fine on the long term, but that will need at least one month in the wall to be sure, then another month to order and get the fixed PCB (got some improvements to make already...).
                                      I want to get the dimmer swith also to have a look and if possible make a PCB compatible with both normal switch and dimmer.
                                      For the price I have no idea, either I get them done in China but I don't think there will be enough volume and it takes a lot of time to prepare (but that's an interesting process to learn :)), or I make them myself which takes a lot of time and logistics to assemble, test, ship. BOM is already around 10 US$ so I don't think it could go below 20US$ for final board. That would make the final swith around 10$ more than the radio version of livolo switch, as with my pcb you can just buy the cheapest switches, without radios.

                                      A Offline
                                      A Offline
                                      achurak1
                                      wrote on last edited by
                                      #102

                                      @Nca78 I have a probably very stupid question. Why is it every time I'm trying to solder my arduino in parallel to the pins A0-A2 everything basically stops working - the lights would go on, but not off, dimmer would stop working either or the lights would just start flickering like crazy. What am I missing here? Is that somehow related to pull-up/down resistors? I tried both modes on arduino, INPUT to just listen what's going on when I'm touching the button and OUTPUT to actually control stuff, but both gave me the same results - nothing :(

                                      Nca78N 1 Reply Last reply
                                      0
                                      • Nca78N Offline
                                        Nca78N Offline
                                        Nca78
                                        Hardware Contributor
                                        wrote on last edited by
                                        #103

                                        Hello, just published my first version for the US/AU switch.
                                        https://forum.mysensors.org/topic/6489/livolo-3-buttons-us-au-switch-adapter/2

                                        Still needs some improvements, so no gerbers at the moment.

                                        1 Reply Last reply
                                        0
                                        • A achurak1

                                          @Nca78 I have a probably very stupid question. Why is it every time I'm trying to solder my arduino in parallel to the pins A0-A2 everything basically stops working - the lights would go on, but not off, dimmer would stop working either or the lights would just start flickering like crazy. What am I missing here? Is that somehow related to pull-up/down resistors? I tried both modes on arduino, INPUT to just listen what's going on when I'm touching the button and OUTPUT to actually control stuff, but both gave me the same results - nothing :(

                                          Nca78N Offline
                                          Nca78N Offline
                                          Nca78
                                          Hardware Contributor
                                          wrote on last edited by
                                          #104

                                          @achurak1 said in livolo Glass Panel Touch Light Wall Switch + arduino 433Mhz:

                                          @Nca78 I have a probably very stupid question. Why is it every time I'm trying to solder my arduino in parallel to the pins A0-A2 everything basically stops working - the lights would go on, but not off, dimmer would stop working either or the lights would just start flickering like crazy. What am I missing here? Is that somehow related to pull-up/down resistors? I tried both modes on arduino, INPUT to just listen what's going on when I'm touching the button and OUTPUT to actually control stuff, but both gave me the same results - nothing :(

                                          Sorry I forgot to reply to your question...
                                          I ordered a dimmer and checked it, it has another PIC on the "main" board so I think it's not that easy to control, I suppose the PIC on the "main" board manages PWM, and it receives instructions from the PIC on the "sensor" board, we need to know how they communicate.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          6

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular