Pico battery connection and USB programming? #1517
Replies: 4 comments
-
Posted at 2016-01-29 by @gfwilliams Ok, so you're using a separate charger module? If so then everything is fine. Connect:
And I think that's it... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-01-29 by bigplik Thanks Gordon, and what do you think about charging battery from Pico? I thought to use voltage divider and then connect it to analog pin to read it and "stop" fet from charging by software,
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-01-29 by @gfwilliams I thought you were using a separate charger? You posted a link to something that I thought you were planning to use. But if you are trying to charge with just the Pico, you do need that jumper shorted. You actually need:
As setting to 1 is 3.3v, which won't fully turn the FET off. There is a tutorial on that here: http://www.espruino.com/Pico+FET+Output ... but I wouldn't recommend doing this - maybe with NiMH batteries, but for LiPos they can get very unhappy if overcharged. Much nicer to just use a special charger IC - |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-01-29 by bigplik Before I thought to use charger and next read about FET on Pico, I tested it yesterday and It looks like I espruino can "protect" the battery by software, but I'll follow your recommendations |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-01-28 by bigplik
Hi, I would like to connect Espruino Pico permanently with battery in my project.
I thought to do it like that:
BAT >> CHARGING BOARD >> Pico
would like to charge it by this module, but
I am not sure I need to install some switch there when I want to programming it by USB?
should I disconnect battery circuit from espruino when I program it or I can leave it?
I already linked FET/B0, not sure I did right
I would like to make some circuit which let me programming pico by USB, use battery for powering pico when not connected to USB and charge battery by this module,
I had read in one of posts on the forum that FET can overcharge battery when USB is connected, is it ?
battery module
Beta Was this translation helpful? Give feedback.
All reactions