View Full Version : APRS with just an Android phone and an HT that supports VOX
KC7IPY
06-20-2012, 11:07 PM
Objective:
Small and easy solution for bi-directional (TX and RX) portable APRS via RF (no Internet based APRS-IS) with as few devices as possible and a rich user interface capable of showing stations on a map.
Solution Narrative:
APRSDroid is an Android APRS application capable of encoding and decoding AFSK for portable APRS operations. While it supports APRS-IS (Internet based APRS), I really wanted a solution that would allow for bidirectional APRS communications in the field without being dependent on an Internet connection. I also wanted a rich user interface with offline maps and the ability to EASILY send and receive messages over APRS. The solution is really quite simple. APRSDroid can be configured to communicate via the Internet (APRS-IS), Bluetooth (requires an external TNC with bluetooth to serial connectivity), or audio input/output. In the spirit of KISS, I really didn't want to mess with any intermediate devices to facilitate keying the transmitter, so a VOX capable HT is used to key the transmitter when audio is detected. This keeps the solution very clean and simple. Two independently powered devices connected with a single passive cable.
Required Equipment:
Android Device with headset jack and APRSDroid
HT with Speaker/MIC input and VOX
Custom audio cable
My setup:
T-Mobile G2 Android Phone (already owned) with APRSDroid
Baofeng UV-3R from Amazon for $53 (small, cheap, and supports VOX)
Hacked up 4 conductor 3.5mm audio cable (already owned) soldered to the earpiece that was included with the UV-3R
Details:
The hardest part was really creating the cable. I looked up the pinout of a standard smartphone's headset jack and dissembled the earphone / mic / ptt headset that came with the UV-3R. Then I simply connected the speaker out of the UV-3R to the MIC in of my phone and the MIC in of the UV-3R to the left channel speaker out of my android phone. I then configured the "connection protocol" in APRSDroid for "AFSK via Speaker/MIC" and pressed "Start Tracking", tuned the UV-3R to 144.390 Mhz Simplex, connected the audio cable, and set the UV-3R VOX level to "7". Voila! I instantly started seeing APRS message pop up on my Android phone and beaconed out my SSID and location everytime I hit the "single shot" button (as I wasn't moving and have SmartBeaconing enabled).
Considerations:
I tested everything BEFORE soldering and heat shrinking anything. :)
Any notification sounds on your Android device will cause the UV-3R to key, so set the phone to silent mode before connecting
There seems to be a 3 second TX hang time after my beacon is sent, probably related to the VOX setup of the UV-3R. I haven't figured out anyway to solve this.
Sending headphone level audio signals into a microphone input probably isn't ideal, but hey, it works!
I used the UV-3R specifically because it is FCC Type accepted and has a standard SMA connector with single 3.5mm 4-pin Speaker/Mic connector. Other similar radios don't meet all of these criteria.
References:
http://aprsdroid.org/
Amazon link for UV-3R (http://www.amazon.com/dp/B0076T2BR8)
Common pinout for smartphone headsets (http://pinoutsguide.com/HeadsetsHeadphones/blackberry_9700_headset_pinout.shtml)
1695
KJ6EUO
06-21-2012, 03:28 PM
Thanks for putting this together. I have been wanting to do this with an old droid I have. It is running aprs droid already so I'm good there. Once I get my HF rig running digital this will be the next project. I'll post up here with how it works. I want to put this in the wife's car. I'm planing a nuvi 450 tied to my 50w for the jeep.
N7IYT
06-21-2012, 04:27 PM
Thanks for the write-up Lyle. That is an interesting project.
KF7ORO
06-22-2012, 05:44 AM
Very cool. I need to make up a cable for my HT. It would be nice if you could set up APRSDroid to put out a PTT signal on the right speaker channel. You'd still need to step up the voltage I guess but it would be great for use with rigs that don't have VOX (like my mobile).
KC7IPY
06-22-2012, 09:57 AM
Very cool. I need to make up a cable for my HT. It would be nice if you could set up APRSDroid to put out a PTT signal on the right speaker channel. You'd still need to step up the voltage I guess but it would be great for use with rigs that don't have VOX (like my mobile).
I wonder what could be done with this: http://www.seeedstudio.com/depot/hijack-main-board-p-917.html?cPath=174
1701
http://web.eecs.umich.edu/~prabal/projects/hijack/
AG3NT
06-27-2012, 10:03 AM
Having a heck of a time with the tiny wires and plastic impregnation they did to each lead. Using a couple old Blackberry headsets to get the 4pin connector for the phone side, and an old plantronics headset for the 2.5mm jack on it. Going into a Yaesu CT-91 adapter into a VX-7R.
I may break down and swing by Radio Shack to see if they have usable 4-pin 3.5mm jacks that I can just wire up cleanly with new wire as well depending on how this goes...
KD7WCD
06-28-2012, 05:14 AM
That is awesome! I have been looking at doing this for some time to update my APRS rig. I have been running mine on an old StreetPilot III that is getting long in the tooth that is hooked into a Kenwood TH-D7. It works great and is also a KISS type of a set up.
Are you able to use this with Google Maps? If so can you save maps for “off line” use. I just upgraded to a Droid (Finally!) and am loving it. So that may be a basic question I have not explored yet.
The ease of the Droid interface looks like it would be great and Google Maps are awesome. I’ll keep an eye out for you on APRS.
Thanks for the write up.
W6DPS
07-06-2012, 01:55 AM
Details:
The hardest part was really creating the cable. I looked up the pinout of a standard smartphone's headset jack and dissembled the earphone / mic / ptt headset that came with the UV-3R. Then I simply connected the speaker out of the UV-3R to the MIC in of my phone and the MIC in of the UV-3R to the left channel speaker out of my android phone.
Can you post the details of connecting on the Baofeng end?
I haven't been able to find a pinout diagram for the Baofeng connector, and would like to use connectors I have on hand and keep my earpiece.
I also hope to add a couple of simple "L" pads to reduce the audio level in each direction. Have you had any issues with over-driving the audio?
Thanks,
Dave, W6DPS
N8KVB
07-06-2012, 03:53 AM
If your having trouble, why not use something like this
http://www.parts-express.com/pe/showdetl.cfm?partnumber=090-505
And then a standard 3.5mm male to 3.5mm male cable.
N8KVB
07-06-2012, 03:59 AM
Nevermind, I found a premade cable for those interested.
Steren Electronics 252-684
KJ6EUO
07-06-2012, 10:25 AM
Nevermind, I found a premade cable for those interested.
Steren Electronics 252-684 (http://www.sterenusa.com/audio-patch-cord-8)
Link added... http://www.sterenusa.com/audio-patch-cord-8
So the Baofeng just runs a 2.5mm Cable? Its not one of these multi-pronged deals like say the Kenwoods?1716 or are you just using on the of the two connectors?... Don't you need to radio output to go to the the phone as well to receive messages?
N8KVB
07-06-2012, 12:22 PM
Link added... http://www.sterenusa.com/audio-patch-cord-8
So the Baofeng just runs a 2.5mm Cable? Its not one of these multi-pronged deals like say the Kenwoods?1716 or are you just using on the of the two connectors?... Don't you need to radio output to go to the the phone as well to receive messages?
Maybe it's more complicated than i initially though, i thought it was just an adaption of a 2.5 to 3.5mm jack.
KJ6EUO
07-06-2012, 12:47 PM
Well don't take my word on it. I'm basically asking here, but I thought it was a bit more complicated than just getting to a 2.5mm... Waiting on KC7IPY to shed some light
I think it's 3 wires. Output from radio to phone, input from phone to radio, and a common ground. I believe he adjusted volume via the phone.
W6DPS
07-06-2012, 11:08 PM
I think it's 3 wires. Output from radio to phone, input from phone to radio, and a common ground. I believe he adjusted volume via the phone.
It uses three contacts from a four contact, 3.5mm, plug. The plug is the same a the one used by older Yaesu HTs. I was able to find the pinout for the Baofeng on the Yahoo Group for the radio, and chopped up a Yaesu cloning cable and re-arranged.
I did put 500 ohm resistors in the audio lines to reduce the drive into the mic inputs a bit.
On the Baofeng end, the common is the contact closest to the plug body, the speaker out is the tip, and the mic input is the ring closer to the tip.
On the Droid end, the mic is the contact closest to the plug body, the common is the ring closer to the body, and the speaker is the tip.
If you count contacts starting at the tip as one:
Baofeng, 1=speaker out; 2=mic in; 3=Push-to-talk (not used in this application), and 4=common
Droid, 1=Left speaker out, 2=right speaker out (not used in this application), 3=common, and 4=Mic input
You adjust the volume of the HT, and the app adjusts the volume of the phone.
Hopefuly some of that is clear. Here is an attempt at a drawing:
1717
I have mine transmitting and I can hear it on another tranciever. I cantt normally get into any digis or gateways from my house, but tomorrow while out and about I will try to send some shots and see if I show up on APRS.FI. I will be using W6DPS-7 for this set-up.
Dave
KC7IPY
07-07-2012, 08:38 PM
KD7WCD: APRSdroid does in fact support "offline maps" and the application uses Google Maps as the map source. An even better mobile APRS solution is to use a small TNC that is directly connected to the radio and a bluetooth module to connect to the phone. This gets rid of the need for VOX (and the challenges that come along with it). There is even an option bluetooth adapter available for the TinyTrak4: http://www.byonics.com/tinytrak4/
W6DPS
07-08-2012, 07:50 AM
...I have mine transmitting and I can hear it on another tranciever... I will be using W6DPS-7 for this set-up...
1719
It seems to basically work for transmitting and receiving.
The issue I have to work through now is keeping RF from getting back into the phone. When it transmits the MP3 app opens about a third of the time. :mad:
Until I solve this I will only use it to "Single Shot" while stopped.
I want to rework the cable anyway, since it is only about a foot long currently. I had planned to keep it short for actual pedestrian use. I now plan to add some length, maybe a way to hook to a computer sound card jacks for packet, and it looks like I need to add some ferrite chokes.
It might help with an external antenna, also. I have been playing around with just the rubber duck that came with the HT.
Dave, W6DPS
KD7WCD
07-08-2012, 08:00 AM
Oooh. I may have to look into the Bluetooth adapter. I already have a TT4 that I have build but not set up into a system yet. (That is it's own sad story.) It would be great to use that as well. I think my end goal is to loose my current GPS. The option of using a small Android table is the direction I am thinking of. Seems to make sense in the budget compared to going in the direction of an AvMap GPS. Then the tablet would also be available to other task like logging contact and all those other fun apps out there for Hams.
Thanks for the info.
N8KVB
07-20-2012, 06:21 AM
Is there a technical name for this connector? I want to make up a cord to try this with my Puxing, but want to do a search to see if anything is commercially available first.
kd6kgk
07-22-2012, 05:48 PM
Does it work if you turn off the cellular features on the phone? That could be a good use for an older phone.
KF7ORO
07-22-2012, 06:54 PM
Back a few months ago, QST had an article on building an AFSK interface for an Android phone and Yaesu FT-817 that keys the PTT line. I'm no electronics genius but it seems like I may be able to make something like that and interface my FT-7900 (no VOX) with my Android tablet that I'm using for GPS/Mapping right now. When I get a chance to work on it, I'll report back.
KF7IJB
07-25-2012, 08:54 PM
You can turn off the cellular features and still use the APRS feature if you use audio in/out as indicated in the original post. If you have cellular turned on, you can just use your phone's data and send APRS reports via the cellular network without using a radio.
Since the android only uses audio in/out, you have to create a VOX switch to trigger your radio's PTT line, driving it high or low depending upon your radio. There are a handful of schematics online that detail the construction of a VOX switch to trigger PTT. I could always build one for someone if need be; they can be built with only $5-$10 in parts.
N7KFD
11-05-2012, 04:51 AM
I was wondering of something like this would work? There is a bluetooth tnc option in aprsdroid.
I'm going to build a cable for my TH-K20 this week but this looked doable.
http://www.youtube.com/watch?v=6ypVUoRVv3U
srch4me
01-12-2013, 01:49 AM
Having an issue. I made the cable but it keys the radio as soon as I plug it in. The radio doesn't unkey.
srch4me
01-12-2013, 02:44 PM
I fixed that issue. I'm not able to see my position on aprs.fi broadcasting with the cable through my radio. Any idea?
W6DPS
01-12-2013, 07:38 PM
Mine works in "airplane mode", it just won't download maps without a connection of some kind; and it will send and receive messages but not send position data.
I don't know how well this relates to a phone without any service, if that is what you mean.
Dave, W6DPS
srch4me
01-13-2013, 01:02 AM
i can send and recieve packets using the cable through the radio but aprs.fi doesn't seem to see them or track me with them... i see stations pop up on the app and in the app it shows im being tracked but i can find that track or anything from the computer.
KF7ZQN
01-17-2013, 08:43 AM
OK for those of us Android challenged is their a similar product for the iPhone/iPad?
N8KVB
I'm building a bluetooth interface, and had your same dilema as I'm using the UV-5R and the TH-D72A. I found to just cut up one of these: http://www.amazon.com/Single-Earphone-Kenwood-Tk3107-Tk3207/dp/B005FVAK4A/ref=sr_1_5?ie=UTF8&qid=1368138553&sr=8-5
There are a few different ones on Amazon and around, Its the cheapest easiest work around I have found.
EU1MEV
05-12-2013, 11:56 PM
It uses three contacts from a four contact, 3.5mm, plug. The plug is the same a the one used by older Yaesu HTs. I was able to find the pinout for the Baofeng on the Yahoo Group for the radio, and chopped up a Yaesu cloning cable and re-arranged.
You adjust the volume of the HT, and the app adjusts the volume of the phone.
Hopefuly some of that is clear. Here is an attempt at a drawing:
1717
Dave
As a continuation of a research of Dave and KC7IPY i can tell you my story:
I have made a cable to connect my Huawei U8800 to Yaesu VX-8DR. That was my only radio at the time of assembly.
It was necessary to put a resistive divider in order to adjust the sound level from phone to radio MIC.
Here is the photo (i was using two dividers for both way, but it is not so heavily necessary)
2350
The divider does the job.
EU1MEV
05-13-2013, 12:06 AM
N8KVB
I'm building a bluetooth interface, and had your same dilema as I'm using the UV-5R and the TH-D72A.
The best TNC for APRS which works with mobile phones over bluetooth:
bare device (comes with one cable for Yaesu 857D CAT) (http://item.taobao.com/item.htm?id=21564524426)
bluetooth option (http://item.taobao.com/item.htm?spm=2013.1.0.32.Cq9RKY&id=16726862061)
cable set (http://item.taobao.com/item.htm?spm=2013.1.31.6.Cq9RKY&id=15049152761)
That is a BEST PERFORMER for the price. No need to adjust volume in a DIY way. Can act as a TNC, Digipeater and iGate.
Device front
2352
Device back
2351
Kenwood Baofeng cable
2353
Yaesu cable
2354
AC0VH
05-13-2013, 04:42 AM
Is there a technical name for this connector? I want to make up a cord to try this with my Puxing, but want to do a search to see if anything is commercially available first.
Are you just looking for a cable and plug? Argent Data has the Kenwood type connectors with a pigtail.
https://www.argentdata.com/catalog/product_info.php?cPath=21_30&products_id=70&osCsid=j73klv2mrc8b79ebgtedebbsk7
N8KVB
05-13-2013, 07:09 AM
I forgot about this thread!
Thanks guys, I'll have to start looking into this, again :)
N8KVB
05-13-2013, 07:12 AM
The best TNC for APRS which works with mobile phones over bluetooth:
bare device (comes with one cable for Yaesu 857D CAT) (http://item.taobao.com/item.htm?id=21564524426)
bluetooth option (http://item.taobao.com/item.htm?spm=2013.1.0.32.Cq9RKY&id=16726862061)
cable set (http://item.taobao.com/item.htm?spm=2013.1.31.6.Cq9RKY&id=15049152761)
That is a BEST PERFORMER for the price. No need to adjust volume in a DIY way. Can act as a TNC, Digipeater and iGate.
Device front
2352
Device back
2351
Kenwood Baofeng cable
2353
Yaesu cable
2354
Do you happen to have a link to the TNC in English?
A friend of mine and former co-worker was/is from Belarus, boy did he have some stories. I'd like to get over there sometime.
EU1MEV
05-14-2013, 08:55 AM
Do you happen to have a link to the TNC in English?
A friend of mine and former co-worker was/is from Belarus, boy did he have some stories. I'd like to get over there sometime.
Unfortunately TAO-BAO is complete Chinese resource. But thanks GOD we have G**gle )
AUTOMATED TRANSLATION LINK (http://translate.google.com/translate?sl=zh-CN&tl=en&js=n&prev=_t&hl=ru&ie=UTF-8&eotf=1&u=http%3A%2F%2Fitem.taobao.com%2Fitem.htm%3Fid%3D2 1564524426)
The same way you can translate the manual from Chinese.
I can give you the link to Chinese PDF and DOC version of the Manual.
G**gle eats the DOC one.
DOC file TEXT ONLY CHINESE (use the translator) (https://dl.dropboxusercontent.com/u/54501537/TNC51Manual/Chinese_Manual_APRS_51TNC.docx)
PDF file TEXT with Pictures and schemas CHINESE (https://dl.dropboxusercontent.com/u/54501537/TNC51Manual/APRS_51TNC_20130307.pdf)
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.