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 18650, charge and supply at the same time.
  • Blog
  • Forum
  • Quiz
  • Documents
  • Polls
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 2 replies
  • Answers 2 answers
  • Subscribers 285 subscribers
  • Views 3663 views
  • Users 0 members are here
  • battery
  • dc power
  • nodemcu
  • charge controller
Related

18650, charge and supply at the same time.

wok
wok over 7 years ago

I am planning to use a NodeMCU with a couple of encoders to determine the position a telescope is pointing at. While running, the device will be connected to wifi all the time since it needs to interact with an app (or maybe on AP mode so a tablet/phone connects to it).

 

In the future I may also add a barometric pressure (BMP280) and temp/humidity (DHT11) sensors, gps, and a touch lcd. Probably wont have enough pins for this, but maybe using a MCP23017 could work. Anyway these are all just ideas, to start I will only use the 2 encoders. I haven't even received any of the devides yet, so in the meantime I'm reading and thinking of stuff I could do.

 

The device will have to be mobile since it may be used in places where there's no electricity, so I am thinking on powering it up with some 18650 batteries I have. I want it to work for about 4-6 hours before having to recharge it, and the device itself must have a charging (usb) port. I also need a 5v line since the encoders work with 5-24v (I choose to use the min 5v since it would be easier to use a logic level converter for input in the nodemcu). So I thought of doing something like this: https://i.imgur.com/qYO3LEL.png

 

Pinout is not important right now, just the concept.

 

Would it even work? What will happen if I turn the switch on while the charging usb port is plugged in? Any simpler solutions? The charger protection board would be this one.

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 7 years ago +4 suggested
    The basic idea is OK but you need to consider several factors: 1) can the usb supply manage the current - the up and down converters will be less than 100% efficient and you will need to provide enough…
  • genebren
    genebren over 7 years ago +3 suggested
    You can charge the batteries and power your device at the same time given an appropriate design. Given that you have 5 volts devices and 4.2V (4.2 to ~2.5) battery, you will most likely need a boost circuit…
Parents
  • michaelkellett
    0 michaelkellett over 7 years ago

    The basic idea is OK but you need to consider several factors:

     

    1) can the usb supply manage the current - the up and down converters will be less than 100% efficient and you will need to provide enough power to charge the battery and operate the system at the same time.

    2) you need to properly control the charging of the batteries - the protection board does not do this - it only (if it works at all) isolates them if they are overcharged or discharged. It is hard for the charger to know how much current is going into the battery and how much into the load.

    3) make sure the 5V down converter can cope with 9V of input.

     

    If you do the wrong things to lithium batteries they can explode or catch fire - if you buy unbranded electronics via 'alice1101983' please test it very carefully !!!

    The same applies to the charger and converters if you buy them from the same kind of sources.

     

    MK

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • michaelkellett
    0 michaelkellett over 7 years ago

    The basic idea is OK but you need to consider several factors:

     

    1) can the usb supply manage the current - the up and down converters will be less than 100% efficient and you will need to provide enough power to charge the battery and operate the system at the same time.

    2) you need to properly control the charging of the batteries - the protection board does not do this - it only (if it works at all) isolates them if they are overcharged or discharged. It is hard for the charger to know how much current is going into the battery and how much into the load.

    3) make sure the 5V down converter can cope with 9V of input.

     

    If you do the wrong things to lithium batteries they can explode or catch fire - if you buy unbranded electronics via 'alice1101983' please test it very carefully !!!

    The same applies to the charger and converters if you buy them from the same kind of sources.

     

    MK

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