element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
Power & Energy
  • Technologies
  • More
Power & Energy
Forum Using an 18650 battery to power a 3.3v MCU, with servo
  • Blog
  • Forum
  • Quiz
  • Documents
  • Polls
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 7 replies
  • Answers 2 answers
  • Subscribers 288 subscribers
  • Views 5557 views
  • Users 0 members are here
  • lithium
  • 18650
  • battery
  • voltage
  • efficiency
  • power
  • regulator
Related

Using an 18650 battery to power a 3.3v MCU, with servo

ntewinkel
ntewinkel over 9 years ago

Hi All,

 

I would like to use an 18650 Lithium battery to power my project. These standard batteries have a nominal rating of 3.7v (I think) but will provide 4.2v when fully charged, and I'm not sure how low it gets, though probably around 3.5 is a good stopping point.

 

So this seems to be alright for ATtiny chips, which appear to be happy from 1.8v to 5.5v. I'm guessing I could just use the battery directly for those.

 

But I was thinking of using a 3.3v MSP430 chip (from a "value line" G2 Launchpad) to conserve power (it seems they can sleep really well). It doesn't like anything above 3.6v. Easy-peasy, I can add a 3.3v voltage regulator.

 

But the project I'm thinking of has a servo, which from what I can tell needs over 4 volts to work (or am I wrong on that)?

 

Anyway, here is the project: Charlie and the Treat Dispenser

 

Right now I'm using one of those USB cell phone chargers that contains an 18650 battery and it produces 5 volt to run the Arduino Pro Mini and the servo.

However, it only lasts a day - and the servo stops responding if we stay up really late image

 

So I was hoping to make the whole thing more power efficient. Partly just to see how and if it can be done, as really I suppose I could plug that sucker in image

 

My thoughts about the existing project power usage are that:

1) I'm losing a lot of power just having that charger up-converting to 5v

2) The Arduino pro mini is on all the time, using up power that way.

3) The servo rarely gets used - the unit is usually on standby.

 

If I could set this up to run on the MSP430 launchpad, I can make it sleep most of the time, and wake when the button is pressed. The only time it needs to be awake is to handle that button press to dispense the treats, so that setup should work charmingly well (in theory at least).

 

So the question is - what is a decently efficient way of doing this? (I don't need "most" efficient)

It needs to power the chip (Arduino Pro Mini or trinket, ATtiny, MSP430 are what I have here) and the servo.

 

I'm thinking that the voltage regulator will suck up some power (but how much, and is there an efficient way to hook that up?), and up converting to 5v will suck up power.

Maybe the up converting circuit to run the servo could be placed on the other end of a transistor that gets switched on when needed?

 

edit, ps: I currently turn off the servo by using "servo.detach()". It still does have power supplied to it at all times, but it doesn't do the buzzing thing that the servo was doing if I kept it attached. I could try using a pin to switch a transistor to the servo power line to see if that helps at all.

 

Thanks!

-Nico

  • Sign in to reply
  • Cancel

Top Replies

  • jc2048
    jc2048 over 9 years ago in reply to clem57 +1
    The cat by the switch with a bit of a twitch unless there's a hitch or a sudden glitch
Parents
  • jw0752
    0 jw0752 over 9 years ago

    Hi Nico,

     

    For your regulator you might consider one of these Buck - Boost DC/DC switching Regulators. They are much more efficient than the linear regulators. Also I do not believe you have enough room between your 3.6V batter and 3.3V application to fit even an LDO linear regulator. I tried to tie a link from Newark but the site was down a few minutes ago so here is a partial Data Sheet. The supply can be from 2 Volts to 30 volts and the output locks onto 3.3 volts if that is the fixed output you have chosen. When Newark is up again you can search their stock and download the entire data sheet.

     

    John

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • jw0752
    0 jw0752 over 9 years ago

    Hi Nico,

     

    For your regulator you might consider one of these Buck - Boost DC/DC switching Regulators. They are much more efficient than the linear regulators. Also I do not believe you have enough room between your 3.6V batter and 3.3V application to fit even an LDO linear regulator. I tried to tie a link from Newark but the site was down a few minutes ago so here is a partial Data Sheet. The supply can be from 2 Volts to 30 volts and the output locks onto 3.3 volts if that is the fixed output you have chosen. When Newark is up again you can search their stock and download the entire data sheet.

     

    John

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • michaelkellett
    0 michaelkellett over 9 years ago in reply to jw0752

    To add to John's comments - to get the most out of a Lithium battery depends a bit on load current and the make of battery but you need to go down to some where between 2.5 and 3V.

    The simplest way to get what you need is to step up to 5V and then down from 5V to 3.3 with a second switcher - look at parts from Linear Technology (but beware difficult packages and quite pricey parts, admire the lovely performance image and easily best of breed simulation support.)

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
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