Listening to an operational amplifier
simon2
Posts: 10
I have a BS2p40 and I would like to save analog data coming from the amplifier
I was told that I just solder one of my general purpose pins to the output of the amplifier and with:
I could get the one's and zero's coming from the amplifier; later I could transform my code to be able to store data
My problem is that nothing happens, it's as if my pin was left floating ...
My question is is there any special command in Basic to use?
Is there a specific way to connect the amplifier with my Basic Stamp?
Thank You
I was told that I just solder one of my general purpose pins to the output of the amplifier and with:
DO DEBUG ?IN3 LOOP
I could get the one's and zero's coming from the amplifier; later I could transform my code to be able to store data
My problem is that nothing happens, it's as if my pin was left floating ...
My question is is there any special command in Basic to use?
Is there a specific way to connect the amplifier with my Basic Stamp?
Thank You
Comments
If you really want to save analog data, you need an analog to digital converter which converts an input voltage to a number in binary which can be read by the BS2p40. If you download and read the Stamps in Class book on Basic Analog and Digital and the Nuts and Volts articles on analog to digital conversion, you can learn how to do this. All of these references are on the Parallax website.