Continue to Site

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.

ADC Voltmeter Nimh cell

Status
Not open for further replies.

NFHertz

Newbie level 2
Joined
Nov 11, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Portugal
Activity points
1,295
Hello. I need some advice.
I'm building a custom nimh battery charger and i'm doing the ADC routines to detect the peak voltage of the nimh cell (independent cell charger).
The problem is that the readings are not stable/accurate.
I have tried Vref+ 1.800v but the reading are 20mv off, then with 4.5v i get the correct value sometimes, but it's not stable, even tried the average value but it's jumps all the time.

I tried a 15nP cap with gnd and a series resistor 1k in AN0 but it's the same.

What are the correct procedures to get a stable value?
Am i reading it too fast?

With vref+ 1.800v i get (1.8/ 1024) = 1,7578125 resolution witch is very good, but the adc reading get it's wrong by 20mV reading a single cell don't know why.

Some ideias plz.
Thanks
 

I would use 2.50V or 4,96V for V-ref
The best way woudl be to take 16 or 64 samples then work out the average and use that, If it's a PIc then these only do 10bit A/D which 20Mv is not bad at all
If you need beter accurate readng then why not use a 12/24bit A/D chip
 

wizpic said:
I would use 2.50V or 4,96V for V-ref
The best way woudl be to take 16 or 64 samples then work out the average and use that, If it's a PIc then these only do 10bit A/D which 20Mv is not bad at all
If you need beter accurate readng then why not use a 12/24bit A/D chip

Hello wizpic. Thanks for reply.
Yes, it's a PIC 16F876 / 886 and i've got some 18F2550, but i think they are all 10bit.
I'll try your approach and see what i can get.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top