Amp watch
Professorwiz
Posts: 153
I've just started using the basic stamp.· I'm currently taking a class but came up with something that could help me out immediatly and was hoping someone did something similar.· I do a little anodizing at home occasionally and you have to hook up a constant current power supply to the leads of the aluminum your anodizing and of course put it in an acid bath.· You have to watch the voltage till it peaks, then when it starts to drop, the part is done with the anodize process and needs to be rinsed.· The amps range depending on the part size and is calculated by the suface area, I usually do around .5 - 2 amp sizes.· Is there a schematic or starting point I can look at to cause a buzzer to beep after it hits the peak.· It usually takes anywhere from 45 min to 1 and 15 minutes it would be great to figure something like this out.
Russ
Russ
Comments
You say you watch the voltage, so that is where you can either connect an analog to digital converter to read the voltage value. Your stamp would then read the voltage and process the information.
If you know the specific voltage point you want to reach you could use a simple comparator. Set it to a voltage point, start the process, wait for the comparator to go high, then wait for it to go low. Use two comparators and set the voltage higher on one, when both are triggered you then wait for the one set at a lower voltage to turn off otherwise at the voltage point you will get many on off signals.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think Inside the box first and if that doesn't work..
Re-arrange what's inside the box then...
Think outside the BOX!
There are several ways to measure voltage with the Stamp, but maybe the one described here www.emesys.com/BS2rct.htm#B_voltage would work for this, without requiring another chip.
The program for this will execute a loop to read the voltage repeatedly, and look for the decrease in voltage that will sound the alarm. The trick will be to avoid false alarms due to short term fluctuations. A running average with enough samples could take care of that. It could print out vaues or draw a graph on your computer screen for inspection.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Connect a transistor to the output of the comparator to drive a buzzer or light.
Omit one diode to make the voltage gap 1/2 of add diodes to increase the buffer zone.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think Inside the box first and if that doesn't work..
Re-arrange what's inside the box then...
Think outside the BOX!
Post Edited (metron9) : 4/2/2007 5:53:57 AM GMT