Hi there, I am using the Adafruit sound fx board to trigger some audio using a momentary push button. I want to know if there is a way I can turn the board off once the audio has finished playing and then back on as soon as the push button is pressed again. This will save the battery life from draining too quick. Even when there is no audio being played the sound board is still drawing around 35mAh.
The simple solution would be to connect the push button to the power supply and have the user hold down the push button whilst it boots up the board and plays the audio. However, this is not very user friendly and not an option.
There is an activity pin on the board which goes low when audio is being played and then high once audio has stopped playing. Maybe I can use that to send the information of when the audio has stopped playing and now needs the board to turn off? As I am not very clued up on circuitry I cannot think of a way to do it. Somebody mentioned using a PNP transistor or a 555 timer. But I have no idea how that would actually look or work.
Any help will be greatly appreciated
Thanks
Paul
The simple solution would be to connect the push button to the power supply and have the user hold down the push button whilst it boots up the board and plays the audio. However, this is not very user friendly and not an option.
There is an activity pin on the board which goes low when audio is being played and then high once audio has stopped playing. Maybe I can use that to send the information of when the audio has stopped playing and now needs the board to turn off? As I am not very clued up on circuitry I cannot think of a way to do it. Somebody mentioned using a PNP transistor or a 555 timer. But I have no idea how that would actually look or work.
Any help will be greatly appreciated
Thanks
Paul