Showing posts with label pmr. Show all posts
Showing posts with label pmr. Show all posts

Thursday, 4 February 2021

Pedestrian APRS

Okay! I apologise it has been far too long since I posted anything on this blog, a lot has happened over the last few years and I am still tinkering and dabbling with radio in it's many forms. 

Why the resurrection? Well my interest in APRS and packet radio was piqued after Stewart M0SDM who I know through the South Kesteven ARS (SKARS) setup the digipeater/igate MB7UGR in Grantham and as a result there has been more traffic and experimentation by local operators.

Back in 2015 I purchased a couple of PMR sets from a local rally with the intention of converting one Tait T535 into an APRS digipeater/igate, alas it ended up unused on a shelf. I have therefore dug it out and after modifying the diode matrix for the correct frequency 144.800MHz and doing some basic alignment based on the information on David Pye's website. I have interfaced it to a Raspberry Pi which handles the decoding/encoding of the audio signals, processing and internet connection. 

The software on the Pi consists of Direwolf as a soundcard based modem/TNC running in AGWPE mode and I am using YAAC to feed the packets to and from the APRS-IS network as well as giving a visual map and access to other functionality such as sending/reading messages.

The audio in/out is done through a standard usb sound dongle, the audio to be transmitted is fed from the headphone output of the usb dongle into the radios microphone input (I soldered a screen lead to the pcb where the fist microphone would plug into the main board) audio out of the radio is taken from the top of the volume pot via a 10uF capacitor, that way turning the volume down on the radio doesn't affect audio into the usb dongle and the audio hasn't passed through the AF amplifier of the radio so should be better for decoding. The PTT is driven from a GPIO pin on the Pi via a simple circuit (which I had built on veroboard for a previous project) it is a simple transistor using an open collector arrangement to pull the PTT to ground.

It has been performing well, receiving packets from the admittedly limited amount of operators sending out APRS using RF rather than using an app such as APRSdroid on their mobile phones and doing it via TCP/IP using the data connections.

I have APRSdroid installed on the Android phone, I was keen to try tracking myself while out driving or walking the dog and doing it via transmission on 144.800MHz. As I wanted to do it while out 'pedestrian mobile' I used one of my neglected Baofeng handheld radios.

It was simple task to use a standard 3.5mm stereo (TRS) to stereo (TRS) audio lead, the sort often used for computer speakers. It is plugged into the microphone input of the radio and the other end plugged into the headset connector of the radio (in this case a UV5RE).

Baofeng and audio lead

The headset connector of the Android phone is a 3.5mm (TRRS) socket with four connectors rather than 3 of the TRS plug, however this works because the microphone input of the phone is simply grounded by the plug, in this application I am just interest in the audio out of the phone. There may be some issues with some phones not detecting the lead being plugged in or not outputting audio, but in my case it works. If I also wanted to receive and decode I would need to make up another cable.

The radio is set to 144.800MHz and VOX is enabled in the menu, I set it at level 1 sensitivity. The headphone volume of the phone was set to almost full, the Direwolf soundmodem on my iGates indicates the quality of the received audio and it seemed to be okay and not overdriven.

Using the APRSdroid App (paid for version on Google Play Store) it is configured to use the AFSK audio interface, note you will need to give the application permission to access location information via the phones GPS.

To use APRS via internet APRS-IS you will need an APRS passcode for your callsign, the simplest way to get this isn't via emailing websites or app developers but use the numerous websites, I recommend Peter's 2M0SQL webpage however using AFSK audio doesn't require one.

 
Setup is done via the Preferences, put your callsign and a SSID, in this case 7 is appropriate as we are handheld and portable. Enter something in the comment field and in Location Settings either use Smart Beaconing which is probably best if you in a vehicle as it limits the number of transmissions based on speed and distances, however I found it isn't very good when walking so changed mine to Periodic

 
In these experiments I set it to 1 minute and used high GPS Precision

One thing to bear in mind if using in or near your car, disable the Bluetooth Headset if your car supports hands free telephone use as you will get no sound transmitted as I discovered!

 
Once setup and connected, simply start tracking, if you display the log you should see each attempt to transmit and the radio should oblige.


Obviously if you are in range of an iGate (either your own should you set one up or another operator) your position should show up on the APRS network, a visit to aprs.fi should confirm that.
 
I have been out walking with radio in a chest pocket on my coat, phone in normal pocket and the lead looks inconspicuous and had some good results even with radio on low power (1W)
 
Map of tracked walk

73



Tuesday, 5 May 2015

Some PMR fun

It was the Dambusters Hamfest on Sunday. Sadly the weather was awful with heavy rain all morning so was only there for an hour. Despite the flying visit I managed to pick up a couple of old PMR radios for conversion.


One is a Tait T535 2-Channel Mobile PMR which can be converted to amateur 2m operation relatively easily. Details are available on the internet including David Pye's website. I intend to use this unit to set up a permanent APRS internet gateway/digipeater.

While walking around with the Tait I attracted the attention of another seller who had some PYE MX294 units for sale. One was already converted to work on the 25kHz spaced simplex and repeater channels with CTCSS. The other was only partly converted and they came with a box full of spare boards and mounting plates and an original microphone and speaker. I wasn't really looking for any more units but seemed a bargain for £20.

The PYE MX294 was indeed converted and seemed to work fine on the simplex channels, and while it was receiving and transmitting on the repeater channels it wasn't transmitting the CTCSS sub-tone. With some sage information from Ian MW0IAN on twitter it was a simple issue to solve, using the oscilloscope I confirmed the tone was being generated it was the pot controlling the level that was set too low.


I have made a couple of QSOs with it and had some good audio reports. It is capable of 25W but has been set to 10w output so may increase this in time. Stewart M0SDM from the club was kind enough to video a QSO to illustrate the audio. Impressed by the quality of the unit I have ordered a second hand copy of the PMR Conversion Handbook as published by the RSGB from eBay so I can finish the the other MX294 as information on the net is a bit sketchy.



The Tait is proving a little more involved. It has a diode matrix board to set the Tx/Rx frequencies which has been set incorrectly. It also had a CTCSS board that was hard-wired in rather than socketed which I have now removed. The information of which diodes to link/unlink is freely available, however I decided to create a small windows utility to simplify the calculation. This is available for download from my website, it is supplied as is and with no warranty.


There are a number of modifications to add multi-channel to this radio by the use of eproms, but I am considering devising an Arduino solution to allow setting of frequencies and possibly selection of CTCSS.