vibration sensor with an LM386 amplifier circuit
Hello,
I am trying to hook up a piezo vibration sensor thru an LM386 amplifier
circuit
http://alfaie.virtualave.net/electronics/circuits/amplifiers/a4.html
at this link.
I'm not sure how to write the program or complete the circuit.
I am using this circuit above, except with a 220 uF capacitor, on pin five
and I have one lead from the vibration sensor hooked onto the audio input,
and the
other lead to +5vdc
+5vdc on pin 6 of the LM386 too.
My program is
vib var word
dir7 = 1
start:
pulsin pin, 1, vib
debug dec ? vib
goto start
stop
Is this even close to something that might work?
I am trying to hook up a piezo vibration sensor thru an LM386 amplifier
circuit
http://alfaie.virtualave.net/electronics/circuits/amplifiers/a4.html
at this link.
I'm not sure how to write the program or complete the circuit.
I am using this circuit above, except with a 220 uF capacitor, on pin five
and I have one lead from the vibration sensor hooked onto the audio input,
and the
other lead to +5vdc
+5vdc on pin 6 of the LM386 too.
My program is
vib var word
dir7 = 1
start:
pulsin pin, 1, vib
debug dec ? vib
goto start
stop
Is this even close to something that might work?