Hi,
as part of a bigger project, I need to "switch" a stereo audio signal. I'm using the Audio shield, and here is the schematic I envisioned:
In words: teensy audio gets analog stereo line ins (analogL and analogR), and does some DSP outputting dspL and dspR. I want to be able to switch digitally sampled signal in and out completely, so I'm going through a DPDT relay. I chose a double coil latching type so that I can control it more easily with two teensy digital out pins. I added two mosfets to match the relay's current requirements.
I have a few questions:
1. Do you think this circuit would work? And do you think is it a good idea or can you suggest better or simpler alternatives?
2. Is it ok not to have a gate resistor on mosfets, or should I put one?
3. Is it ok not to have a pulldown resistor between teensy pins and mosfets' gates? Or is there any way I can use teensy's built in ones even if I want to use the pins as outputs?
In case you need to know, line level signals here are max 3.12Vpp.
Thanks!
as part of a bigger project, I need to "switch" a stereo audio signal. I'm using the Audio shield, and here is the schematic I envisioned:
In words: teensy audio gets analog stereo line ins (analogL and analogR), and does some DSP outputting dspL and dspR. I want to be able to switch digitally sampled signal in and out completely, so I'm going through a DPDT relay. I chose a double coil latching type so that I can control it more easily with two teensy digital out pins. I added two mosfets to match the relay's current requirements.
I have a few questions:
1. Do you think this circuit would work? And do you think is it a good idea or can you suggest better or simpler alternatives?
2. Is it ok not to have a gate resistor on mosfets, or should I put one?
3. Is it ok not to have a pulldown resistor between teensy pins and mosfets' gates? Or is there any way I can use teensy's built in ones even if I want to use the pins as outputs?
In case you need to know, line level signals here are max 3.12Vpp.
Thanks!