SolidWorksMagi
Senior Member
I bought one of these MAX9814 based Electret Microphones so a loud sound could trigger actions for a robot. I've looked at a few dozen websites for ideas how to make it work, but have not been able to get a usable wiring or software configuration.
I've been trying the sample code from: http://www.picaxe.com/docs/picaxe_sound.pdf
do
gosub green
pause 1000
readadc B.1,b1 ; read value into w1 from B.1 pin ... also tried A.0 pin
debug ; to see w1 value
if b1 > 1 then gosub red ; Loud Sound was Heard
pause 1000
loop
My connections are GND, Vcc, OUT (B.1) and when that failed I added a Pull-Down 220Ω resistor from OUT to GND
I've been trying the sample code from: http://www.picaxe.com/docs/picaxe_sound.pdf
do
gosub green
pause 1000
readadc B.1,b1 ; read value into w1 from B.1 pin ... also tried A.0 pin
debug ; to see w1 value
if b1 > 1 then gosub red ; Loud Sound was Heard
pause 1000
loop
My connections are GND, Vcc, OUT (B.1) and when that failed I added a Pull-Down 220Ω resistor from OUT to GND
Last edited: