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. 230V power supply to Arduino

230V power supply to Arduino

Scheduled Pinned Locked Moved Hardware
67 Posts 25 Posters 69.3k Views 22 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.
  • T Tibus

    Hello, I'm also searching a way to get 5V from AC to make a beatiful mysensor wallPlug... I'm searching the smallest and cheapest way to do it. My problem is I want to drive a regular relay (a SSR is not very good for plug and other things no?), an atmega328 tqfp, a NRF24 and some other things like a current sensor,... so, I think I need 150ma +-? (100ma for the relay, max 25-30ma for the NRF and arduino and some ma for the status leds,...)

    I found here the SR086 but I don't know if I could take 150ma on it.
    What is the best way for my projet?

    I also found these one but don't know if it ok too :
    http://www.newark.com/vigortronix/vtx-214-001-105/ac-dc-conv-fixed-1-o-p-1w-5v/dp/45X5484?ost=VTX-214-001-105

    I'm searchin the smallest way because i also would like to make a in wall module for interuptor,... so the VTX above is ok for a wallplug but a bit big for a in wall module... How the cubino for exemple make a DC module so small?

    axillentA Offline
    axillentA Offline
    axillent
    Mod
    wrote on last edited by
    #24

    @Tibus your selection is fine. Any one above is also fine

    what is you worry?

    sense and drive

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Tibus
      wrote on last edited by
      #25

      @axillent My worry is taking 150ma out of a SR086? Is the SR086 ok to give 150ma?

      The VTX is ok but big for an inwall module so is there a good way to get 150ma in 5V from 220VAC in the smallest form factor possible? (or in less than 1cm height?)

      I also found these one but a SR086 would be fine for a inwall relay... (but 150ma?)

      http://fr.rs-online.com/web/p/alimentations-a-decoupage-integrables/7719379/

      axillentA 1 Reply Last reply
      0
      • T Tibus

        @axillent My worry is taking 150ma out of a SR086? Is the SR086 ok to give 150ma?

        The VTX is ok but big for an inwall module so is there a good way to get 150ma in 5V from 220VAC in the smallest form factor possible? (or in less than 1cm height?)

        I also found these one but a SR086 would be fine for a inwall relay... (but 150ma?)

        http://fr.rs-online.com/web/p/alimentations-a-decoupage-integrables/7719379/

        axillentA Offline
        axillentA Offline
        axillent
        Mod
        wrote on last edited by axillent
        #26

        @Tibus SR086 able to provide 100mA from 9-50V. For example you can set it to provide 20V and add DC-DC step-down for example based on MP2359. This will give you current-UP benefit at 5V etc. 20V@100mA will give you 5V@360mA maximum with 90% efficiency

        My preference in your case LNK306, you can get directly up to 350mA. Using ceramic capacitors and SMD inductors you will fit in 7-10mm height (see one of my picture above)

        And at last. Why not SSR? What type of the load do you have?

        sense and drive

        1 Reply Last reply
        0
        • T Offline
          T Offline
          Tibus
          wrote on last edited by
          #27

          @axillent Thank's verry much. I didn't know the current up benefit of a step-down. I think it's the key of my problem!
          I'll test the lnk306. Hope It will work for my project.

          For my "in wall module", it's just lights so no problem for an SSR. But for the wall plug, The user chose the load they want... so if it's a TV or a washing machine or a power supply, I read an SSR is not verry good for these things...

          axillentA 1 Reply Last reply
          0
          • T Tibus

            @axillent Thank's verry much. I didn't know the current up benefit of a step-down. I think it's the key of my problem!
            I'll test the lnk306. Hope It will work for my project.

            For my "in wall module", it's just lights so no problem for an SSR. But for the wall plug, The user chose the load they want... so if it's a TV or a washing machine or a power supply, I read an SSR is not verry good for these things...

            axillentA Offline
            axillentA Offline
            axillent
            Mod
            wrote on last edited by
            #28

            @Tibus YAW
            For LNK take a look for AN37, especially optimization at table 9
            an37-linkswitch.pdf

            SSR is fine for most of the loads. But you need to follow recommendation of their use and to control limitations (like maximum ratings and heat dissipation)

            sense and drive

            1 Reply Last reply
            0
            • axillentA Offline
              axillentA Offline
              axillent
              Mod
              wrote on last edited by
              #29

              I'm expecting to receive my SR086 and SR10 this week
              I have a plan to run some tests

              sense and drive

              1 Reply Last reply
              0
              • klimK Offline
                klimK Offline
                klim
                wrote on last edited by
                #30

                Regarding the SR10 i've already here a few, but just no time to build up something ;-(
                The more i'm curious for your results.

                axillentA 1 Reply Last reply
                0
                • klimK klim

                  Regarding the SR10 i've already here a few, but just no time to build up something ;-(
                  The more i'm curious for your results.

                  axillentA Offline
                  axillentA Offline
                  axillent
                  Mod
                  wrote on last edited by axillent
                  #31

                  @klim I made a test PCB

                  IMG_2088.JPG IMG_2089.JPG IMG_2090.JPG

                  I succeed to get about 34mA with 1uF capacitor and probably it will provide 40mA stated in the datasheet
                  it is not possible to use it directly without an additional LDO or step-down because of a very high ripple.
                  According to my measurement ripple is 2.8V with 12.6V average output (figures in table should be multiplied by 10):
                  Untitled.jpg

                  consumed power from AC is 0.8 W with 36mA output
                  this means 57% efficiency, not bad for such thing

                  sense and drive

                  1 Reply Last reply
                  2
                  • T Offline
                    T Offline
                    Tibus
                    wrote on last edited by
                    #32

                    hox much current could you get with a LDO ort step-Down to 5V or 3.3V? 80ma?

                    axillentA 1 Reply Last reply
                    0
                    • T Tibus

                      hox much current could you get with a LDO ort step-Down to 5V or 3.3V? 80ma?

                      axillentA Offline
                      axillentA Offline
                      axillent
                      Mod
                      wrote on last edited by
                      #33

                      @Tibus the output current from SR10 is depends on the capacitor and rectifier. See the table inside the datasheet

                      with step-down I can get from my prototype about 100mA at 3.3V
                      with LDO you will get out as many as you get in minus quiescent current of LDO itself

                      sense and drive

                      1 Reply Last reply
                      0
                      • axillentA Offline
                        axillentA Offline
                        axillent
                        Mod
                        wrote on last edited by
                        #34

                        I made a success by replacing polymer capacitor by ceramic one in the usage of SR10
                        it leads to a dramatical decrease in needed space. I believe that it will be the smallest AC-DC fotprint

                        But still I have som problems with DHT sensor to work from SR10 (http://forum.mysensors.org/topic/971/small-wall-outlet-sensor-node)

                        sense and drive

                        jeylitesJ 1 Reply Last reply
                        0
                        • axillentA axillent

                          I made a success by replacing polymer capacitor by ceramic one in the usage of SR10
                          it leads to a dramatical decrease in needed space. I believe that it will be the smallest AC-DC fotprint

                          But still I have som problems with DHT sensor to work from SR10 (http://forum.mysensors.org/topic/971/small-wall-outlet-sensor-node)

                          jeylitesJ Offline
                          jeylitesJ Offline
                          jeylites
                          wrote on last edited by
                          #35

                          @axillent

                          I like the case you are using. Where did you get it from?upload-a5807239-d1ad-499a-97c0-c24a736c0ce8.JPG

                          marceltrapmanM 1 Reply Last reply
                          0
                          • jeylitesJ jeylites

                            @axillent

                            I like the case you are using. Where did you get it from?upload-a5807239-d1ad-499a-97c0-c24a736c0ce8.JPG

                            marceltrapmanM Offline
                            marceltrapmanM Offline
                            marceltrapman
                            Mod
                            wrote on last edited by
                            #36

                            @jeylites said:

                            @axillent

                            I like the case you are using. Where did you get it from?

                            It looks like it was printed.

                            If so, are you willing to share the files?

                            Fulltime Servoy Developer
                            Parttime Moderator MySensors board

                            I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                            I have a FABtotum to print cases.

                            1 Reply Last reply
                            0
                            • axillentA Offline
                              axillentA Offline
                              axillent
                              Mod
                              wrote on last edited by
                              #37

                              yes, all cases are printed
                              sure, I can share if you need
                              the case developed for a particular custom made PCB

                              sense and drive

                              marceltrapmanM 1 Reply Last reply
                              0
                              • axillentA axillent

                                yes, all cases are printed
                                sure, I can share if you need
                                the case developed for a particular custom made PCB

                                marceltrapmanM Offline
                                marceltrapmanM Offline
                                marceltrapman
                                Mod
                                wrote on last edited by
                                #38

                                @axillent said:

                                the case developed for a particular custom made PCB

                                I understand but the design is still a good starting point :)

                                Fulltime Servoy Developer
                                Parttime Moderator MySensors board

                                I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                                I have a FABtotum to print cases.

                                axillentA 1 Reply Last reply
                                0
                                • marceltrapmanM marceltrapman

                                  @axillent said:

                                  the case developed for a particular custom made PCB

                                  I understand but the design is still a good starting point :)

                                  axillentA Offline
                                  axillentA Offline
                                  axillent
                                  Mod
                                  wrote on last edited by
                                  #39

                                  @marceltrapman sure, just give me some time to publish it on thingerverse

                                  sense and drive

                                  1 Reply Last reply
                                  0
                                  • marceltrapmanM Offline
                                    marceltrapmanM Offline
                                    marceltrapman
                                    Mod
                                    wrote on last edited by
                                    #40

                                    Nice, thanks...

                                    Fulltime Servoy Developer
                                    Parttime Moderator MySensors board

                                    I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                                    I have a FABtotum to print cases.

                                    1 Reply Last reply
                                    0
                                    • MagiskeM Offline
                                      MagiskeM Offline
                                      Magiske
                                      wrote on last edited by Magiske
                                      #41

                                      Was looking into the same and ordered 2 different 230/110v to 5v of ebay to get a cheap 5v powersource. Just got them today.

                                      thingy2.png
                                      The White around $1.5 and the Black was $1.0

                                      thingy1.png
                                      Before wirering everything up, I just added the smaller white's pcb to the black case incl. radio and pro mini. And there is room for a bit more.
                                      So unless it goes up in flames I will try to create a default sensor node.

                                      J 1 Reply Last reply
                                      0
                                      • Vladut GrecuV Offline
                                        Vladut GrecuV Offline
                                        Vladut Grecu
                                        wrote on last edited by
                                        #42

                                        If you don`t go over 50-60% of the amps that that charger can output, there will be no problems. I suggest you replace the capacitor on the 5V area with a bigger one and change the 220/110v capacitor with a higher quality one. What I figure from your pictures is that the black charger doesn't have a bridge rectifier.. It's safer for you to use one. (Don't forget about the fuse)

                                        1 Reply Last reply
                                        0
                                        • ferpandoF Offline
                                          ferpandoF Offline
                                          ferpando
                                          Hero Member
                                          wrote on last edited by
                                          #43

                                          Anyone tested one of these cheap power supplies with an osciloscope?
                                          I got a couple yesterday but not sure if they are good enough

                                          UT8079rXhXXXXagOFbXc.jpg UT8rBSrXetXXXagOFbX9.jpg UT8u.wlXl0cXXagOFbXN.jpg

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


                                          10

                                          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