ADC Conversion *and* Reading
Mach3Maelstrom
Posts: 7
I am working on a project where the current an AC circuit (i.e. to a laptop or other device) is read by the Basic Stamp and analyzed. I want the Stamp to be able to assign a value to a variable based on the current read.
From my understanding, the BS2 can only read DC signals. Therefore, I know I must convert the signal to DC, but I'm afraid to "blow out" the BS2 since there's a potential of 115V/~1-3A going into the device.
The attached schematic is an overall idea of what I want to do *for clarification purposes only*. I know it won't work on its own, but I'm giving you an idea of what I want to do. I will probably attach a capacitor to chassis ground to filter the current.
[noparse][[/noparse]EDIT]: I forgot to add a diode on the other side (where the rectifier isn't) to keep the current from "backflowing".
From my understanding, the BS2 can only read DC signals. Therefore, I know I must convert the signal to DC, but I'm afraid to "blow out" the BS2 since there's a potential of 115V/~1-3A going into the device.
The attached schematic is an overall idea of what I want to do *for clarification purposes only*. I know it won't work on its own, but I'm giving you an idea of what I want to do. I will probably attach a capacitor to chassis ground to filter the current.
[noparse][[/noparse]EDIT]: I forgot to add a diode on the other side (where the rectifier isn't) to keep the current from "backflowing".
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
A good alternative is to use a multimeter that has a data output port. It gives a good variable range, provides isolation, and provides a nice safe data stream to work with.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· -- Carl, nn5i@arrl.net
Thanks for your input! I'll use a multimeter compatible with the Stamp. Does anyone have model numbers or anything of the like?
Basically my question was: can the Stamp read current through its ports on its own? Or does it *require* a multimeter device?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
I'll look a little into Allegro. I want to be completely certain of my circuit before I blow something up (in a bad way, not the engineering way =P).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen