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. US decora style wall switch

US decora style wall switch

Scheduled Pinned Locked Moved My Project
40 Posts 10 Posters 17.8k Views 12 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.
  • dbemowskD dbemowsk

    So here is my latest update. I now have the controller board made that the switch board will stack on to. It currently uses all analog and digital pins of the pro mini except pins A4, A5, A6 and A7 which are not in the standard header rows. This is the board as it is right now.
    0_1484724472906_upload-0f59998c-25dc-47e2-b3ca-7213ae13c44d

    And this is the controller board stacked with the switch board.
    0_1484724556313_upload-284b133f-0a5a-4c24-bdc9-f4c133784b1f

    I wrote a simple sketch to test the keypad which is just a 2x4 matrix. One thing that I realized that I forgot which I will fix in the next couple days is the current limiting resistors for the 4 LEDs.

    For testing until I figure out the design of the power supply board, I am just powering this using the supply from my UNO as it has both the 3.3 and 5 volt outputs.

    My plan for now is to use each row as an OFF and an ON button with a corresponding status LED, but the possibilities for this are much greater. This could be used as a controller for 8 individual scenes, bright/dim controls, or whatever you can think of. This could be used to talk directly to other nodes for lighting control or any number of things. You could build other switch boards for this that would maybe contain more switches (eliminating the LEDs of course), or any number of combinations of switches and sensors.

    The final setup is going to be quite bulky and will need a deep US wall box to fit everything, and even that might be tight. For now this is a proof of concept design to test the feasibility of this as a controller. Eventually if things work out, I may seek help from the forum to create a dedicated PCB for this which could be stacked into a smaller package.

    I welcome any thoughts, comments and feedback on this design.

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

    @dbemowsk

    I'm currently working on the following PCB design for US Decora Wall Plate.

    It's designed to have some components/ connections on the back, but most of the components on the front of the PCB.
    It has provisions for connecting:
    4 x Switch (A0, A1, A2, A3)
    4 x LED (A4, A5, A6, A7)
    4 x Relay/SSR (D5, D6, D7, D8 connected to NPN transistor)
    2 x sensor (pin D3 and D4)

    Designed for using an Arduino Pro Mini 5V with A4 to A7

    I can share the gerbers once completed

    alt text

    PSU: https://www.aliexpress.com/item/220V-to-5V-2W-ac-dc-power-supply-width-voltage-input-85-264V-Smart-Home-AC/2036637836.html?spm=2114.13010608.0.0.TDfk9B

    I'm also working on a Dual Decora style wall plate switch containing 4 x 8Amp SSR
    alt text

    dbemowskD 1 Reply Last reply
    0
    • TD22057T Offline
      TD22057T Offline
      TD22057
      Hardware Contributor
      wrote on last edited by
      #16

      Very interesting designs @enterprised and @dbemowsk. I've also been working on my own version of decora switch and relay system. It's designed to use empty keystone switch plates with 1, 2, or 3 switches and uses keystone jack fillers as the switch covers so they look almost commercial. It's a 3 PCB system. The front PCB has the switches, LED's, reset button, CPU, and an RFM69 or NRF radio. The middle PCB has a MeanWell IRM-02 or HLK AC->DC converter (with fuse, thermal fuse, and varistor), a replaceable fused 10A AC relay with opto-coupler isolation, 5V and 3.3V rails and a 2 wire temperature probe to measure the temp of the PSU module. The back PCB is just a cover to insure no sharp solder points are in an electrical box. I decided that since this will be in my walls, I would only use name brand parts (from digikey and mouser) on the high voltage side which increases costs but should reduce the risk of fire (or at least make me feel better).

      I've designed the PCB and checked them over but we're in the middle of buying a house and moving so I haven't ordered any yet. Here's the 3D rendering of the PSU and CPU boards together and a one of the PSU board.

      0_1484794975291_combined.png
      0_1484794989118_psu.png

      dbemowskD 1 Reply Last reply
      1
      • enterprisedE enterprised

        @dbemowsk

        I'm currently working on the following PCB design for US Decora Wall Plate.

        It's designed to have some components/ connections on the back, but most of the components on the front of the PCB.
        It has provisions for connecting:
        4 x Switch (A0, A1, A2, A3)
        4 x LED (A4, A5, A6, A7)
        4 x Relay/SSR (D5, D6, D7, D8 connected to NPN transistor)
        2 x sensor (pin D3 and D4)

        Designed for using an Arduino Pro Mini 5V with A4 to A7

        I can share the gerbers once completed

        alt text

        PSU: https://www.aliexpress.com/item/220V-to-5V-2W-ac-dc-power-supply-width-voltage-input-85-264V-Smart-Home-AC/2036637836.html?spm=2114.13010608.0.0.TDfk9B

        I'm also working on a Dual Decora style wall plate switch containing 4 x 8Amp SSR
        alt text

        dbemowskD Offline
        dbemowskD Offline
        dbemowsk
        wrote on last edited by
        #17

        @enterprised For my design, I am hoping to use an HLK-PM01 power supply. Comparing to the one you have listed it has a few advantages:

        • Enclosed components vs exposed components on yours
        • Continuous output current of 600mA vs 200mA on yours
        • 50mV or less of ripple on the output vs 100mA on yours

        Having the components sealed will protect more against short circuits on the high voltage side. As for the current, I probably wouldn't need 600mA, but using a supply that is rated a bit higher I figure will be less stress on the components and cut down on heat. Plus I have to do 3.3 volt regulation for the radio, so I figure I am covered for that too. And last, the better the ripple on the output, the less filtering that will be needed for a more stable radio.

        The other thing that I like about my design is that it is modular. You would be able to have a number of different switches, sensors or LEDs as the faceplate while having one arduino/radio board and one power supply board. As mentioned in one of my previous posts, the current design is a bit bulky, but with a better PCB design, I think I can compress the layers quite a bit more. Looking at your pics, yours looks like a nice design too.

        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

        enterprisedE 1 Reply Last reply
        0
        • TD22057T TD22057

          Very interesting designs @enterprised and @dbemowsk. I've also been working on my own version of decora switch and relay system. It's designed to use empty keystone switch plates with 1, 2, or 3 switches and uses keystone jack fillers as the switch covers so they look almost commercial. It's a 3 PCB system. The front PCB has the switches, LED's, reset button, CPU, and an RFM69 or NRF radio. The middle PCB has a MeanWell IRM-02 or HLK AC->DC converter (with fuse, thermal fuse, and varistor), a replaceable fused 10A AC relay with opto-coupler isolation, 5V and 3.3V rails and a 2 wire temperature probe to measure the temp of the PSU module. The back PCB is just a cover to insure no sharp solder points are in an electrical box. I decided that since this will be in my walls, I would only use name brand parts (from digikey and mouser) on the high voltage side which increases costs but should reduce the risk of fire (or at least make me feel better).

          I've designed the PCB and checked them over but we're in the middle of buying a house and moving so I haven't ordered any yet. Here's the 3D rendering of the PSU and CPU boards together and a one of the PSU board.

          0_1484794975291_combined.png
          0_1484794989118_psu.png

          dbemowskD Offline
          dbemowskD Offline
          dbemowsk
          wrote on last edited by
          #18

          @TD22057 Excellent design. I like the fact that you used the Recom PSU. I have used the Recom ones and they are very well built, but they are slightly larger than the HLK-PM01s. The price is a bit higher too, but I figured for what mine would be doing, the HLK-PM01 will be sufficient. I plan to also use a thermal fuse with an MOV and fuse for good protection. Mine at this point is a bit bulky to fit relays in right now, but it would work well for a nice scene controller node or a direct control for another node.

          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

          1 Reply Last reply
          1
          • dbemowskD dbemowsk

            @enterprised For my design, I am hoping to use an HLK-PM01 power supply. Comparing to the one you have listed it has a few advantages:

            • Enclosed components vs exposed components on yours
            • Continuous output current of 600mA vs 200mA on yours
            • 50mV or less of ripple on the output vs 100mA on yours

            Having the components sealed will protect more against short circuits on the high voltage side. As for the current, I probably wouldn't need 600mA, but using a supply that is rated a bit higher I figure will be less stress on the components and cut down on heat. Plus I have to do 3.3 volt regulation for the radio, so I figure I am covered for that too. And last, the better the ripple on the output, the less filtering that will be needed for a more stable radio.

            The other thing that I like about my design is that it is modular. You would be able to have a number of different switches, sensors or LEDs as the faceplate while having one arduino/radio board and one power supply board. As mentioned in one of my previous posts, the current design is a bit bulky, but with a better PCB design, I think I can compress the layers quite a bit more. Looking at your pics, yours looks like a nice design too.

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

            @dbemowsk

            Oops, attached the wrong link.

            I'm using the 400ma version of this PSU. The design uses 200ma max with 4 switches/LED's/SSR's, so plenty of overhead. I actually stepped away from the HLK-PM01 due to the very poor reliability of these modules, too many that failed within a few months.

            I use an LE33 in TO92 package to create and regulate the 3.3v for the radio

            The ripple is a non issue as I have 7 module of the previous design installed and working around the house.

            I'm enclosing the entire module with a hot vacuum formed custom enclosure, so the entire circuit is fully protected. Amazing what you can do with a sheet of plastic, some wood, vacuum cleaner and a oven.

            My design is also using multiple PCB's. There is a second PCB sitting on top containing 2 SSR's and related components

            This was my previous design using relays not SSR but all other components are the same.
            alt text
            alt text

            1 Reply Last reply
            0
            • dbemowskD Offline
              dbemowskD Offline
              dbemowsk
              wrote on last edited by dbemowsk
              #20

              So for my latest update on this, I have finished the power supply board. One thing I learned in making this that I didn't even think of at first was that when I soldered on the thermal relay, the heat from the soldering was enough to blow the relay. Thus, my initial test did not work. I was finally able to get a fuse installed and working. I would have preferred it to be more centered on the side of the Hi-Link module, but I am thinking that it should still be effective.
              0_1485103640004_upload-1ea7b909-45be-45d6-8a6d-73c512594442

              On the bottom side of the board you can see the LM1117 3.3v regulator. For the high voltage side, I have hot glue over all traces for safety in testing.
              0_1485103278566_upload-fb75fd43-a5c5-4650-a9e1-91cbf7168f51

              I used a 22uf cap on the 5 volt output and a 10uf cap on the 3.3 volt output. I have also added hot glue to the incoming hot and neutral leads to provide some strain relief on the wire as it attaches to the board.
              0_1485103583785_upload-304f96de-a193-4f3b-944b-edc2ba5fbda3
              0_1485103854338_upload-3791a57f-89c6-44a8-bc1c-6c372c718b8b

              The last thing I want to do is fabricate a plastic cover to put over everything that will fit into the wall box. I think I am going to need a deep wall box to house the connections and the module.

              I did connect this and have it paired with my Vera. Each row is OFF, ON and status LED to indicate the ON state. I have debated on having the LED on when the switch is off to give better visibility to the switch when it is dark. In Vera, I can tie the switches to devices using scenes.

              Overall, this proof of concept design is working well.

              Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
              Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

              enterprisedE sundberg84S 2 Replies Last reply
              0
              • dbemowskD dbemowsk

                So for my latest update on this, I have finished the power supply board. One thing I learned in making this that I didn't even think of at first was that when I soldered on the thermal relay, the heat from the soldering was enough to blow the relay. Thus, my initial test did not work. I was finally able to get a fuse installed and working. I would have preferred it to be more centered on the side of the Hi-Link module, but I am thinking that it should still be effective.
                0_1485103640004_upload-1ea7b909-45be-45d6-8a6d-73c512594442

                On the bottom side of the board you can see the LM1117 3.3v regulator. For the high voltage side, I have hot glue over all traces for safety in testing.
                0_1485103278566_upload-fb75fd43-a5c5-4650-a9e1-91cbf7168f51

                I used a 22uf cap on the 5 volt output and a 10uf cap on the 3.3 volt output. I have also added hot glue to the incoming hot and neutral leads to provide some strain relief on the wire as it attaches to the board.
                0_1485103583785_upload-304f96de-a193-4f3b-944b-edc2ba5fbda3
                0_1485103854338_upload-3791a57f-89c6-44a8-bc1c-6c372c718b8b

                The last thing I want to do is fabricate a plastic cover to put over everything that will fit into the wall box. I think I am going to need a deep wall box to house the connections and the module.

                I did connect this and have it paired with my Vera. Each row is OFF, ON and status LED to indicate the ON state. I have debated on having the LED on when the switch is off to give better visibility to the switch when it is dark. In Vera, I can tie the switches to devices using scenes.

                Overall, this proof of concept design is working well.

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

                @dbemowsk
                I think that with a little effort the switch and middle PCB can become one in a custom designed PCB. You'll end up with switches and LED's on one side and the Arduino and radio etc on the other side. That's what I did. This will make your design a lot more compact.

                I used https://easyeda.com/ to design and manufacture my PCB's.

                dbemowskD 1 Reply Last reply
                0
                • dbemowskD dbemowsk

                  So for my latest update on this, I have finished the power supply board. One thing I learned in making this that I didn't even think of at first was that when I soldered on the thermal relay, the heat from the soldering was enough to blow the relay. Thus, my initial test did not work. I was finally able to get a fuse installed and working. I would have preferred it to be more centered on the side of the Hi-Link module, but I am thinking that it should still be effective.
                  0_1485103640004_upload-1ea7b909-45be-45d6-8a6d-73c512594442

                  On the bottom side of the board you can see the LM1117 3.3v regulator. For the high voltage side, I have hot glue over all traces for safety in testing.
                  0_1485103278566_upload-fb75fd43-a5c5-4650-a9e1-91cbf7168f51

                  I used a 22uf cap on the 5 volt output and a 10uf cap on the 3.3 volt output. I have also added hot glue to the incoming hot and neutral leads to provide some strain relief on the wire as it attaches to the board.
                  0_1485103583785_upload-304f96de-a193-4f3b-944b-edc2ba5fbda3
                  0_1485103854338_upload-3791a57f-89c6-44a8-bc1c-6c372c718b8b

                  The last thing I want to do is fabricate a plastic cover to put over everything that will fit into the wall box. I think I am going to need a deep wall box to house the connections and the module.

                  I did connect this and have it paired with my Vera. Each row is OFF, ON and status LED to indicate the ON state. I have debated on having the LED on when the switch is off to give better visibility to the switch when it is dark. In Vera, I can tie the switches to devices using scenes.

                  Overall, this proof of concept design is working well.

                  sundberg84S Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by sundberg84
                  #22

                  @dbemowsk - Nice work!
                  Here is a discussion and more links about safety in designing a PCB with AC power that might come in handy:
                  https://forum.mysensors.org/topic/4175/clearance-creepage-and-other-safety-aspects-in-mysensors-pcbs.

                  Also if you dont want to completley redesign a PCB you can take some of my designs and redesign them to your purpose.

                  Controller: Proxmox VM - Home Assistant
                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                  1 Reply Last reply
                  0
                  • dbemowskD Offline
                    dbemowskD Offline
                    dbemowsk
                    wrote on last edited by
                    #23

                    So I have had my prototype version of this switch installed for a few weeks now and it seems to be performing well with my Vera setup. This week I added a new tool to my arsenal. I purchased an Anet A8 3D printer kit. I just got it put together yesterday. I ordered a roll of ABS which came yesterday. It was supposed to be white, but they sent transparent (Grrrr....). Trying to work with the ebay seller on this.

                    Anyway, I wanted a project to try that would be useful, but not super difficult. I decided to build a better switch plate to improve my prototype of this switch. I knew that one of the big places to go for 3D stuff to print was thingiverse.com. I did a search on the site and someone had a 3d file for a decora blank wall plate. I decided to download the files and see what I could do. I had never done anything in any kind of CAD program, but thought, how bad can it be. I ended up finding OpenSCAD. Drawing objects in the software is done much like a structured programming language. Within a day of teaching myself some things in it, I came up with this:
                    0_1487452255103_upload-26f0a10c-2ae9-417e-899e-a1b718de58a2
                    0_1487452474777_upload-cdb19c24-d12c-4607-8507-e92e0c34ed44

                    I have not printed this yet since I am still trying to resolve my filament issue with the ebay seller,. but as soon as I get that figured out, I will give this a test. Before printing I may still look at adding some reliefs in the 4 corner tabs to save at least a little bit of plastic, but overall I think it looks good. I'll post more here as I get it done.

                    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                    1 Reply Last reply
                    2
                    • sundberg84S Offline
                      sundberg84S Offline
                      sundberg84
                      Hardware Contributor
                      wrote on last edited by
                      #24

                      Looking forward to pictures :) Keep up the good work!

                      Controller: Proxmox VM - Home Assistant
                      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                      1 Reply Last reply
                      0
                      • dbemowskD Offline
                        dbemowskD Offline
                        dbemowsk
                        wrote on last edited by
                        #25

                        I think this 3D printer is going to help a lot with my HA hobby. Now I will be able to make custom enclosures and things and not have to search the web to say, "ehh, that will kinda fit". I just have to get used to using OpenSCAD.

                        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                        blaceyB 1 Reply Last reply
                        0
                        • dbemowskD Offline
                          dbemowskD Offline
                          dbemowsk
                          wrote on last edited by
                          #26

                          Here is the updated part.
                          0_1487513892212_upload-f963e107-b10a-47f3-9424-768f5c1766ee

                          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                          1 Reply Last reply
                          1
                          • dbemowskD Offline
                            dbemowskD Offline
                            dbemowsk
                            wrote on last edited by
                            #27

                            So even though I only have transparent ABS to work with at the moment, I decided to do a test print of this (I actually did 2 test prints). The results were in my eyes only fair. Though the outside didn't look bad, the inside is a bit messy. I think I could clean it up and make it usable, but I think it could be better. I printed it with the ears down and the face up. The print may come out better if I print it with the face down. The ears may be a little stringy, but that is a little less of an issue because the ears are hidden by the faceplate. I had to increase the hole size in the face where the buttons come through for the buttons to fit (this was the reason for the second test print). With the first print, the buttons were a little snug in the holes.

                            Without further ado, here are the pics:
                            0_1487645138378_upload-e913e68a-e229-471a-b637-dbb822b4c276 0_1487645152819_upload-f3219ab8-315b-4a82-bccd-ca9f000e9b03
                            0_1487645166139_upload-1e6e6140-dd06-4466-8d61-e09e7431c9a0

                            These two pics show how it fits in the faceplate.
                            0_1487645183984_upload-8b62d489-5fef-4657-b00c-f070b0aee885 0_1487645196357_upload-1cecec11-4324-4547-8350-d1a68462c067

                            Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                            Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                            1 Reply Last reply
                            1
                            • dbemowskD Offline
                              dbemowskD Offline
                              dbemowsk
                              wrote on last edited by
                              #28

                              If anyone is interested, I posted the 3D design files for this switch plate out on thingiverse.com. Included is the OpenSCAD file and .stl files for making modifications if you'd like.
                              http://www.thingiverse.com/thing:2136094

                              Enjoy...

                              Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                              Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                              1 Reply Last reply
                              0
                              • dbemowskD dbemowsk

                                I think this 3D printer is going to help a lot with my HA hobby. Now I will be able to make custom enclosures and things and not have to search the web to say, "ehh, that will kinda fit". I just have to get used to using OpenSCAD.

                                blaceyB Offline
                                blaceyB Offline
                                blacey
                                Admin
                                wrote on last edited by blacey
                                #29

                                @dbemowsk said in US decora style wall switch:

                                I think this 3D printer is going to help a lot with my HA hobby. Now I will be able to make custom enclosures and things and not have to search the web to say, "ehh, that will kinda fit". I just have to get used to using OpenSCAD.

                                You should give FreeCAD a shot. Open source and runs on Windows, macOS and Windows and you can download the releases from GitHub

                                dbemowskD 1 Reply Last reply
                                0
                                • blaceyB blacey

                                  @dbemowsk said in US decora style wall switch:

                                  I think this 3D printer is going to help a lot with my HA hobby. Now I will be able to make custom enclosures and things and not have to search the web to say, "ehh, that will kinda fit". I just have to get used to using OpenSCAD.

                                  You should give FreeCAD a shot. Open source and runs on Windows, macOS and Windows and you can download the releases from GitHub

                                  dbemowskD Offline
                                  dbemowskD Offline
                                  dbemowsk
                                  wrote on last edited by
                                  #30

                                  @blacey Though I do own a windows laptop, my main desktop is a linux machine. Don't have time now, but I'll see if they have it ported to linux. Thanks for the tip.

                                  Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                  Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                  blaceyB 1 Reply Last reply
                                  0
                                  • dbemowskD dbemowsk

                                    @blacey Though I do own a windows laptop, my main desktop is a linux machine. Don't have time now, but I'll see if they have it ported to linux. Thanks for the tip.

                                    blaceyB Offline
                                    blaceyB Offline
                                    blacey
                                    Admin
                                    wrote on last edited by
                                    #31

                                    @dbemowsk Linux is the primary platform used by the FreeCAD devs so Linux is very well-supported.

                                    There is a PPA for stable and a PPA for daily developer builds.

                                    For example, to install the latest stable:

                                    sudo add-apt-repository ppa:freecad-maintainers/freecad-stable 
                                    sudo apt-get update
                                    sudo apt-get upgrade
                                    sudo apt-get install freecad freecad-doc 
                                    

                                    More details here - https://www.freecadweb.org/wiki/Install_on_Unix

                                    dbemowskD 1 Reply Last reply
                                    1
                                    • blaceyB blacey

                                      @dbemowsk Linux is the primary platform used by the FreeCAD devs so Linux is very well-supported.

                                      There is a PPA for stable and a PPA for daily developer builds.

                                      For example, to install the latest stable:

                                      sudo add-apt-repository ppa:freecad-maintainers/freecad-stable 
                                      sudo apt-get update
                                      sudo apt-get upgrade
                                      sudo apt-get install freecad freecad-doc 
                                      

                                      More details here - https://www.freecadweb.org/wiki/Install_on_Unix

                                      dbemowskD Offline
                                      dbemowskD Offline
                                      dbemowsk
                                      wrote on last edited by
                                      #32

                                      @blacey Thanks for the tip. Just installed it on my Fedora 23 box.

                                      sudo dnf install freecad
                                      

                                      It did not find a package called freecad-doc, but that's what the online docs and youtube is for.

                                      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                      blaceyB 1 Reply Last reply
                                      0
                                      • dbemowskD dbemowsk

                                        @blacey Thanks for the tip. Just installed it on my Fedora 23 box.

                                        sudo dnf install freecad
                                        

                                        It did not find a package called freecad-doc, but that's what the online docs and youtube is for.

                                        blaceyB Offline
                                        blaceyB Offline
                                        blacey
                                        Admin
                                        wrote on last edited by
                                        #33

                                        @dbemowsk said in US decora style wall switch:

                                        @blacey Thanks for the tip. Just installed it on my Fedora 23 box.

                                        Excellent! Also, there is a pretty vibrant community behind FreeCAD so feel free to introduce yourself and ask questions on the FreeCAD forums - everyone is very helpful.

                                        1 Reply Last reply
                                        0
                                        • dbemowskD Offline
                                          dbemowskD Offline
                                          dbemowsk
                                          wrote on last edited by
                                          #34

                                          Just an update on this. I gave the wall switch another spin on the design. I made a version of this with nice rocker switches. I think this design looks a bit more professional.
                                          0_1490417693163_upload-0ee6eb29-3f96-46ab-a046-7a6b227a5ce8
                                          Because of having the rocker switches I have added one more piece to the design which is a rocker support for the switches to prevent both the on and off buttons for a switch to be activated simultaneously.
                                          0_1490417962877_decora_rocker_switch_openscad_parts_view.png
                                          Here is a view of the prototype with the rocker support in place.
                                          0_1490418038867_PCB_layout_top_view_support_installed.jpg

                                          The LEDs that I currently have installed are 3mm white LEDs. I went with 10k resistors on them so as not to make them too bright since at full brightness these can be a bit blinding. I chose those because they are what I had available in my parts bin. Red or green LEDs might be a better fit for this. Choose a resistor value that gives whatever LEDs you choose suitable brightness as this can vary between LEDs.

                                          For anyone interested I posted the 3D design files on thingiverse. Everything you need to make this switch board is posted there.
                                          http://www.thingiverse.com/thing:2202434

                                          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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