Shop OBEX P1 Docs P2 Docs Learn Events
Adjustable voltage regulator for varying current? — Parallax Forums

Adjustable voltage regulator for varying current?

noobydoobnoobydoob Posts: 14
edited 2009-08-31 21:36 in BASIC Stamp
I have tried to regulate 7.5V to my servo controller using LM317, but it's not working. The servos won't turn. Is this because of the voltage divider? What are my options?
power63-1.gif

Comments

  • FranklinFranklin Posts: 4,747
    edited 2009-08-31 18:11
    How do you have the servo hooked up and what are you driving it with? Could you attach the code you are using?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • noobydoobnoobydoob Posts: 14
    edited 2009-08-31 18:21
    It's a Parallax PSC. All servos work fine with 7.5 batteries connected. When I use the regulator (which I measure to 7.5 volt with a meter, they don't work.
  • FranklinFranklin Posts: 4,747
    edited 2009-08-31 19:03
    Sounds like you are not getting enough current out.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • noobydoobnoobydoob Posts: 14
    edited 2009-08-31 19:21
    The LM317 is rated at 1.5A, should be plenty for 4 servos. They are not under load at the moment, and should only draw a few milliamps. I have a 2300 mAh, 13.8V battery pack going into the regulator. Is it not a problem to use a voltage divider when you have varying currents? How are people powering their PSC?
  • Mike GreenMike Green Posts: 23,101
    edited 2009-08-31 19:34
    What is your output voltage?

    There's nothing wrong with using a voltage divider for controlling the output voltage of an LM317. That's how the regulator is supposed to be used. If the voltage divider is set wrong or the values are wrong, you won't get the output voltage you expect. What are the capacitor values? The LM317, like all regulators, has certain minimum input and output capacitor requirements.
  • noobydoobnoobydoob Posts: 14
    edited 2009-08-31 21:36
    Thanks Mike. I added a 1uf to the output (had only a 10nF) and now it works! Great thanks.
Sign In or Register to comment.