Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#256106 - 13/05/2005 12:31 Auto. Audio Switching Device from empeg to AUX
Redrum
old hand

Registered: 17/01/2003
Posts: 998
Has anyone created or found a circuit/product that would do this….

Say you have a second head unit, iPod or navigation device (whatever) and you want to be able to activate this second unit and have the empeg automatically switch to AUX when audio from this second device is present. Then (optionally) switch back to the empeg once the audio is no longer present. The second device does NOT have a mute out line.


I’m thinking this could be done as follows…


AUX Audio Source ---- Device?----------------- AUX Audio In --------
......................................... | .............................................. EMPEG
............................................. -------------------- Mute Line --------


The empeg mute line could be toggled high or low by the device which through Hijack’s extmute_on=xxxxxxxx option could then turn on or off the AUX source on the empeg.

The only connection needed to the AUX source would be to hook up to the Audio out.


I’ve been looking at mic. audio switches that do this sort of thing but have not found one that would do the job 100%. I’ve also thought of designing a circuit using perhaps an op amp and a 555 timer.

Anyone have any ideas or suggestions?

thanks

Top
#256107 - 13/05/2005 15:50 Re: Auto. Audio Switching Device from empeg to AUX [Re: Redrum]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
I don't think there's any way to do it "100 percent" from detecting an audio signal on the RCA cables. It might "false" once in a while due to noise or such. Although I know it's do-able because I've got a subwoofer at home which automatically powers on when it gets an audio signal. But mostly I'm not worried about that "falsing" because there's no drawback to having it switch on unexpectedly, other than a little power gets wasted. With the empeg, on the other hand, it would be very irritating to be listening to MP3s and have it "false" and switch to the Aux line in the middle of a song.

Most devices that you'd want to do this would have some other way of indicating power-on status, something more reliable to test against. And probably simpler, so that the most you'd need is a relay.

How about you tell us what device you intend to do this with and we can think of a simpler solution?
_________________________
Tony Fabris

Top
#256108 - 13/05/2005 16:52 Re: Auto. Audio Switching Device from empeg to AUX [Re: tfabris]
Redrum
old hand

Registered: 17/01/2003
Posts: 998
My use would be for a Gramin IQue (GPS/PDA) that gives turn by turn instructions. It has a car cradle with a built in speaker but when I’m “Jamin Out” to the empeg there is no way I can hear the instruction from the tiny and sad car cradle speaker. The iQue does put out good, if not great, sounding audio so it would be nice it I could, plug into the iQue headphone jack, and then when a trun instruction comes up the sound would come over the car speakers through the AUX empeg input. The iQue puts out a pre-announcement warning beep so that would help in the cutover timing.

I tried hacking the car cradle to find a “high” or “low” signal but it appears the cradle amp is always on and it get no such signal.

That’s a good suggestion about the sub amp switch. Mine does the same thing. I don’t think noise would be too much of an issue because I could just turn down the input if that happens (so it would be lower than the music) and I don’t get any noise through the car cradle now. However I imagine sub amps have a frequency “awareness” and only turn on at or around the crossover. So ripping apart a sub amp might require some additional hacking.

Top
#256109 - 13/05/2005 18:01 Re: Auto. Audio Switching Device from empeg to AUX [Re: Redrum]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Okay, that does sound like a good application for an audio-sensitive relay. I don't know how to make one but I'm sure it's relatively simple. Have you tried googling for a schematic of one?
_________________________
Tony Fabris

Top
#256110 - 13/05/2005 18:20 Re: Auto. Audio Switching Device from empeg to AUX [Re: tfabris]
Redrum
old hand

Registered: 17/01/2003
Posts: 998
Yea, I did search Google but I guess I'll need to be more creative in my searches.

I did find some microphone auto-sensing switch schematic that might be useful and one for a telephone recording device. I was kind of hoping someone already did this for an iPod or something. Seems like someone in the world would have already marketed something that would send a “mute out” signal for devices that don’t have a “mute out.” Maybe they do but I don’t know what to look for.

The perfect device (IMO) would send a pulse a mute signal when auto appears so empeg will turn on the AUX and then pulse a signal when the auto shuts off to turn off AUX. That will probably be hard to find out of the box. My second best solution would be to pulse the mute, then wait for a timed duration, then pulse the mute again. The third solution would send a high or a low on the mute line while audio is present and then I would have to manually turn it back to empeg. Manual = “Bad Word”

Thanks for your help.

Top
#256111 - 13/05/2005 19:55 Re: Auto. Audio Switching Device from empeg to AUX [Re: Redrum]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
This is interesting:

http://home.att.net/~hotdog321/discovery.htm

You might be able to modify that or at least use his idea (basically, use a rectifier to convert the pseudo-AC of an audio signal to DC).
_________________________
Bitt Faulk

Top
#256112 - 13/05/2005 20:38 Re: Auto. Audio Switching Device from empeg to AUX [Re: Redrum]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
Something to consider is that switching to aux for voice prompts is probably going to be pretty jarring. I suspect it'd work better if you could get the "mute line" created and just use it to trigger the hush function. This is how OEM nav systems work, and it's a much more pleasant experience.

I use the mute line to switch to aux for the phone, and it works for that great, but I can't imagine having it pause the music and say something every thirty secconds as I approach a turn.

Matthew

Top
#256113 - 14/05/2005 12:41 Re: Auto. Audio Switching Device from empeg to AUX [Re: wfaulk]
Redrum
old hand

Registered: 17/01/2003
Posts: 998
Thanks Bitt.

I never would have thought of an audio rectifier. The only issue I see is that a rocket is a constant source of sound, and a lot of it, voice on the other hand has pauses that would recult in zero voltage. I could use something like this to initially set a trigger and the untrigger after the voice voltage is not present for a time.

Top
#256114 - 14/05/2005 12:51 Re: Auto. Audio Switching Device from empeg to AUX [Re: matthew_k]
Redrum
old hand

Registered: 17/01/2003
Posts: 998
Hopefully this will not “Thump” the speakers. I believe the transition will be smooth is because of the timing. The audio will trigger the AUX. If the AUX was switched on before the audio there might be a thump. I can also adjust the volume from the iQue so that Bitching Betty (it nickname) does not yell at me.

Yes, interrupting my empeg listening experience will be disturbing. However I’d rather be interrupted than be lost. If I am in the city and have a turn every 30 seconds I probably won’t be “Jamin out” and will have the empeg at a reasonable volume. Highway cursing is where I can really get into the music and lose track of my exits.

Top
#256115 - 14/05/2005 13:01 Re: Auto. Audio Switching Device from empeg to AUX [Re: Redrum]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Yeah, I was thinking that you could use a rectifier, plus a capacitor to even it out and help with the gaps in sound. Disclaimer: IANAEE.
_________________________
Bitt Faulk

Top
#256116 - 14/05/2005 13:03 Re: Auto. Audio Switching Device from empeg to AUX [Re: tfabris]
Redrum
old hand

Registered: 17/01/2003
Posts: 998
Here’s some leading contenders…. in the I make it catagory

I like the idea of modifying the old lady’s clapper…

http://home.maine.rr.com/randylinscott/dec97.htm


Now this one looks pretty simple and might work…..

http://www.reconnsworld.com/audio_electretamp.html


The op amp stuff gives me ideas…

http://www.redcircuits.com//Page28.htm


Seems like a cool chip but would probably never figure out how to set it up…

http://www.rohm.com/products/databook/audio/pdf/ba3430s.pdf


The Schmitt trigger looks like it might work. Maybe hooked to a LM555 timer …..

http://www.swarthmore.edu/NatSci/echeeve1/Class/e72/E72L2/Lab2(OpAmp).html

Top
#256117 - 15/05/2005 00:26 Re: Auto. Audio Switching Device from empeg to AUX [Re: Redrum]
elperepat
enthusiast

Registered: 11/01/2002
Posts: 211
Loc: Qc, Canada
The audio detector you want is what is called vox. There are a lot available on the net (search for "vox circuit" in google).
That vox circuit basically keeps its output HI as long as there's audio at its input. There is an adjustement (by varying a capacitor value at design time) that tells how long a silence must be before resetting the output. This prevent pauses in voice to be interpreted as end of audio signal.

Then, you could use something called an edge detector (search for edge detector in that pdf file).
What that does it create a pulse (user definable length, also by changing a cap value during design) at both beginning and end of a input signal. You could then feed that to the empeg input. I'd suggest to use an optocoupler to electrically isolate both the circuit and the empeg, just to be sure no harmful voltage is sent to the empeg, or ground loops.

Code:
Audio Signal:
--/|/\/\/|--/|/|/|\/\/\/\--------------
Vox output:
__--------------------------________
Edge detector output:
__-_________________________-_____



Hope this helps
_________________________
Patrick

Top
#256118 - 16/05/2005 11:53 Re: Auto. Audio Switching Device from empeg to AUX [Re: elperepat]
Redrum
old hand

Registered: 17/01/2003
Posts: 998
Thanks Patrick that's exactly what I need.

Ording parts and warming up my iron now....

Top
#256119 - 17/06/2005 10:25 Re: Auto. Audio Switching Device from empeg to AUX [Re: Redrum]
Redrum
old hand

Registered: 17/01/2003
Posts: 998
Thanks to everyone's help I did it! The empeg is now politely letting my GPS tell me where to turn.

I used a voice activated switch kit (only $7, cool) I found here -> http://www.rainbowkits.com/kits/vox-1p.html and with a few minor modifications it works great. I used it to find my way to work this morning (need all the help I can get in the mornings). One of the modifications I did was to replace a resistor (R2) with a potentiometer so I could adjust sensitivity. Once I tweaked the pot a few times the VOX switched great. One thing that helps out on the timing is that the GPS has an alert tone that beeps right before it starts talking. The VOX switch activates on this beep so it doesn't cut off any of the voice prompts. I also noticed that the mute line on the empeg is way more 0 volt sensitive than 12v. Instead of trying to drive the mute line to 12v I used the vox to drive it to 0v.

The Hijack mute/button hack to switch AUX on and off worked great. So for a grand total of about $15 (and a few evenings) I've got an integrated empeg to GPS solution, I'm pumped.

Top
#256120 - 17/06/2005 13:26 Re: Auto. Audio Switching Device from empeg to AUX [Re: Redrum]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Very very cool!
_________________________
Tony Fabris

Top
#256121 - 17/06/2005 14:07 Re: Auto. Audio Switching Device from empeg to AUX [Re: tfabris]
chuckcheeze
new poster

Registered: 01/02/2005
Posts: 14
agreed this is way cool...

where did you mount the circuit board?

i am a soldering novice. is it simple to solder?

Top
#256122 - 17/06/2005 14:35 Re: Auto. Audio Switching Device from empeg to AUX [Re: chuckcheeze]
Redrum
old hand

Registered: 17/01/2003
Posts: 998
I used the below project box from Radio Shack ($4, cool) to mount the kit. I keep it in the glove box for so I can unplug it if desired. I connected to the empeg via an RCA wire connected to the AUX input with the other end being a head phone male plug. I have a female headphone jack on the box (got it from Mouser, like $1) so I can unplug the AUX from the VOX box if I wish. So if I want I can then plug in an iPod or something directly to AUX and not go through the VOX. I know I didn't explain this very well but hopefully you can picture this. I'm heading out of town on vacation to the woods for 3 weeks or I'd get you some pictures now. Maybe when I get back if you are interested

http://www.radioshack.com/product.asp?catalog%5Fname=CTLG&product%5Fid=270-283

Top
#256123 - 17/06/2005 14:37 Re: Auto. Audio Switching Device from empeg to AUX [Re: Redrum]
chuckcheeze
new poster

Registered: 01/02/2005
Posts: 14
pics would be cool

btw, i have a gps as well.


Edited by chuckcheeze (17/06/2005 14:43)

Top
#256124 - 06/08/2005 08:39 Re: Auto. Audio Switching Device from empeg to AUX [Re: chuckcheeze]
cookie_77
member

Registered: 08/03/2002
Posts: 145
Hi.

Anyone else done this?

of have a pic of the completed board as that company won't sell to the uk.

Thanks

C.

Top
#256125 - 08/08/2005 22:22 Re: Auto. Audio Switching Device from empeg to AUX [Re: chuckcheeze]
Redrum
old hand

Registered: 17/01/2003
Posts: 998
Here's some pics.

This one is of the two boards. The bread board is just for the extra transister that grounds the mute line instead of taking it high.


Attachments
262285-IMG_0701.jpg (1218 downloads)


Top
#256126 - 08/08/2005 22:23 Re: Auto. Audio Switching Device from empeg to AUX [Re: chuckcheeze]
Redrum
old hand

Registered: 17/01/2003
Posts: 998
Audio in plug...


Attachments
262286-IMG_0702.jpg (1129 downloads)


Top
#256127 - 08/08/2005 22:25 Re: Auto. Audio Switching Device from empeg to AUX [Re: Redrum]
Redrum
old hand

Registered: 17/01/2003
Posts: 998
One problem I’m having is with engine noise activating the mute line. I put an inline filter on the output but that didn't help. Going to try the input as well. If anyone has any suggestion like a good notch filter or something I'm all ears.


Attachments
262287-IMG_0703.jpg (1167 downloads)


Top
#256128 - 21/08/2005 17:50 Re: Auto. Audio Switching Device from empeg to AUX [Re: Redrum]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Having just had my empeg installed in my new car, I've got some interest in something like this. A few questions...

1. You mentioned you were having problems with engine noise inducing a false start, is that still the case?
2. If I understand right, it switches over as soon as it senses audio, and then waits for a period of silence before switching back. How variable is this time period between switching back?
3. Is it possible to tell it never to switch back? i.e. always switch when it gets sound, but wait for the user to manually switch back to Aux.
4. Once you have something reasonably finalized, would you consider building them and selling them? It doesn't look *too* complicated, but I'm not sure I'd want it to be my first electronics project, either.
_________________________
- Tony C
my empeg stuff

Top
#256129 - 21/08/2005 19:09 Re: Auto. Audio Switching Device from empeg to AUX [Re: tonyc]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
Nice one!

When the mute line is activated, does it just mute the signal completely or just hush it to a certain level?

I've been looking at doing something similar, well actually it would probably fade the signal down quickly and then fade slowly back up, it would be completely separate to the empeg, in fact the empeg would be completely oblivious to what was going on.

I'll probably just build a ducker which is basically an audio compressor which works on the output chain but is keyed by a separate audio input (the sat nav). I can then tweak the attack and decay to suit.
_________________________
Cheers,

Andy M

Top
#256130 - 22/08/2005 16:01 Re: Auto. Audio Switching Device from empeg to AUX [Re: tonyc]
Redrum
old hand

Registered: 17/01/2003
Posts: 998
Quote:
Having just had my empeg installed in my new car, I've got some interest in something like this. A few questions...

1. You mentioned you were having problems with engine noise inducing a false start, is that still the case?
2. If I understand right, it switches over as soon as it senses audio, and then waits for a period of silence before switching back. How variable is this time period between switching back?
3. Is it possible to tell it never to switch back? i.e. always switch when it gets sound, but wait for the user to manually switch back to Aux.
4. Once you have something reasonably finalized, would you consider building them and selling them? It doesn't look *too* complicated, but I'm not sure I'd want it to be my first electronics project, either.


Answers:

1), Yes. The first day or so it worked OK after I adjusted the input level several times. Then it just started falsing all the time. I’ve been too busy with other things to mess with it at the moment. I believe all I need is a good band pass filter that would block everything except the voice announce range. I had difficulty with noise during my empeg install too and ended up running the amp. input under the rug and away from and 12v lines. There seems to be a lot of ignition noise in the car’s lines. It works great as long as the car isn’t running. Except what the heck would you need a GPS for it you’re not moving.

2), The mute line will stay active as long as there is auto coming in. You can change some component values to switch off instantly or wait a second or so. With voice input there is natural pauses. The switching off after the voice stops seems to work OK as delivered in the kit. I tried playing a Pink Floyd sound through the input and it did cut out during the pauses.

3), Yes, I believe if you just use the hijack mute on parameter and not the mute off parameter that would work.. With both the AUX will toggle on and off when the mute line goes high or low.

4), Yes, I have considered selling the assembled gizmo once I get it working. There are a couple Garmin forums where people have expressed interest in this sort of thing. However I don’t think many of those people have the technical skill to wire anything to their mute line. People here seem to be a bit more technical. The kit was pretty easy to put together. It was also pretty inexpensive so if you totally foobar it what the heck.

Thanks for the inquiry. This will help to keep my motivation up. I’ll let you know when I get the bugs worked out. Right now I have no time. I was going to try to get it working for the Indiana meet but that doesn’t look doable unless anyone has any suggestions on a good noise filter I could use on the input and the power line.

Top