home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / sci / electron / 22388 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  4.5 KB

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!biosci!ucselx!crash!cmkrnl!jeh
  2. From: jeh@cmkrnl.com
  3. Newsgroups: sci.electronics
  4. Subject: Re: audio signal switcher
  5. Message-ID: <1993Jan10.231037.1123@cmkrnl.com>
  6. Date: 11 Jan 93 07:10:37 GMT
  7. References: <1993Jan10.4265.27686@dosgate>
  8. Distribution: sci
  9. Organization: Kernel Mode Consulting, San Diego, CA
  10. Lines: 72
  11.  
  12. In article <1993Jan10.4265.27686@dosgate>, "glen mead" <glen.mead@canrem.com> writes:
  13. > I want to build a
  14. > switchbox that will select one set of outputs (CD/Receiver) by default and
  15. > then select the other outputs (Cassette Deck) when a cassette is being
  16. > played back.  So, I would basically like the switchbox to select the one
  17. > input by default and then select the other input when a signal is present
  18. > on that input.  Any comments and/or suggestions on how this might be done?
  19.  
  20. Not a bad idea.  Among other things, you'll get what some manufacturers call
  21. "Tuner Call" or "Tuner Standby" as a free byproduct.  (ie when you are
  22. fast-winding the cassette the switch will automatically select the tuner/CD
  23. inputs) 
  24.  
  25. What follows are some "partly-baked ideas"; I don't by any means guarantee that
  26. I haven't forgotten something vital: 
  27.  
  28. Idea 1:  Amplify the audio with an op-amp to get it up to a voltage swing from
  29. near-0 to near-5 volts.  (ie you're amplifying and adding a DC offset. Actually
  30. you don't need to amplify the "negative half" of the incoming waveform, as you
  31. don't care about fidelity here.)  Feed this to the input of a CMOS Schmidt
  32. trigger.  The CMOS should be run from a 5V 3-terminal regulator fed from the
  33. 13.6 VDC car supply. (Yes, you can run CMOS directly from the 13.6, but the
  34. 13.6 is very noisy -- going through a regulator and paying attention only to
  35. the "bottom" 5 volts gets rid of most of the noise; a small filter cap should
  36. take care of the rest.)  Feed the Schmidt tricker output to the 'trigger' input
  37. of a 555 wired as a missing-pulse detector (retriggerable monostable
  38. multivibrator), with a LONG time constant -- five or ten seconds.  (You don't
  39. want to be falling back to the radio between selections on a tape!  At least I
  40. don't think you do.) 
  41.  
  42. The output of the 555, via a transistor, drives the coil of a DPDT relay, which
  43. will do the actual signal switching.  I mentioned a 5V supply because there are
  44. lots of little PC-mount relays out there with coils designed to be driven by
  45. TTL. 
  46.  
  47. Relays...ugh!  You may be able to use CMOS analog switches instead, but if I
  48. remember right, if these are run from a single-ended supply, they'll only
  49. handle "single-ended" analog signals.  So these would require you to either
  50. have a -somethingDC supply as well as the +, or else you'll have to use an 
  51. op-amp to shift the CD/receiver signal up into the 0...Vcc range.  It may be
  52. easier to use a relay. 
  53.  
  54. Idea 2:  Amplify the audio from the tape deck; feed the result to a rectifier
  55. diode; the very ragged "DC" that comes out charges a capacitor with an R across
  56. it, time constant in the ten-second range.  Again use a CMOS Schmidt trigger to
  57. get clean switching out of this.  The output of the Schmidt trigger drives your
  58. analog switches or (with a driver transistor) relay coil.  I don't really 
  59. expect this to work reliably, but it's easy enough to try...
  60.  
  61. Either way, you'll have to do some fiddling with levels so that the thing
  62. doesn't drop out during soft passages, but DOES drop out after, say, five or
  63. ten seconds of inter-selection tape hiss.  The current issue of _Electronics
  64. Now_ has a circuit for an automatic volume control for tape recording, using a
  65. Signetics compander chip; you might look into inserting this into the signal
  66. path.  
  67.  
  68. Idea 3:  aka "Why re-invent the wheel?"  What you are after is basically a VOX
  69. (Voice Operated Transmission) circuit such as has been used on ham gear for
  70. decades.  Check the _ARRL Handbook_, back issues of _QST_, _CQ_, and _73_,
  71. etc., for suitable circuits.  Also check "econo-kit" manufacturers like Ramsey
  72. Electronics -- they may well have a kit for a VOX circuit.  You may have to
  73. modify it to run off the car power supply, to work reasonably with line levels
  74. instead of mic levels, and to have a long "hold" time to cover those
  75. inter-selection gaps on the tape, but none of these mods should be difficult. 
  76.  
  77. (Purists will claim that CMOS analog switches are wholly unsuitable for audio
  78. applications.  I claim that you'll never hear the difference in a car; in fact,
  79. your CD/tuner probably already uses some.)
  80.  
  81.     --- Jamie Hanrahan, Kernel Mode Consulting, San Diego CA
  82. Internet:  jeh@cmkrnl.com, hanrahan@eisner.decus.org, or jeh@crash.cts.com
  83. Uucp:  ...{crash,eisner,uunet}!cmkrnl!jeh
  84.