<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thank you for your help John. <br>
    <br>
    I had no idea it is that easy to control PowerSDR from an Arduino.<br>
    <br>
    I now have a knob tuned  SDR with all the feel of a 1960's radio or
    a 1960,s radio with state of the art panadapter /waterfall display.
    <br>
    <br>
    It consists of a Mercury/Penelope/ Hercules SDR contoled by a 1966
    Eddystone EA12 tube/valve receiver. I have removed the ground lug
    from the EA12 and temporarily replaced it with a BNC line coupled to
    the VFO. The Arduino frequency counts the VFO and outputs the result
    to CAT.<br>
    <br>
    I would like to reduce the latency a little but it works quit well.
    It makes switching between playing with old radios and the state of
    the art  real quick.<br>
    <br>
    Thanks again. <br>
    <br>
    Brian KF6C. <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 08/25/2015 10:39 AM, John Melton
      wrote:<br>
    </div>
    <blockquote cite="mid:55DCA860.1010402@googlemail.com" type="cite">
      <pre wrap="">***** High Performance Software Defined Radio Discussion List *****

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      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" border="0"
          cellpadding="0" cellspacing="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 moz-do-not-send="true"
                  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 moz-do-not-send="true"
                  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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:hpsdr@openhpsdr.org">hpsdr@openhpsdr.org</a>
> Subscription help: 
> <a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://openhpsdr.org">http://openhpsdr.org</a>
> Archives: <a moz-do-not-send="true" 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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>
    </blockquote>
    <br>
  </body>
</html>