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. Hardware
  3. In wall light switch node - Custom PCB

In wall light switch node - Custom PCB

Scheduled Pinned Locked Moved Hardware
custompcbinwallnodelight switchswitch
245 Posts 15 Posters 132.6k Views 23 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.
  • Sefi NinioS Offline
    Sefi NinioS Offline
    Sefi Ninio
    wrote on last edited by
    #217

    Is that related to the circuit for battery level? Or something else?
    What are the differences between the current rev. and what you are working on now?

    S 1 Reply Last reply
    0
    • Sefi NinioS Sefi Ninio

      Is that related to the circuit for battery level? Or something else?
      What are the differences between the current rev. and what you are working on now?

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

      @Sefi-Ninio said:

      Is that related to the circuit for battery level? Or something else?
      What are the differences between the current rev. and what you are working on now?

      It is concerning the serial upload issues i was having. The current revision doesn't include a bootloader and then therefor we can't upload via serial adapter. This in turn makes it unable to program anything once the radio is soldered directly to the board. I'm currently in discussions with GertSanders to try and figure out the issues with my bootloaders. Once this is sorted i will be able to program and debug the node through the serial interface/monitor.

      The next step will be to include a basic voltage divider method of reading the battery level i think. I did do various tests about a month ago and i will re-evaluate the situation on that. I may be a simple voltage divider solution or i may go for some exotic method. Even though the power consumption is slightly more heavy on the voltage divider method, i think i will go ahead and choose this method because of its simplicity for new users to just solder a couple of resistors on board. We will see.

      I do have another project/module in the design phases and a topic thread located here.

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

      1 Reply Last reply
      0
      • Sander TeunissenS Offline
        Sander TeunissenS Offline
        Sander Teunissen
        wrote on last edited by
        #219

        I have a problem finding the right wall switch. Normally they are all laid out for 230 volts, making them really big and requiring a lot of depth. Does anyone have experience with low voltage switches, which look nice and can be used for such projects ?
        Thanks !

        S 1 Reply Last reply
        0
        • Sander TeunissenS Sander Teunissen

          I have a problem finding the right wall switch. Normally they are all laid out for 230 volts, making them really big and requiring a lot of depth. Does anyone have experience with low voltage switches, which look nice and can be used for such projects ?
          Thanks !

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

          @Sander-Teunissen, I have these running on a coin cell battery and the sizes for the overall board are: Height: 16mm, Width: 26mm, Length: 48mm. Please note that these sizes are that of the module without insulation. My current working node has its back covered with some fabric to stop it shorting out on the metal backbox. I need to come up with a solution for this. When i order my 3D Printer i'm hoping to fashion some sort of shielding for the rear.

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

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

            I'm currently waiting on some more components to get this module up and running with thanks to @GertSanders providing the bootloader. All being well we will have it completed in the next month to be running with the radio and allowing ISP and FTDI/Serial uploads with the radio all connected.

            Does anyone have any feature requests for this module other than simple battery monitoring?

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

            1 Reply Last reply
            0
            • jeylitesJ Offline
              jeylitesJ Offline
              jeylites
              wrote on last edited by
              #222

              Just wondering, any of you guys looked into touch switches like below 0_1461627979698_HT1j2QTFGhXXXagOFbXh.jpg

              S 1 Reply Last reply
              0
              • jeylitesJ jeylites

                Just wondering, any of you guys looked into touch switches like below 0_1461627979698_HT1j2QTFGhXXXagOFbXh.jpg

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

                @jeylites, i was going to make a thread on these exact switches soon to discuss the possibility of interfacing them as they run on RF. Keep your eyes open for the thread asap ;).

                I would like to make my own switch front with pressure capacitance at some point but thats for another day.

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

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

                  UPDATE - Feature upgrades

                  I have had the materials arrive to attempt to get the latest fixes sorted for this board. Hopefully this will allow us to serial upload while the radio is soldered permanently onto the board. I will update soon as i have attempted this. Keep you posted!

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

                  1 Reply Last reply
                  0
                  • S Samuel235

                    @jeylites, i was going to make a thread on these exact switches soon to discuss the possibility of interfacing them as they run on RF. Keep your eyes open for the thread asap ;).

                    I would like to make my own switch front with pressure capacitance at some point but thats for another day.

                    scalzS Offline
                    scalzS Offline
                    scalz
                    Hardware Contributor
                    wrote on last edited by scalz
                    #225

                    @Samuel235 said:

                    @jeylites, i was going to make a thread on these exact switches soon to discuss the possibility of interfacing them as they run on RF. Keep your eyes open for the thread asap ;).

                    I would like to make my own switch front with pressure capacitance at some point but thats for another day.

                    I didn't read this. interesting..one of my current project in progress is exactly this! Designing a special shield for glass plate etc :) the same for controlling one switch or more ;)
                    I have few Livolo that I have disassembled and looked how it works inside. but I'm not fan of 433mhz radio (or that would need some rflink). I'm actually trying to decidde the best way, if I want to hack it, or if I will do my own switch with glass plate I found. because I would like dimming, rfm69, authentication and my shield...

                    S 1 Reply Last reply
                    0
                    • scalzS scalz

                      @Samuel235 said:

                      @jeylites, i was going to make a thread on these exact switches soon to discuss the possibility of interfacing them as they run on RF. Keep your eyes open for the thread asap ;).

                      I would like to make my own switch front with pressure capacitance at some point but thats for another day.

                      I didn't read this. interesting..one of my current project in progress is exactly this! Designing a special shield for glass plate etc :) the same for controlling one switch or more ;)
                      I have few Livolo that I have disassembled and looked how it works inside. but I'm not fan of 433mhz radio (or that would need some rflink). I'm actually trying to decidde the best way, if I want to hack it, or if I will do my own switch with glass plate I found. because I would like dimming, rfm69, authentication and my shield...

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

                      @scalz, If i'm honest I would like to see both. I love to see hacks being perfected, especially in products with such a clean finish as these but then again i also love seeing brand news products being brought to life. Either one you do, i'll be sure to support your ideas!

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

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

                        Having some very intermittent issues regarding uploading to this board using an FTDI adapter, 2 in fact. I have tried two adapters now and neither are giving me solid results. I have checked all solder joints and all seems fine. Time to start troubleshooting further. I'm uploading to this board using fuse settings of Low: E2 and High: DE, with a brownout detection point of 1v8. The error that i get 9/10 times is just that the programmer is out of sync. I will report back with my findings.

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

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

                          UPDATE

                          We have a working node. We're now able to serial upload and monitor the module with thanks to @GertSanders and his bootloader.

                          So the node currently has 2 switch inputs and that would be the maximum for the hardware interrupt, i may do some investigating to get another port for interrupt to enable us to have 3 switches on the one node.

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

                          GertSandersG 1 Reply Last reply
                          1
                          • S Samuel235

                            UPDATE

                            We have a working node. We're now able to serial upload and monitor the module with thanks to @GertSanders and his bootloader.

                            So the node currently has 2 switch inputs and that would be the maximum for the hardware interrupt, i may do some investigating to get another port for interrupt to enable us to have 3 switches on the one node.

                            GertSandersG Offline
                            GertSandersG Offline
                            GertSanders
                            Hardware Contributor
                            wrote on last edited by
                            #229

                            @Samuel235

                            Well, lets all thank the lead designer of the Optiboot boot loader: Bill Westfield !
                            Without his code and repository my compilations would not give any results.

                            S 1 Reply Last reply
                            1
                            • GertSandersG GertSanders

                              @Samuel235

                              Well, lets all thank the lead designer of the Optiboot boot loader: Bill Westfield !
                              Without his code and repository my compilations would not give any results.

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

                              @GertSanders, get him here and lets all buy him cake and beer!

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

                              1 Reply Last reply
                              1
                              • XanderX Offline
                                XanderX Offline
                                Xander
                                wrote on last edited by
                                #231

                                For more than two switches see: http://www.gammon.com.au/forum/?id=11091
                                I would add a hardware debouncing (R/C) to avoid the problems mentioned in the article.

                                S KoreshK 2 Replies Last reply
                                1
                                • XanderX Xander

                                  For more than two switches see: http://www.gammon.com.au/forum/?id=11091
                                  I would add a hardware debouncing (R/C) to avoid the problems mentioned in the article.

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

                                  @Xander Thank you. I may try implimenting this into Rev 3

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

                                  1 Reply Last reply
                                  0
                                  • XanderX Xander

                                    For more than two switches see: http://www.gammon.com.au/forum/?id=11091
                                    I would add a hardware debouncing (R/C) to avoid the problems mentioned in the article.

                                    KoreshK Offline
                                    KoreshK Offline
                                    Koresh
                                    Contest Winner
                                    wrote on last edited by
                                    #233

                                    @Xander said:

                                    For more than two switches see: http://www.gammon.com.au/forum/?id=11091
                                    I would add a hardware debouncing (R/C) to avoid the problems mentioned in the article.

                                    It's very good trick, but this circuit allows use of only tact switches. If you are interested - check my schematic (https://www.openhardware.io/view/102/Wall-Switch-Insertable-Node). It allows use of on\off switches too. I've drawn it after a little brainstorm :) I'm not sure it is optimal, but it works very nice.

                                    S 1 Reply Last reply
                                    2
                                    • KoreshK Koresh

                                      @Xander said:

                                      For more than two switches see: http://www.gammon.com.au/forum/?id=11091
                                      I would add a hardware debouncing (R/C) to avoid the problems mentioned in the article.

                                      It's very good trick, but this circuit allows use of only tact switches. If you are interested - check my schematic (https://www.openhardware.io/view/102/Wall-Switch-Insertable-Node). It allows use of on\off switches too. I've drawn it after a little brainstorm :) I'm not sure it is optimal, but it works very nice.

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

                                      @Koresh I had a quick look earlier, i will study it in more depth later. Thank you!

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

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

                                        @Koresh, thank you for linking me your module, i'm finally getting around to looking into some depth in this. First of all, i would like to ask something regarding the Exclusive-OR Gates;

                                        I know how the gates work, in this case it uses Exclusive-OR (XOR) Gates, in simple terms, if the inputs are different the output will be HIGH, if the inputs are the same it will be LOW. The input you have connected to GND, could you tell me why that has to be connected to VCC with a resistor, could you not just connect that to GND?

                                        I really like your use of the Schmitt Triggers here, makes the signal nice and sharp on the falling edges for the logic gates to work with.

                                        Thanks!

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

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

                                          We're currently working on locating the issue that we have with the light switch not being synced with OpenHab correctly. It works as intended but you have to double click to get the light on. We have located the issue lying within OpenHab's item configuration issues. Will post the resulting configuration needed to get this node working 100% perfectly.

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

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


                                          9

                                          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