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 458.1k 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.
  • B Offline
    B Offline
    Bertb
    wrote on last edited by
    #115

    And I found the AP8012 chip inside. It has the following features:
    _1286955514_oj99d4.pdf

    YveauxY Moshe LivneM 3 Replies Last reply
    0
    • B Bertb

      And I found the AP8012 chip inside. It has the following features:
      _1286955514_oj99d4.pdf

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

      @Bertb Thanks Bert! Good digging!

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • B Bertb

        And I found the AP8012 chip inside. It has the following features:
        _1286955514_oj99d4.pdf

        Moshe LivneM Offline
        Moshe LivneM Offline
        Moshe Livne
        Hero Member
        wrote on last edited by
        #117

        @Bertb thanks! Good detective work! It seems the chip provide all the protections needed. That is very encouraging

        1 Reply Last reply
        0
        • scalzS Offline
          scalzS Offline
          scalz
          Hardware Contributor
          wrote on last edited by
          #118

          Thank you very much. I agree with you ap8012 seems to be a good chip. As we can see, it is difficult to make it smaller if we want all securities...and for the price including shipping I think they will sell lot of these things!

          1 Reply Last reply
          0
          • B Bertb

            And I found the AP8012 chip inside. It has the following features:
            _1286955514_oj99d4.pdf

            Moshe LivneM Offline
            Moshe LivneM Offline
            Moshe Livne
            Hero Member
            wrote on last edited by
            #119

            @Bertb it is hard to see from the photos, are the capacitors rated for 105c?

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

              @Moshe. Yes they are. I did not yet dug into that, but is that good news?
              IMG_20150729_124755.jpg IMG_20150729_124953.jpg IMG_20150729_125107.jpg IMG_20150729_125455.jpg

              Moshe LivneM 1 Reply Last reply
              1
              • B Offline
                B Offline
                Bertb
                wrote on last edited by Bertb
                #121

                Observe the air gaps.

                I also tried to incinerate the gum stuff that is inside the module with a cigaret lighter.
                After a couple of seconds it starts to glow, then, after some 10 seconds, the material starts to burn. But this stops within some 20 seconds ofter removal of the lighter.
                I made a film, but it is too large to upload.

                I am not an expert on AC-DC converters, but I am quite impressed by the layout of the design.
                The only thing that worries me is that I do not see how the OVP is created. On the other hand, this can be easily solved by adding a fuse and a ovp zener in the primary circuit.

                IMG_20150729_131014.jpg

                1 Reply Last reply
                0
                • B Bertb

                  @Moshe. Yes they are. I did not yet dug into that, but is that good news?
                  IMG_20150729_124755.jpg IMG_20150729_124953.jpg IMG_20150729_125107.jpg IMG_20150729_125455.jpg

                  Moshe LivneM Offline
                  Moshe LivneM Offline
                  Moshe Livne
                  Hero Member
                  wrote on last edited by
                  #122

                  @Bertb yes,although to be expected. Did you see the comparison mentioned a bit earlier in this thread? That is the first thing he checked

                  1 Reply Last reply
                  0
                  • scalzS Offline
                    scalzS Offline
                    scalz
                    Hardware Contributor
                    wrote on last edited by
                    #123

                    In the datasheet we can see it is implemented in the chip (in the block diagram) and how it works is explained at page 7. If VCC not well built, the chip would not work well I think.

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

                      I do not totally agree with this. When I take a look at the example circuit and read the ovp text, I can only conclude that the output is protected, because the circuit seizes to work when VCC rises to high. Whatever happens to the input circuit, I don't know. Therefore I prefer a fuse and and a varistor.

                      Have a look at the tutorial link text

                      petewillP 1 Reply Last reply
                      1
                      • B Bertb

                        I do not totally agree with this. When I take a look at the example circuit and read the ovp text, I can only conclude that the output is protected, because the circuit seizes to work when VCC rises to high. Whatever happens to the input circuit, I don't know. Therefore I prefer a fuse and and a varistor.

                        Have a look at the tutorial link text

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

                        @Bertb thank you for your testing!!! Although I don't know much about hardware I am gathering by the posts here that it is mostly good news!

                        So, now for the big question... If I were to add an external fuse like pictured here does everyone agree this is safe to put in a wall?

                        And, a follow up question if the answer is yes. Are there any basic tests we can do at home to verify the performance should be the same as what was tested here?

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

                          @Bertb, thanks a lot. I guess you mention to put a varistor/fuse right at output of this device, for example a 7K 14V varistor in parallel, and a 500mA fuse in series?

                          And what about the fire burn test --- Perhaps is there a method to measure it (and compare to some standard?).

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

                          1 Reply Last reply
                          0
                          • scalzS Offline
                            scalzS Offline
                            scalz
                            Hardware Contributor
                            wrote on last edited by
                            #127

                            I agree with you about varistor. it is a good idea.

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

                              I did not finish the automated power tester, but I put an HLK with a DS18B20 temp sensor in a closed flush box(is that the English word for the box in the wall, used for domestic wiring?).
                              A simple resistor acts as a load and draws a 800 mA from the power supply. That is 33% more than the max continuous value. Voltage across the leads is 4.96. That is 5.08 without load. Not too bad. At 600 mA (100% load) the voltage is also 5.00.
                              The Dallas says that the surface temperature at the HLK is 48.19 c ( F: 118.74).
                              Also do not forget to mount adequate capacitors to reduce ripple.

                              @petewill and @rvendrame ... Every country has directives regarding flammability. I cannot say which one is valid. I have seen some testing in the past. They put a burner under the device under test and waited to see what happened after removal of the source. In general (without any warranty whatsoever) when there are no flames or when they extinguish autonomic is good. If there is no hot material dripping from the DUT, that is also good. The test I carried out is described above. No dripping en self extinguishing. So I am satisfied.
                              Sorry, I cannot be more specific. I do not have the knowledge.

                              @rvendrame: yes the fuse in series in the mains live wire en the varistor in parallel with the primary side of the HLK.
                              With respect to the varistor ... see the sheet below:
                              Take a value that is well above the normal AC tension of your mains power, but below the max input voltage of the HLK. so in Netherlands 250 volts will do.

                              link text

                              Moshe LivneM 1 Reply Last reply
                              1
                              • B Offline
                                B Offline
                                Bertb
                                wrote on last edited by
                                #129

                                Now for the million dollar question ... would I mount a HLK in a flush box?
                                Well ... when equipped with varistor and fuse and with the load on the safe side ...
                                Yes, I would.

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

                                  @Bertb, thanks again. I got a bit confused, do you mean put the varistor + fuse into the PSU input (AC Mains)? I was more thinking in over voltage protection on output. So a low-volt varistor together with a fuse/ptc, both on the 5V output.

                                  My concern is having something wrong into the PSU-PWM control, and somehow the AC mains leaking to the low-volt side, cause arduino+friends burn/flaming. But I'm a hobbyist, so maybe I'm guessing wrong here.

                                  Maybe to be on safest side --- varistor + fuse/ptc on both AC mains and 5V rails?

                                  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 Bertb
                                    #131

                                    My initial safety is always toward the biggest danger ... mains in this case.
                                    For the secondary part a simple semiconductor fuse and a zener (transzorb) will do.

                                    1 Reply Last reply
                                    0
                                    • B Bertb

                                      I did not finish the automated power tester, but I put an HLK with a DS18B20 temp sensor in a closed flush box(is that the English word for the box in the wall, used for domestic wiring?).
                                      A simple resistor acts as a load and draws a 800 mA from the power supply. That is 33% more than the max continuous value. Voltage across the leads is 4.96. That is 5.08 without load. Not too bad. At 600 mA (100% load) the voltage is also 5.00.
                                      The Dallas says that the surface temperature at the HLK is 48.19 c ( F: 118.74).
                                      Also do not forget to mount adequate capacitors to reduce ripple.

                                      @petewill and @rvendrame ... Every country has directives regarding flammability. I cannot say which one is valid. I have seen some testing in the past. They put a burner under the device under test and waited to see what happened after removal of the source. In general (without any warranty whatsoever) when there are no flames or when they extinguish autonomic is good. If there is no hot material dripping from the DUT, that is also good. The test I carried out is described above. No dripping en self extinguishing. So I am satisfied.
                                      Sorry, I cannot be more specific. I do not have the knowledge.

                                      @rvendrame: yes the fuse in series in the mains live wire en the varistor in parallel with the primary side of the HLK.
                                      With respect to the varistor ... see the sheet below:
                                      Take a value that is well above the normal AC tension of your mains power, but below the max input voltage of the HLK. so in Netherlands 250 volts will do.

                                      link text

                                      Moshe LivneM Offline
                                      Moshe LivneM Offline
                                      Moshe Livne
                                      Hero Member
                                      wrote on last edited by
                                      #132

                                      @Bertb that is actually a very good surface temp for overload from what I saw in the other tests. Very promising.

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

                                        At 535 mA, the temperature stabilizes at 39.81c /F 103.66

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

                                          From what I researched at internet, the most important safety measure is the isolation part. Most countries have similar standards. From the pictures above I see the PCB tracks from high and low voltage are clearly separated by at least 0.5cm , which I think is also a requirement in EU.

                                          Maybe if we figure out a way to provide something between 7.5Kv and 10Kv into the its AC input for some seconds/minutes, and see what happens. This is the worst-case scenario --- A lightning event into the AC line during a electrical storm.

                                          Despite it may (and will) burn inside completely, any high voltage should never be present at output, as well as no significant flame that may propagate fire should occur.

                                          This of course requires costly and sofisticated lab equipment.

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

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


                                          28

                                          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