<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for brainwagon</title>
	
	<link>http://brainwagon.org</link>
	<description>"There is much pleasure in useless knowledge." — Bertrand Russell</description>
	<lastBuildDate>Fri, 24 May 2013 01:07:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/brainwagoncomments" /><feedburner:info uri="brainwagoncomments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Comment on The JAM 187khz LowFer Beacon.. by Lee</title>
		<link>http://brainwagon.org/2013/05/23/the-jam-187khz-lowfer-beacon/comment-page-1/#comment-335604</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Fri, 24 May 2013 01:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=8477#comment-335604</guid>
		<description><![CDATA[Thanks for posting the Video Mark. I run the setup during the Lowfer season, around Labor Day till about end of March. The current setup uses the same coil elevated to about the roof line and 2 added tophat radials. There is a picture of the elevated coil at LWCA. This puts more RF to the horizon and less into my plumbing, iron bath tub, house frame, water heater, plaster chicken wire, etc... The Win keyer is powered from the 5 volt supply on the AM88 xmiter. Thanks.]]></description>
		<content:encoded><![CDATA[<p>Thanks for posting the Video Mark. I run the setup during the Lowfer season, around Labor Day till about end of March. The current setup uses the same coil elevated to about the roof line and 2 added tophat radials. There is a picture of the elevated coil at LWCA. This puts more RF to the horizon and less into my plumbing, iron bath tub, house frame, water heater, plaster chicken wire, etc&#8230; The Win keyer is powered from the 5 volt supply on the AM88 xmiter. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on On microcontrollers in amateur radio, or “QRP computing”… by Mark VandeWettering</title>
		<link>http://brainwagon.org/2013/05/22/on-microcontrollers-in-amateur-radio-or-qrp-computing/comment-page-1/#comment-335602</link>
		<dc:creator>Mark VandeWettering</dc:creator>
		<pubDate>Thu, 23 May 2013 17:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=8474#comment-335602</guid>
		<description><![CDATA[Thanks for the comments, gentlemen.  Very cool about the LF beacon stuff, Lee.  I&#039;ve been interested in LF for a long time, and think my readers will be interested.  I&#039;m gonna post a link to your Youtube vid about it, feel free to comment further when that goes up.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the comments, gentlemen.  Very cool about the LF beacon stuff, Lee.  I&#8217;ve been interested in LF for a long time, and think my readers will be interested.  I&#8217;m gonna post a link to your Youtube vid about it, feel free to comment further when that goes up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on On microcontrollers in amateur radio, or “QRP computing”… by Lee</title>
		<link>http://brainwagon.org/2013/05/22/on-microcontrollers-in-amateur-radio-or-qrp-computing/comment-page-1/#comment-335601</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Thu, 23 May 2013 09:06:55 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=8474#comment-335601</guid>
		<description><![CDATA[Interesting take on the QRP thing. I understand and admire the QRP guys. In high school I bought a new 1600cc Datsun pickup truck inspite of the ridicule from the V8 cool jock people. Low power is fun and really rewarding when you make a distant contact. Adding new electronics like microcontrollers seems like a natural progression, not a condradiction of QRP concepts. By the way I have a beacon &quot;JAM&quot; 187.015khz with an ERP of about 5 to 7 milliwatts. That would probably constitute a QRP station. And finally I get to why I commented. Nice metafor about phone lines on the Mona Lisa.
Lee]]></description>
		<content:encoded><![CDATA[<p>Interesting take on the QRP thing. I understand and admire the QRP guys. In high school I bought a new 1600cc Datsun pickup truck inspite of the ridicule from the V8 cool jock people. Low power is fun and really rewarding when you make a distant contact. Adding new electronics like microcontrollers seems like a natural progression, not a condradiction of QRP concepts. By the way I have a beacon &#8220;JAM&#8221; 187.015khz with an ERP of about 5 to 7 milliwatts. That would probably constitute a QRP station. And finally I get to why I commented. Nice metafor about phone lines on the Mona Lisa.<br />
Lee</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The legendary Ray Harryhausen dies at 92… by Lee</title>
		<link>http://brainwagon.org/2013/05/07/the-legendary-ray-harryhausen-dies-at-92/comment-page-1/#comment-335600</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Thu, 23 May 2013 06:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=8458#comment-335600</guid>
		<description><![CDATA[I remember a weekend elementary school recital 66 67 and there was a Sinbad movie on TV. I was so pissed that my parents made me go and I missed seeing the Minatars, Cyclopes, Rock Monsters that Ray made come to life.
Lee]]></description>
		<content:encoded><![CDATA[<p>I remember a weekend elementary school recital 66 67 and there was a Sinbad movie on TV. I was so pissed that my parents made me go and I missed seeing the Minatars, Cyclopes, Rock Monsters that Ray made come to life.<br />
Lee</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on On microcontrollers in amateur radio, or “QRP computing”… by VK3ACF</title>
		<link>http://brainwagon.org/2013/05/22/on-microcontrollers-in-amateur-radio-or-qrp-computing/comment-page-1/#comment-335599</link>
		<dc:creator>VK3ACF</dc:creator>
		<pubDate>Wed, 22 May 2013 22:34:45 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=8474#comment-335599</guid>
		<description><![CDATA[Well said Mark. I&#039;ve a couple of projects with microcontrollers in them but struggled with putting telephone wires in the Mona Lisa (nice metaphor).  Your words here may have just changed my mind.
Cheers
Murray VK3ACF]]></description>
		<content:encoded><![CDATA[<p>Well said Mark. I&#8217;ve a couple of projects with microcontrollers in them but struggled with putting telephone wires in the Mona Lisa (nice metaphor).  Your words here may have just changed my mind.<br />
Cheers<br />
Murray VK3ACF</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why you should really upgrade to a General… by Mark VandeWettering</title>
		<link>http://brainwagon.org/2013/05/08/why-you-should-really-upgrade-to-a-general/comment-page-1/#comment-335597</link>
		<dc:creator>Mark VandeWettering</dc:creator>
		<pubDate>Wed, 22 May 2013 00:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=8464#comment-335597</guid>
		<description><![CDATA[There was a time when I used to care about the code issue, but then saner heads at the FCC prevailed and it was removed as a requirement, and the gasping corpse of amateur radio was able to draw a fresh breath.  Now, I just shake my head at those who cling to it as the epitome as amateur radio skill.   If you like it, enjoy!   If not, well, enjoy!]]></description>
		<content:encoded><![CDATA[<p>There was a time when I used to care about the code issue, but then saner heads at the FCC prevailed and it was removed as a requirement, and the gasping corpse of amateur radio was able to draw a fresh breath.  Now, I just shake my head at those who cling to it as the epitome as amateur radio skill.   If you like it, enjoy!   If not, well, enjoy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why you should really upgrade to a General… by Lee</title>
		<link>http://brainwagon.org/2013/05/08/why-you-should-really-upgrade-to-a-general/comment-page-1/#comment-335596</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Tue, 21 May 2013 05:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=8464#comment-335596</guid>
		<description><![CDATA[Hello! The main reason you should upgrade is.....NO Code! Then you can at every opportunity point that out to all the Hams that are still bunched up about no code.  You can use phrases like &quot;I never learned the code because women like to talk to me&quot;. Or &quot;As a professional broadcaster knowing the code is a non-issue&quot; Ha!
KE6 Papa Chubby Tango.]]></description>
		<content:encoded><![CDATA[<p>Hello! The main reason you should upgrade is&#8230;..NO Code! Then you can at every opportunity point that out to all the Hams that are still bunched up about no code.  You can use phrases like &#8220;I never learned the code because women like to talk to me&#8221;. Or &#8220;As a professional broadcaster knowing the code is a non-issue&#8221; Ha!<br />
KE6 Papa Chubby Tango.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Improved Joule Thief Circuit by MikeK</title>
		<link>http://brainwagon.org/2011/05/20/improved-joule-thief-circuit/comment-page-1/#comment-335594</link>
		<dc:creator>MikeK</dc:creator>
		<pubDate>Mon, 20 May 2013 00:18:54 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=6865#comment-335594</guid>
		<description><![CDATA[The ED link is bad, here&#039;s the current one: http://electronicdesign.com/energy/single-alkaline-battery-drives-white-led]]></description>
		<content:encoded><![CDATA[<p>The ED link is bad, here&#8217;s the current one: <a href="http://electronicdesign.com/energy/single-alkaline-battery-drives-white-led" rel="nofollow">http://electronicdesign.com/energy/single-alkaline-battery-drives-white-led</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simulation experiments with LT-Spice… by Michail</title>
		<link>http://brainwagon.org/2013/01/20/simulation-experiments-with-lt-spice/comment-page-1/#comment-335577</link>
		<dc:creator>Michail</dc:creator>
		<pubDate>Tue, 14 May 2013 15:48:49 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=8375#comment-335577</guid>
		<description><![CDATA[Hi, regarding performance of DTL: you might need to implement tricks from this page: http://electronics.stackexchange.com/questions/15056/prevent-high-side-bjt-saturation (namely antisaturation diodes)]]></description>
		<content:encoded><![CDATA[<p>Hi, regarding performance of DTL: you might need to implement tricks from this page: <a href="http://electronics.stackexchange.com/questions/15056/prevent-high-side-bjt-saturation" rel="nofollow">http://electronics.stackexchange.com/questions/15056/prevent-high-side-bjt-saturation</a> (namely antisaturation diodes)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ten Tec assembled, and it appears to work! by radio telescope maker</title>
		<link>http://brainwagon.org/2007/09/15/ten-tec-assembled-and-it-appears-to-work/comment-page-1/#comment-335570</link>
		<dc:creator>radio telescope maker</dc:creator>
		<pubDate>Sat, 11 May 2013 16:27:20 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=2547#comment-335570</guid>
		<description><![CDATA[Glad to see your article. I am building the 1056 as part of a radio telescope project. It is a great value product.]]></description>
		<content:encoded><![CDATA[<p>Glad to see your article. I am building the 1056 as part of a radio telescope project. It is a great value product.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why you should really upgrade to a General… by MikeK</title>
		<link>http://brainwagon.org/2013/05/08/why-you-should-really-upgrade-to-a-general/comment-page-1/#comment-335565</link>
		<dc:creator>MikeK</dc:creator>
		<pubDate>Thu, 09 May 2013 23:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=8464#comment-335565</guid>
		<description><![CDATA[Exactly.

Also, being asked why you don&#039;t have your General license reminds me of an xkcd:
Q: &quot;Why are you carrying a chinup bar?&quot;
A: &quot;Why aren&#039;t you wearing a hat?&quot;]]></description>
		<content:encoded><![CDATA[<p>Exactly.</p>
<p>Also, being asked why you don&#8217;t have your General license reminds me of an xkcd:<br />
Q: &#8220;Why are you carrying a chinup bar?&#8221;<br />
A: &#8220;Why aren&#8217;t you wearing a hat?&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A day at the Official Propeller Conference by Guido</title>
		<link>http://brainwagon.org/2013/05/05/a-day-at-the-official-propeller-conference/comment-page-1/#comment-335561</link>
		<dc:creator>Guido</dc:creator>
		<pubDate>Mon, 06 May 2013 19:59:41 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=8456#comment-335561</guid>
		<description><![CDATA[Hi Mark,
If you like the Propellor concept, then probably you also like these ultra cheap, incredible fast and highly parallel X-MOS chips: http://www.digikey.nl/product-search/en/integrated-circuits-ics/embedded-microcontrollers/2556109?k=XS1-&amp;ColumnSort=1000011&amp;fid=0

What about a 32 bit 400MIPS 4-core for EUR 3.50 or a 1600MIPS 32-core for EUR 17.00... incredible right?
I am thinking to use 16 of them for processing 1Meg FFTs, but it seems there is not enough memory for that purpose, anyway still very interesting.

73, Guido
pe1nnz]]></description>
		<content:encoded><![CDATA[<p>Hi Mark,<br />
If you like the Propellor concept, then probably you also like these ultra cheap, incredible fast and highly parallel X-MOS chips: <a href="http://www.digikey.nl/product-search/en/integrated-circuits-ics/embedded-microcontrollers/2556109?k=XS1-&#038;ColumnSort=1000011&#038;fid=0" rel="nofollow">http://www.digikey.nl/product-search/en/integrated-circuits-ics/embedded-microcontrollers/2556109?k=XS1-&#038;ColumnSort=1000011&#038;fid=0</a></p>
<p>What about a 32 bit 400MIPS 4-core for EUR 3.50 or a 1600MIPS 32-core for EUR 17.00&#8230; incredible right?<br />
I am thinking to use 16 of them for processing 1Meg FFTs, but it seems there is not enough memory for that purpose, anyway still very interesting.</p>
<p>73, Guido<br />
pe1nnz</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A day at the Official Propeller Conference by Addie</title>
		<link>http://brainwagon.org/2013/05/05/a-day-at-the-official-propeller-conference/comment-page-1/#comment-335560</link>
		<dc:creator>Addie</dc:creator>
		<pubDate>Mon, 06 May 2013 08:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=8456#comment-335560</guid>
		<description><![CDATA[Oh and one more thing - the Prop can do C as well.  I&#039;ll be looking into how that works :p]]></description>
		<content:encoded><![CDATA[<p>Oh and one more thing &#8211; the Prop can do C as well.  I&#8217;ll be looking into how that works :p</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A day at the Official Propeller Conference by Addie</title>
		<link>http://brainwagon.org/2013/05/05/a-day-at-the-official-propeller-conference/comment-page-1/#comment-335559</link>
		<dc:creator>Addie</dc:creator>
		<pubDate>Mon, 06 May 2013 07:54:28 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=8456#comment-335559</guid>
		<description><![CDATA[The ice has been broken!!!  It was so nice to get to spend some time with you as well ^_^]]></description>
		<content:encoded><![CDATA[<p>The ice has been broken!!!  It was so nice to get to spend some time with you as well ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Another try at an Arduino Based Morse Beacon by Niceto</title>
		<link>http://brainwagon.org/2009/11/14/another-try-at-an-arduino-based-morse-beacon/comment-page-1/#comment-335558</link>
		<dc:creator>Niceto</dc:creator>
		<pubDate>Sun, 05 May 2013 17:36:32 +0000</pubDate>
		<guid isPermaLink="false">http://brainwagon.org/?p=5185#comment-335558</guid>
		<description><![CDATA[Hi, Mark
Many thanks for sharing your fantastic code to generate CW on arduino plattform.
Just used your code to make a CW qrpp beacon, using an Arduino uno and an inexpensive DDS board with the AD9850.
Just heard from Remote RX site 22km apart (4499
Code can be downloaded from: http://www.verfotos.es/intercambio/arduinobeacon.ino

I also attach the code:
// Modified and adapted as a qrpp CW beacon using arduino uno and AD98550 board
// Hardware wiring and Code to send a sinewave carrier with AD9850 taken from
// http://nr8o.dhlpilotcentral.com/?p=83 Thanks Ron!!
// CW sending code was taken from http://brainwagon.org Thanks Mark!!
// Almost all merit belongs to the above authors. I only did the adapting job and added &quot;+ - = &quot; codes
// I am not a good programmer, but it works!. Feel free to improve and correct bugs.
// If you modify will be nice to send a brief note to Mark and Ron, real fathers of code
// I also will appreciate you send a note with the improved/modified code to ea5ehs[at]gmail.com Niceto Muñoz
// 73 es DX from Niceto (EA5EHS)

// Modificado y adaptado como baliza CW qrpp, usando &quot;Arduino uno&quot; y una placa con &quot;AD9850&quot;
// El conexionado y el código para generar una señal senoidal con el AD9850 se ha tomado de
// http://nr8o.dhlpilotcentral.com/?p=83  Gracias Ron!!
// El código para generar los caracteres CW se ha tomado de  http://brainwagon.org Gracias Mark!!
// Casi todo el mérito pertenece a los autores anteriores. Yo únicamente hice el trabajo de adaptar los dos códigos,
// añadiendo tambien los caracteres cw para &quot;+ - =&quot;.
// Yo no soy un buen programador, pero funciona!. El código es totalmente libre para mejorarlo y corregir errores.
// Si lo modificas, estaría bien que enviaras una pequeña nota a Mark y Ron, padres reales del código.
// Tambien me gustaría que me enviaras una copia del código mejorado/modificado a mi correo ea5ehs[arroba]gmail.com
// 73 es Dx Niceto (EA5EHS)

struct t_mtab { char c, pat; } ;

struct t_mtab morsetab[] = {
  	{&#039;+&#039;, 42},     
  	{&#039;-&#039;, 97},
  	{&#039;=&#039;, 49},
	{&#039;.&#039;, 106},
	{&#039;,&#039;, 115},
	{&#039;?&#039;, 76},
	{&#039;/&#039;, 41},
	{&#039;A&#039;, 6},
	{&#039;B&#039;, 17},
	{&#039;C&#039;, 21},
	{&#039;D&#039;, 9},
	{&#039;E&#039;, 2},
	{&#039;F&#039;, 20},
	{&#039;G&#039;, 11},
	{&#039;H&#039;, 16},
	{&#039;I&#039;, 4},
	{&#039;J&#039;, 30},
	{&#039;K&#039;, 13},
	{&#039;L&#039;, 18},
	{&#039;M&#039;, 7},
	{&#039;N&#039;, 5},
	{&#039;O&#039;, 15},
	{&#039;P&#039;, 22},
	{&#039;Q&#039;, 27},
	{&#039;R&#039;, 10},
	{&#039;S&#039;, 8},
	{&#039;T&#039;, 3},
	{&#039;U&#039;, 12},
	{&#039;V&#039;, 24},
	{&#039;W&#039;, 14},
	{&#039;X&#039;, 25},
	{&#039;Y&#039;, 29},
	{&#039;Z&#039;, 19},
	{&#039;1&#039;, 62},
	{&#039;2&#039;, 60},
	{&#039;3&#039;, 56},
	{&#039;4&#039;, 48},
	{&#039;5&#039;, 32},
	{&#039;6&#039;, 33},
	{&#039;7&#039;, 35},
	{&#039;8&#039;, 39},
	{&#039;9&#039;, 47},
	{&#039;0&#039;, 63}
} ;
 #define W_CLK 8       // Pin 8 - connect to AD9850 module word load clock pin (CLK)
 #define FQ_UD 9       // Pin 9 - connect to freq update pin (FQ)
 #define DATA 10       // Pin 10 - connect to serial data load pin (DATA)
 #define RESET 11      // Pin 11 - connect to reset pin (RST).
 
 #define pulseHigh(pin) {digitalWrite(pin, HIGH); digitalWrite(pin, LOW); }

 #define FREQUENCY 10133500
 #define FREQUENCY2 0              //putting a second frequency different from 0, you also generate an inverse keying CW signal that can be heard using FM mode :)
 #define N_MORSE  (sizeof(morsetab)/sizeof(morsetab[0]))
 #define SPEED  (12)
 #define DOTLEN  (1200/SPEED)
 #define DASHLEN  (3*(1200/SPEED))


void
dash()
{
  sendFrequency(FREQUENCY);
  delay(DASHLEN);
  sendFrequency(FREQUENCY2);
  delay(DOTLEN);
}

void
dit()
{
  sendFrequency(FREQUENCY);
  delay(DOTLEN);
  sendFrequency(FREQUENCY2);
  delay(DOTLEN);
}


void
send(char c)
{
  int i ;
  if (c == &#039; &#039;) {
    delay(7*DOTLEN) ;
    return ;
  }
  for (i=0; i&lt;N_MORSE; i++) {
    if (morsetab[i].c == c) {
      unsigned char p = morsetab[i].pat ;

      while (p != 1) {
          if (p &amp; 1)
            dash() ;
          else
            dit() ;
          p = p / 2 ;
      }
      delay(2*DOTLEN) ;
      return ;
    }
  }
  /* if we drop off the end, then we send a space */
  Serial.print(&quot;?&quot;) ;
}

void
sendmsg(char *str)
{
  while (*str)
    send(*str++) ;
}
 // transfers a byte, a bit at a time, LSB first to the 9850 via serial DATA line
void tfr_byte(byte data)
{
  for (int i=0; i&gt;=1) {
    digitalWrite(DATA, data &amp; 0x01);
    pulseHigh(W_CLK);   //after each bit sent, CLK is pulsed high
  }
}

 // frequency calc from datasheet page 8 =  * /2^32
void sendFrequency(double frequency) {
  int32_t freq = frequency * 4294967295/125000000;  // note 125 MHz clock on 9850
  for (int b=0; b&gt;=8) {
    tfr_byte(freq &amp; 0xFF);
  }
  tfr_byte(0x000);   // Final control byte, all 0 for 9850 chip
  pulseHigh(FQ_UD);  // Done!  Should see output
}

void setup() {
 // configure arduino data pins for output
  pinMode(FQ_UD, OUTPUT);
  pinMode(W_CLK, OUTPUT);
  pinMode(DATA, OUTPUT);
  pinMode(RESET, OUTPUT);
   
  pulseHigh(RESET);
  pulseHigh(W_CLK);
  pulseHigh(FQ_UD);  // this pulse enables serial mode - Datasheet page 12 figure 10
}



void loop() {
  sendmsg(&quot; V V V XX0XX/B QRPP BEACON E E E E E E E E E E&quot;) ;
  delay(1500) ;
}]]></description>
		<content:encoded><![CDATA[<p>Hi, Mark<br />
Many thanks for sharing your fantastic code to generate CW on arduino plattform.<br />
Just used your code to make a CW qrpp beacon, using an Arduino uno and an inexpensive DDS board with the AD9850.<br />
Just heard from Remote RX site 22km apart (4499<br />
Code can be downloaded from: <a href="http://www.verfotos.es/intercambio/arduinobeacon.ino" rel="nofollow">http://www.verfotos.es/intercambio/arduinobeacon.ino</a></p>
<p>I also attach the code:<br />
// Modified and adapted as a qrpp CW beacon using arduino uno and AD98550 board<br />
// Hardware wiring and Code to send a sinewave carrier with AD9850 taken from<br />
// <a href="http://nr8o.dhlpilotcentral.com/?p=83" rel="nofollow">http://nr8o.dhlpilotcentral.com/?p=83</a> Thanks Ron!!<br />
// CW sending code was taken from <a href="http://brainwagon.org" rel="nofollow">http://brainwagon.org</a> Thanks Mark!!<br />
// Almost all merit belongs to the above authors. I only did the adapting job and added &#8220;+ &#8211; = &#8221; codes<br />
// I am not a good programmer, but it works!. Feel free to improve and correct bugs.<br />
// If you modify will be nice to send a brief note to Mark and Ron, real fathers of code<br />
// I also will appreciate you send a note with the improved/modified code to ea5ehs[at]gmail.com Niceto Muñoz<br />
// 73 es DX from Niceto (EA5EHS)</p>
<p>// Modificado y adaptado como baliza CW qrpp, usando &#8220;Arduino uno&#8221; y una placa con &#8220;AD9850&#8243;<br />
// El conexionado y el código para generar una señal senoidal con el AD9850 se ha tomado de<br />
// <a href="http://nr8o.dhlpilotcentral.com/?p=83" rel="nofollow">http://nr8o.dhlpilotcentral.com/?p=83</a>  Gracias Ron!!<br />
// El código para generar los caracteres CW se ha tomado de  <a href="http://brainwagon.org" rel="nofollow">http://brainwagon.org</a> Gracias Mark!!<br />
// Casi todo el mérito pertenece a los autores anteriores. Yo únicamente hice el trabajo de adaptar los dos códigos,<br />
// añadiendo tambien los caracteres cw para &#8220;+ &#8211; =&#8221;.<br />
// Yo no soy un buen programador, pero funciona!. El código es totalmente libre para mejorarlo y corregir errores.<br />
// Si lo modificas, estaría bien que enviaras una pequeña nota a Mark y Ron, padres reales del código.<br />
// Tambien me gustaría que me enviaras una copia del código mejorado/modificado a mi correo ea5ehs[arroba]gmail.com<br />
// 73 es Dx Niceto (EA5EHS)</p>
<p>struct t_mtab { char c, pat; } ;</p>
<p>struct t_mtab morsetab[] = {<br />
  	{&#8216;+&#8217;, 42},<br />
  	{&#8216;-&#8217;, 97},<br />
  	{&#8216;=&#8217;, 49},<br />
	{&#8216;.&#8217;, 106},<br />
	{&#8216;,&#8217;, 115},<br />
	{&#8216;?&#8217;, 76},<br />
	{&#8216;/&#8217;, 41},<br />
	{&#8216;A&#8217;, 6},<br />
	{&#8216;B&#8217;, 17},<br />
	{&#8216;C&#8217;, 21},<br />
	{&#8216;D&#8217;, 9},<br />
	{&#8216;E&#8217;, 2},<br />
	{&#8216;F&#8217;, 20},<br />
	{&#8216;G&#8217;, 11},<br />
	{&#8216;H&#8217;, 16},<br />
	{&#8216;I&#8217;, 4},<br />
	{&#8216;J&#8217;, 30},<br />
	{&#8216;K&#8217;, 13},<br />
	{&#8216;L&#8217;, 18},<br />
	{&#8216;M&#8217;, 7},<br />
	{&#8216;N&#8217;, 5},<br />
	{&#8216;O&#8217;, 15},<br />
	{&#8216;P&#8217;, 22},<br />
	{&#8216;Q&#8217;, 27},<br />
	{&#8216;R&#8217;, 10},<br />
	{&#8216;S&#8217;, 8},<br />
	{&#8216;T&#8217;, 3},<br />
	{&#8216;U&#8217;, 12},<br />
	{&#8216;V&#8217;, 24},<br />
	{&#8216;W&#8217;, 14},<br />
	{&#8216;X&#8217;, 25},<br />
	{&#8216;Y&#8217;, 29},<br />
	{&#8216;Z&#8217;, 19},<br />
	{&#8217;1&#8242;, 62},<br />
	{&#8217;2&#8242;, 60},<br />
	{&#8217;3&#8242;, 56},<br />
	{&#8217;4&#8242;, 48},<br />
	{&#8217;5&#8242;, 32},<br />
	{&#8217;6&#8242;, 33},<br />
	{&#8217;7&#8242;, 35},<br />
	{&#8217;8&#8242;, 39},<br />
	{&#8217;9&#8242;, 47},<br />
	{&#8217;0&#8242;, 63}<br />
} ;<br />
 #define W_CLK 8       // Pin 8 &#8211; connect to AD9850 module word load clock pin (CLK)<br />
 #define FQ_UD 9       // Pin 9 &#8211; connect to freq update pin (FQ)<br />
 #define DATA 10       // Pin 10 &#8211; connect to serial data load pin (DATA)<br />
 #define RESET 11      // Pin 11 &#8211; connect to reset pin (RST).</p>
<p> #define pulseHigh(pin) {digitalWrite(pin, HIGH); digitalWrite(pin, LOW); }</p>
<p> #define FREQUENCY 10133500<br />
 #define FREQUENCY2 0              //putting a second frequency different from 0, you also generate an inverse keying CW signal that can be heard using FM mode <img src='http://brainwagon.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
 #define N_MORSE  (sizeof(morsetab)/sizeof(morsetab[0]))<br />
 #define SPEED  (12)<br />
 #define DOTLEN  (1200/SPEED)<br />
 #define DASHLEN  (3*(1200/SPEED))</p>
<p>void<br />
dash()<br />
{<br />
  sendFrequency(FREQUENCY);<br />
  delay(DASHLEN);<br />
  sendFrequency(FREQUENCY2);<br />
  delay(DOTLEN);<br />
}</p>
<p>void<br />
dit()<br />
{<br />
  sendFrequency(FREQUENCY);<br />
  delay(DOTLEN);<br />
  sendFrequency(FREQUENCY2);<br />
  delay(DOTLEN);<br />
}</p>
<p>void<br />
send(char c)<br />
{<br />
  int i ;<br />
  if (c == &#8216; &#8216;) {<br />
    delay(7*DOTLEN) ;<br />
    return ;<br />
  }<br />
  for (i=0; i&lt;N_MORSE; i++) {<br />
    if (morsetab[i].c == c) {<br />
      unsigned char p = morsetab[i].pat ;</p>
<p>      while (p != 1) {<br />
          if (p &amp; 1)<br />
            dash() ;<br />
          else<br />
            dit() ;<br />
          p = p / 2 ;<br />
      }<br />
      delay(2*DOTLEN) ;<br />
      return ;<br />
    }<br />
  }<br />
  /* if we drop off the end, then we send a space */<br />
  Serial.print(&quot;?&quot;) ;<br />
}</p>
<p>void<br />
sendmsg(char *str)<br />
{<br />
  while (*str)<br />
    send(*str++) ;<br />
}<br />
 // transfers a byte, a bit at a time, LSB first to the 9850 via serial DATA line<br />
void tfr_byte(byte data)<br />
{<br />
  for (int i=0; i&gt;=1) {<br />
    digitalWrite(DATA, data &amp; 0&#215;01);<br />
    pulseHigh(W_CLK);   //after each bit sent, CLK is pulsed high<br />
  }<br />
}</p>
<p> // frequency calc from datasheet page 8 =  * /2^32<br />
void sendFrequency(double frequency) {<br />
  int32_t freq = frequency * 4294967295/125000000;  // note 125 MHz clock on 9850<br />
  for (int b=0; b&gt;=8) {<br />
    tfr_byte(freq &amp; 0xFF);<br />
  }<br />
  tfr_byte(0&#215;000);   // Final control byte, all 0 for 9850 chip<br />
  pulseHigh(FQ_UD);  // Done!  Should see output<br />
}</p>
<p>void setup() {<br />
 // configure arduino data pins for output<br />
  pinMode(FQ_UD, OUTPUT);<br />
  pinMode(W_CLK, OUTPUT);<br />
  pinMode(DATA, OUTPUT);<br />
  pinMode(RESET, OUTPUT);</p>
<p>  pulseHigh(RESET);<br />
  pulseHigh(W_CLK);<br />
  pulseHigh(FQ_UD);  // this pulse enables serial mode &#8211; Datasheet page 12 figure 10<br />
}</p>
<p>void loop() {<br />
  sendmsg(&#8221; V V V XX0XX/B QRPP BEACON E E E E E E E E E E&#8221;) ;<br />
  delay(1500) ;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss><!-- Dynamic page generated in 0.468 seconds. --><!-- Cached page generated by WP-Super-Cache on 2013-05-25 03:04:06 --><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

 Served from: brainwagon.org @ 2013-05-25 03:04:06 by W3 Total Cache -->
