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

    So, my rev 3 is coming along:

    • moved the Dallas temp sensor
    • added some more space for the 240v fuses:
    • labels changed

    1.jpg

    The BOM? Is that the parts used?
    I have used what we concluded here:
    http://forum.mysensors.org/topic/1607/safe-in-wall-ac-to-dc-transformers

    This is what i bought (no garantees given this works/doesnt burn)

    HKL-PM01 http://www.ebay.com/sch/sis.html?_nkw=HLK-PM01+AC-DC+220V+to+5V+Step-Down+Power+Supply+Module+Household+Switch+Q15274&_id=351418782712&&_trksid=p2057872.m2749.l2658
    (DO NOT BUY THIS!!)Fuse http://www.ebay.com/itm/111433875797?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
    Thermal Fuse http://www.ebay.com/itm/221560426284?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
    Varistor http://www.ebay.com/itm/260848704608?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

    Pro Mini 5v
    Nrf radio
    LE33a http://www.ebay.com/itm/400691492273?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

    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 - No components between the NRF and the PCB but yes, if you mean on the other side of the pcb. There is the 5->3.3v converter and caps.

      @martinhjelmare - Yes, 4.5cm it seems but there is some room on the sides so i hope to be able to squise in a relay.

      @łukasz-rybak - You can connect a local button between d3 and gnd on the MYSX connector on the right side. This can read the switch and change a relay depending on what state the switch is in.

      @m26872 - Yea, lets hope so... ill do another revision of the board and lets see where this ends up.

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

      @sundberg84 said:

      @samuel235 - No components between the NRF and the PCB but yes, if you mean on the other side of the pcb. There is the 5->3.3v converter and caps.

      Just to let you know, I meant in between the nRF board and the PCB, so thank you for letting me know :)

      Rev 3 is looking pretty neat and tidy if i must say so. Keep up the awesome design work, I'm learning off of you, thank you! ;)

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

      1 Reply Last reply
      0
      • m26872M Offline
        m26872M Offline
        m26872
        Hardware Contributor
        wrote on last edited by
        #47

        @sundberg84 Yes, the BOM is the list of all components that populates your PCB. References, values, source and all other specifications that the "manufacturer" will need.

        I was actually mostly interested in the fuse looking like a big diode in your picture. Is it ordered from that link you showed? Which value is it?

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

          @m26872 Its the slow blow fuse, and I ordered 240v, dont remember which current and that is offcourse whats interesting. On a business trip but can check this weekend when i get home. The datasheet for the HLK refers to:

          Maximum input current ≤0.2 A
          Input current surge ; ≤10 A

          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 m26872M 2 Replies Last reply
          0
          • bjacobseB Offline
            bjacobseB Offline
            bjacobse
            wrote on last edited by
            #49

            Maybe you should add a ground plane on the low voltage part of your design on both sides, but avoid the area where the NRF24L01+ antenna is placed

            1 Reply Last reply
            0
            • sundberg84S sundberg84

              @m26872 Its the slow blow fuse, and I ordered 240v, dont remember which current and that is offcourse whats interesting. On a business trip but can check this weekend when i get home. The datasheet for the HLK refers to:

              Maximum input current ≤0.2 A
              Input current surge ; ≤10 A

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

              @sundberg84 Could I ask where you order your boards from, which manufacturer do you use and would you recommend them?

              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
                #51

                I order from itead. Works great and good quality.

                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

                  @m26872 Its the slow blow fuse, and I ordered 240v, dont remember which current and that is offcourse whats interesting. On a business trip but can check this weekend when i get home. The datasheet for the HLK refers to:

                  Maximum input current ≤0.2 A
                  Input current surge ; ≤10 A

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

                  @sundberg84 The closest fuse-alike I've found in a DO-204 (semiconductor-) package, is the TVS diode. Typical breakdown voltage seems to usually be a lot lower than 230V, so I guess you should apply a low voltage (<10V) if you want to test if it conducts. Fuse break current is the most interesting test of course.

                  1 Reply Last reply
                  0
                  • sundberg84S sundberg84

                    I order from itead. Works great and good quality.

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

                    @sundberg84 They look like they provide a pretty stable and awesome service. What sort of turn around did you get from ordering to receiving the PCB?

                    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
                      #54

                      @mzuidwijk : The HLK library for eagles: HKLPM01.rar
                      @m26872 : Since the ciriut works it conducts, i have not tested at which point it breaks because i dont have that equipment :( would be great if we somehow could estabilsh the right compont to use.

                      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

                        @mzuidwijk : The HLK library for eagles: HKLPM01.rar
                        @m26872 : Since the ciriut works it conducts, i have not tested at which point it breaks because i dont have that equipment :( would be great if we somehow could estabilsh the right compont to use.

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

                        @sundberg84 Of course it conducts, probably bidirectional too since it works well for you. That's why I suggested a TVS diode. The test was meant as an easy way to find more info even if it does not fully rule out that it still could be something else than a normal fuse. I'm sure you have possibility to test if something conducts or not at low voltages. If it does not, it is not a fuse. Use a new component since it could be a "fail-short" type one.
                        Then if you connect it in series to a load (> 230V*0.2A "=" 46W), it should blow if it's a fuse.

                        That first fuse is the no1 safety component and should be trusted. I would never just rely an some 10A house fuse to a diy design like this. Removing the varistor could limit the failure modes in the meantime.

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

                          @m26872 Ok, you seem to know more about this - i have pretty much tried to sum up what was told in the safe-in-wall thread.
                          Do you agree with that thread or would you do it some other way ? (High power parts and HKL PM01).

                          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

                            @m26872 Ok, you seem to know more about this - i have pretty much tried to sum up what was told in the safe-in-wall thread.
                            Do you agree with that thread or would you do it some other way ? (High power parts and HKL PM01).

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

                            @sundberg84 I think the conclusions of that thread is just fine. Now here, it's just a matter of a single component. If you feel safe as it is, ok by me.

                            I've done quite a few diy's over the years and that fuse has been my insurance. And saved me, more than once...

                            Edit: That last sentence sounded a bit bumptious, sorry. I now understand that you probably meant what I said about removing the varistor. There I meant that the varistor is after the fuse because of its hazards. If there is no fuse, it could be better to remove the varistor or at least place it after the thermal fuse.

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

                              @m26872 I really appreiacte your posts! I never feel safe enough! Would it be safer to have the varistor after the thermal fuse as well? Then the thermal fuse breaks both if the varistor gets hot from over voltage and also protect the HLK.

                              1.jpg

                              I will try to test my fuses as well - its a good thought. - You never know what you get from Ebay!

                              Edit: The "fuse" conducts low voltages (1.3V) connected to a normal battery and my Multimeter - so this excludes that it is a TVS diode?
                              Will later find some eqipment drawing more than 45W and see if that blows it :) Love to blow stuff... :collision:

                              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

                                @m26872 I really appreiacte your posts! I never feel safe enough! Would it be safer to have the varistor after the thermal fuse as well? Then the thermal fuse breaks both if the varistor gets hot from over voltage and also protect the HLK.

                                1.jpg

                                I will try to test my fuses as well - its a good thought. - You never know what you get from Ebay!

                                Edit: The "fuse" conducts low voltages (1.3V) connected to a normal battery and my Multimeter - so this excludes that it is a TVS diode?
                                Will later find some eqipment drawing more than 45W and see if that blows it :) Love to blow stuff... :collision:

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

                                @sundberg84 Yes, that fuses-varistor arrangement is like how I do it.

                                Great that it conducts, I hope in both directions or else it's a diode.

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

                                  @m26872 It conducts both ways, and there is some voltage depending resistance because the volage drops and its different depending which way i put gnd.

                                  Also, it does not blow :( so its not a fuse.
                                  At the end i connected my vaccumcleaner (1000w) and it didnt blow, all it did was vaccum really slow so i guess its some sort of bidirectional TVS. Good find, thank you!

                                  I will keep looking for a 250v 200mA fuse (small) one - you dont happen to know one?

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

                                    Also, i tested the thermal fuse and that one killed/blew! Couldnt measure the exakt temp because all i had was my barbecue thermometer atm and i fired to much to fast... but it blew pretty much were it was supposed to.,

                                    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 sundberg84

                                      @m26872 It conducts both ways, and there is some voltage depending resistance because the volage drops and its different depending which way i put gnd.

                                      Also, it does not blow :( so its not a fuse.
                                      At the end i connected my vaccumcleaner (1000w) and it didnt blow, all it did was vaccum really slow so i guess its some sort of bidirectional TVS. Good find, thank you!

                                      I will keep looking for a 250v 200mA fuse (small) one - you dont happen to know one?

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

                                      @sundberg84 said:

                                      @m26872 It conducts both ways, and there is some voltage depending resistance because the volage drops and its different depending which way i put gnd.

                                      Maybe a zener diode? Can you read some figures on it?

                                      Also, it does not blow :( so its not a fuse.

                                      :thumbsup: Good job with the testing!

                                      You're welcome.

                                      I will keep looking for a 250v 200mA fuse (small) one - you dont happen to know one?

                                      This far I've only used standard replacable 5x20mm glass fuses and holders (preferably covered). These are safe and proven but quite bulky and hence not as convienient for our PCB designs. I've ordered a few small ones with solderlegs for testing but not yet recieved them.

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

                                        New revision ordered:
                                        1.jpg

                                        and also some new fuses:
                                        http://www.ebay.com/itm/290767404446?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
                                        http://www.ebay.com/itm/231765976267?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

                                        Of of them is 500mA but that cant matter that much?
                                        Spec of HKL:
                                        Maximum input current ≤0.2 A
                                        Input current surge ; ≤10 A

                                        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
                                          #64

                                          @sundberg84 Would you mind posting pictures of your fuses that turned out not to be fuses? I think a few of us ordered from the same store and I'd like to update my original post with a warning. Also, if you don't mind can you post a step by step way for to easily test? If there is another way besides connecting to my vacuum cleaner that would be awesome :)

                                          @m26872 & @sundberg84 can you describe in a little more detail the change of placement of the Varistor? I don't really understand why it's better to change the placement. I'd like to update my first post in this thread with the best/safest method http://forum.mysensors.org/topic/1607/safe-in-wall-ac-to-dc-transformers

                                          Thanks!

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

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


                                          14

                                          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