Loading...
Pages: [1]   Go Down
Author Topic: Control charger with NPN-Transistor  (Read 439 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm trying to control a higher voltage power source with my arduino and general purpose NPN-transistors but I am getting nowhere.

I've got the charging circuit from here; http://www.i-hacked.com/content/view/207/44/'

And I don't need the "Don't charge those batteries"-speech, I know the risks involved.

My arduino is monitoring the voltage on the battery as it is charging, and i would like to use the arduino to cut the power when the voltage has reached a specific value.
How would I implement a transistor switch, base-controlled by the arduino, into this circuit?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ordering a couple of relays now, might as well use those.
Logged

Montreal
Offline Offline
Edison Member
*
Karma: 17
Posts: 2207
Per aspera ad astra.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It's difficult to figure out why your design with npn failed, as you didn't provide schematic.
But I will advise to look at:
http://ruggedcircuits.com/html/circuit__11.html

Or http://ruggedcircuits.com/html/circuit__17.html
It provide 3.3V , that exactly what you need for 2 AA, so you 'd not need disconnect them at all,
just keep under trickle charging current that drops to low level after batteries get charged.
Logged


0
Offline Offline
Tesla Member
***
Karma: 73
Posts: 6638
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That circuit is best controlled with a PNP transistor to do high-side switching before the regulator.  However you'll need an NPN to shift logic levels up to whatever Vin is.

There is probably a much better way to control that constant current circuit directly at the sense terminal of the regulator.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I haven't got any pnp, and there's a 2day delivery time on any parts, are there any negative sides to using a relay, or is it a viable solution?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 278
Posts: 25585
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes a relay is perfectly viable, remember to include a reverse biased diode across the coil and drive it with a transistor.
Logged

Pages: [1]   Go Up
Print
 
Jump to: