<p dir="ltr">Hi Brian,</p>
<p dir="ltr">thanks for keeping me updated and glad it has worked out. What Arduino are you using? Maybe a Due would improve the latency as it is a lot faster.</p>
<p dir="ltr">This a link to a prototype I have built that has three step encoders that control tuning, AF gain and RF gain. The buttons are currently programmed to step up/down band and filter and turn on/off the noise blanker. Easily changed for whatever function required.</p>
<p dir="ltr"><a href="https://www.dropbox.com/sh/xbem0vwfiabqkos/AABgP7YvgxCujeB-TjjN2Vn7a?dl">https://www.dropbox.com/sh/xbem0vwfiabqkos/AABgP7YvgxCujeB-TjjN2Vn7a?dl</a></p>
<p dir="ltr">-- John<br><br></p>
<br><div class="gmail_quote"><div dir="ltr">On Thu, 27 Aug 2015 07:29 KF6C <<a href="mailto:brian@kf6c.com" target="_blank">brian@kf6c.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">***** High Performance Software Defined Radio Discussion List *****<br>
<br>
<div 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></div><div bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div>On 08/25/2015 10:39 AM, John Melton
wrote:<br>
</div>
<blockquote type="cite">
<pre>***** High Performance Software Defined Radio Discussion List *****
</pre>
<br>
<fieldset></fieldset>
<br>
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><br>
<br>
-------- Forwarded Message --------
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap valign="BASELINE">Subject:
</th>
<td>Re: [hpsdr] Setting freq on PowerSDR.</td>
</tr>
<tr>
<th align="RIGHT" nowrap valign="BASELINE">Date:
</th>
<td>Tue, 25 Aug 2015 16:21:03 +0100</td>
</tr>
<tr>
<th align="RIGHT" nowrap valign="BASELINE">From:
</th>
<td>John Melton <a href="mailto:john.d.melton@googlemail.com" target="_blank"><john.d.melton@googlemail.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap valign="BASELINE">To: </th>
<td>KF6C <a href="mailto:brian@kf6c.com" target="_blank"><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 href="mailto:hpsdr@openhpsdr.org" target="_blank">hpsdr@openhpsdr.org</a>
> Subscription help:
> <a href="http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org" target="_blank">http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org</a>
> HPSDR web page: <a href="http://openhpsdr.org" target="_blank">http://openhpsdr.org</a>
> Archives: <a href="http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/" target="_blank">http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/</a>
</pre>
<br>
</div>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
HPSDR Discussion List
To post msg: <a href="mailto:hpsdr@openhpsdr.org" target="_blank">hpsdr@openhpsdr.org</a>
Subscription help: <a href="http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org" target="_blank">http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org</a>
HPSDR web page: <a href="http://openhpsdr.org" target="_blank">http://openhpsdr.org</a>
Archives: <a href="http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/" target="_blank">http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/</a></pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
HPSDR Discussion List<br>
To post msg: <a href="mailto:hpsdr@openhpsdr.org" target="_blank">hpsdr@openhpsdr.org</a><br>
Subscription help: <a href="http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org" rel="noreferrer" target="_blank">http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org</a><br>
HPSDR web page: <a href="http://openhpsdr.org" rel="noreferrer" target="_blank">http://openhpsdr.org</a><br>
Archives: <a href="http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/" rel="noreferrer" target="_blank">http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/</a></blockquote></div><div dir="ltr">-- <br></div><p dir="ltr">-- John</p>