DIY tuner passthrough, or, How does audio jack detection work? - Hardware Hacking General

Hi guys,
I often use my phone as a tuner for bass guitar, which generally works well. I was wondering though, to be able to tune while unamped, if I could head down to Jaycar (Aussie radioshack!), grab a TRRS socket, and whip up something like:
Code:
---Phone---
┌────[T] -Audio L
├────[R] -Audio R
| ┌─[R] -Mic
| | [S] -Ground
| |
| |
| |
[*] | -Somehow wire this so the phone still uses its own speaker
|
|
├─[T] -- Bass guitar direct Hi-Z output
|
└─[T] -- Amp input (so this is effectively wired in parallel with the phone's mic input)
[Ground wires not drawn for clarity]
So, two questions to the more electronically adept than I:
1) can I do this without issues? Will my phone/amp crack the ****s if their inputs are wired in parallel?
2) Is there some way I can wire the connection to the phone's audio OUTPUT such that it believes there is no speaker/headphone connected, and use its own speaker? I have an HTC Desire Z, (i.e. T-Mob G2 for the yanks) if that makes any difference.

Don't short the left and right audio output.
The phone can probably take it, but there is no point to it.
The mic line probably has a few volts floating on it to power the microphone.
Plugging a guitar into that will do no harm to anything,
however, if you chain directly through to your amp, unplugging your guitar hot will make a mega-thump.
It might be better to put a 0.1 uF capacitor in series with the mic line.
Most phones use a single switch in the headset jack to detect insertion.
To use the internal speaker while using an external mic will require some sort of software hack/mod/app.

Related

Audio (MP3) through original Dockingstation. HELP!

Hi,
I'm only 13 and a proud owner of an O2 XDA 2.
This I what I need help with.
I would like to place my USB docking station on top of my subwoofer, and connect my XDA with it (only for audio purposes only).
I've read some of the forums here, but didn't find much info. :?
Could someone tell me which pins, on the connector, on the dockingstation send the sound? I would like to add 2 cinch cables to these pins, and attach them to my subwoofer (to kind of make my XDA like an Ipod or another MP3 player, where I simply stick it into my dockingstation and start playing MP3s through my sound system).
Thanks,
Kind Regards,
Tony Schattat
Hi mate.
Note sure you could connect the XDA directly to a speaker as I doubt it would have the required power output (but I don't know much about this, just being logical).
Take a look at the following thread: http://forum.xda-developers.com/viewtopic.php?t=26489&highlight=
This guy has basically modified the headset to have a 3.5mm jack - I've then suggested (and intend on doing this) that you could put 2 standard audio outputs instead.
On reflection though, I think his suggestion may be better as it reduces the number of leads. If you then needed to split the sound out to 2 seperate channels you could use something like this:
http://www.maplin.co.uk/Module.aspx?ModuleNo=43086&doy=3m9
Cheers
Wayne
Hi Wayne,
Thanks for your reply.
I would rather like to have a solution which is built in my dockingstation.
With alot of precision I was able to do the following.
1. Used http://wiki.xda-developers.com/wiki/Connectors for details.
2. On pin 19 on the dockingstation I placed a 10K SMD resistor (as the standard ones are too big), connected to GND, as stated in the text.
3. Using a double cinch cable I soldered them onto pins 3 (CAR_AUDIO_R) and 4 (CAR_AUDIO_L), and both GND wires to GND.
But nothing seems to work.
I used the ohm-metre to check if the 10K resistance even came up to pin 19 of the dockingstation. I does. Unfortunately the XDA doesn't turn off it's built-in speaker and microphone, as stated in the text.
This basically simulates a car-kit for the XDA, doesn't it?
Kind regards,
Tony Schattat
Audio playback
Hiya!
Well if yer are 13 then it seems UK Schools are way behind German ones if they're teaching you about using Ohm Meters, Resistors and electronic theory already!
Ok, overall to me this whole precision soldering and resistor checking etc is all overkill for what you ultimately seem to want to achieve.
I've just bought off eBay the little 2.5 mm to 3.5mm standard headphone jack converter lead for about £2.50. I'm going to go nip into a shop or again off eBay and get a 3.5mm stereo to 2 phono plug convertor lead.
Simple case of then slapping that into the Aux input of my Hi-Fi amplifier, or my mini deck hifi etc and playing the mp3's through that!
No need for faffing around with soldering irons, and electronic theory and all that!
Added benefit is of course that through the hifi unit, I have full control over the audio equaliser functions and so will have the full spectrum of audio frequencies to hear the music - Your requirements states you just want to connect it to a subwoofer. Low frequencies are great, but you do need the upper frequencies too!
That will all set you back the grand total of about £5, and i've assumed you do have some audio equipment with an Aux input!
For 'constant' playback, when yer battery gets flat,... just plug the charger in!
Another benefit is that you can take the leads with you on your travels and setup the same at any of your friends houses with minimal effort!
I don't see the point of the route you are wishing to take - unless I'm missing something (I got in at 7am this morning after clubbing and up at midday, so im knackered!)
Cheers!
Hope this helps!
Dennis! West London UK!
Hi Dennis,
Well the schools here aren't all that far ahead ( I think, because I`ve lived in Australia for 6 years)!
It runs in the family!
I was able to find some handy info on some dockingstations on google, but I'm not very sure.
Is it true that the serial dockingstations have an audio connector on the rear side, opposite of the power connector?
Is the audio connector on the dockingstation the same thing as the one, which is found at the bottom of the XDA (would it disable the built in mic and speaker of the XDA and send the audio through connector on the back)?
If this is true, could I simply attach a 2,5mm to 3,5mm converter to the back of the dockingstation and attach the converter to my subwoofer?
Kind regards,
Tony Schattat
Audio playback
Hi there Tony
I'm still not sure exactly why you want to connect your USB cradle to play music through.... seems pointless to me..
The method I described would be the easiest for you to 'amplify' the audio output from the XDA2.
I may be wrong but I dont think the USB cradles have an 'audio output' connector at the back, it's a bit pointless as these devices aren't devised as 'audio players' - so no, you cannot put the 2.5 to 3.5 mm converter on and then connect that to your subwoofer (signal is wayyy wayyy too small to drive a sub woofer) if there is an audio output at trhe back of the usb cradle, then I never knew about it!! and same again, you cannot connect directly to a sub woofer.
Out of the socket at the bottom of the xda2 in a 2.5mm size, is an audio jack. Get the converter to take that 2.5 mm and output it to a standard 3.5mm headphone socket size. Right, at this stage you can connect 'Hifi' headphones and enjoy your MP3's that way. If you now want your music 'louder' you need to convert that (now) 3.5mm output to be able to connect it to some audio equipment that can 'amplify' the signal and play through some loudspeakers (the 3.5mm socket to Phono converter lead). That will go to your hifi amplifier in turn to which 'full range'loudspeakers are connected. You mention 'sub woofer' .. You could then attach your sub woofer to the amplifier and you will only hear the low 'rumble' of the bass frequency content of the music (again, a bit pointless!). If that's what you want then at this point all will work but then what's your plan for hearing the mid range and high frequency elements of the music?
I'm just thinking that for your final 'aim' (to hear MP3 files on the xda through loudspeakers) the method you are using is cumbersome, time consuming and pointless when you can have a 'full range' output using the method I described.
Take a look at eBay for the connectors - and you'll find you should be hearing music in no time!
Cheers! Dennis! West London UK!

Wired stereo audio & miniUSB ... what about mic?

I've been reading a bunch of threads on adapters to convert the 11-pin port to miniUSB and 3.5mm audio out. There are the mini ones (like the one from sensons.com) and many on Ebay. So what happens to the Microphone when using these? Does the internal microphone still function?
There are also these: http://cgi.ebay.com/2in1-USB-Adapte...165910257QQcmdZViewItem?hash=item200165910257 which have a built-in Microphone, but I heard quality is not the greatest.
I want to hook this into my car stereo with audio being pumped into the aux of my HU. A charger has already been wired in, but I'm worried about the microphone if I receive a phone call or want to make one? Feedback issues?
Code:
stereo out
/
{TILT}- external microphone
\
charger
----OR----
stereo out
/
{TILT}=(internal mic)
\
charger
Opinions, personal experiences?
Thanks,
Nelson
Well, I found a related thread, but it has no resolution.
http://forum.xda-developers.com/showthread.php?t=350314
Anyone?

Microphone only adaptor

Heya,
Currently I have a 3 way splitter HTCusb -> Power (miniusb) | Audio (3.5mm) | HTC Headset Connection (HTCusb)
What I need is a microphone only 'headset' to go in the headset socket, as the audio is allready being passed to my car's speakers via the 3.5 jack.
Does anyone know if/where somthing like this exists? or should i buy a cheap headset and splice the earphones off?
Also anyone else find the fuze is unable to gain positive charge whilst on and connected to a 12v ciggaret adaptor, it still drains but at a slower rate, but I do not have an offical charger, which may be the problem.
+1
I also have my audio sent to my car speakers. But since the phone thinks I have a headset attached, the phone microphone is disabled. So when it rings, I have to undock it from the cradle and stick it to my ear. I'd love to have just a microphone mounted near the visor. Anyone know where I can find one?
Wouldn't this do as a workaround?
http://www.htcaccessorystore.com/uk/p_htc_item.aspx?i=169481
Plug into the HTC headset connection on your adapter, then you have a micropohone. Then plug the 3.5 jack into the end (instead of the headphones)
The large block adapter that came in the box works for me and allows me to use my car speakers w/ aux input and there is no problems with the microphone.
I had this problem with my tilt with the Y splitter adapter, however the multi adapter that comes in the fuze box works for me perfectly.
http://cgi.ebay.de/Audio-Adapter-3-...14&_trkparms=72:1229|66:2|65:12|39:1|240:1318
There will be the same offers on ebay in your country. Searchwords: HTC 3,5mm

Poor music quality using USB-C to USB connector in audi a4 2017...overloaded sound

Hi all-
I'm using this usb type C to usb connector inside my audi for playing music off of the Nexus 6p through the car's Android Auto:
https://www.amazon.com/gp/product/B010VFFSL4/ref=oh_aui_search_detailpage?ie=UTF8&psc=1
I specifically got this one since it meets USB-C spec as many cables out there that boast high transfer rates can ruin your equipment. I'm using the latest WETA ROM and have tried a myriad of combinations by turning off/on Viper mod, configuring its settings, also tuning the eq in my car, etc.
What's weird is that music over bluetooth sounds like much better quality than wired with this USB type C connection. I got an awesome aftermarket sub and amp installed in the car but it seems to bring out the deeper issue. It's when music (mainly rock) has all instrumentals blending that the sound becomes distorted and overloaded. Because our phones already have poor max volume output, I'm having to max out the volume in the car. Also with android auto, you can't use the volume rockers on the phone it seems...seems to override the sound volume.
Anyone have any idea? In this car I can't seem to play music with aux cable (maybe an iPhone would work) and USB stick doesn't mount songs. Don't know if it's the cable I bought, the ROM (has the A.R.I.S.E. mod built in), or the DAC in the AUDI?
Thanks

Use External Wired Mic for audio input and Bluetooth speaker for audio out

Hello,
As per the subject matter, I read about how to use Google Assistant on an android mobile/tablet instead of a separate smart speaker (Google Home/Mini). The functionality would be more or less similar with some exceptions with both the options. (comparisons are available around on different sites). Dont want to use the internal device mic/speaker, so looking for options for hooking up external mic/speakers.
[1]I was thinking of a setup to have an external wired mic hooked up to the tablet as being more sensitive to capture a wide area. I know I have to use a TRS to TRRS adapter to be able to hook up only a mic to the headphone jack on any standard android device. I believe android would still detect it as a headset (with microphone and speakers). I have an Audio-Technica ATR-4697 boundary mic which I intend to use for the purpose.
[2]For the audio output I am thinking of hooking up a Bluetooth speaker (always connected on charging) making it sort of a DIY smart speaker.
Can someone please inform if they have done a similar setup and how successful was it , and what are the main problems and not working functions.
One problem I can foresee is that due to point no.1 , the android will try to route the audio via the headphone jack, which would only have a mic connected.
I believe this can be forcefully redirected using the SoundAbout app, will it work.
Or else I can try to get a Y Splitter cable hooked to the headphone jack and connect both a wired mic and a wired AUX in speaker for the purpose. Not sure whether the Y splitter cable would have the same TRRS 3.5mm comaptible pin to hook up to the mobile head jack.
Any thoughts, guidance, product links would be appreciated.
Thanks.
Hmm...no noise as such...maybe i would try myself and would post the results. In the process of gathering stuff and hunting time slot to get at it.

Categories

Resources