element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum DC to DC Converter
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 29 replies
  • Subscribers 672 subscribers
  • Views 4337 views
  • Users 0 members are here
  • raspberry
  • pi
  • converter
  • raspberry_pi
  • battery
  • rpi
  • supply
  • power
Related

DC to DC Converter

Former Member
Former Member over 13 years ago

I want to run my RPi from DC sources.  (1) 12 volt sealed cell battery.  (2) 2 to 4 cell lithium packs, and (3) perhaps even a set of AA batteries.  As we know, the RPi gets glitchy if not running right around 5v, with a load applied.  Therefore I am looking for a converter (or converters, if one is needed for each situation) that will work with the above sources.  With the 12v and lithium batteries I'll need to set a cut-off voltage, so I don't kill the battery.  If the output voltage can't be maintained at 5v when under load then I'll need a method of tweaking the output for a given load situation.  Obviously, since this is for an RPi project, I don't want a converter that is the size of a PC power supply; the smaller the better.

 

Are there such off-the-shelf converters that I could use and if so then can someone point me to them?

 

Thank you in advance,

Andrew

  • Sign in to reply
  • Cancel
Parents
  • rew
    rew over 13 years ago

    Hi,

    I use one of these:

    http://www.ebay.com/sch/i.html?_sacat=0&_nkw=lm2596&rt=nc&LH_BIN=1

    I currently use a 30cm cable made from normal wiring cables. These are MUCH thicker than what you normally find in micro USB cables. I'm currently using a micro USB plug that I bought at farnell for this. But next time I'm going to plug in on the GPIO connector and just provide 5V unfused.

     

    I've adjusted the module to provide 5.01V unloaded. Now under load it provides 4.99V. Then I have a 0.05V drop in my cable, so I end up with 4.94V on my 'pi. Next the fuse drops 0.15V so the rest of the 'pi only gets 4.79V.

     

    If you only power your 'pi, the LM2596 will need only 1V of "dropout". So 6V at the input will be enough. If you're powering other stuff as well, at 2 or 3A, the LM2596 will require up to two volts of headroom, or at least 7V of input.

     

    So... powering the 'pi from two lithium cells should be possible. Make sure you cut off by the time the voltage drops to 6V. Three cells gives you more margin, but probably slightly more losses.

    4 NiMH cells is cutting it too close. Use 6. 12V lead acid should work too.

     

    Above some people are saying things about ventilation of the lead-acid batteries. IMHO, if you treat them well, they won't vent. That's the thing about sealed lead-acid batteries: they don't vent. The trick is that a catalist in the battery lets the oxigen and hydrogen recombine producing heat and not an explosion. The "treat them well" means you don't charge anywhere NEAR the maximum conversion capacity of the catalyst. The "treat them well" also means you don't apply enough power to significantly heat up the battery when the catalist is recombining the oxigen and hydrogen to produce water and heat.

     

    So: Sealed lead acid batteries are nice. Stick to the charging rules and they have a long lifetime and do not pose an explosion danger.

     

    The day before you asked this question we started designing our "pipower" module. This module takes 5V input (e.g. from a LM2596 module as linked) and allows software to decide when to power the 'pi. For example the pi might "ask": "Wake me up in an hour". So the 'pi might wake up, find there is not much too do and go to sleep again (i.e. powerdown).

     

    Configuration 1:

    You get 5V from somewhere. The module powers the 'pi whenever it feels like it. In the case of the LM2596 module, that will cost you the 7.5mA "no load current" as a battery drain, limiting the "low duty cycle" stamina of the battery powered pi system.

     

    Configuration 2:

    You power the module separately. The pipower module switches the 12V to the LM2596 module. A simple non-switching regulator is used to power the pipower module. With a bit of luck the linear regulator providing power to our AVR processor on the pipower module will use less than the 7.5mA that the LM2596 uses in the no-load situation.

     

    Your post has made me realize we haven't designed a battery power monitor yet (i.e. measure the battery, cut off the 'pi when it gets too low), nor a "power up now" button. Those will be included.

    Also the software will be able to "watchdog" functions. We can powercycle the 'pi if the raspberry doesn't contact us within an agreed-upon timespan.

     

    Do you have any other requirements? If the current design is not able to do what YOU want, it is not good enough. I want to make it "good enough". :-)

     

    Andrew if you buy a rpi_serial board and one of the expansion boards, I'll throw in a beta "pipower" board for the field-test. :-)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • rew
    rew over 13 years ago

    Hi,

    I use one of these:

    http://www.ebay.com/sch/i.html?_sacat=0&_nkw=lm2596&rt=nc&LH_BIN=1

    I currently use a 30cm cable made from normal wiring cables. These are MUCH thicker than what you normally find in micro USB cables. I'm currently using a micro USB plug that I bought at farnell for this. But next time I'm going to plug in on the GPIO connector and just provide 5V unfused.

     

    I've adjusted the module to provide 5.01V unloaded. Now under load it provides 4.99V. Then I have a 0.05V drop in my cable, so I end up with 4.94V on my 'pi. Next the fuse drops 0.15V so the rest of the 'pi only gets 4.79V.

     

    If you only power your 'pi, the LM2596 will need only 1V of "dropout". So 6V at the input will be enough. If you're powering other stuff as well, at 2 or 3A, the LM2596 will require up to two volts of headroom, or at least 7V of input.

     

    So... powering the 'pi from two lithium cells should be possible. Make sure you cut off by the time the voltage drops to 6V. Three cells gives you more margin, but probably slightly more losses.

    4 NiMH cells is cutting it too close. Use 6. 12V lead acid should work too.

     

    Above some people are saying things about ventilation of the lead-acid batteries. IMHO, if you treat them well, they won't vent. That's the thing about sealed lead-acid batteries: they don't vent. The trick is that a catalist in the battery lets the oxigen and hydrogen recombine producing heat and not an explosion. The "treat them well" means you don't charge anywhere NEAR the maximum conversion capacity of the catalyst. The "treat them well" also means you don't apply enough power to significantly heat up the battery when the catalist is recombining the oxigen and hydrogen to produce water and heat.

     

    So: Sealed lead acid batteries are nice. Stick to the charging rules and they have a long lifetime and do not pose an explosion danger.

     

    The day before you asked this question we started designing our "pipower" module. This module takes 5V input (e.g. from a LM2596 module as linked) and allows software to decide when to power the 'pi. For example the pi might "ask": "Wake me up in an hour". So the 'pi might wake up, find there is not much too do and go to sleep again (i.e. powerdown).

     

    Configuration 1:

    You get 5V from somewhere. The module powers the 'pi whenever it feels like it. In the case of the LM2596 module, that will cost you the 7.5mA "no load current" as a battery drain, limiting the "low duty cycle" stamina of the battery powered pi system.

     

    Configuration 2:

    You power the module separately. The pipower module switches the 12V to the LM2596 module. A simple non-switching regulator is used to power the pipower module. With a bit of luck the linear regulator providing power to our AVR processor on the pipower module will use less than the 7.5mA that the LM2596 uses in the no-load situation.

     

    Your post has made me realize we haven't designed a battery power monitor yet (i.e. measure the battery, cut off the 'pi when it gets too low), nor a "power up now" button. Those will be included.

    Also the software will be able to "watchdog" functions. We can powercycle the 'pi if the raspberry doesn't contact us within an agreed-upon timespan.

     

    Do you have any other requirements? If the current design is not able to do what YOU want, it is not good enough. I want to make it "good enough". :-)

     

    Andrew if you buy a rpi_serial board and one of the expansion boards, I'll throw in a beta "pipower" board for the field-test. :-)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube