Shop OBEX P1 Docs P2 Docs Learn Events
vibration sensor with an LM386 amplifier circuit — Parallax Forums

vibration sensor with an LM386 amplifier circuit

ArchiverArchiver Posts: 46,084
edited 2002-02-20 04:29 in General Discussion
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?
Sign In or Register to comment.