| Forum Home | ||||
| PC World Chat | ||||
| Thread ID: 63025 | 2005-10-27 02:07:00 | 2 stereo sockets to 1 | The_End_Of_Reality (334) | PC World Chat |
| Post ID | Timestamp | Content | User | ||
| 399583 | 2005-10-27 02:07:00 | I am wanting to build a little device that takes two 3 . 5mm stereo sockets (1 for MP3 player and other for mobile phone headset) and put them out in to 1 3 . 5mm stereo socket . :cool: But the hard part is i want to make it so that the phone input which will not play sound all the time is a master (when the phone makes sound the MP3 player gets cut off and when phone stops the MP3 player comes back in) . :illogical I have thought of using a transistor as a switch but i cant think of a way to make the MP3 player cut out . :confused: Any ideas please . :D Thanks |
The_End_Of_Reality (334) | ||
| 399584 | 2005-10-27 02:21:00 | "A transistor" won't do it . A relay would be the easiest way to do the changeover . You would need a "VOX" circuit to drive it . But I would use a DPDT switch . Wet logic driving (meat) digital I/O devices takes a bit of beating . |
Graham L (2) | ||
| 399585 | 2005-10-27 22:29:00 | I have asked my electronics teacher and she suggeated using a picaxe and program it so it functions as an electronic switch and use it that way does anyone think this would work effectively? Thanks |
The_End_Of_Reality (334) | ||
| 399586 | 2005-10-28 02:24:00 | By the time you build a circuit and add a battery you will have a third box to carry around that will drive you crazy. It could be powered by rectifying audio from the MP3 player to power on an electronic switch, possibly a FET or cmos switching IC, then independently rectify the phone input to overide that switch and divert the headpones to receive the phone signal. You would need some delay or it would chop in and out with the music signal so unless you are skilled at electronic design I'd be inclined to forget it. I favour the wet-logic method myself, and as for the picaxe, that is overkill and once again will need a battery. Typical of a teacher to suggest excessive technology. Creeping elegance is a dreadful disease. Cheers Billy 8-{) |
Billy T (70) | ||
| 399587 | 2005-10-28 02:40:00 | Yes, PicAxes are very nice things ... I am using them more and more. But for this one, a DPDT switch will do a very good job. The 10 bit A-D, and PWM output, and now the I2C and Dallas OW protocols, make them delightful. USB is coming ... A PA-08M would allow you to do A-D conversions on two channels, and use the values to adjust the PWM output on Output2. The A-D conversions take about 20 microseconds each. That would be mono in and mono out, at pretty low fidelity. You might get about 4 kHz. Of course, that's not probably what was meant by the teacher ... just looking at the inputs from the two devices, and operating a relay accordingly would be very easy to do (though a DPDT relay would probably need a transistor to drive it ... you can just about drive a reed relay coil with the 20 mA from the PA outputs.) |
Graham L (2) | ||
| 1 | |||||