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 - PCB, (AC to DC 5v)

In wall - PCB, (AC to DC 5v)

Scheduled Pinned Locked Moved Hardware
pcbinwall
89 Posts 14 Posters 66.2k Views 24 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.
  • sundberg84S sundberg84

    @petewill
    1.jpg

    The test I did was just to strip a extension cord, attach "the fuse" to it and apply different equipment with spec from 5W up to my vaccumcl 1000+W Not proffessional but I dont have any other equipment.

    I dont think we changed the placement? I made a misstake in my first rev but now my varistor placement is like your post (after both fuse and termal fuse). But @m26872 link describes it good why.

    @samuel235 Good luck with your board! Do not take my board as "thats how it should be". My board is the result and my interpretation of the discussions so far in this forum. If that is right or wrong i not able to tell (yet). The tempsensor is to initially be able to measure the temp in that closed box to see that the node doesnt produce to much heat.

    Im glad you are creating your own... as i said before, my wish is that we all come together and in the end create a small and safe in wall PCB. And If you want (and use Eagles) ill send over the files for the PCB. I will also post them here when i recieved the boards offcourse.

    Here is my bitmap I use as a logo... in eagles you can import that to layer 21 and apply to your board.
    SundbergLogo.bmp

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

    @sundberg84

    Awesome, yes if you could send me the eagle files I would really appreciate that to allow me to learn how this circuit is working. I completely understand that this is just your interpritation on how it should work. I'm using this as a kind of reference i suppose, just to learn how this is wired out, whats connected in what order etc etc. I will not take this as a 'only way to get ac power to arduino on one board' type of application, don't worry ;)

    Thank you for the BMP Image, i will add the MySensors logo to the board too along side of this logo.

    The parts for my board have just arrived as I was replying to this. Just waiting on the boards to come from ITead now. Time to get moving!

    I have a weird feeling that 2016 will be huge for MySensors and its community!

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

    1 Reply Last reply
    0
    • petewillP Offline
      petewillP Offline
      petewill
      Admin
      wrote on last edited by
      #69

      @sundberg84 Thanks for the picture. It's totally different than mine. You said you got it from the same store I linked to in the "Safe in-wall" post? This is what mine looks like:
      Slow blow fuse.jpg

      I will still test it with to be sure but I'm reassured that it at least looks different.

      I dont think we changed the placement?

      Sorry, you're right, my mistake. I misread/misunderstood the issue as I was reading through this thread. It was still helpful to read @m26872's link though, thanks for that!

      My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

      1 Reply Last reply
      0
      • sundberg84S sundberg84

        @petewill
        1.jpg

        The test I did was just to strip a extension cord, attach "the fuse" to it and apply different equipment with spec from 5W up to my vaccumcl 1000+W Not proffessional but I dont have any other equipment.

        I dont think we changed the placement? I made a misstake in my first rev but now my varistor placement is like your post (after both fuse and termal fuse). But @m26872 link describes it good why.

        @samuel235 Good luck with your board! Do not take my board as "thats how it should be". My board is the result and my interpretation of the discussions so far in this forum. If that is right or wrong i not able to tell (yet). The tempsensor is to initially be able to measure the temp in that closed box to see that the node doesnt produce to much heat.

        Im glad you are creating your own... as i said before, my wish is that we all come together and in the end create a small and safe in wall PCB. And If you want (and use Eagles) ill send over the files for the PCB. I will also post them here when i recieved the boards offcourse.

        Here is my bitmap I use as a logo... in eagles you can import that to layer 21 and apply to your board.
        SundbergLogo.bmp

        YveauxY Offline
        YveauxY Offline
        Yveaux
        Mod
        wrote on last edited by
        #70

        @sundberg84 Your 'fuse' looks very much like a regular diode, e.g. 1N4007:

        download.jpg

        You can easily verify by using a multimeter, or even the printing on the component could reveal its real identity.
        Some sellers ship both clothes and electronic components, so maybe the seller just shipped the wrong parts?

        http://yveaux.blogspot.nl

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

          @Yveaux Yea, could be - its not a 1n4007 because i have those as well, and also it conducts in two ways. Anyway, you are probably right - they shipped the wrong item. @petewill I ordered from the link in safe-in-wall thread: http://www.ebay.com/itm/111433875797?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT&rmvSB=true

          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
          • petewillP Offline
            petewillP Offline
            petewill
            Admin
            wrote on last edited by
            #72

            I finally had a spare minute to test my fuse. Good news, it worked! I plugged in a 13 watt florescent light bulb and it turned on. I then plugged in a 32 Watt florescent light bulb and it blew the fuse. @sundberg84 sorry you got the wrong ones! Hopefully other people who ordered got the ones that I did.

            My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

            1 Reply Last reply
            0
            • sundberg84S sundberg84

              This post is archived!
              Please use this thread to post questions:

              https://forum.mysensors.org/topic/2783/in-wall-ac-dc-pcb-for-mysensors

              Project can be found here:
              https://www.openhardware.io/view/13/In-Wall-ACDC-Pcb-for-MySensors







              Hi!

              As i mentioned in another post i had this idea to stack two PCB on top of each other to fit inside a wall appliance box. This idea has evolved (see below).

              Im aware of the big security risk here, and have tried to read:

              • http://forum.mysensors.org/topic/1607/safe-in-wall-ac-to-dc-transformers
              • http://forum.mysensors.org/topic/1540/110v-230v-ac-to-mysensors-pcb-board

              EDIT 03/1/2016
              After discussion on this here are the findings of this thread (as of now):

              I will update this post with BOM and eagles files as soon as i get a node running.

              1.JPG

              ...............................
              BOM/README: http://1drv.ms/1kCzue5
              GERBER: InWallMySensor3.0.rar
              EAGLES: InWallMySensor3.0Eagles.rar
              Build images: http://1drv.ms/1lsleox
              ...............................

              If you are using this design, please know about the risks when you work with high power. This design has no guarantee s so use it on your own risk!

              B Offline
              B Offline
              Brijesh Mishra
              wrote on last edited by Brijesh Mishra
              #73

              @sundberg84, gr8 job done....really amazing to see this one. i want to make few sensors for my home. Is the design of the board is final? Kindly guide me for the placement of LE33 and Dallas Temp as mentioned in your BOM that placement "solder Le33 + Caps (1,0, 10uf) on the pcb underside. Note the directions of the LE33 (not as silk mask!)"

              Also, will it be possible for you to upload the design to http://dirtypcbs.com, as i don't have any knowledge about PCB manufacturing. it will be very easy for me to order and get the PCBs for assembly.

              I am very new to all this and learning from you guys.....

              Thanks
              Brijesh

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

                @Brijesh-Mishra Thank you! Im waiting for Rev3 to arrive. It was manufactured a week ago so i guess it will arrive on 1-2 weeks. I will post and let you know the status here.

                I will also update the BOM with better instructions. LE33 should be soldered on the back side which reverse the direction of the pins (VCC/OUT). This means that the nice print on silkmask (white markings how the LE33 should be mounted) is not correct.

                Its a nice idea at dirtypcb, I can do that i guess!

                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
                • sundberg84S Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by sundberg84
                  #75

                  Rev 3 arrived today and its working, nice.
                  I soldered it togheter and uploaded a dallas temp sketch and ran it with AC power.

                  Next step is a long time test in a small space, measuring temp.
                  Also it would be nice to get some tips how i can test it more... (safety check).

                  Files and readme can be found in the first post.
                  Also this image for where i assemble the pcb (build).

                  0_1453237116943_1.jpg

                  0_1453237145111_20160119_213733.jpg

                  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

                  S 1 Reply Last reply
                  1
                  • sundberg84S sundberg84

                    Rev 3 arrived today and its working, nice.
                    I soldered it togheter and uploaded a dallas temp sketch and ran it with AC power.

                    Next step is a long time test in a small space, measuring temp.
                    Also it would be nice to get some tips how i can test it more... (safety check).

                    Files and readme can be found in the first post.
                    Also this image for where i assemble the pcb (build).

                    0_1453237116943_1.jpg

                    0_1453237145111_20160119_213733.jpg

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

                    @sundberg84 This is awesome progress dude!

                    So in my honest opinion, from a professional tradesman plastering, tiling, stud walls, plaster boarding are my specialties, I would firstly test this inside of a back-box, outside of a wall with the front attached (like it would be in a real-life situation). Then once that passes your expectations and requirements, I would then test it inside of a back-box located inside of a wall but without the front plate screwed on. Then once that passes, I would connect the front plate and manually monitor the temps inside of the controller.

                    If your question was aimed more towards how to test it electronically, then i'm sorry i can't help in that department, as you already know, I'm pretty weak at electronics at the moment still.

                    Its awesome to see your project coming on, very swiftly too. Keep up the good work!

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

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

                      @sundberg84 - Correct me If i'm being a complete NOOB here....

                      Your fuses, if they are the same function as what i feel to be a 'general household fuse', could you not use a removable fuse in a holder. This way if a fuse blows/trips all you would need to do is change out the fuse. This is all depending on what caused the fuse to blow, if it was an environment issue (spike of power draw, etc) then you could just change the fuse and power back up... Rather than having to get the soldering iron out.

                      Again, If I have incorrectly understood the principle of the fuse in this application, please notify me.

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

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

                        @samuel235 You are right - the only problem is size.
                        If you find a removable fuse as small as this axial fuse please let me know!
                        Most are 2x20mm and the holder are bigger.

                        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

                        S 1 Reply Last reply
                        0
                        • sundberg84S Offline
                          sundberg84S Offline
                          sundberg84
                          Hardware Contributor
                          wrote on last edited by sundberg84
                          #79

                          So today I have been testing temperatures inside a closed compartment with my PCB.
                          I drilled a hole in a metal cap to a glass bottle, put AC main through the metal cap and wrapped everything up inside. I then found some insulation material and wrapped the glas bottle up.

                          • First test was only minimum components and sleep for two minutes.
                          • Second test was the same but i added a LCD screen on maximum background lights and also a relay which switched on and off every 2 minutes sleep cycle.
                          • Third test was to remove the sleep and used wait instead so the node was powered all the time.

                          No problems so far, max temp during last test was 34,8 dgr C. Here is my numbers:
                          0_1453394311261_1.JPG

                          Any other ideas or components i can use to try - write a post!

                          -- Next

                          So... there are some (important) questions ahead i dont know how to answer though...

                          • Reliability, when will it fail? (compared to a commersial product?)
                          • How will it fail? What is it weakest point?
                          • Will my safety components be enough and prevail damage... ?
                          • What will happen when it fails?

                          Anyone having thoughts... let me know.

                          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
                          1
                          • sundberg84S sundberg84

                            @samuel235 You are right - the only problem is size.
                            If you find a removable fuse as small as this axial fuse please let me know!
                            Most are 2x20mm and the holder are bigger.

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

                            @sundberg84 said:

                            @samuel235 You are right - the only problem is size.

                            Ahh okay, indeed you're right. However, what is going on the front of the in wall box? Is it still being mounted inside of a wall box, or are you have it concealed away behind the wall where you can't really get to it easily? It isn't behind a light switch/socket?

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

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

                              @samuel235 depend on what you wants to do with it - its dynamic since you have the pins. If you want to add a relay and button you can hide it in the wallbox and still have the physical button or in the ceiling if you dont need that.

                              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

                              S 1 Reply Last reply
                              0
                              • sundberg84S sundberg84

                                @samuel235 depend on what you wants to do with it - its dynamic since you have the pins. If you want to add a relay and button you can hide it in the wallbox and still have the physical button or in the ceiling if you dont need that.

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

                                @sundberg84 - So It Is essentially a 'multi-use backboard' kind of application. So what I was trying to get to - In the UK we have something called a fused switch (link to image below). Now, you see that little rectangle to the side of the switch, its a fuse inside of a holder. I'm wondering if a possible model for a switch plate like that or any front plate to suit the needs (screen, switch, motion sensor, etc) could be maybe 3d printed, with that fuse holder incorporated into the front late with the board that you have made attached to the back of the front plate in such a manor that you can swap the fuse out without dismantling the whole socket or even soldering. Just a suggestion, well a huge suggestion at that i suppose.

                                Fused Switch Image

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

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

                                  Im getting quite bad radio performance when i seal this inside some boxes... works much better if I dont have the lid on.
                                  Does anyone know if the HLK can interfere with the radio (magnetic fields or anything)? EMF?
                                  Power supply to radio has both 0.1 and 10 caps so I dont hope its spikes or power to radio thats bad.

                                  Maybe I should move the radio away from AC side?

                                  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

                                  m26872M 1 Reply Last reply
                                  0
                                  • sundberg84S sundberg84

                                    Im getting quite bad radio performance when i seal this inside some boxes... works much better if I dont have the lid on.
                                    Does anyone know if the HLK can interfere with the radio (magnetic fields or anything)? EMF?
                                    Power supply to radio has both 0.1 and 10 caps so I dont hope its spikes or power to radio thats bad.

                                    Maybe I should move the radio away from AC side?

                                    m26872M Offline
                                    m26872M Offline
                                    m26872
                                    Hardware Contributor
                                    wrote on last edited by
                                    #84

                                    @sundberg84 Connect a battery supply instead of the LE33 and see if it helps?

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

                                      @m26872 Yea, could try that one - nice thinking.

                                      Made a testnode to see some performance on my PCB.
                                      Combined temp, hum (DHT), motion and light sensor.

                                      0_1455355258165_20160213_101425.jpg

                                      Sometimes i forget to think before i build though... not smart to measure temp and put it besides a power supply that generates heat, doh!

                                      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
                                      • sundberg84S Offline
                                        sundberg84S Offline
                                        sundberg84
                                        Hardware Contributor
                                        wrote on last edited by
                                        #86

                                        Trying to take this to the next level:

                                        3d design - first try (ever!).
                                        0_1455462995837_Skärmklipp.JPG

                                        I guess it wont meet any standard since its not completley sealed up - but I want to be able to reach the MYSX connector. Might be OK if I use a female pin header to MysX connector, then it wont be possible to put your finger inside.

                                        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
                                        2
                                        • sundberg84S Offline
                                          sundberg84S Offline
                                          sundberg84
                                          Hardware Contributor
                                          wrote on last edited by
                                          #87

                                          So, just a small update - im waiting for new PCB and parts (going to SMD components), almost everything has arrived but some nessecary things still missing.

                                          I will leave this project here but not develop this version any more.
                                          Instead I will create a new thread with the new SMD version!

                                          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
                                          3
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          16

                                          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