OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) AC/DC PS using LM2596

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #40367

    akobari
    Participant

    Hello all,

    I am trying to use Ray’s AC/DC design based on LM2596 which is a very popular switching PS in my project, and I need some help, please, here is the site I am using:
    http://rayshobby.net/24vac-to-5vdc-conversion/

    I am using 24Ac for power source, I measured the input to LM2596 is around 37 volt DC with no load, which is expected , but when I measured the output volt is about 1.8, it suppose to be 5 volt after 5.6 Zener diode. I have tried at lease 3 different LM2596 and the result were the same! Any hint or clue in this matter would be great.

    Thanks

    #40380

    Ray
    Keymaster

    Check if your LM2596 is a 5V fixed output voltage version (LM2596-5.0) — if you got one with adjustable output voltage, then you need two resistors to set the output voltage. The datasheet has more details:
    http://www.ti.com/lit/ds/symlink/lm2596.pdf

    #40382

    akobari
    Participant

    Hi ray,

    Thanks for reply, my first post was not totally accurate, because I did use your exact circuitry in OSPi circuit, like the attached file. So LM2596 is adjustable version, and I am using a combination of a Zener diode and 10 ohm resistor just like your design, but output volt on pin2 is 1.8V. so either LM2596 is bad, or some other component. I am ordering some more LM2596 from DIGIKEY to try them out. The first 10 that I bought was from Ebay very cheap, may be they were all bad. I would appreciate any troubleshooting guide.

    Thanks

    Attachments:
    #40399

    akobari
    Participant

    Hi Ray,

    Could you please explain why you choose a Zerner diode and resistor combination for adjustable LM2596, instead of a fixed 5 volt output LM2596, or even using 2 resistor as a voltage divider for output of adjustable LM2596, like it mentioned in TI data-sheet. I am still having problem with my circuit, seeing 1.8 volt only, I ordered anew part from Digikey to try. I appreciate any clue to solve my issue,

    Thanks

    #40400

    djagerif
    Participant

    The zener and resistor is for clamping and will cause the fuse to blow if something goes wrong and output rises to more than 5v. Your design should use a fixed regulator as Ray stated, the design for a variable one is different, check the datasheet again.

    Ingo

    #40401

    akobari
    Participant

    Hello Ingo,
    If all we need a 5 volt for RPI and other components, so why he used adjustable LM2956, I can see a benefit of adjustable in this DC/Dc supply:
    http://www.amazon.com/LM2596-Converter-Module-Supply-1-23V-30V/dp/B008BHBEE0/ref=sr_1_1?ie=UTF8&qid=1443621986&sr=8-1&keywords=lm2596
    which has the flexibility of output voltage, as far as fuse we could still have the same fuse on fixed 5 volt output!

    P.S. I read the TI data sheet more than once

    #40402

    djagerif
    Participant

    Ray asked if you had a fixed or variable one, if you do have a variable one then you need additional components to make it work. The diagram you attached is for a fixed regulator.

    #40403

    akobari
    Participant

    Hello Ingo,
    Thanks for clarification, I did not pay attention to his OSPi power section design, and you are absolutely correct, it is a fix 5 volt LM2596, and that also explains my issue as well, output voltage being wrong as he also explained it to me in his previous email, my bad, and thank you so much for solving my issue.

    #40411

    Ray
    Keymaster

    Yes, as Ingo said: the OSPi schematic assumes it’s LM2596-5.0, which outputs a fixed 5V. Sorry that the schematic caused confusion — but it’s good for you to know that most switching regulators come with either fixed voltage version, or adjustable voltage version. If you use adjustable voltage version, you need to supply two resistors which sets the output voltage.

    The zener is used for additional protection — if someone puts a high voltage directly on the 5V line, that could damage the circuit. It’s optional but just there for additional protection.

    #40418

    akobari
    Participant

    Hi Ray,

    I am totally clear now, and thanks so much for your help. Great web site and very informative forum.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) AC/DC PS using LM2596