RadioReference on Facebook   RadioReference on Twitter   RadioReference Blog
 

Go Back   The RadioReference.com Forums > Software > Trunking Control Channel Decoding


Trunking Control Channel Decoding For discussion of installation, setup, configuration, and use of the Trunker / Unitrunker digital decoding utilities (for decoding Trunking control channels)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-29-2012, 6:30 PM
Member
   
Join Date: Dec 2011
Posts: 11
Lightbulb Unitrunker Kenwood CAT support?

I'm trying to set up Unitrunker to talk to HDSDR, so I can eventually trunk-track provoice through to DSD, using a cheap RTL-2832 dongle. HDSDR recently added a kenwood CAT support, but i'd rather not have to make a little program to hook a serial port, translate AOR serial (RFxxxxxx)to kenwood serial (FA00000000000) and dump it back into HDSDR. Is there any way to create a custom radio protocol in Unitrunker or have this format added in?
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 04-29-2012, 7:56 PM
Seņor Member
  RadioReference Database Admininstrator
Database Admin
 
Join Date: Dec 2001
Location: Texas
Posts: 5,414
Default

I'd have to write some code to support it.

However, I do not see any information describing how to send a ""Tune" or "Go To Channel" command to HDSDR.
Reply With Quote
  #3 (permalink)  
Old 04-29-2012, 8:45 PM
Member
   
Join Date: Dec 2011
Posts: 11
Default

---------------------------
About 'CAT to HDSDR'
---------------------------
HDSDR can get controlled over a serial/CAT interface.
HDSDR understands a small subset of Kenwood's CAT protocol:

FA00000000000; // set tune frequency [Hz]
MD1; ... MD5; // change mode [ 1=LSB, 2=USB, 3=CW, 4=FM, 5=AM ]
TX; and RX; // switch RX/TX - only if the active ExtIO supports TX

For controlling HDSDR from another software with CAT support
(f.e. WSJT, Fldigi, MultiPSK, MixW amonst others),
you can use serial port emulator like 'com0com' or 'VSPE'.

For RX/TX switching you can also use 'high level' on CTS or DCD pin.
---------------------------
OK
---------------------------
Reply With Quote
  #4 (permalink)  
Old 04-29-2012, 11:07 PM
Seņor Member
  RadioReference Database Admininstrator
Database Admin
 
Join Date: Dec 2001
Location: Texas
Posts: 5,414
Default

Does it support a similar mechanism over an IP socket?
Reply With Quote
  #5 (permalink)  
Old 04-30-2012, 9:01 PM
Member
   
Join Date: Dec 2011
Posts: 11
Default

Nope on the socket support. There is a couple of DDE clients supported
HRD, Orbitron, WXtrack, SatPC32, and WISP.

DDE is a bit more of a pain in the *** to implement though but would be slicker than sticking com ports together with com0com or similar software
Reply With Quote
Sponsored links
  #6 (permalink)  
Old 05-05-2012, 10:21 PM
Member
  Premium Subscriber
Premium Subscriber
Amateur Radio Operator
Amateur Radio
 
Join Date: Nov 2008
Location: Paris, TN
Posts: 59
Default

I think the best solution would be come up with a small app with frequency support that uses the rtl and converts it to FM, that can be controlled from unitrunker.
Reply With Quote
  #7 (permalink)  
Old 05-09-2012, 3:15 PM
mk262's Avatar
Member
   
Join Date: Sep 2010
Location: Daytona Beach
Posts: 239
Send a message via AIM to mk262 Send a message via Skype™ to mk262
Default

If unitrunker could control hdsdr, that would be beyond fantastic, seriously. You'd basically have a $20 digital trunking scanner at that point.

Last edited by mk262; 05-09-2012 at 3:25 PM..
Reply With Quote
  #8 (permalink)  
Old 05-15-2012, 1:26 AM
Member
   
Join Date: Apr 2012
Posts: 12
Default

I've been playing a bit with using the RTL as a digital trunking scanner.

The thing to keep in mind is that UniTrunker is going to need the audio from the control channel while dsd is going to want the audio from the voice channel. The only windows app that I know of currently that can demodulate more than one channel simultaneously is SpectraVue. GnuRadio does as well, but that's another story.

If you have another radio feeding UniTrunker, then you should be good to go.

To steer HDSDR with UniTrunker, you just need to implement a DDE server that it understands. Ham Radio Deluxe has one, and the author built some demo projects here:

HRD DDE Interface

Basically if you just emulate that approach, and essentially 'serve' the current voice channel frequency, HDSDR will receive that frequency via DDE and tune to it. Of course the issue is that if that tuner is also listening to the control channel, you're going to lose that. UniTrunker *would* still be getting the audio, however, and if you instruct the user to squelch HDSDR correctly, you might be able to look for no volumen and return HDSDR to the control channel.
Reply With Quote
  #9 (permalink)  
Old 05-25-2012, 8:25 PM
Member
   
Join Date: Dec 2011
Posts: 11
Default

Managed to get my dongle in last night. Hacked together something in python to translate the AR - ONE command to the HDSDR CAT interface, then used VAC to pipe audio into DSD. Using my old discriminator tapped Pro-95 as the control channel audio. Works awesome, even with the included antenna on the SDR dongle Worlds cheapest computer controlled trunk tracking pro voice decoding scanner.



In case someone else wants to try it, get com0com, make 2 pairs of com ports(com34/com35,com36/com37) and hook com 34 to Unitrunker and com 37 to HDSDR


Code:
import serial
ser = serial.Serial('COM35', 9600, timeout=1)
ser.open
ser2 = serial.Serial('COM36', 9600, timeout=1)
ser2.open
print "ports opened"
while 1:
	freqency = ser.readline()
	print "read" + freqency
	freqency = "FA0" + freqency[2:12] +";"
	if len(freqency) > 13:
		ser2.write(freqency)
		ser2.write(freqency)
		ser2.write(freqency)
	print freqency
Reply With Quote
Sponsored links
        
  #10 (permalink)  
Old 05-25-2012, 9:10 PM
Seņor Member
  RadioReference Database Admininstrator
Database Admin
 
Join Date: Dec 2001
Location: Texas
Posts: 5,414
Talking

Quote:
Originally Posted by binome View Post
Worlds cheapest computer controlled trunk tracking pro voice decoding scanner.
Does that include the price of the laptop?
Reply With Quote
  #11 (permalink)  
Old 05-25-2012, 9:15 PM
Member
   
Join Date: Dec 2011
Posts: 11
Default

Considering the price on ebay for a provoice capable radio, probably.

HARRIS M/A-Com 800 Mhz. EDACS M7100 Mobiles W/ Provoice | eBay
Reply With Quote
  #12 (permalink)  
Old 06-09-2012, 7:42 PM
   
Join Date: Jun 2012
Posts: 3
Default

Quote:
Originally Posted by binome View Post
Managed to get my dongle in last night. Hacked together something in python to translate the AR - ONE command to the HDSDR CAT interface, then used VAC to pipe audio into DSD. Using my old discriminator tapped Pro-95 as the control channel audio. Works awesome, even with the included antenna on the SDR dongle Worlds cheapest computer controlled trunk tracking pro voice decoding scanner.



In case someone else wants to try it, get com0com, make 2 pairs of com ports(com34/com35,com36/com37) and hook com 34 to Unitrunker and com 37 to HDSDR


Code:
import serial
ser = serial.Serial('COM35', 9600, timeout=1)
ser.open
ser2 = serial.Serial('COM36', 9600, timeout=1)
ser2.open
print "ports opened"
while 1:
	freqency = ser.readline()
	print "read" + freqency
	freqency = "FA0" + freqency[2:12] +";"
	if len(freqency) > 13:
		ser2.write(freqency)
		ser2.write(freqency)
		ser2.write(freqency)
	print freqency

first i just want to say thanks for the info you have provided

here is my system
laptop with intel hd audio (onboard)
windows 7 premium 64bit

i have two ezcap 666 devices
i have latest unitrunker, hdsdr and got everything installed you said
python 2.7 and pyserial 2.6 and saved your script

here is where i am having problems

i first start VAC then start hdsdr then start unitrunker.
when i goto add the recievers could you please be exact in what i need to add (for each dongle) and all the settings
when i run your script it is running and i have hdsdr set to com37 like you said and it is activated but your dos windows only shows info when i change the "park" and hit apply or run in unitrunker
thats the only time i see any info besides the FA0 or whatever it is

anyhow do i need to be running TWO hdsdr`s?
do i need TWO sound cards?

please help i know im close
Reply With Quote
  #13 (permalink)  
Old 06-10-2012, 12:40 AM
Member
   
Join Date: Dec 2011
Posts: 11
Default

My setup uses a dedicated dicriminator tapped radio to feed Unitrunker the control channel audio.


I'm pretty sure you can't run two HDSDR's with two RTL2832 SDRs, as there is no way to select an active dongle.


You might be able to do it with two PC's, or with a virtual machine with USB pass through support piping the dongle into a VM running HDSDR tuned to the control channel, then using VAC to pipe the audio into Unitrunker, and using com port passthrough to get tuning back to the python script. I'm not sure if the hypervisor will feed data to the VM quickly enough, but it is a shot for a single PC, two dongle solution
Reply With Quote
  #14 (permalink)  
Old 06-10-2012, 9:48 PM
   
Join Date: Jun 2012
Posts: 3
Default

Quote:
Originally Posted by binome View Post
My setup uses a dedicated dicriminator tapped radio to feed Unitrunker the control channel audio.


I'm pretty sure you can't run two HDSDR's with two RTL2832 SDRs, as there is no way to select an active dongle.


You might be able to do it with two PC's, or with a virtual machine with USB pass through support piping the dongle into a VM running HDSDR tuned to the control channel, then using VAC to pipe the audio into Unitrunker, and using com port passthrough to get tuning back to the python script. I'm not sure if the hypervisor will feed data to the VM quickly enough, but it is a shot for a single PC, two dongle solution
i have TWO windows 7 Pc`s

if it could be done this way i would prob prefer it over using a VM if possible
do you think you could give me some more specific instructions?

im finding it hard to believe no one has made a howto guide on doing real trunking with two rtlsdr as they are so very very cheap

anyhow it sounds like you know what you are talking about so if we can get it done i could make a guide with all the credits going to you and me just being someone who used your info to make the guide
Reply With Quote
  #15 (permalink)  
Old 10-02-2012, 10:32 PM
TEKurtz's Avatar
Member
   
Join Date: Oct 2009
Location: Simsbury, CT
Posts: 57
Default

I Know this thread is a couple months old. But I just thought that using BorIP to connect to the RTL which supports multiple connections over IP, perhaps with two instances of HDSDR or of SDRSharp one could stay put on the Control Channel while the other instance could follow the voice freq. I'm not familiar enough with SDR yet, but I did just picked up an RTL dongle. So maybe someone else can shed some light on the matter?
Reply With Quote
Sponsored links
        
  #16 (permalink)  
Old 10-02-2012, 11:23 PM
Seņor Member
  RadioReference Database Admininstrator
Database Admin
 
Join Date: Dec 2001
Location: Texas
Posts: 5,414
Default

If you don't mind purchasing a second RTL, this may work for you.

How to link UniTrunker with HDSDR.

Note: It's actually about SDR# not HDSDR.
Reply With Quote
  #17 (permalink)  
Old 10-06-2012, 10:08 AM
Member
   
Join Date: Apr 2012
Posts: 12
Default

Here's a little plugin I did a while back to work with UniTrunker's debug API. The instructions aren't great, but they will get you into the vicinity. It works best with two dongles, but you can get *something* with one.

https://public-xrp.s3.amazonaws.com/...sharptrunk.htm

I'm working on a new iteration that works with the latest releases of SDRSharp's plugin interface. Should have it done in a week or two.

Edit: Oops, just read the whole thread that Unitrunker linked to above, mentions the same thing.

Last edited by jcims; 10-06-2012 at 10:10 AM..
Reply With Quote
  #18 (permalink)  
Old 10-06-2012, 12:07 PM
TEKurtz's Avatar
Member
   
Join Date: Oct 2009
Location: Simsbury, CT
Posts: 57
Default

I don't think those suggestions implement BorIp. Correct me if I'm wrong please, but I think BorIp supports multiple connections on the same tuner. I've only tried one connection myself from a remote machine to the host machine with the dongle and running BorIp.
Reply With Quote
  #19 (permalink)  
Old 10-06-2012, 12:59 PM
Seņor Member
  RadioReference Database Admininstrator
Database Admin
 
Join Date: Dec 2001
Location: Texas
Posts: 5,414
Default

BorIP - SpenchWiki

Quote:
Server limitations:
Only serves one client at a time. If an existing connection exists, other connections are disconnected (see Protocol for automatic BUSY response in this case).
Only connects to one device at a time.
Only sends baseband data to one UDP destination (no multiple destinations/broadcast/multicast... yet).
Reply With Quote
  #20 (permalink)  
Old 10-06-2012, 5:16 PM
TEKurtz's Avatar
Member
   
Join Date: Oct 2009
Location: Simsbury, CT
Posts: 57
Default

Thanks...I wonder where I read that it was possible
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 3:41 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
All information here is Copyright 2012 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2011 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions