Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

2bit Battery Level Indicator

Status
Not open for further replies.

dragonslayer

Newbie level 5
Joined
Sep 19, 2004
Messages
9
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
78
spanish battery level indicator

Hi All,

Would like to design a battery level detector which will output a 2bit IO to a MCU at 4 different levels.

Have seen some Voltage supervisors but they dun seem to be the ones i need,
Anyone has any experience in doing them ?

rgrds

DS
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,309
Reputation
4,620
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,459
How about using comparators to "digitalize" battery voltage ..
For exampe, the LM3900 has four of them in one body .. see picture below ..
Question is, do you need to convert 4-lines to 2-bits, or has your MCU enough available inputs to take 4 signals - up to you ..

Regards,
IanP
 

dragonslayer

Newbie level 5
Joined
Sep 19, 2004
Messages
9
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
78
thanks ianp but it still does not output a 2 bit signal to the MCU,

am stuck at the same issue here.

Just to clarify, i can also use 2 wires to send the individual bits to the MCU

rgrds

DS
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,309
Reputation
4,620
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,459
You can add 1x7400 (4xNAND) and convert 4 outputs from 4 comparators to 2-bits .. see picture below .. or you can forget about all this stuff and employ one 8-pin PICAXE-8 microcontroller, which has 10-bit A/D and some general purpose I/O, and (first) perform A/D conversion and (second) translate result to 2-bit output ..
Mate, there are millions of ways of doing this .. just use your imagination !!!

Regards,
PanP
 

dragonslayer

Newbie level 5
Joined
Sep 19, 2004
Messages
9
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
78
thanks mate,

I cant use an MCU , which woul dhave been the easiest choice as the current consumption would be much more as compared to the the comparators and the Nand gates.

Will try them out

Thanks

DS
 

dragonslayer

Newbie level 5
Joined
Sep 19, 2004
Messages
9
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
78
from the above diagram,

How does one choose the resistor values for the comparators to detect the voltages accurately?

Any ideas?

Thanks
 

suru

Full Member level 3
Joined
Aug 31, 2007
Messages
157
Helped
4
Reputation
14
Reaction score
1
Trophy points
1,298
Activity points
1,934
IC BASED LEVEL INDIACTOR CAN BE MADE. SEARCH SOUND LEVEL INDICATOR ON NET.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top