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.7k 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.
  • rvendrameR rvendrame

    @Moshe-Livne , I believe there is no off the shell as if you dig in the details, you will see that the impedance of the consuming circuit ( arduino + radio + relay in our case) direct influence the overall performance of the capacitor/resistor model.

    Usually triacs consume less than relay (something between 10 and 50mA), and you can also control the bright of a light or speed of a motor, instead just turn them on or off.

    The downside, you need a snubber circuit as well as a zero-cross detection circuit. The snubber is also recomended for relays, though.

    So at the end you don't reduce the footprint or costs --- But triacs tend to last longer than relays, as no mechanical commutation occurs.

    DrJeffD Offline
    DrJeffD Offline
    DrJeff
    wrote on last edited by
    #54

    @rvendrame I'm right with you on all of this have been trying to do this for a couple months with no time right now. Actually it has been longer I was originally building all this for another system using XBees and then found it better to use esp8266 then said better yet use Mysensors so here we are! Transformer less is key at least I think so! Only problem no off the self builds.

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

      Hi,

      I found an application notes from enocean regarding power supplies design. I think it could be helpful, and good to remember, so I share the link.
      http://www.enocean.com/fileadmin/redaktion/pdf/app_notes/AN101_POWER_SUPPLY_LAYOUT_2015.pdf

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

        I'm currently studying this doc STEVAL-ILL004V1 AN2263 AppNote .pdf. I should prototype something over next week if family allows.

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

          Hi. interesting link, I will read it when I will have time. It looks like u2008 or u2010 which are obsolete now (I have some in stock, cheap on aliexpress) but I didn't know your ref. thanks

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

            @scalz, I'm trying to porting the capacitor-resistor power supply concept from that doc to our mySensor world. Specially for 1-wire dimmer, as described in chapter 3.1.

            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 scalz
              #59

              @rvendrame : I tried something similar once. I didn't remember exactly how all was connected but with triac, in one wire, even if I was not toggling anything, I had brown reset at start (maybe I could find my schem). With two wire, I had no problem but a little flickering (zero cross detection done by arduino). Maybe it was that which restarted. Next, I did another test with mosfet pwm, in one wire config again. This time, it started ok, and as I was increasing pwm it restarted for pwm = 170-200 (I don't remember exactly) .But I jumped onto another project I am finishing.
              I will follow your results with interest as your link is interesting , and at my home it is one wire too.

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

                @scalz, with the 1-wire circuit , the maximum you can reach is like 80% - 90 % of light bright, as you need to keep the triac/mosfet "off" for a short period, in order to recharge the PSU capacitor. Maybe that explained why it re-started on your test at PWM 170-200. (and would also confirm that it works 'as designed', good to know)

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

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  ThinkPad
                  wrote on last edited by
                  #61

                  I would be careful when stripping cheap USB-powersupplies and tucking them into a box in the wall. Read this page: http://www.lygte-info.dk/info/indexUSB UK.html and this page: http://www.lygte-info.dk/info/usbPowerSupplyTest UK.html to see how badly constructed some of these powersupplies are.

                  He also explains how he is testing those powersupplies: http://lygte-info.dk/info/usbPowerSupplyTestHow UK.html
                  Very informative i must say.

                  Moshe LivneM petewillP SparkmanS DidiD 4 Replies Last reply
                  2
                  • T ThinkPad

                    I would be careful when stripping cheap USB-powersupplies and tucking them into a box in the wall. Read this page: http://www.lygte-info.dk/info/indexUSB UK.html and this page: http://www.lygte-info.dk/info/usbPowerSupplyTest UK.html to see how badly constructed some of these powersupplies are.

                    He also explains how he is testing those powersupplies: http://lygte-info.dk/info/usbPowerSupplyTestHow UK.html
                    Very informative i must say.

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

                    @ThinkPad Fascinating read.... If you read through the thread you will see that we actually go to the same conclusion. The meanwell charger should be good - they are respectable company and it has the 3 safeties we were looking for. It is not a very common charger - I have never seen it being sold before.

                    1 Reply Last reply
                    0
                    • T ThinkPad

                      I would be careful when stripping cheap USB-powersupplies and tucking them into a box in the wall. Read this page: http://www.lygte-info.dk/info/indexUSB UK.html and this page: http://www.lygte-info.dk/info/usbPowerSupplyTest UK.html to see how badly constructed some of these powersupplies are.

                      He also explains how he is testing those powersupplies: http://lygte-info.dk/info/usbPowerSupplyTestHow UK.html
                      Very informative i must say.

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

                      @ThinkPad Thanks for posting. It's good to see how the tests are performed. Unfortunately I don't have the equipment or skill to know how to test. Hopefully we will be able to find a safe one that we can all use.

                      @Moshe-Livne have you been able to find the meanwell chargers from anywhere besides jameco?

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

                      YveauxY Moshe LivneM 2 Replies Last reply
                      0
                      • petewillP petewill

                        @ThinkPad Thanks for posting. It's good to see how the tests are performed. Unfortunately I don't have the equipment or skill to know how to test. Hopefully we will be able to find a safe one that we can all use.

                        @Moshe-Livne have you been able to find the meanwell chargers from anywhere besides jameco?

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

                        @petewill Mouser carries them, and also the european version (GS05E-USB). Please see here.

                        http://yveaux.blogspot.nl

                        petewillP 1 Reply Last reply
                        1
                        • T ThinkPad

                          I would be careful when stripping cheap USB-powersupplies and tucking them into a box in the wall. Read this page: http://www.lygte-info.dk/info/indexUSB UK.html and this page: http://www.lygte-info.dk/info/usbPowerSupplyTest UK.html to see how badly constructed some of these powersupplies are.

                          He also explains how he is testing those powersupplies: http://lygte-info.dk/info/usbPowerSupplyTestHow UK.html
                          Very informative i must say.

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

                          @ThinkPad Thanks for posting that. Great info there. Looks like you get what you pay for with the cheap power supplies.

                          Cheers
                          Al

                          1 Reply Last reply
                          0
                          • T ThinkPad

                            I would be careful when stripping cheap USB-powersupplies and tucking them into a box in the wall. Read this page: http://www.lygte-info.dk/info/indexUSB UK.html and this page: http://www.lygte-info.dk/info/usbPowerSupplyTest UK.html to see how badly constructed some of these powersupplies are.

                            He also explains how he is testing those powersupplies: http://lygte-info.dk/info/usbPowerSupplyTestHow UK.html
                            Very informative i must say.

                            DidiD Offline
                            DidiD Offline
                            Didi
                            wrote on last edited by
                            #66

                            @ThinkPad said:

                            I would be careful when stripping cheap USB-powersupplies and tucking them into a box in the wall.

                            Thanks for the information.The most powersupplies are horrible.
                            The engineers have developed them must go to jail.
                            Safety must be the major goal not the price.

                            if (knowledge == 0) { use BRAIN; use GOOGLE;use SEARCH; } else {make POST;}

                            1 Reply Last reply
                            0
                            • YveauxY Yveaux

                              @petewill Mouser carries them, and also the european version (GS05E-USB). Please see here.

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

                              @Yveaux Thanks. I was hoping there would be a cheaper way to get these. With shipping it's pretty pricey. Probably not as pricey as a fire though...

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

                              Moshe LivneM 1 Reply Last reply
                              0
                              • petewillP petewill

                                @Yveaux Thanks. I was hoping there would be a cheaper way to get these. With shipping it's pretty pricey. Probably not as pricey as a fire though...

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

                                @petewill I have a supplier on ali that sells meanwell reasonably cheap. I used to buy all the power supplies for the LED lights I made from him. I will ask him for a quote. The downside is that he ships everything DHL.... still might be cheaper. where are you located?

                                petewillP 1 Reply Last reply
                                0
                                • Moshe LivneM Moshe Livne

                                  @petewill I have a supplier on ali that sells meanwell reasonably cheap. I used to buy all the power supplies for the LED lights I made from him. I will ask him for a quote. The downside is that he ships everything DHL.... still might be cheaper. where are you located?

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

                                  @Moshe-Livne Ok, thanks! I live in Colorado, USA.

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

                                  Moshe LivneM 1 Reply Last reply
                                  0
                                  • J Offline
                                    J Offline
                                    jemish
                                    wrote on last edited by
                                    #70

                                    so finally....plz...tell me which power supply is the best to put inside in the wall?

                                    I want required 5v for Relay, arduino mini, and radio.

                                    YveauxY 1 Reply Last reply
                                    0
                                    • petewillP petewill

                                      @Moshe-Livne Ok, thanks! I live in Colorado, USA.

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

                                      @petewill My supplier is not selling these :-(
                                      apparently they are new
                                      @jemish It is still a work in progress. @didi will do some tests and we are trying to get some more for testing.
                                      Based on http://www.lygte-info.dk/info/indexUSB UK.html I would choose the apple one (http://lygte-info.dk/review/USBpower Apple USB power adapter UK.html)... But YMMV. I am not sure it has OTP

                                      1 Reply Last reply
                                      0
                                      • J jemish

                                        so finally....plz...tell me which power supply is the best to put inside in the wall?

                                        I want required 5v for Relay, arduino mini, and radio.

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

                                        @jemish Be safe and buy something like: http://www.recom-international.com/pdf/Powerline-AC-DC/RAC03-SCR_277.pdf
                                        Live on the edge (having a decent fire insurance) and tear down a USB charger or buy one of the few $$ versions from China .

                                        http://yveaux.blogspot.nl

                                        J 1 Reply Last reply
                                        0
                                        • petewillP petewill

                                          @ThinkPad Thanks for posting. It's good to see how the tests are performed. Unfortunately I don't have the equipment or skill to know how to test. Hopefully we will be able to find a safe one that we can all use.

                                          @Moshe-Livne have you been able to find the meanwell chargers from anywhere besides jameco?

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

                                          I have asked the guy who made this excellent list to test the meanwell - hopefully he will oblige. I still haven't been able to find anything with OTP even remotely in this price bracket....

                                          @petewill said:

                                          @ThinkPad Thanks for posting. It's good to see how the tests are performed. Unfortunately I don't have the equipment or skill to know how to test. Hopefully we will be able to find a safe one that we can all use.

                                          @Moshe-Livne have you been able to find the meanwell chargers from anywhere besides jameco?

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


                                          19

                                          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