Pages: [1]   Go Down
Author Topic: Does this look okay?  (Read 448 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 19
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm making a parallel/series switcher for two lithium ion cells because I can only charge them in parallel, but my project requires 7.5v. I'm using NPN transistors as switches, controlled by Arduino to switch between charging and discharging. The analog pins are used because all of the other pins on my Arduino are being used by a motor shield. The analog pins would be set to output.

During charging Q1 and Q2 would be saturated, and Q3 would be cut off. Vice versa for discharging.

Also- Ignore the connection between R1 and battery negative, imagine R1 is going to Arduino ground instead.


* Untitled Sketch_schem.jpg (480.21 KB, 3066x1779 - viewed 29 times.)
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 508
Posts: 31399
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No that would not work.
The batteries appere to be floating but it is so badly drawn it is hard to tell.
Logged

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

Of course in practice it would be connected to a load.
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 508
Posts: 31399
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You have to show the load and how this is referanced to the ground of the arduino because your base voltages are referenced to that.
Logged

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

Hows this?


* Untitled Sketch_schem.jpg (573.63 KB, 3066x2709 - viewed 17 times.)
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 508
Posts: 31399
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't think you get how transistors work. To turn on a transistor the base must be higher than the emitter by at least 0.7V. If you power your arduino from the resulting voltage it will only be getting one battery's worth of voltage in the so called parallel mode. When switched to seriese the output of the outputs is at most 5V and will not control the transistor.

Basically I think what you are trying to do is impossible and also unwise. Are you sure you can charge batteries in parallel? What makes them shair the charging current evenly?
Logged

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

Lithium batteries self equalize when charging in parallel. However I do now see that transistors are a no go. Relays should be fine though right?

EDIT: Wait would it not work in reverse active mode if the emitter(8.4v) is larger than the base(5v) which is larger than the collector(0v)?
« Last Edit: March 01, 2013, 03:50:28 am by liquidlightning » Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 118
Posts: 4549
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You might also want to read the thing about "how to use this forum". The part about writing a useful title in particular...
Logged

No, I don't answer questions sent in private messages...

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 508
Posts: 31399
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Relays should be fine though right?
Yes except when they are in the parallel mode you will effectively pull the rug from your arduino leaving it short of voltage. I don't know what you are trying to do with your project but I would suggest looking at using only one battery and a DC to DC converter to get you to 5V or what ever voltage you want.
Logged

Pages: [1]   Go Up
Jump to: