<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I just realised that I only sent this reply directly to Brian and
    not to the list.<br>
    <br>
    This will send the CAT command to set VFO A frequency. Change the
    ZZFA to ZZFB to change the VFO B frequency.<br>
    <br>
    -- John g0orx/n6lyt<br>
    <div class="moz-forward-container"><br>
      <br>
      -------- Forwarded Message --------
      <table class="moz-email-headers-table" cellspacing="0" border="0"
        cellpadding="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
            </th>
            <td>Re: [hpsdr] Setting freq on PowerSDR.</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
            <td>Tue, 25 Aug 2015 16:21:03 +0100</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
            <td>John Melton <a class="moz-txt-link-rfc2396E" href="mailto:john.d.melton@googlemail.com"><john.d.melton@googlemail.com></a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
            <td>KF6C <a class="moz-txt-link-rfc2396E" href="mailto:brian@kf6c.com"><brian@kf6c.com></a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>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: <a class="moz-txt-link-abbreviated" href="mailto:hpsdr@openhpsdr.org">hpsdr@openhpsdr.org</a>
> Subscription help: 
> <a class="moz-txt-link-freetext" href="http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org">http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org</a>
> HPSDR web page: <a class="moz-txt-link-freetext" href="http://openhpsdr.org">http://openhpsdr.org</a>
> Archives: <a class="moz-txt-link-freetext" href="http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/">http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/</a>

</pre>
      <br>
    </div>
    <br>
  </body>
</html>