This is my first post! (This is also my first real project for college)
The aim of this project is to write a piece of software that controls an Arduino and in turn control various DI Box switches.
I've de-soldered the first switch and the logic is as follows:
I wondered if it would be possible to use a logic n-MOSFET and a logic p-MOSFET to make the connections. (Obviously the same system would need to be employed on the left and right hand side) - This way one logic 5V signal from an Arduino would supposedly make these connections.
At the same time I was recommended by another person that a DPDT relay switch would be a good solution.
Any advice/comment on which is the best solution would be extremely helpful.
Given the low signal levels within a DI box, you will find a definite advantage in using relays with gold plated contacts for your switching. Solid state switches will contribute significant noise degradation to these low level signals.
I should've mentioned that the specific switch is the -20dB pad. (I'm not sure if the audio actually goes through this switch or if it's just logic?)
What I'm not sure is how to choose a relay type and also how to connect it to the digital logic outputs from an Arduino board? - would a logic MOSFET still be required?
The 20dB pad for DI boxes is normally in the Audio signal path at the input to the circuitry.
For interfacing a relay to your processor logic outputs, any suitable buffer such as the 'logic MOSFET' you suggest will be able to drive a relay.... check the relay coil current/voltage for suitable types.
Fantastic thanks so much for your help. (This forum's great!)
Out of interest what does the EMF diode do? - At a guess stop the board getting fried if there's a problem?
The specific box is a Behringer GI100 (Cheap n' cheerful) so the power supply is a 9V battery. - How do you match the coil up, is it supposed to be the same at the power supply?
Do you know of any good beginners tutorials to relays, as I'm not quite sure where to start?
For an Inductor, the relay coil in this case; it holds a stored Magnetic charge in it's core when energised. When you switch the relay coil off the stored charge has to go somewhere so instead of leaving it to generally try to dissipate through the drive circuitry a diode is used to conduct it safely away. (a bit oversimplified!)
Mik
---------- Post added at 16:08 ---------- Previous post was at 16:01 ----------
Re: "The specific box is a Behringer GI100 (Cheap n' cheerful) so the power supply is a 9V battery. - How do you match the coil up, is it supposed to be the same at the power supply?"
seem to think for these that Batteries are used. The Relay current will cause battery life to be reduced so have a look at 'Latching' relay types.
Coil Voltage you'll see from Relay Spec sheets is over a range of Voltages. You will have a Voltage drop with your switching transistor so look at 6Volt coil types for your 9Volt supply - although these will draw more current.
Best option is to use the DC supply from your controller as the relay coil is completely isolated from it's contacts, then leaving a seperate 'clean' supply for your Audio path.
Mik