I am using the Espruino board to occasionally play back recorded voice waveforms through the DAC and a connected OpAmp. When not playing anything, there is a noise from bus signals leaking into the audio. Therefore I would like to only switch on the amplifier when audio is playing and then switch it off again.
I have currently connected the OpAmps power supply pins to GND and 3.3V pins on the board. The most straight-forward idea is to connect the VCC to a digital output and then switch it on and off using digitalWrite. But can the chip handle that load? If not, how should I wire it? I think that's what transistors are for but I know nothing about analog electronics.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I am using the Espruino board to occasionally play back recorded voice waveforms through the DAC and a connected OpAmp. When not playing anything, there is a noise from bus signals leaking into the audio. Therefore I would like to only switch on the amplifier when audio is playing and then switch it off again.
I have currently connected the OpAmps power supply pins to GND and 3.3V pins on the board. The most straight-forward idea is to connect the VCC to a digital output and then switch it on and off using digitalWrite. But can the chip handle that load? If not, how should I wire it? I think that's what transistors are for but I know nothing about analog electronics.
The amplifier I use is a Digilent PModAmp1:
http://www.digilentinc.com/Products/Detail.cfm?Prod=PMOD-AMP1