HomeForumsGeneralAndroid interface information

This topic has 5 voices, contains 12 replies, and was last updated by  ka3vva 202 days ago.

Viewing 13 posts - 1 through 13 (of 13 total)
Author Posts
Author Posts
December 3, 2011 at 6:04 pm #706

nx7u

The following should be valid for any iPhone or later smartphone (including all Androids). The information was obtained from a major carrier, but “minor” device requirements (like these) are regularly waived for business reasons…so Your Mileage May Vary.

3.5mm 4-pole jack (aka “3-ring” or “TRRS”) pinout:
Tip = Left Audio output
Ring = Right Audio output
Ring2 = Ground
Sleeve = Microphone input

(Audio OUTPUT is available on the USB port, but not audio INPUT).

Bias voltage on Sleeve is between 1.65 and 2.1 volts.

Internal resistance is 2.2 kohm. A device connected to the jack should be detected if the
bias current drawn exceeds 100 uA.
** BUT a connected device of <100 ohms will perform other functions. So there is a minimum resistance for detection as well. Other functions may be available anywhere between 100 uA and full output current.

Max. input amplitude -45 dBV to -62 dBV
AF output -20 dBV into 32 ohms at mid-volume level

IMPORTANT: pinout standards for the 3.5mm 4-pole jack are different than the 2.5mm 4-pole jack. But this should not apply to Android devices.

December 3, 2011 at 10:36 pm #707

Wolphi

Thank you for sharing this information with us !

I always thought the impedance on the AF out is 16 Ohm. As for the bias voltage I measured 1.6V – 2.5V between my 3 Android devices.

Very interesting is also the the function for a resistance <100Ohms on the microphone pin. This explains why my audio player always started when I connected an audio transformer to this pin.

December 8, 2011 at 9:44 pm #719

nx7u

I have tested a new, simpler interface for the Android, based on the information above.
Basically both TX (audio output) and RX (microphone input) are isolated with 600 ohm 1:1 transformers. The microphone input is shunted with 1.6 kohms (for the mic-detect) and then a series 0.1uF capacitor to block the phone’s DC bias from hitting the transformer (this particular transformer has windings of 235 mH, so 0.1uF is series-resonant at 1kHz).
It’s not intrinsically adjustable, but you do have MIC GAIN and AF OUT on the radio.
Schematic available upon request from nx7u at cox dot net.

December 8, 2011 at 9:47 pm #720

nx7u

Some measured audio data from a Motorola Bionic:
RX audio (into the mic):
-84 dBV…first faint blue line shows up on waterfall
-65 dBV…first green bar on RSSI indicator
-50 dBV…first yellow bar
-42 dBV…first red bar
-35 dBV…full scale RSSI indication

TX audio (out of the headphones, into a 2.2k resistor):
Media volume setting = 1/4…-48 dBV
Media volume setting = 1/2…-38 dBV
Media volume setting = 3/4…-28 dBV
Media volume setting = 1/1…-15 dBV

December 9, 2011 at 2:41 pm #728

Wolphi

Thanks for the measurements. It this to be a little different between the phones.

May 30, 2012 at 2:22 am #1258

K0JEG

So what’s the best method for setting up audio? I got a Wolphi interface today and it seems I have the receive audio working well enough, but I’m not able to get the transmit audio set correctly. It was basically an all or nothing situation while adjusting the POT on the interface and watching the ALC. Listening to my audio on a nearby receiver seemed to sound OK, but not really sure if it’s right or not. My TX output power seems lower than it should be as well.

I’m using a Galaxy tab 10.1, with the output volume 2 clicks down from full.

May 30, 2012 at 4:35 pm #1263

Wolphi

I am not 100% if this is the correct way and maybe someone else can give a better advise.
This is the way how I adjust the tx level:

- adjust level on phone to maximum
- set radio to view ALC level
- turn tx level on wolphi-link to minimum (all the way to the right)
- start transmit in DroidPSK
- turn tx level on wolphi-link slowly left and watch the ALC level on the radio
- as soon as the ALC gets activated (first level bar on the FT817) stop tuning the tx level of wolphi-link.

Like I said I hope this is the right way and of course this procedure should be done on a dummy load. If someone has a better way or any suggestion please post it here.

vy 73

Wolfgang- W8DA
-

  • This reply was modified 357 days ago by  Wolphi.
May 31, 2012 at 12:51 pm #1265

K0JEG

Thanks, that’s basically what I did although I didn’t go full volume on the tablet. I went back and tried again, this time with a plastic tweaker instead of a metal screwdriver. That helped keep the level where I set it, but it is still a very touchy control. Not complaining, mind you (it’s not a very complex circuit after all), but just pointing it out to folks who may also have some trouble setting it up.

May 31, 2012 at 1:09 pm #1266

Wolphi

Yes the TX gain is a little difficult to adjust. I replaced the resistors around the RX gain pot last week to different values. RX gain is much easier to adjust now. I tried different values on the TX level as well but I couldn’t improve it if I want to be compatible with radios other than the FT817 as well.

June 23, 2012 at 6:22 am #1295

n6tqs

On a slightly different issue, is there a good source of cables with a molded 3.5mm 4 pole connector? Right-angle would be preferable.

June 23, 2012 at 1:14 pm #1296

Wolphi

The cables are difficult to find. I haven’t seen any right-angle one. I have a regular 3″ 4 pin cables in my store.

  • This reply was modified 333 days ago by  Wolphi.
September 9, 2012 at 5:50 pm #1467

K0JEG

I have been trying to get the interface to work with an Asus transformer Infinity without much success. When I connect the interface to the tablet it is detected (message comes up showing headphones are connected) and it will key up the transmitter once using the “start TX” button in Droid PSK. After that first time it will not key the transmitter again. I put a voltmeter on pins 3 and 4 and detected 3.8VDC as soon as I plugged in the cable, but only until I hit the “stop TX” button. It then drops like a rock. If I play music into the interface (transmitter on a dummy load) it always keys up the transmitter as does any system sounds, and the voltage doesn’t drop. However, if I transmit then stop with DroidPSK the voltage drops and no other sounds/apps will bring it back up, I have to unplug/plug in the audio cable to get the voltage back again. The tablet continues to indicate that a headset is attached even after the voltage drop. It doesn’t seem to happen with DroidSSTV, but there’s something else going on with that.

I wonder if it is going into some sort of sleep mode? I’ve not been able to duplicate on my SGS2, also running ICS.

  • This reply was modified 254 days ago by  K0JEG. Reason: clarification
October 31, 2012 at 6:57 pm #1529

ka3vva

Hello All,

I’m wondering if the interface (as is) will work on a
Acer Iconia A500 10″ android tablet,
Acer Iconia A100 7″ android tablet, or
Mototola Triumph android smartphone?

On the radio side, will the interface work with the
Kenwood radios, ex: TS2000?

Thanks for all your time and help…
73 de ka3vva

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.

What’s new

AndroidPit

Most of our apps are also available at AndroidPit.de



HF Weather Fax for Android

After weeks of programming I finished a new Android App – HF Weather Fax.
HF Weather Fax for Android decodes weather fax 120/576 charts and satellite images through the microphone of your Android phone or tablet.
read more





DroidNavtex now in Play Store

DroidNavtex is able to decode NAVTEX messages from your receiver through the phones/tablets microphone or through a connected interface.
Special audio filters even decode very weak signals through the microphone and make DroidNavtex a very affordable alternative to high priced decoders.
read more




Find us on Google+