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. Custom node for USA wall switch module

Custom node for USA wall switch module

Scheduled Pinned Locked Moved My Project
14 Posts 5 Posters 6.5k Views 13 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.
  • enterprisedE Offline
    enterprisedE Offline
    enterprised
    wrote on last edited by enterprised
    #1

    My latest project.

    After years using X10 and ZWave I hit the limit with these devices where they simply do not conform to my evolving home control requirements.

    Having played with Arduino's and MySensors quite a bit I decided to create my own devices based on MySensors and MQTT.

    I designed a custom PCB for a custom node holding a Arduino Nano, the 2.4Hz RF module, a universal PSU and all required connections for up to 6 switches, 4 relays, DHT and Motion sensor.

    I had the PCB printed by PCBWay (www.pcbway.com) in China. Their price for small batch prototype boards was great. Their service and speed of delivery was excellent. The quality of the PCB's I received is very high.

    After cutting the PCB's in two, as I had two designs on each board, I ended with a PCB perfectly sized for a standard USA wall switch.

    I'm using wall switch blank plates, with two captive touch sensors installed and a small hole drilled for the reset switch. The populated and completed PCB is than glued on the the back side of the blank plate. I used some good old fashioned wire wrapping technique to connect the touch switch wires to the PCB.

    The now ready switch unit fits perfectly, with one relay module, in a single wall switch box, pr with up to 4 relay modules in a dual wall switch box.

    I have 3 of these modules installed now, and in progress of completing another 5.

    The touch switches work really well. They will activate if you come within 5mm from the wall switch unit. The two switches in each unit do not interfere with each other, so no accidental switch activation.

    Read my post at HomeGenie for additional detail homegenie.it

    Front

    Back

    Everything

    Update - 10 July 2016

    I've now created the sensor plate which can be used with the MySensors Node I developed.

    I started with a dual keystone insert plate, the type used for network or cable tv connections. Using some router bits in my bench drill I machined the keystone slots to fit a DHT22 and a motion sensor module.

    Bu pure coincidence the DHT22 has the exact same dimensions as the keystone slot at the back of the plate, all it required was machining away some of the height of the slot so the DHT22 sits flush.

    Sensor Plate

    Assembling and wiring the master switch unit. next step is to add the 4 relay units, connect all wires to the node and add the safety cover/joiner to prevent accidental interaction with the 110VAC.

    The unit shown will have:

    • 4 x touch switch activated relay
    • 2 x touch toggle switch (what ever I want them to do in HomeGenie)
    • motion sensor
    • temperature & humidity

    Sensor Plate

    I will share more as this project is moving along.

    mfalkviddM 1 Reply Last reply
    4
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      Looking good! Would be great if you added your project to openhardware.io.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        drock1985
        wrote on last edited by
        #3

        Love the project. Can't wait to see more. Please share your designs, would love to do this for my North American home as well.

        Oh, and is it possible to get some high-resolution pictures of your project?

        Thanks,

        My Projects
        2 Door Chime Sensor
        Washing Machine Monitor

        mfalkviddM 1 Reply Last reply
        0
        • D drock1985

          Love the project. Can't wait to see more. Please share your designs, would love to do this for my North American home as well.

          Oh, and is it possible to get some high-resolution pictures of your project?

          Thanks,

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          @drock1985 larger images are available at the link provided at the end of the post

          1 Reply Last reply
          0
          • enterprisedE Offline
            enterprisedE Offline
            enterprised
            wrote on last edited by
            #5

            Updated first post.

            Better pictures and the newly create sensor plate which contains DHT22 and Motion and attaches to the node.

            More to come.

            1 Reply Last reply
            1
            • D Offline
              D Offline
              drock1985
              wrote on last edited by
              #6

              Thanks @enterprised

              Are you using any fuses in line with your power supply?

              My Projects
              2 Door Chime Sensor
              Washing Machine Monitor

              1 Reply Last reply
              0
              • enterprisedE Offline
                enterprisedE Offline
                enterprised
                wrote on last edited by
                #7

                I have two designs of my node.
                First generation, as in the pictures, where I use an fuse in the hot wire.
                Second generation where thermal fuse and varistor are on the pcb.

                1 Reply Last reply
                1
                • enterprisedE enterprised

                  My latest project.

                  After years using X10 and ZWave I hit the limit with these devices where they simply do not conform to my evolving home control requirements.

                  Having played with Arduino's and MySensors quite a bit I decided to create my own devices based on MySensors and MQTT.

                  I designed a custom PCB for a custom node holding a Arduino Nano, the 2.4Hz RF module, a universal PSU and all required connections for up to 6 switches, 4 relays, DHT and Motion sensor.

                  I had the PCB printed by PCBWay (www.pcbway.com) in China. Their price for small batch prototype boards was great. Their service and speed of delivery was excellent. The quality of the PCB's I received is very high.

                  After cutting the PCB's in two, as I had two designs on each board, I ended with a PCB perfectly sized for a standard USA wall switch.

                  I'm using wall switch blank plates, with two captive touch sensors installed and a small hole drilled for the reset switch. The populated and completed PCB is than glued on the the back side of the blank plate. I used some good old fashioned wire wrapping technique to connect the touch switch wires to the PCB.

                  The now ready switch unit fits perfectly, with one relay module, in a single wall switch box, pr with up to 4 relay modules in a dual wall switch box.

                  I have 3 of these modules installed now, and in progress of completing another 5.

                  The touch switches work really well. They will activate if you come within 5mm from the wall switch unit. The two switches in each unit do not interfere with each other, so no accidental switch activation.

                  Read my post at HomeGenie for additional detail homegenie.it

                  Front

                  Back

                  Everything

                  Update - 10 July 2016

                  I've now created the sensor plate which can be used with the MySensors Node I developed.

                  I started with a dual keystone insert plate, the type used for network or cable tv connections. Using some router bits in my bench drill I machined the keystone slots to fit a DHT22 and a motion sensor module.

                  Bu pure coincidence the DHT22 has the exact same dimensions as the keystone slot at the back of the plate, all it required was machining away some of the height of the slot so the DHT22 sits flush.

                  Sensor Plate

                  Assembling and wiring the master switch unit. next step is to add the 4 relay units, connect all wires to the node and add the safety cover/joiner to prevent accidental interaction with the 110VAC.

                  The unit shown will have:

                  • 4 x touch switch activated relay
                  • 2 x touch toggle switch (what ever I want them to do in HomeGenie)
                  • motion sensor
                  • temperature & humidity

                  Sensor Plate

                  I will share more as this project is moving along.

                  mfalkviddM Offline
                  mfalkviddM Offline
                  mfalkvidd
                  Mod
                  wrote on last edited by
                  #8

                  @enterprised could you share how you connected the touch sensors and how you are reading them? At homegenie you mentioned that you had to change the bridges. The bridges on the buttons I received today are called A and B but I think they correspond to your A and T.

                  1 Reply Last reply
                  0
                  • mfalkviddM Offline
                    mfalkviddM Offline
                    mfalkvidd
                    Mod
                    wrote on last edited by mfalkvidd
                    #9

                    Never mind, I'm able to use it just like a normal button (including bounce2 for debouncing), except that I don't need a pullup. It works great!

                    1 Reply Last reply
                    0
                    • enterprisedE Offline
                      enterprisedE Offline
                      enterprised
                      wrote on last edited by
                      #10

                      Finally, after some months of extreme travel and work related activity I had some time again to continue with my project.

                      Below are some pictures of the switch and sensor modules with standardised connection header so I can switch them out and organise them any way I like in my wall switch module/frame.

                      alt text

                      alt text

                      alt text

                      1 Reply Last reply
                      3
                      • C Offline
                        C Offline
                        csa02221862
                        wrote on last edited by
                        #11

                        Has anyone looked at putting this on the Vera?

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          csa02221862
                          wrote on last edited by
                          #12

                          Any more work on the project? I really like the concept of this.

                          enterprisedE 1 Reply Last reply
                          0
                          • C csa02221862

                            Any more work on the project? I really like the concept of this.

                            enterprisedE Offline
                            enterprisedE Offline
                            enterprised
                            wrote on last edited by
                            #13

                            @csa02221862
                            Progress is a bit slow, since creating the last batch of various modules work kept me busy travelling again. Just clocked another 26000 miles sitting in planes in the last 3 weeks.

                            I now have the controller modules, sensor and switch modules and all the programming done in mysensors and homegenie.

                            the last things on my list are sturdy wire-looms to connect it all and protective cover for the controller modules.

                            Getting close to the point that I will have all main areas of the house connected using these modules.

                            1 Reply Last reply
                            0
                            • C Offline
                              C Offline
                              csa02221862
                              wrote on last edited by
                              #14

                              Glad to hear it's coming along. Looking forward to the details, how it's working, board availability, final script, schematics....

                              1 Reply Last reply
                              1
                              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