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.
  • Andrei Călin TătarA Andrei Călin Tătar

    I decided in the end to completely remove both MCUs and replace them with one mega328p, at42qt1010 and one nrf24l01. The problem is that it must be really power efficient. Once the light goes close to full power, the current drops significantly. I also noticed on the PCB space for a battery and a transistor that controls when it's connected to the power supply. Do the switches that come with RF modules have the battery location (B1 I think) populated?

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

    @Andrei-Călin-Tătar b1 is the buzzer. When you hold a touch pad down for more than 5 seconds, the switch goes into learning mode and the buzzer makes a sound.

    Andrei Călin TătarA 1 Reply Last reply
    0
    • wallyllamaW wallyllama

      @Andrei-Călin-Tătar b1 is the buzzer. When you hold a touch pad down for more than 5 seconds, the switch goes into learning mode and the buzzer makes a sound.

      Andrei Călin TătarA Offline
      Andrei Călin TătarA Offline
      Andrei Călin Tătar
      wrote on last edited by
      #116

      @wallyllama ah, that makes sense. thanks for the info!

      1 Reply Last reply
      0
      • Andrei Călin TătarA Offline
        Andrei Călin TătarA Offline
        Andrei Călin Tătar
        wrote on last edited by
        #117

        OK, here is what I managed to get working so far. I didn't use mysensors in the end but the sketch can be adapted. I must admit it's not the cleanest code.
        So, I removed both microcontrollers from the base and the touch panel. I added a AT42QT1010 for touch detection (10k resistor, 47nF cap) and also replaced the led resistors from the touch panel with 2.2k ones (the light was too dimm, now it's a bit too bright :D ).

        Rest of the mods should be easy to see from the images. I didn't roll my own PCBs since I needed to adapt only 6 switches.

        Features in the sketch: manual dimmer mode (works the same as the normal switch, just with control and brightness report); manual on/off mode (switches on/off on the start of a touch; the brightness can be set - default 100); manual disabled; when changing the brightness it goes through a ramp, it doesn't go directly to max or min. The modes, brightness, etc. can be changed via RF.

        Base mod: https://photos.app.goo.gl/ZGojnlm2ocBEaucp2
        Touch panel mod: https://photos.app.goo.gl/UpG2UuMtK2qa6q4h1
        And the sketch code: https://github.com/andrei-tatar/SensorsNetwork/blob/master/LightDimmer/LightDimmer.ino

        A 1 Reply Last reply
        1
        • Andrei Călin TătarA Andrei Călin Tătar

          OK, here is what I managed to get working so far. I didn't use mysensors in the end but the sketch can be adapted. I must admit it's not the cleanest code.
          So, I removed both microcontrollers from the base and the touch panel. I added a AT42QT1010 for touch detection (10k resistor, 47nF cap) and also replaced the led resistors from the touch panel with 2.2k ones (the light was too dimm, now it's a bit too bright :D ).

          Rest of the mods should be easy to see from the images. I didn't roll my own PCBs since I needed to adapt only 6 switches.

          Features in the sketch: manual dimmer mode (works the same as the normal switch, just with control and brightness report); manual on/off mode (switches on/off on the start of a touch; the brightness can be set - default 100); manual disabled; when changing the brightness it goes through a ramp, it doesn't go directly to max or min. The modes, brightness, etc. can be changed via RF.

          Base mod: https://photos.app.goo.gl/ZGojnlm2ocBEaucp2
          Touch panel mod: https://photos.app.goo.gl/UpG2UuMtK2qa6q4h1
          And the sketch code: https://github.com/andrei-tatar/SensorsNetwork/blob/master/LightDimmer/LightDimmer.ino

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

          @Andrei-Călin-Tătar - How did you solve the problem with the power? I tried powering arduino from the built-in 3V connection, but it only worked to turn the lights on. Once on, I almost couldn't communicate with the arduino anymore (like 1 attempt from 20 would be successful).

          Andrei Călin TătarA 1 Reply Last reply
          0
          • A achurak1

            @Andrei-Călin-Tătar - How did you solve the problem with the power? I tried powering arduino from the built-in 3V connection, but it only worked to turn the lights on. Once on, I almost couldn't communicate with the arduino anymore (like 1 attempt from 20 would be successful).

            Andrei Călin TătarA Offline
            Andrei Călin TătarA Offline
            Andrei Călin Tătar
            wrote on last edited by
            #119

            @achurak1 - I limited the max brightness. At full brightness, the triac is off for 2.9ms (out of 10msec for 50Hz). That gives enough time to recharge the circuit for the arduino but it limits the power delivered to the light bulbs to about 80-90%. If I would go more than that I would get unstable results. The circuit isn't able to keep it's 3V at full brightness without an arduino connected.

            A 1 Reply Last reply
            0
            • Andrei Călin TătarA Andrei Călin Tătar

              @achurak1 - I limited the max brightness. At full brightness, the triac is off for 2.9ms (out of 10msec for 50Hz). That gives enough time to recharge the circuit for the arduino but it limits the power delivered to the light bulbs to about 80-90%. If I would go more than that I would get unstable results. The circuit isn't able to keep it's 3V at full brightness without an arduino connected.

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

              @Andrei-Călin-Tătar - Understood, thanks! Why did you need a new touch sensor, could you reuse the existing one?

              Andrei Călin TătarA 1 Reply Last reply
              0
              • A achurak1

                @Andrei-Călin-Tătar - Understood, thanks! Why did you need a new touch sensor, could you reuse the existing one?

                Andrei Călin TătarA Offline
                Andrei Călin TătarA Offline
                Andrei Călin Tătar
                wrote on last edited by
                #121

                @achurak1 do you mean the AT42QT1010? seemed easier for me. I could've added touch detection in the sketch.

                A 1 Reply Last reply
                0
                • Andrei Călin TătarA Andrei Călin Tătar

                  @achurak1 do you mean the AT42QT1010? seemed easier for me. I could've added touch detection in the sketch.

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

                  @Andrei-Călin-Tătar - can you please explain all of your jumper wires. US version looks differently obviously so it's really hard to figure out what you did there based on just the pictures.

                  Andrei Călin TătarA 1 Reply Last reply
                  0
                  • A achurak1

                    @Andrei-Călin-Tătar - can you please explain all of your jumper wires. US version looks differently obviously so it's really hard to figure out what you did there based on just the pictures.

                    Andrei Călin TătarA Offline
                    Andrei Călin TătarA Offline
                    Andrei Călin Tătar
                    wrote on last edited by
                    #123

                    @achurak1 I added some details over the photos:
                    https://photos.app.goo.gl/S7VxIrn58z99HRMp2

                    1 Reply Last reply
                    0
                    • DJONvlD DJONvl

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

                      сегодня доделал Livolo+esp8266 пришлось помучаться с программой и схемой питания но все заработало[0_1485259118390_livolo_esp.mp4](Uploading 100%)

                      https://youtu.be/8euAeVB86CQ

                      maxtoxM Offline
                      maxtoxM Offline
                      maxtox
                      wrote on last edited by
                      #124

                      @DJONvl

                      very COOL...you user ioBroker with VIS!!!!

                      Arduino Mega 2560 with iobroker.net (MQTT, node-red, etc..)

                      1 Reply Last reply
                      0
                      • wallyllamaW wallyllama

                        My goal would be to connect an arduino to the data pin on the power board and use the library to control livolo direct without a radio. The problem I have is that when i connect ground to ground on an ftdi I get magic smoke all over. Inuse my. Volt meter and sure enough the gnd pin is connected directly to the live input. Im guessing gnd and +3v "float" around the AC in some fashion.

                        Has anyone sucessfully bypassed the radio? Im thinking t may work if i power the arduino off the livolo power supply, or from a battery, but then if i connect that to an rs485 or other device with a real ground, kapow! At least that is what i am thinking will happen.

                        On a side note I have a regular, 2way, and remote switch, all the same revision and all US style, and from what I can tell the difference for 2way is a diode (d2) and a resettable fuse (r10). It lookes like there is basically a primative modem that sends/recieves the same data as the radio. (The radio is receive only, but 2 way has to be, well 2 ways). The "modem" is connected to "B" and "A" is connected to live and "gnd", which is why I think the dc voltage sort of floats on the ac.

                        M Offline
                        M Offline
                        MystX
                        wrote on last edited by
                        #125

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

                        On a side note I have a regular, 2way, and remote switch, all the same revision and all US style, and from what I can tell the difference for 2way is a diode (d2) and a resettable fuse (r10). It lookes like there is basically a primative modem that sends/recieves the same data as the radio. (The radio is receive only, but 2 way has to be, well 2 ways). The "modem" is connected to "B" and "A" is connected to live and "gnd", which is why I think the dc voltage sort of floats on the ac.

                        I have tried adding these parts to a non-2-way switch and used it as 2-way but it's not working. I suspect the firmware is different? I have managed to get an ESP8266 powered from the switch in some cases, so I could make a switch 2-way with software. But the livolo switch will not stay on without a load connected (if you have no light connected to the 2nd switch on a 2-gang).

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          MystX
                          wrote on last edited by
                          #126

                          Guys, I see a lot of struggle trying to get devices powered from these switches. Maybe I missed it, but has anyone tried replacing the 3.3v regulator in the switch? I replaced mine with a switched-mode version, which gives you a lot more power to play with. The original linear regulators effectively have a 8.7v drop across them.

                          With that + a livolo LED adapter I've managed to get a ESP8266 powered on as little as 2x 13W LED bulbs (I've tried 2x 10.5W and it doesn't work). I've tried some of the jumpers people have posted here to get more power, but I'm unsure if they help.

                          Nca78N 1 Reply Last reply
                          0
                          • M MystX

                            Guys, I see a lot of struggle trying to get devices powered from these switches. Maybe I missed it, but has anyone tried replacing the 3.3v regulator in the switch? I replaced mine with a switched-mode version, which gives you a lot more power to play with. The original linear regulators effectively have a 8.7v drop across them.

                            With that + a livolo LED adapter I've managed to get a ESP8266 powered on as little as 2x 13W LED bulbs (I've tried 2x 10.5W and it doesn't work). I've tried some of the jumpers people have posted here to get more power, but I'm unsure if they help.

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

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

                            With that + a livolo LED adapter I've managed to get a ESP8266 powered on as little as 2x 13W LED bulbs (I've tried 2x 10.5W and it doesn't work). I've tried some of the jumpers people have posted here to get more power, but I'm unsure if they help.

                            Why would you want to use an ESP8266 when there are solutions using only a fraction of the power that you can connect to an ESP8266 via a radio link if you really need wifi ? With the wasted power you could run a screen, RGB leds, radar module, ...

                            M 1 Reply Last reply
                            0
                            • Nca78N Nca78

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

                              With that + a livolo LED adapter I've managed to get a ESP8266 powered on as little as 2x 13W LED bulbs (I've tried 2x 10.5W and it doesn't work). I've tried some of the jumpers people have posted here to get more power, but I'm unsure if they help.

                              Why would you want to use an ESP8266 when there are solutions using only a fraction of the power that you can connect to an ESP8266 via a radio link if you really need wifi ? With the wasted power you could run a screen, RGB leds, radar module, ...

                              M Offline
                              M Offline
                              MystX
                              wrote on last edited by
                              #128

                              @Nca78 So that I don't have to run a radio link and an esp elsewhere =)

                              But my post was really about the switching regulator.

                              Nca78N 1 Reply Last reply
                              0
                              • M MystX

                                @Nca78 So that I don't have to run a radio link and an esp elsewhere =)

                                But my post was really about the switching regulator.

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

                                @MystX yes the switching regulator is much more efficient, there's a board using it already. And now the new versions have 12V available on the "touch" board so it's much easier to set it up.

                                1 Reply Last reply
                                0
                                • Teo BartulovicT Offline
                                  Teo BartulovicT Offline
                                  Teo Bartulovic
                                  wrote on last edited by
                                  #130

                                  Let me explain my problem in details, I need classic impulse switch to trig lights on stairs and hall and it is available in this form factor but the problem is that this push switch isn't available with remote control functionality so my idea is to use either simple one gang switch, or curtain or 2 Gang 2 Way but of course I have to somehow 'hack' them to work as momentary switches...

                                  1 Reply Last reply
                                  0
                                  • C Offline
                                    C Offline
                                    Camposmansi
                                    wrote on last edited by
                                    #131

                                    Wow what a great project, this week I'll see if I get it with 2 way 2 gan

                                    1 Reply Last reply
                                    0
                                    • C Offline
                                      C Offline
                                      Camposmansi
                                      wrote on last edited by
                                      #132

                                      Well yesterday burn a livolo :'(

                                      Nca78N 1 Reply Last reply
                                      0
                                      • C Camposmansi

                                        Well yesterday burn a livolo :'(

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

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

                                        Well yesterday burn a livolo :'(

                                        What did you do ? Wire the 2 way switch the wrong way ?

                                        C 1 Reply Last reply
                                        0
                                        • Nca78N Nca78

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

                                          Well yesterday burn a livolo :'(

                                          What did you do ? Wire the 2 way switch the wrong way ?

                                          C Offline
                                          C Offline
                                          Camposmansi
                                          wrote on last edited by
                                          #134

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

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

                                          Well yesterday burn a livolo :'(

                                          What did you do ? Wire the 2 way switch the wrong way ?

                                          If I burn to the computer, in the end I made a sketch and I will use only the keypad, now I'm designing the PVC

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


                                          8

                                          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