e-cigarette-forum.com • The place for electronic cigarette reviews, news and chat

Go Back   e-cigarette-forum.com • The place for electronic cigarette reviews, news and chat > Modding > Modders Forum > Battery Mods
Connect with Facebook
Register Blogs FAQ Search Today's Posts Mark Forums Read

Notices

Reply
 
LinkBack Thread Tools Display Modes
Old 06-18-2009, 11:56 PM   #1
ECF Veteran
 
kinabaloo's Avatar
 
Join Date: Mar 2009
Location: london uk / beijing china
Posts: 3,304
Default Battery level indication : a circuit

Here's a circuit to indicate battery level. Haven't made it but so simple that it can be designed well just on paper.

I thought of using a quad op-amp that comes in 1 x 14 pin chip (get a socket too and solder that) to give a four LED level indication; one could use green, amber and red LEDs.

An op-amp is a comparator circuit. It will compare actual voltage to a known value(s). To get a fixed reference we use a zener diode. This needs to be less than the lowest the battery will go (about 3v - to 3.5v) so let's say a 2.7v zener.

Now, if a 3.7v lithium is freshly charged it will be abut 4.2v. So the first LED could indicate a value of say 4v or greater. How to do that if our reference is only 2.7v? By dividing the voltage with 2 series resistors (or more than two to get a sequence of fractions; we do the same with the reference voltage). Put an LED on each op-amp output and connect the power lines to the op-amp chip.

A simpler single op-amp circuit could be made instead that will detect when the voltage is nearing needing a recharge.

To have the LED come on when power drops below rather than the reverse, swap the + and - on the op-amp.


Very simple! The trick is to realise tha one can work on fractions of the supply voltage.

BTW, resistors these days are all 1% as standard.
__________________
Link: Vaping Buzzz : Article Base & FAQ ... *New Design

Last edited by kinabaloo; 06-19-2009 at 12:03 AM.
kinabaloo is offline   Reply With Quote
Old 06-19-2009, 12:01 AM   #2
ECF Veteran
 
kinabaloo's Avatar
 
Join Date: Mar 2009
Location: london uk / beijing china
Posts: 3,304
Default

ps: Across the four black resistors next to op-amps is 2.7v. Use these to give a suitable scaling, such as 95%, 90%, 85% and 80%; The bottom resistor will be the highest; Use values in the 1k to 47k range.

Similarly the two blue resistors will divide the actual battery voltage so that the ratio is 4/2.7; i.e. the voltage at the divide is 2.7v when the battery actual voltage is 4v; this will light all four LEDs (just).

I'll let you do the math

If worried about power use, you could raise the 82 resistors to 220 or 330 and choose high brightness LEDs; or put the whole thing on a push-to-make button.

pps: I've only drawn one of the 4 outputs; do same on the outputs of the other opamps.
__________________
Link: Vaping Buzzz : Article Base & FAQ ... *New Design

Last edited by kinabaloo; 06-19-2009 at 12:10 AM.
kinabaloo is offline   Reply With Quote
Old 06-19-2009, 12:16 AM   #3
Senior Member
 
Join Date: Mar 2009
Posts: 154
Default

Here is the one I use:

Laredo7mm is offline   Reply With Quote
Old 06-19-2009, 12:25 AM   #4
ECF Veteran
 
kinabaloo's Avatar
 
Join Date: Mar 2009
Location: london uk / beijing china
Posts: 3,304
Default

Laredo - interesting - can get a chip for this now!

But it's basically just an opamp and a zener diode in one

But same principle.

A bit mean with the LED current though !
__________________
Link: Vaping Buzzz : Article Base & FAQ ... *New Design
kinabaloo is offline   Reply With Quote
Old 06-19-2009, 12:27 AM   #5
ECF Veteran
 
kinabaloo's Avatar
 
Join Date: Mar 2009
Location: london uk / beijing china
Posts: 3,304
Default

I'm thinking that a NicoStick box has enough space for an MP3 chip, amplifier and small speaker so am wondering about some suitable sounds effects to accompany each puff ... something the sound of a blowtorch perhaps ...
__________________
Link: Vaping Buzzz : Article Base & FAQ ... *New Design

Last edited by kinabaloo; 06-19-2009 at 12:31 AM.
kinabaloo is offline   Reply With Quote
Old 06-19-2009, 12:29 AM   #6
Senior Member
 
Join Date: Mar 2009
Posts: 154
Default

Yeah, it is a nice little chip. It came in soic8 format so I bought it. For some reason I really like that chip size. In my PV Pak, I had it turn on at 3.1V with a 3.1V forward voltage LED, so I don't even run a current limiting resitor.
Laredo7mm is offline   Reply With Quote
Old 06-19-2009, 12:36 AM   #7
ECF Veteran
 
kinabaloo's Avatar
 
Join Date: Mar 2009
Location: london uk / beijing china
Posts: 3,304
Default

Quote:
Originally Posted by Laredo7mm View Post
Yeah, it is a nice little chip. It came in soic8 format so I bought it. For some reason I really like that chip size. In my PV Pak, I had it turn on at 3.1V with a 3.1V forward voltage LED, so I don't even run a current limiting resitor.
The main problem with ready made chips is not only need to get hold of them but also that one might not be able to achieve quite what one wants sometimes. So i like to build things from the simple building blocks - trannies, diodes, opamps; perhaps splash out on a timer or logic gates
__________________
Link: Vaping Buzzz : Article Base & FAQ ... *New Design
kinabaloo is offline   Reply With Quote
Old 06-19-2009, 12:39 AM   #8
ECF Veteran
 
kinabaloo's Avatar
 
Join Date: Mar 2009
Location: london uk / beijing china
Posts: 3,304
Default

For example: thinking that a recharging circuit could be much the same as the level circuit - suitable current feeds on each opamp o/p to slow recharge as it fills. Could even keep the LEDs to indicate progress.
__________________
Link: Vaping Buzzz : Article Base & FAQ ... *New Design
kinabaloo is offline   Reply With Quote
Old 06-19-2009, 05:17 PM   #9
Super Member
 
solonguniverse's Avatar
 
Join Date: Jun 2009
Location: Missouri, USA
Posts: 410
Default

Quote:
Originally Posted by kinabaloo View Post
I'm thinking that a NicoStick box has enough space for an MP3 chip, amplifier and small speaker so am wondering about some suitable sounds effects to accompany each puff ... something the sound of a blowtorch perhaps ...
Lightsaber sound effects!
__________________
Currently Vaping: 20mg DIY Blueberry on my 510 Little Chuck
solonguniverse is offline   Reply With Quote
Old 06-19-2009, 05:26 PM   #10
Full Member
 
ichaya's Avatar
 
Join Date: Mar 2009
Location: Central Pennsylvania
Posts: 107
Default

OK, for those of us that are NOT electrical engineers!


WHAT???

I would be interested in something that showed my charge progress, and also when it was time to re-charge.

However the previous conversation has me lost.
__________________
ICHAYA

If you don't ride in the rain ... You don't ride at all!
ichaya is offline   Reply With Quote
Reply

Bookmarks
  • Submit Thread to Digg Digg
  • Submit Thread to del.icio.us del.icio.us
  • Submit Thread to StumbleUpon StumbleUpon
  • Submit Thread to Google Google

Tags
battery, circuit, comparator, led, op-amp, opamp, power level

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 09:19 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC8
© ECF 2007 to 2009 ψ Ω

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184