Dimitree Posted May 7, 2010 Report Share Posted May 7, 2010 Hi everyone I'm using a core to drive with MIDI 4 relays. Those relays are making a simple short between Tip and Sleeve of a jack connector, or sometimes I use it to "force" the push of a momentary switch on other circuits, like this: Now I'd like to remove the relays (expensive and too big) and replace them with an electronic switch like the CD4066 (this one got 4 switch in one chip). Is it possible? how can I connect it to the digital outs? many thanks Quote Link to comment Share on other sites More sharing options...
Screaming_Rabbit Posted May 7, 2010 Report Share Posted May 7, 2010 How about placing the link to the datasheet? I'm (probably I'm not the only one) not in the mood to surf after your parts :sleep: Greets, Roger Quote Link to comment Share on other sites More sharing options...
Dimitree Posted May 7, 2010 Author Report Share Posted May 7, 2010 oh right, sorry here it is: http://www.datasheetcatalog.net/it/datasheets_pdf/C/D/4/0/CD4066.shtml Quote Link to comment Share on other sites More sharing options...
TK. Posted May 7, 2010 Report Share Posted May 7, 2010 Yes, it's possible to connect 4066 to a DOUT and to use them as bidirectional switches. Connect Vss to ground, Vdd to 5V (*), CONT A/B/C/D to digital outputs of a DOUT module, and the SW pins to the circuit that should be controlled. (*) Vdd can be higher if you plan to control a circuit that works at higher voltages - it should be at least the target voltage. Only disadvantage: in distance to relays (or optocouplers) they are not galvanically separated from the digital circuit (MBHP_CORE, MBHP_DOUT), but if this doesn't matter you will be happy with this approach. If bidirectional voltages are switched, you have to shift them to a mid level. Audio signals will get some additional noise. If galvanic separation or Audio signal quality is a *must* for your application, I recommend reed relays - they are small, reliable and silent (but they are also expensive...) Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Dimitree Posted May 7, 2010 Author Report Share Posted May 7, 2010 Yes, it's possible to connect 4066 to a DOUT and to use them as bidirectional switches. Connect Vss to ground, Vdd to 5V (*), CONT A/B/C/D to digital outputs of a DOUT module, and the SW pins to the circuit that should be controlled. (*) Vdd can be higher if you plan to control a circuit that works at higher voltages - it should be at least the target voltage. Only disadvantage: in distance to relays (or optocouplers) they are not galvanically separated from the digital circuit (MBHP_CORE, MBHP_DOUT), but if this doesn't matter you will be happy with this approach. If bidirectional voltages are switched, you have to shift them to a mid level. Audio signals will get some additional noise. If galvanic separation or Audio signal quality is a *must* for your application, I recommend reed relays - they are small, reliable and silent (but they are also expensive...) Best Regards, Thorsten. many thanks! so I could just connect the 4066 to the DOUT, great! about the separation, I don't have the schematic of the board I have to control with me, so I don't know if there could be some problem. At least there's no audio signal involved. I believe the momentary switches that I'm going to force, are simple connected to +Vdd just like we would connect a momentary switch to DIN module (but I don't know if the voltage is the same, at least not higher than 5V for sure) Quote Link to comment Share on other sites More sharing options...
julienvoirin Posted May 8, 2010 Report Share Posted May 8, 2010 it is possible, i did it (and developped a dedicated app for controlling 8 analog switch with 8 tact switches with LED visual feedback) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.