Skip to main content
mheavers's user avatar
mheavers's user avatar
mheavers's user avatar
mheavers
  • Member for 7 years, 2 months
  • Last seen more than 3 years ago
awarded
awarded
awarded
awarded
Loading…
Loading…
comment
Loading…
awarded
comment
How to connect one pin to ground when an another analog pin is triggered
Great answer, thank you. There is only one detail that I missed for anyone working with this sound board, which is that if you want a sound to play only while ground is low, you need to name the sound file with the HOLD suffix. All the other naming conventions will continue to play. If you want the sound to loop until the pin is triggered low again, name it with the LATCH suffix. See learn.adafruit.com/adafruit-audio-fx-sound-board/…
comment
How to connect one pin to ground when an another analog pin is triggered
actually I don't think your comment above makes sense to me. Can you provide an answer with the code you are suggesting?
comment
How to connect one pin to ground when an another analog pin is triggered
I'll try it out tonight. To answer your question - the sound does stop playing when I detach a wire from Soundboard Pin 1 or Ground, so nothing is fried, luckily. Is using a transistor as a switch an option? Wasn't sure if the voltage would be too much for a transistor to handle. Sorry - new to electronics...
awarded
revised
Loading…
comment
How to connect one pin to ground when an another analog pin is triggered
This doesn't work (still plays all the time). Maybe I need something that breaks the connection to ground? I'm posting a picture of how the soundboard works with a button. Is there something I can substitute for the button that has the same effect, only with current from the arduino instead of a physical press?
revised
Loading…
comment
How to connect one pin to ground when an another analog pin is triggered
Hmmm, must be something else I'm missing, perhaps with the wiring. I'll draw my current wiring.