Digital ammeter
roseandthistle
Posts: 5
Hi all. Being new to this, basic on a microprocessor, I've been reading all I can get my hands on.
I can now turn on 8 relays on a timed interval and print on a 2 x 16 lcd.
The project - read and display 'Amps' output from a battery charger in relation to relay on.
····· I understand I need an A/D converter to convert an analog signal to·a proportional digital signal.
The problem - reading amps and displaying on an lcd with the number of relay operating.
Any help is appreciated.
Thanks
I can now turn on 8 relays on a timed interval and print on a 2 x 16 lcd.
The project - read and display 'Amps' output from a battery charger in relation to relay on.
····· I understand I need an A/D converter to convert an analog signal to·a proportional digital signal.
The problem - reading amps and displaying on an lcd with the number of relay operating.
Any help is appreciated.
Thanks
Comments
Hall Effect current sensors work real well, and Allegro would be happy to send you samples. Check these out for one in the amperage range you need:
http://www.allegromicro.com/hall/currentsensor.asp
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
I just recieved 2 chips from Allegromicro,··ACS706, a current sensor hall effect.
I understand how they work, but not how to interface it with a BS2.
Any help you can provide is appreciated
Terry
Here is a reasonably simple diagram which shows how to hook it up:
http://www.allegromicro.com/sf/0706/index.asp
(Pins: 1 and 2) and (Pins: 3 and 4) are in series with the load whose amperage you wish to measure. Make sure you observe the polarity as shown. Two sets of pin pairs are used due to the possibility of higher amperages being present in the circuit.
Pin 7 (VOUT) goes to an ADC input terminal along with Pin 5 (Ground). The output of the ADC is input to a Stamp pin of your choice.
A 0.1 pfd capacitor is placed between Pin 5 (Ground) nd Pin 8 (Vcc).
The other pins should be self-explanitory.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->