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
  • jc2048
    0 jc2048 over 9 years ago

    Maybe I'm not understanding your requirements, but couldn't you use the switch to bring up the power?

     

    If you have it so that it biases on a FET to supply power from the battery to the USB charger thing, with the Arduino taking over and holding the power on once it has booted, the Arduino can then do whatever it does and finally drop the power when it has finished. It would be a very simple circuit and would save you all the bother of engineering a switching supply and getting the processor to sleep, etc.

     

    Perhaps not so much fun though.

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

    Maybe I'm not understanding your requirements, but couldn't you use the switch to bring up the power?

     

    If you have it so that it biases on a FET to supply power from the battery to the USB charger thing, with the Arduino taking over and holding the power on once it has booted, the Arduino can then do whatever it does and finally drop the power when it has finished. It would be a very simple circuit and would save you all the bother of engineering a switching supply and getting the processor to sleep, etc.

     

    Perhaps not so much fun though.

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

    who controls the switch?

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

    The cat by the switch

    with a bit of a twitch

    unless there's a hitch

    or a sudden glitch

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify 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