[hpsdr] Setting freq on PowerSDR.

John Melton john.d.melton at googlemail.com
Tue Aug 25 10:39:44 PDT 2015


I just realised that I only sent this reply directly to Brian and not to 
the list.

This will send the CAT command to set VFO A frequency. Change the ZZFA 
to ZZFB to change the VFO B frequency.

-- John g0orx/n6lyt


-------- Forwarded Message --------
Subject: 	Re: [hpsdr] Setting freq on PowerSDR.
Date: 	Tue, 25 Aug 2015 16:21:03 +0100
From: 	John Melton <john.d.melton at googlemail.com>
To: 	KF6C <brian at kf6c.com>



Hi Brian,

The simplest way is to send a CAT command over the USB-Serial interface:


long frequency;

void setup() {
   Serial.begin(9600);

   // test
   frequency=14135000;
   sendFrequency(frequency);
}

void loop() {
   // put your main code here, to run repeatedly:
}

void sendFrequency(long f) {
   char cf[17];
   sprintf(cf, "ZZFA%011ld;", f);
   Serial.print(cf);
}


The output from an Arduino Uno using the Serial Monitor was:

ZZFA00014135000;


Regards,

John g0orx/n6lyt

On 25/08/15 15:57, KF6C wrote:

> ***** High Performance Software Defined Radio Discussion List *****
>
> With the wanted frequency in an Arduino is there a  simple way to load
> this into PowerSDR?
>
> 73 Brian KF6C
> _______________________________________________
> HPSDR Discussion List
> To post msg: hpsdr at openhpsdr.org
> Subscription help:
> http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org
> HPSDR web page: http://openhpsdr.org
> Archives: http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/attachments/20150825/2a548f98/attachment-0002.htm>


More information about the Hpsdr mailing list