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. Safe In-Wall AC to DC Transformers??

Safe In-Wall AC to DC Transformers??

Scheduled Pinned Locked Moved Hardware
431 Posts 71 Posters 457.8k Views 69 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.
  • petewillP Offline
    petewillP Offline
    petewill
    Admin
    wrote on last edited by
    #207

    @sundberg84 Yikes! That is exactly why I started this thread. I don't want to burn my house down...

    @rvendrame Awesome! Can't wait either!

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

    1 Reply Last reply
    0
    • rvendrameR Offline
      rvendrameR Offline
      rvendrame
      Hero Member
      wrote on last edited by
      #208

      The review of the hlktech's HLK-PM01 is available here!

      Home Assistant / Vera Plus UI7
      ESP8266 GW + mySensors 2.3.2
      Alexa / Google Home

      1 Reply Last reply
      2
      • F Offline
        F Offline
        Fabien
        wrote on last edited by
        #209

        Thank you for the test.

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

          This is fantastic news!!

          Would anyone be able to provide a parts list and wiring diagram based on the recommendations from the test site (pasted below)?

          "A few notes for using it:
          Electronic wears down faster when warm, especially capacitors, i.e. keep it as cool as possible for long lifetime.
          I would place a fuse or fusible resistor before the converter, the fuse is not supposed to be replaceable, when it blows it is time to replace the converter.
          A MOV accross the mains input would probably also be a good idea."
          http://lygte-info.dk/review/Power Mains to 5V 0.6A Hi-Link HLK-PM01 UK.html

          Once we have a that info I will update the first post so everyone reading this in the future doesn't have to read through 200+ posts to get to the conclusion. Thanks to everyone who helped with this!!!

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

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            Zeph
            Hero Member
            wrote on last edited by
            #211

            The wiring is easy to describe.

            Put a fuse in line between the "hot" mains AC input and the power supply module input (the "neutral" can go directly to the power supply). Put a MOV across the power supply input (on the PS side of the fuse).

            For small spikes, the MOV would protect the PS by absorbing most of it. For longer surges, the MOV would cause the fuse to blow, probably sacrificing itself in the process.

            Maybe others can help with component selection (for 120v and 240v mains). I see that in the case of Littelfuse, the fuse is rated by RMS AC voltage, so a 140v MOV would work for a nominal 120VAC mains). http://www.littelfuse.com/~/media/electronics_technical/application_notes/varistors/littelfuse_selecting_a_littelfuse_varistor_application_note.pdf

            I don't know if RMS rating is standard, or if some are rated by their DC voltage conduction threshold, but one would want to be sure of that for the brand they are getting.

            petewillP 1 Reply Last reply
            0
            • rvendrameR Offline
              rvendrameR Offline
              rvendrame
              Hero Member
              wrote on last edited by
              #212

              Some more thoughts from the guy who analyzed it:

              "Hi Ricardo

              It looks safe enough to me, except I want a fuse or fusible resistor before it. The purpose of the fuse is to blow when the module is worn down and maybe shorts. How fast it wears down will depend on temperature, at very high temperature it might be less than ½ year, at more moderate temperature it might be 10-20 years. The main culprit is the capacitors, their lifetime depends on temperature and quality of the capacitor.
              Second risk for failure is large transients on the mains that may damage the module, again the fuse is there to prevent things getting out of hand if the module breaks down.

              The module can get hot if you pack it into the wall, especially if it is inside a lot of insulation. Doing a few test with a DMM and a temperature probe taped to the module inside the wall might be a good idea when running the module near full load.
              I do not know the stuff used to fill with, but usual it will not easily catch fire."

              Home Assistant / Vera Plus UI7
              ESP8266 GW + mySensors 2.3.2
              Alexa / Google Home

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

                @rvendrame Thanks for getting this tested - that's a great result. The high temperatures he was testing at are for running at 1A of output but I thought that the 5V line is just for the Arduino and the radio which aren't going to use much current at all right?

                rvendrameR 1 Reply Last reply
                0
                • TD22057T TD22057

                  @rvendrame Thanks for getting this tested - that's a great result. The high temperatures he was testing at are for running at 1A of output but I thought that the 5V line is just for the Arduino and the radio which aren't going to use much current at all right?

                  rvendrameR Offline
                  rvendrameR Offline
                  rvendrame
                  Hero Member
                  wrote on last edited by
                  #214

                  @TD22057 , exactly, under regular load (< 600ma), the unit should not get that hot. Once I get some time I will try the suggestion, by gluing a temp sensor on the unit and put it behind the wall switch.

                  Perhaps I will add the temp sensor permanently as a extra mySensor on the wall-relay, so I can capture the temp during the upcoming summer days. ;-)

                  Home Assistant / Vera Plus UI7
                  ESP8266 GW + mySensors 2.3.2
                  Alexa / Google Home

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    Bertb
                    wrote on last edited by
                    #215

                    Well, I must say, I am very happy with the result. Thanks for the testing.
                    So, I am already planning to use it in a number of devices. To avoid too high temperatures in confined boxes, it might be a good idea to glue a temperature fuse to it and wire it in series with the live mains wire. When the temperature rises above, lets say 75 degrees celsius, the fuse breaks down.

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

                      It would also be good to link that temp sensor into the arduino. Then it could send out a "help my temp is to high" message before it shuts down. It should be possible to implement an overheated mode which would just blink a status LED on the front of the device and shuts everything else down until the temperature drops. Using the tricks of running a battery powered node should let the arduino power stay low enough for the PSU to cool down while still checking the temperature every few minutes and running the LED. The fuse would then be a fail-safe backup to the overheated mode.

                      1 Reply Last reply
                      0
                      • rvendrameR rvendrame

                        Some more thoughts from the guy who analyzed it:

                        "Hi Ricardo

                        It looks safe enough to me, except I want a fuse or fusible resistor before it. The purpose of the fuse is to blow when the module is worn down and maybe shorts. How fast it wears down will depend on temperature, at very high temperature it might be less than ½ year, at more moderate temperature it might be 10-20 years. The main culprit is the capacitors, their lifetime depends on temperature and quality of the capacitor.
                        Second risk for failure is large transients on the mains that may damage the module, again the fuse is there to prevent things getting out of hand if the module breaks down.

                        The module can get hot if you pack it into the wall, especially if it is inside a lot of insulation. Doing a few test with a DMM and a temperature probe taped to the module inside the wall might be a good idea when running the module near full load.
                        I do not know the stuff used to fill with, but usual it will not easily catch fire."

                        M Offline
                        M Offline
                        mvdarend
                        wrote on last edited by
                        #217

                        @rvendrame said:

                        Some more thoughts from the guy who analyzed it:

                        "Hi Ricardo

                        *It looks safe enough to me, except I want a fuse or fusible resistor before it. The purpose of the fuse is to blow when the module is worn down and maybe shorts.

                        Would something like this be OK?
                        http://www.aliexpress.com/store/product/100pcs-LOT-PTC-Resettable-Fuses-TRF250-080-250V-0-08A-80MA-PPTC-Polymeric-PTC-PolySwitch-DIP/1653204_32267664975.html

                        rvendrameR 1 Reply Last reply
                        0
                        • M mvdarend

                          @rvendrame said:

                          Some more thoughts from the guy who analyzed it:

                          "Hi Ricardo

                          *It looks safe enough to me, except I want a fuse or fusible resistor before it. The purpose of the fuse is to blow when the module is worn down and maybe shorts.

                          Would something like this be OK?
                          http://www.aliexpress.com/store/product/100pcs-LOT-PTC-Resettable-Fuses-TRF250-080-250V-0-08A-80MA-PPTC-Polymeric-PTC-PolySwitch-DIP/1653204_32267664975.html

                          rvendrameR Offline
                          rvendrameR Offline
                          rvendrame
                          Hero Member
                          wrote on last edited by
                          #218

                          @mvdarend , I don't have experience to evaluate that. These ones are current-driven, I think it would be nice some fuse that is temperature-driven (despite I don't know even if that exist or what would be the parameters for that...)

                          Home Assistant / Vera Plus UI7
                          ESP8266 GW + mySensors 2.3.2
                          Alexa / Google Home

                          1 Reply Last reply
                          0
                          • Z Zeph

                            The wiring is easy to describe.

                            Put a fuse in line between the "hot" mains AC input and the power supply module input (the "neutral" can go directly to the power supply). Put a MOV across the power supply input (on the PS side of the fuse).

                            For small spikes, the MOV would protect the PS by absorbing most of it. For longer surges, the MOV would cause the fuse to blow, probably sacrificing itself in the process.

                            Maybe others can help with component selection (for 120v and 240v mains). I see that in the case of Littelfuse, the fuse is rated by RMS AC voltage, so a 140v MOV would work for a nominal 120VAC mains). http://www.littelfuse.com/~/media/electronics_technical/application_notes/varistors/littelfuse_selecting_a_littelfuse_varistor_application_note.pdf

                            I don't know if RMS rating is standard, or if some are rated by their DC voltage conduction threshold, but one would want to be sure of that for the brand they are getting.

                            petewillP Offline
                            petewillP Offline
                            petewill
                            Admin
                            wrote on last edited by
                            #219

                            @Zeph Thanks.

                            Do you all think a 150v MOV is ok for USA? I found some cheaper than the 140v on ebay but I' like to do it right :)

                            http://www.ebay.com/itm/LOT-of-10-MAIDA-METAL-OXIDE-VARISTOR-RADIAL-MOV-8mm-Disk-150V-D68ZOV151RA03-/390095815756?hash=item5ad385c44c

                            I found these fuses but they are 250v. Do you think that would be OK for 120v normal power or do I need to find 150v fuses?

                            http://www.ebay.com/itm/Through-Hole-T5A-5A-250V-Radial-Leads-Miniature-Micro-Fuse-20-Pcs-SP-/181623867749?hash=item2a49a04965

                            Something like this for the temperature fuse?
                            http://www.ebay.com/itm/3-pcs-New-KSD-9700-70-C-250V-5A-Thermostat-Temperature-BiMetal-Switch-NC-Close-/141752004726?hash=item210113f076

                            Is there anything else I'm missing that should be included in the circuit? Like others, I was also thinking that adding a temp sensor to the Arduino would be good so I could tell how hot it is in the box at any time.

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

                            1 Reply Last reply
                            0
                            • rvendrameR Offline
                              rvendrameR Offline
                              rvendrame
                              Hero Member
                              wrote on last edited by rvendrame
                              #220

                              More from the 'guru'

                              "There is no input fuse, that is the reason I recommend one and it has to be a real fuse that blows, not a fuse that will automatic recover. The only time it is supposed to blow is if the converter blows and then you want the mains permanently disconnected. Probably a 0.2A slow fuse will work."

                              Home Assistant / Vera Plus UI7
                              ESP8266 GW + mySensors 2.3.2
                              Alexa / Google Home

                              M 1 Reply Last reply
                              1
                              • rvendrameR rvendrame

                                More from the 'guru'

                                "There is no input fuse, that is the reason I recommend one and it has to be a real fuse that blows, not a fuse that will automatic recover. The only time it is supposed to blow is if the converter blows and then you want the mains permanently disconnected. Probably a 0.2A slow fuse will work."

                                M Offline
                                M Offline
                                mvdarend
                                wrote on last edited by
                                #221

                                @rvendrame Thanks for the clarification.

                                1 Reply Last reply
                                0
                                • Z Offline
                                  Z Offline
                                  Zeph
                                  Hero Member
                                  wrote on last edited by
                                  #222

                                  And a 250VAC fuse is fine to use on 120VAC (and in fact quite common).

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

                                    Ok, how does this look for parts?

                                    70 degree (Celsius) fuses - http://www.ebay.com/itm/10pcs-Thermal-Cutoffs-SEFUSE-Microtemp-Thermal-TF-Cutoff-NEC-Fuses-73-C-240-C-/221560426284?var=&hash=item339607cf2c

                                    .75A fuse - They are fast blow not slow like specified above. Does that matter?? http://www.ebay.com/itm/40Pcs-ELECTRIC-FUSE-FAST-BLOW-0-75A-250VAC-35A-IR-THROUGH-HOLE-/271902224922?hash=item3f4ea2b21a

                                    Same MOVs http://www.ebay.com/itm/LOT-of-10-MAIDA-METAL-OXIDE-VARISTOR-RADIAL-MOV-8mm-Disk-150V-D68ZOV151RA03-/390095815756?hash=item5ad385c44c

                                    Is there anything else I'm missing? The goal with all this is to make another "how to" video so I want to make sure I'm not giving people bad advice.

                                    So, it would look something like this (ignore power to radio, didn't have time to wire it):

                                    Fritzing In-Wall Power.png

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

                                    1 Reply Last reply
                                    0
                                    • rvendrameR Offline
                                      rvendrameR Offline
                                      rvendrame
                                      Hero Member
                                      wrote on last edited by
                                      #224

                                      @petewill . the MOV goes in parallel with HLK input (and not in series like you did).

                                      It was suggested to use .2A fuses (instead the .75A). And the Thermal fuse should be glued on HLK top (my guess).

                                      Home Assistant / Vera Plus UI7
                                      ESP8266 GW + mySensors 2.3.2
                                      Alexa / Google Home

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

                                        @rvendrame said:

                                        @petewill . the MOV goes in parallel with HLK input (and not in series like you did).

                                        It was suggested to use .2A fuses (instead the .75A). And the Thermal fuse should be glued on HLK top (my guess).

                                        Dang, totally forgot about all that in my rush to finish the diagram before lunch ended... That's why you guys design the electronics and I make the videos ;)

                                        How necessary are the .2A fuses? I couldn't find any on ebay at a reasonable price. Is the goal of this fuse to prevent large surges (like lightning) from hitting the MOV, or something else? If it's to prevent large surges would the .75A work ok?

                                        Also, I was able to find cheaper varistors. I'm thinking 150VAC should work ok because the HLK is designed to handle 240VAC but maybe I'm off on that?
                                        http://www.ebay.com/itm/5-x-Zinc-Oxide-Varistor-150VAC-15J-1200A-7mm-FREE-SHIPPING-/321024816822?hash=item4abe91f6b6

                                        How does this look?
                                        HLK-PM01 Wiring.png

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

                                        SparkmanS 2 Replies Last reply
                                        0
                                        • petewillP petewill

                                          @rvendrame said:

                                          @petewill . the MOV goes in parallel with HLK input (and not in series like you did).

                                          It was suggested to use .2A fuses (instead the .75A). And the Thermal fuse should be glued on HLK top (my guess).

                                          Dang, totally forgot about all that in my rush to finish the diagram before lunch ended... That's why you guys design the electronics and I make the videos ;)

                                          How necessary are the .2A fuses? I couldn't find any on ebay at a reasonable price. Is the goal of this fuse to prevent large surges (like lightning) from hitting the MOV, or something else? If it's to prevent large surges would the .75A work ok?

                                          Also, I was able to find cheaper varistors. I'm thinking 150VAC should work ok because the HLK is designed to handle 240VAC but maybe I'm off on that?
                                          http://www.ebay.com/itm/5-x-Zinc-Oxide-Varistor-150VAC-15J-1200A-7mm-FREE-SHIPPING-/321024816822?hash=item4abe91f6b6

                                          How does this look?
                                          HLK-PM01 Wiring.png

                                          SparkmanS Offline
                                          SparkmanS Offline
                                          Sparkman
                                          Hero Member
                                          wrote on last edited by Sparkman
                                          #226

                                          @petewill said:

                                          Also, I was able to find cheaper varistors. I'm thinking 150VAC should work ok because the HLK is designed to handle 240VAC but maybe I'm off on that?

                                          As long as you only feed it with 120VAC, there's no issue with that. For those that will feed it with 240VAC, they need to use it with a MOV rated above that.

                                          Cheers
                                          Al

                                          PS Here's an option from Digikey: http://www.digikey.com/product-detail/en/MOV-10D241K/MOV-10D241K-ND/2407562

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


                                          12

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 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