and if you use logic and low Rds mosfets (Look at Vishay) then your error will be minimum.
Ioannis
and if you use logic and low Rds mosfets (Look at Vishay) then your error will be minimum.
Ioannis
Hi Roger,
A side note: You may be interested, Dale Wheat did a project similar to this for Circuit Cellar May 2009 issue using AVR AT Tiny and Charlieplexed LEDs to display voltage, he used C but some pointers may be had by looking at it, He also sells kits on his Web Site.
http://www.dalewheat.com/slameter.html
ftp://ftp.circuitcellar.com/pub/Circuit_Cellar/2009/226
How about a crowbar circuit with a fuse inline with your sense line ?
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Thanks for the automatic scaling ideas. At this time, this feature is a "nice to have" so I will first focus on "protection".
My current problem is to ensure I'm not going to blowup my PIC if I do a mistake.
Just see an example of batteries farms I take care of. There are batteries in three different models: 2V 1750Ah, 6V 160Ah and 12V 4,5Ah.
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=3427&stc=1&d=124361125 9">
If one of my probes falls off my hand and touches any contact somewhere on any other battery while I'm doing the measurements, it can kill my PIC whithin a blink of an eye.
Basically, I need to find a way to protect my PIC (from voltages over 12V) whithout loosing accuracy during the measurement process.
The upper voltage limit is 580VDC, but it is almost impossible to be that inattentive and make such a mistake (well, I'm human so everything is possible)!
Roger
Hi,
I did a battery analyzer once. I would like to know the PIC your are using. BTW I have used zener on the inputs.
Regards
Sougata
An inline fuse, an scr across the inputs, a zener to drive the scr gate, voltage goes too high, scr shorts inputs and fuse blows.
http://www.radio-electronics.com/inf...ge_crowbar.php
http://www.uoguelph.ca/~antoon/circ/.../SCR-Ovp2.html
http://www.electronics-radio.com/art...protection.php
http://www.ibiblio.org/kuphaldt/socr...ut/thyrcir.pdf
Last edited by Archangel; - 29th May 2009 at 19:28.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
I'll try with a SCR then - good links, thanks Joe.
I'm using either a 16F88 or a 16F690 (I would prefer to use a 16F690 because it's cheaper than the 16F88 here in Switzerland).
Roger
flotulopex they are some batteries there,
I did a battery anayliser to test 6V batteries based on the alphabat pro, It works really well, The only real way to test batteries is the discharge method, It uses a pic18f4520,GLCD & SD_CARD for recording the date,time,battery and current draw, This unit works very well.
If you want accuracy then have a look at the attached file, It's part of a schematic from a fluke meter and it ues a 10bit A/D converter, You could can control the auto ranging through the PIc and if need be you could always use a 12-24Bit A/D chip. If I rmember the max DC voltage is 600V, This is one of my next projects.
have you thought about hard wiring the unit to the batteries and using RF or RS232 way, You could have one or two master units then salves units to send data and why not go all the way, Use a SD_Card so log the voltage and you can upload the data into EXcelThese are just some ideas but it would amake it cool project
![]()
Hi Chuck,
Thanks for the FLUKE shema.
For my daily job, I use this kind of tool http://www.programma.se/se/battery.php.
And for keeping track of every and each battery, the TMC is the best complement http://www.electricnet.com/product.m...?VNETCOOKIE=NO.
I'm actually trying to make a kind of TMC recorder, smaller and handyer.
Roger
Hi,
A low leakage zener diode can always protect your ADC input from high as well as negative voltages. Find the proposed solution as attachment. I recommend using a MCP1541 as your voltage reference.
Thanks to the low impedance of the battery as a voltage source. Otherwise the circuit would not work on any source. As the source would get loaded and change itself.
Ensure proper acquisition delay. Try to use RC osc (ADC Clock) and execute @ SLEEP after setting go/done bit.
Best of Luck.
P.S. - I never got paid for the project. I accept Paypal.![]()
Last edited by sougata; - 30th May 2009 at 17:33. Reason: Forgot something as usual
Regards
Sougata
Bookmarks