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 4340 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
  • Former Member
    Former Member over 13 years ago

    Andrew and Morgaine,

     

    It is kind of easy, but it all depends on how much electronics you're into. The trickiest part is if you want to be able to charge the batteries while using the R-Pi.

     

    So, let's drill into it! Powering the R-Pi:

     

    (1) 12 volt sealed cell battery.

     

    This is the most easy one: a linear regulator (LM7805) with a heat dissipator and 2 bypass capacitors should do the trick.

     

    (2) 2 to 4 cell lithium packs

     

    It depends... with the packs in series  (2S or 2P2S) you have between 5.6V and 7.3V. In that case, the voltage is too low for a 7805.

    The circuit is almost the same, but using a LP2954-5V or a LM2940CT-5.0, the last one being more common. A 2S2P pack would drain in around 1-2 hours.

     

    (3) perhaps even a set of AA batteries.

     

    I would go for 4 AA batteries and a LM2940CT-5.0. The problem is that they will discharge very quickly and the system will shutdown.

    The most beautiful solution I can think of is a 2AA pack running thru a LT1302 boost converter (see the Minty Boost http://www.adafruit.com/products/14). The main problem is that they would drain in around 1 hour...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to Former Member

    Thank you Rafael.  It looks like the AA solution is generally "out", unless it's "just for fun".  But I will check out the MintyBoost.  It sounds like fun.

     

    I do have four packs of 2150mAh, 20C, 3 cell, 11.1v lipo packs.  Would one (or more in parallel) of these work with the LM7805ACT.LM7805ACT.?  Is there a cut off voltage?  I don't really want to kill the lipos on the first discharge.

     

    For the 12volt sealed, it is a small one with 1.4 Ah.  However, I may graduate to something bigger.

     

    I would like to charge the batteries while running the RPi.  I have a small solar unit that I was hoping to use to get me started.  (1.8 watts/ 125mAmps Max, current 125mAmps at 15v, I see 16 to 25 volts on a meter in full sunlight.)

     

    I was going to ask about the solar charger in a separate post, but it seems the overall project should be considered.  For my first project, I want to run an RPi outdoors, with a web cam and motion detection software.  I would use IR at night.  I'd like to run it off battery at night and solar/battery during the day.  Later, I'd like to network it (WiFi, Bluetooth, or modem) with another RPi unit for image storage on a common drive. 

     

    I don't have a clue how to calculate the overall drain.  While I used to be able to read a schematic, calculate loads, voltage drops over cabling, etc. that was MANY years ago.  Trust me, I've forgotten most everything except how to follow instructions :-)

     

    If you will lend some guidance, it will be greatly appreciated.

     

    Thanks in advance,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to morgaine

    Morgaine,

       Sometimes engineers can be very effective at marketting because

    they are believed even when they should be challenged, just like a discount

    store can be very profitable because shoppers tend to mistakenly assume that

    all their prices are equally discounted.

       Eben is asked what the greatest challenge currently is, and says its ramping

    up volume.  This may be true, but if unchallenged, tends to lead one to believe

    that he thinks the design is solid and all that's necessary is more production. 

    But I think this theory ought to be challenged.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to Former Member

    Wow.  Thank you guys.

     

    Okay, I was just going at this project laissez-faire, but with all this help and to be fair to you then I really should spec out the requirements and at least the high-level use cases.  That is not something I have done.  I've got a big project now at work and it may be several days before I can even find some free time at home to do this.  But let's keep the dialog going, as knowing what is reasonably possible allows me to write requirements that don't have to be revised for workarounds.  Anyway, let me know if I'm on track here...

    • Solar Panel (will most likely need to increase the capacity).
    • Minty Boost to charge LiPo batteries.
    • LiPo batteries
    • Battery Eliminator Circuit to prevent over discharging the LiPo batteries.
    • L2596 module to control the voltage to the Circuits 1 & 2.
    • Circuit 1 - PiPower to power the RPi (later wireless something).
    • Circuit 2 - Other peripherals (at least the web cam  and probably also some IR LEDs for night).

     

    Perhaps we need to consider a method that will allow the entire system to restart in the case where the batteries have discharged to the point of shutdown but then after time the solar has recharged the batteries enough to support operation again.  (I'll put this in the requirements.)

     

    Roger, yes, I'll take you up on the beta PiPower.  But I'm thinking I should wait until we have the full strategy defined and parts identified before I start ordering.  What do you think?

     

    Thanks again guys.  Aside from me needing to properly define the project and write the requirements, what are the next steps?

     

    Regards,

    Andrew

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

    High level goals of the project -> strategy (what components). -> box diagram.

     

    What are you planning for "power strategy"? Are you going to be able to conserve power by shutting down the 'pi for some lenghts of time?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to Former Member

    Farnell's Q1 financial results are out (covering Feb-Apr)

     

    http://www.premierfarnell.com/content/results-first-quarter-financial-year-ending-03-february-2013

     

    RPi is mentioned under "Strategic Highlights" as bringing in new customers, but no mention of

    bringing in profits.

     

    • "Continued progress as a digital enterprise, with 2.7m visits in the quarter to our element14 community as it played an important role in the global launch of Raspberry Pi which will add in excess of 60,000 new customers for the second quarter."

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

    Roger Wolff wrote: What are you planning for "power strategy"? Are you going to be able to conserve power by shutting down the 'pi for some lenghts of time?

    Power is certainly something that will need to be considered.  The objective is to create yet a another motion monitor and recorder.  Rather than using a PIR, I was hoping that with the low power consumption of the RPi that I could use a web cam.  (The web cam and appropriate software allows for a much finer level of motion filtering than a PIR.)  Ultimately I want the unit networked with other similar nearby units and I want the 'primary' unit to be able to either receive calls or make cellular calls to transmit the images (or maybe with a cheaper cell phone at least indicate that images have been recorded).  However, I'm finding that I may indeed need to go with a PIR strategy that would let me turn off the RPi for extended periods.

     

    Thought:  I could use 1 to 4 PIRs to wirelessly trigger the RPi to turn on.  That would achieve the level of control I need over what gets recorded and is more likely to only capture warm bodies (which is good).  Having somewhere around a 100 yard trigger range would be very good.  But this brings another element into the project.  I don't even know if such a wireless trigger is available at any reasonable price.  My goal is to have the cost of any individual unit around $100 (sans cell phone).

     

    Thanks again,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to Former Member

    Another thought (option to above):  Instead of using a radio signal to remotely trigger the RPi to turn on and record, perhaps invisible light could be used.  It would limit the range and force line of sight, but it might keep the costs way down (and require less power).  But it might also eliminate problems with cross-signals between the RPi units.  (With radio, there would need to be a unique signal so only the designated RPi is turned on.  This is another complexity.  With invisible light, this issue is eliminated.)

     

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 13 years ago in reply to Former Member

    This is only tangentially relevant to the question, but it's on topic for "DC to DC Converter" --- http://nathan.chantrell.net/20120430/the-magic-of-the-boost-converter/#more-2675 .

     

    The Pi's full current requirements are somewhat on the heavy side for the capabilities of the Maxim MAX757, but other than that, it's well suited to being driven by a 3.7V Lithium-Polymer cell such as is charged by my Olimexino-STM32 --- http://www.olimex.com/dev/olimexino-stm32.html .

     

    I could in principle charge the Li-Po from the Olimexino's mini-USB input or from the barrel connector (which accepts 9-30V and hence would be great in-car), and the Li-Po cell could drive the boost converter to power the Pi for mobile use.

     

    As long as one isn't too demanding on HDMI and USB power requirements, this should work, and in effect gives the Pi a 5-30V input power range and mobile capability, while at the same time massively expanding its I/O potential through the Cortex-M3 board (which costs only 17 quid).

     

    Morgaine.

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

    I have the impression that boost is a bit more tricky than step-down. On the other hand charging a dual-cell is slightly more tricky than a single cell.

     

    A model-A should be somewhat more appropriate for this. You're not going to have wired-ethernet in the field. That means the lan chip won't be powered. And the lan chip is a power-hog as it uses mostly 3.3V which is inefficiently generated from the 5V.

     

    Which leads to the following suggestion: When battery-powering your 'pi, you could generate 3.35V using a buck converter from whatever your powersource is and deliver that to the 3.3V pin on the GPIO.

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

    That's a good point about the Model A.

     

    Model A would also combine well for mobile use with the Olimexino-STM32 charging its Li-Po cell, plus a Slice of Pi board and XRF radio module for occasional low-power messaging, as we were discussing in Simon Monk's Pi+Sensors thread.

     

    Can the HDMI be turned off completely, as well as the graphics parts of the VideoCore?

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

    Yes and no respecively: HDMI can be turned off by not connecting an HDMI compatible screen.

    No the graphics part will be generating low-bandwidth composite video.....

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

    Yes and no respecively: HDMI can be turned off by not connecting an HDMI compatible screen.

    No the graphics part will be generating low-bandwidth composite video.....

    • 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