<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Geekshed - M1BXF</title>
	<atom:link href="http://www.geekshed.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekshed.co.uk</link>
	<description>The adventures of Gavin M1BXF...</description>
	<lastBuildDate>Sun, 06 May 2012 23:06:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Camb-Hams Mull 2012 DX&#8217;Pedition</title>
		<link>http://www.geekshed.co.uk/mull-2012/</link>
		<comments>http://www.geekshed.co.uk/mull-2012/#comments</comments>
		<pubDate>Sun, 06 May 2012 22:50:44 +0000</pubDate>
		<dc:creator>flickr</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[home]]></category>

		<guid isPermaLink="false">http://www.geekshed.co.uk/?p=876</guid>
		<description><![CDATA[So the Camb-Hams headed back to Mull for their 2012 DX’Pedition which I took the main lead on the VHF organising, we booked a cottage in the slightly rarer square of IO66.&#160; We initially planned activations on 6m, 4m, 2m and 3cm using SSB, CW and JT6m.&#160; In the end we managed much more than we ever intended, including EME on 2m, 2m/70cm satellite operations and later in the week a few QSOs on 23cm after swapping the 2m and 3cm kit over.&#160; 3cm from [...]]]></description>
			<content:encoded><![CDATA[<p>So the Camb-Hams headed back to Mull for their <a href="http://dx.camb-hams.com/dx-peditions/mull-dxpedition-12/" target="_blank">2012 DX’Pedition</a> which I took the main lead on the VHF organising, we booked a cottage in the slightly rarer square of IO66.&#160; We initially planned activations on 6m, 4m, 2m and 3cm using SSB, CW and JT6m.&#160; In the end we managed much more than we ever intended, including EME on 2m, 2m/70cm satellite operations and later in the week a few QSOs on 23cm after swapping the 2m and 3cm kit over.&#160; 3cm from IO66 is a first and many contacts on 6m and 4m were also firsts.&#160; Much more information over on the <a href="http://dx.camb-hams.com/dx-peditions/mull-dxpedition-12/" target="_blank">Camb-Hams Mull 2012 page</a>., w</p>
<p><object width="550" height="400"><param name="flashvars" value="offsite=true&lang;=en-us&amp;page_show_url=%2Fphotos%2Fm1bxf%2Fsets%2F72157629616435618%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2Fm1bxf%2Fsets%2F72157629616435618%2F&amp;set_id=72157629616435618&amp;jump_to="></param><param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=109615"></param><param name="allowFullScreen" value="true"></param> <embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=109615" allowFullScreen="true" flashvars="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2Fm1bxf%2Fsets%2F72157629616435618%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Fm1bxf%2Fsets%2F72157629616435618%2F&#038;set_id=72157629616435618&#038;jump_to=" width="550" height="400"></embed></object></p>
<p>&#160;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; width: 500px; padding-right: 0px; overflow: hidden; padding-top: 0px"><a style="text-decoration: none" title="IMG_20120428_101750" href="http://www.flickr.com/photos/m1bxf/7149591773/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120428_101750" src="http://farm9.staticflickr.com/8162/7149591773_131f956c44_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120427_195422" href="http://www.flickr.com/photos/m1bxf/7003484972/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120427_195422" src="http://farm6.staticflickr.com/5446/7003484972_44835029c0_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120428_101629" href="http://www.flickr.com/photos/m1bxf/7003487730/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120428_101629" src="http://farm8.staticflickr.com/7080/7003487730_4ff470aaeb_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120428_101742" href="http://www.flickr.com/photos/m1bxf/7003492908/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120428_101742" src="http://farm8.staticflickr.com/7085/7003492908_ec2ccd7e9f_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120428_114934" href="http://www.flickr.com/photos/m1bxf/7003501600/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120428_114934" src="http://farm8.staticflickr.com/7104/7003501600_e236ae7e9e_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120428_120827" href="http://www.flickr.com/photos/m1bxf/7003503894/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 0px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120428_120827" src="http://farm9.staticflickr.com/8141/7003503894_9b97ee59bf_s.jpg" /></a>    <br clear="all" /><a style="text-decoration: none" title="IMG_20120428_181722" href="http://www.flickr.com/photos/m1bxf/7003511058/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120428_181722" src="http://farm8.staticflickr.com/7229/7003511058_7de488cd8c_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120428_181726" href="http://www.flickr.com/photos/m1bxf/7003514752/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120428_181726" src="http://farm9.staticflickr.com/8149/7003514752_714cc80cff_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120428_211406" href="http://www.flickr.com/photos/m1bxf/7003515928/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120428_211406" src="http://farm8.staticflickr.com/7245/7003515928_3d3551f009_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120428_211448" href="http://www.flickr.com/photos/m1bxf/7003520590/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120428_211448" src="http://farm8.staticflickr.com/7240/7003520590_53ee6e3ec5_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120429_110429" href="http://www.flickr.com/photos/m1bxf/7003527134/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120429_110429" src="http://farm9.staticflickr.com/8153/7003527134_7ef0128373_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120429_200224" href="http://www.flickr.com/photos/m1bxf/7003528498/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 0px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120429_200224" src="http://farm8.staticflickr.com/7078/7003528498_26c3d3d323_s.jpg" /></a>    <br clear="all" /><a style="text-decoration: none" title="IMG_20120430_135108" href="http://www.flickr.com/photos/m1bxf/7003532578/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120430_135108" src="http://farm8.staticflickr.com/7207/7003532578_daef78aa03_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120430_193757" href="http://www.flickr.com/photos/m1bxf/7003537842/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120430_193757" src="http://farm8.staticflickr.com/7067/7003537842_b488a5133e_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120430_203322" href="http://www.flickr.com/photos/m1bxf/7003538642/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120430_203322" src="http://farm9.staticflickr.com/8027/7003538642_5bcfd84d60_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120430_203355" href="http://www.flickr.com/photos/m1bxf/7003539318/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120430_203355" src="http://farm6.staticflickr.com/5034/7003539318_58e367ea3d_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120430_212730" href="http://www.flickr.com/photos/m1bxf/7003542130/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120430_212730" src="http://farm9.staticflickr.com/8146/7003542130_672655e333_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120501_091742" href="http://www.flickr.com/photos/m1bxf/7003543156/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 0px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120501_091742" src="http://farm8.staticflickr.com/7247/7003543156_4dbca83c2c_s.jpg" /></a>    <br clear="all" /><a style="text-decoration: none" title="IMG_20120502_202457" href="http://www.flickr.com/photos/m1bxf/7003546622/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120502_202457" src="http://farm8.staticflickr.com/7179/7003546622_e328ff19e5_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120503_081931" href="http://www.flickr.com/photos/m1bxf/7003548324/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120503_081931" src="http://farm8.staticflickr.com/7223/7003548324_30cb9d75b0_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120503_171926" href="http://www.flickr.com/photos/m1bxf/7003556960/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120503_171926" src="http://farm6.staticflickr.com/5457/7003556960_f99e0175ce_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120503_171931" href="http://www.flickr.com/photos/m1bxf/7003558068/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120503_171931" src="http://farm6.staticflickr.com/5346/7003558068_623d3eebe7_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120505_135648" href="http://www.flickr.com/photos/m1bxf/7003577418/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 10px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120505_135648" src="http://farm9.staticflickr.com/8005/7003577418_9f0ee91d20_s.jpg" /></a><a style="text-decoration: none" title="IMG_20120505_145227" href="http://www.flickr.com/photos/m1bxf/7003577956/in/set-72157629616435618/"><img style="padding-bottom: 10px; padding-left: 0px; width: 75px; padding-right: 0px; float: left; height: 75px; padding-top: 0px" alt="IMG_20120505_145227" src="http://farm6.staticflickr.com/5322/7003577956_ab7a3863b0_s.jpg" /></a>    <br clear="all" /></div>
<div style="margin-top: 0px; margin-bottom: 5px; font-size: 0.8em">
<p><a href="http://www.flickr.com/photos/m1bxf/sets/72157629616435618/">Mull 2012</a>, a set on Flickr.</p>
</p></div>

<div class="plus-one-wrap"><g:plusone href="http://www.geekshed.co.uk/mull-2012/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.geekshed.co.uk/mull-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>6m and 4m still going</title>
		<link>http://www.geekshed.co.uk/6m-and-4m-still-going/</link>
		<comments>http://www.geekshed.co.uk/6m-and-4m-still-going/#comments</comments>
		<pubDate>Thu, 03 May 2012 07:39:47 +0000</pubDate>
		<dc:creator>m1bxf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mull2012]]></category>

		<guid isPermaLink="false">http://www.geekshed.co.uk/?p=872</guid>
		<description><![CDATA[Thanks to Mark for the breakfast GS3PYE/P is fully fueled for more 6m and 4m operation.]]></description>
			<content:encoded><![CDATA[<p>Thanks to Mark for the breakfast GS3PYE/P is fully fueled for more 6m and 4m operation. </p>
<div class="plus-one-wrap"><g:plusone href="http://www.geekshed.co.uk/6m-and-4m-still-going/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.geekshed.co.uk/6m-and-4m-still-going/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>23cm 80w Amplifier</title>
		<link>http://www.geekshed.co.uk/23cm-2xg4bao-amplifier/</link>
		<comments>http://www.geekshed.co.uk/23cm-2xg4bao-amplifier/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 16:36:05 +0000</pubDate>
		<dc:creator>m1bxf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://www.geekshed.co.uk/?p=855</guid>
		<description><![CDATA[For a while I operated on 23cm with just my IC-910 with it’s UX-910 module, this was only 10w.&#160; Rather luckily&#160; John G4BAO lives local and had designed and published a nice 45w LDMOS 23cm amplifier.&#160; It was quite easy to go put a pair together using a pair of W6PQL hybrid combiners. To start with I had the pair on a flat 19” rack which was rather exposed and didn’t have all parts integrated such as the PSU.&#160; I had planned to box everything [...]]]></description>
			<content:encoded><![CDATA[<p>For a while I operated on 23cm with just my IC-910 with it’s UX-910 module, this was only 10w.&nbsp; Rather luckily&nbsp; John G4BAO lives local and had designed and published a nice <a href="http://homepage.ntlworld.com/john.g4bao/Files/a45w_amplifier_for_23cm.pdf" target="_blank">45w LDMOS 23cm amplifier</a>.&nbsp; It was quite easy to go put a pair together using a pair of <a href="http://www.w6pql.com/1296/fr4branchline.htm" target="_blank">W6PQL hybrid combiners</a>.</p>
<p><a title="DSCF8936" href="http://www.flickr.com/photos/40002058@N06/6990869879/"><img border="0" hspace="1" alt="DSCF8936" vspace="1" src="http://static.flickr.com/7191/6990869879_3456bf5b76.jpg" width="240" height="180"></a><a title="DSCF8937" href="http://www.flickr.com/photos/40002058@N06/6844747350/"><img border="0" hspace="1" alt="DSCF8937" vspace="1" src="http://static.flickr.com/7209/6844747350_628fc9de4a.jpg" width="240" height="180"></a></p>
<p>To start with I had the pair on a flat 19” rack which was rather exposed and didn’t have all parts integrated such as the PSU.&nbsp; I had planned to box everything up but it wasn’t till I purchased a suitable box I got the chance to do it.&nbsp; Here are a load of photos showing the final amp with the 2x G4BAO amps, the input and output hybrid combiners and the 24v 10A PSU.&nbsp; The output is shown on the meter and peaks at about 80w.</p>
<h3>The amplifiers:</h3>
<p><a title="DSCF8896" href="http://www.flickr.com/photos/40002058@N06/6990721427/"><img border="0" hspace="1" alt="DSCF8896" vspace="1" src="http://static.flickr.com/7050/6990721427_1cc604219f.jpg" width="240" height="180"></a><a title="DSCF8917" href="http://www.flickr.com/photos/40002058@N06/6844667640/"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" hspace="1" alt="DSCF8917" vspace="1" src="http://static.flickr.com/7177/6844667640_ef48dce6f8.jpg" width="240" height="180"></a></p>
<h3>The Hybrid Combiners:</h3>
<p><a title="DSCF8908" href="http://www.flickr.com/photos/40002058@N06/6844767292/"><img border="0" hspace="1" alt="DSCF8908" vspace="1" src="http://static.flickr.com/7065/6844767292_eddb7a34ac.jpg" width="240" height="180"></a><a title="DSCF8911" href="http://www.flickr.com/photos/40002058@N06/6990774339/"><img border="0" hspace="1" alt="DSCF8911" vspace="1" src="http://static.flickr.com/7062/6990774339_17def3d907.jpg" width="240" height="180"></a></p>
<h3>Metalwork:</h3>
<p><a title="DSCF8897" href="http://www.flickr.com/photos/40002058@N06/6844599832/"><img border="0" hspace="1" alt="DSCF8897" vspace="1" src="http://static.flickr.com/7187/6844599832_9411f4fa9c.jpg" width="240" height="180"></a><a title="DSCF8904" href="http://www.flickr.com/photos/40002058@N06/6990750259/"><img border="0" hspace="1" alt="DSCF8904" vspace="1" src="http://static.flickr.com/7053/6990750259_78ac688227.jpg" width="240" height="180"></a><a title="DSCF8901" href="http://www.flickr.com/photos/40002058@N06/6990740117/"><img border="0" hspace="1" alt="DSCF8901" vspace="1" src="http://static.flickr.com/7180/6990740117_64125ab313.jpg" width="240" height="180"></a><a title="DSCF8907" href="http://www.flickr.com/photos/40002058@N06/6990890113/"><img border="0" hspace="1" alt="DSCF8907" vspace="1" src="http://static.flickr.com/7040/6990890113_19ec0b4ef4.jpg" width="240" height="180"></a><a title="DSCF8893" href="http://www.flickr.com/photos/40002058@N06/6990887457/"><img border="0" hspace="1" alt="DSCF8893" vspace="1" src="http://static.flickr.com/7068/6990887457_b5f636018b.jpg" width="240" height="180"></a><a title="DSCF8903" href="http://www.flickr.com/photos/40002058@N06/6844623252/"><img border="0" hspace="1" alt="DSCF8903" vspace="1" src="http://static.flickr.com/7058/6844623252_164e269cc6.jpg" width="240" height="180"></a><a title="DSCF8898" href="http://www.flickr.com/photos/40002058@N06/6990727373/"><img border="0" hspace="1" alt="DSCF8898" vspace="1" src="http://static.flickr.com/7187/6990727373_d8be2bcb54.jpg" width="240" height="180"></a></p>
<h3>The Build:</h3>
<p><a title="DSCF8914" href="http://www.flickr.com/photos/40002058@N06/6844660164/"><img border="0" hspace="1" alt="DSCF8914" vspace="1" src="http://static.flickr.com/7036/6844660164_c16958057f.jpg" width="240" height="180"></a><a title="DSCF8912" href="http://www.flickr.com/photos/40002058@N06/6844654862/"><img border="0" hspace="1" alt="DSCF8912" vspace="1" src="http://static.flickr.com/7046/6844654862_d543d10b34.jpg" width="240" height="180"></a><a title="DSCF8915" href="http://www.flickr.com/photos/40002058@N06/6844662508/"><img border="0" hspace="1" alt="DSCF8915" vspace="1" src="http://static.flickr.com/7051/6844662508_b0a72b1c39.jpg" width="240" height="180"></a><a title="DSCF8927" href="http://www.flickr.com/photos/40002058@N06/6990827739/"><img border="0" hspace="1" alt="DSCF8927" vspace="1" src="http://static.flickr.com/7193/6990827739_375e0827e2.jpg" width="240" height="180"></a><a title="DSCF8932" href="http://www.flickr.com/photos/40002058@N06/6990854489/"><img border="0" hspace="1" alt="DSCF8932" vspace="1" src="http://static.flickr.com/7038/6990854489_a2f85b0749.jpg" width="240" height="180"></a><a title="DSCF8892" href="http://www.flickr.com/photos/40002058@N06/6844760178/"><img border="0" hspace="1" alt="DSCF8892" vspace="1" src="http://static.flickr.com/7054/6844760178_9c5e73e1ae.jpg" width="240" height="180"></a><a title="DSCF8918" href="http://www.flickr.com/photos/40002058@N06/6844669920/"><img border="0" hspace="1" alt="DSCF8918" vspace="1" src="http://static.flickr.com/7179/6844669920_71c6f83c03.jpg" width="240" height="180"></a><a title="DSCF8922" href="http://www.flickr.com/photos/40002058@N06/6990808601/"><img border="0" hspace="1" alt="DSCF8922" vspace="1" src="http://static.flickr.com/7046/6990808601_eb419fa4d1.jpg" width="240" height="180"></a><a title="DSCF8931" href="http://www.flickr.com/photos/40002058@N06/6844775698/"><img border="0" hspace="1" alt="DSCF8931" vspace="1" src="http://static.flickr.com/7198/6844775698_97ae380743.jpg" width="240" height="180"></a><a title="DSCF8929" href="http://www.flickr.com/photos/40002058@N06/6990896803/"><img border="0" hspace="1" alt="DSCF8929" vspace="1" src="http://static.flickr.com/7182/6990896803_b3df00bc7e.jpg" width="240" height="180"></a><a title="DSCF8894" href="http://www.flickr.com/photos/40002058@N06/6844589630/"><img border="0" hspace="1" alt="DSCF8894" vspace="1" src="http://static.flickr.com/7038/6844589630_f9e0df8f16.jpg" width="240" height="180"></a><a title="DSCF8921" href="http://www.flickr.com/photos/40002058@N06/6990806277/"><img border="0" hspace="1" alt="DSCF8921" vspace="1" src="http://static.flickr.com/7059/6990806277_205bbab563.jpg" width="240" height="180"></a><a title="DSCF8926" href="http://www.flickr.com/photos/40002058@N06/6990822685/"><img border="0" hspace="1" alt="DSCF8926" vspace="1" src="http://static.flickr.com/7041/6990822685_4024d5a134.jpg" width="240" height="180"></a><a title="DSCF8923" href="http://www.flickr.com/photos/40002058@N06/6990811353/"><img border="0" hspace="1" alt="DSCF8923" vspace="1" src="http://static.flickr.com/7036/6990811353_755d26023c.jpg" width="240" height="180"></a><a title="DSCF8925" href="http://www.flickr.com/photos/40002058@N06/6844694776/"><img border="0" hspace="1" alt="DSCF8925" vspace="1" src="http://static.flickr.com/7060/6844694776_12fbdfc9ec.jpg" width="240" height="180"></a><a title="DSCF8928" href="http://www.flickr.com/photos/40002058@N06/6990834663/"><img border="0" hspace="1" alt="DSCF8928" vspace="1" src="http://static.flickr.com/7204/6990834663_ec892f2624.jpg" width="240" height="180"></a><a title="DSCF8930" href="http://www.flickr.com/photos/40002058@N06/6990845927/"><img border="0" hspace="1" alt="DSCF8930" vspace="1" src="http://static.flickr.com/7039/6990845927_02a5cd5d09.jpg" width="240" height="180"></a><a title="DSCF8933" href="http://www.flickr.com/photos/40002058@N06/6990858279/"><img border="0" hspace="1" alt="DSCF8933" vspace="1" src="http://static.flickr.com/7069/6990858279_b421fcf016.jpg" width="240" height="180"></a></p>
<h3>In the Shack:</h3>
<p><a title="IMG_20120318_165425" href="http://www.flickr.com/photos/40002058@N06/6851863940/"><img border="0" alt="IMG_20120318_165425" src="http://static.flickr.com/6036/6851863940_4bc1fc33b4.jpg"></a></p>

<div class="plus-one-wrap"><g:plusone href="http://www.geekshed.co.uk/23cm-2xg4bao-amplifier/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.geekshed.co.uk/23cm-2xg4bao-amplifier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yaesu&#8217;s Quadra VL-1000 Will do 70MHz</title>
		<link>http://www.geekshed.co.uk/yaesus-quadra-vl-1000-will-do-70mhz/</link>
		<comments>http://www.geekshed.co.uk/yaesus-quadra-vl-1000-will-do-70mhz/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 18:59:00 +0000</pubDate>
		<dc:creator>m1bxf</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[home]]></category>

		<guid isPermaLink="false">http://www.geekshed.co.uk/?p=767</guid>
		<description><![CDATA[So I had noticed a while back, when developing my Icom (CI-V or band Data) to Yaesu BCD Band Data Converter that occasionally I could get 70MHz to show up as the band. I always had it in mind to investigate this further.  Today I set about finding the BCD which selected 4m (70MHz) and found it with all BCD lines high (Band A=1, Band B=1, Band C=1, Band D=1, ) great!  On page 5 of the manual it shows the pin-outs, on BAND-DATA 1 [...]]]></description>
			<content:encoded><![CDATA[<p>So I had noticed a while back, when developing my <a href="http://www.geekshed.co.uk/icom-ci-v-or-band-data-to-yaesu-bcd-band-data-converter/">Icom (CI-V or band Data) to Yaesu BCD Band Data Converter</a> that occasionally I could get 70MHz to show up as the band.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2012/01/20120107_182531.jpg"><img style="display: inline; border-width: 0px;" title="20120107_182531" src="http://www.geekshed.co.uk/wp-content/uploads/2012/01/20120107_182531_thumb.jpg" alt="20120107_182531" width="402" height="302" border="0" /></a></p>
<p>I always had it in mind to investigate this further.  Today I set about finding the BCD which selected 4m (70MHz) and found it with all BCD lines high (Band A=1, Band B=1, Band C=1, Band D=1, ) great!  On <a href="http://www.ab4oj.com/dl/quadra/vl1000um.pdf" target="_blank">page 5 of the manual</a> it shows the pin-outs, on BAND-DATA 1 or BAND-DATA 2 connect pins 4, 5, 6 &amp; 7 together and then to 12v via a 1k resistor to get 70MHz. I noticed the amp would only allow LOW which I presume is to stop the PA’s overdriving into a non-optimized filter.  The fact that LOW is only fixed when on the 70MHz band lends me to believe the designers know this and allow it. Now to the interesting part.</p>
<p>With 25w in I get about 240w output, rather useful as the UK limit is 160w. Id was about 25amps though which at 33v is about 825w and means it’s about 30% efficient but none the less the amp does it.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2012/01/20120107_183001.jpg"><img style="display: inline; border-width: 0px;" title="20120107_183001" src="http://www.geekshed.co.uk/wp-content/uploads/2012/01/20120107_183001_thumb.jpg" alt="20120107_183001" width="402" height="302" border="0" /></a></p>
<p>However with 65w in I was getting a peak of 500w. 35% efficient.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2012/01/20120107_183752.jpg"><img style="display: inline; border-width: 0px;" title="20120107_183752" src="http://www.geekshed.co.uk/wp-content/uploads/2012/01/20120107_183752_thumb.jpg" alt="20120107_183752" width="402" height="302" border="0" /></a></p>
<p>I’ve not run this long term so it’s all at your own risk! I did run it for about 10 minutes to keep the dummy load cool, but for UK legal this should be a good option to get you to 160w with about 20w drive.</p>
<p>Update 2/1/12: G6UW ran their Quadra for 2.5 hours in the first 4m RSGB UKAC contest of the year without issue. On air their signal was clean and caused us no issue, they were an S9+50 signal with us being less than 10km away. </p>
<div class="plus-one-wrap"><g:plusone href="http://www.geekshed.co.uk/yaesus-quadra-vl-1000-will-do-70mhz/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.geekshed.co.uk/yaesus-quadra-vl-1000-will-do-70mhz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To Do &#8211; 24/10/2011</title>
		<link>http://www.geekshed.co.uk/to-do-24102011/</link>
		<comments>http://www.geekshed.co.uk/to-do-24102011/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 13:37:05 +0000</pubDate>
		<dc:creator>m1bxf</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[home]]></category>

		<guid isPermaLink="false">http://www.geekshed.co.uk/to-do-24102011/</guid>
		<description><![CDATA[Just thought I would share some projects I have bits for, and can recall at the moment, but are in the waiting pile: - APRS beacon built around a PICAXE-08M which periodically wakes up, beacons and shuts down. - 3 x Azimuth rotator controllers. 2 for the CUWS (G6UW) and one for John G4BAO. - Write up an AZ and EL rotator interface, basically my own version of an LVB tracker or ST-2. - 30m QRSS CW beacon. - RTTY modulator for my IC-756pro3 using [...]]]></description>
			<content:encoded><![CDATA[<p>Just thought I would share some projects I have bits for, and can recall at the moment, but are in the waiting pile:</p>
<p>- APRS beacon built around a PICAXE-08M which periodically wakes up, beacons and shuts down.</p>
<p>- 3 x Azimuth rotator controllers. 2 for the CUWS (G6UW) and one for John G4BAO.</p>
<p>- Write up an AZ and EL rotator interface, basically my own version of an LVB tracker or ST-2.</p>
<p>- 30m QRSS CW beacon.</p>
<p>- RTTY modulator for my IC-756pro3 using a PICAXE-08X2 and XR2211, it already does inbuilt RX.</p>
<p>- Repair a mates FT-8800r.</p>

<div class="plus-one-wrap"><g:plusone href="http://www.geekshed.co.uk/to-do-24102011/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.geekshed.co.uk/to-do-24102011/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BXF Azimuth Rotator Controller</title>
		<link>http://www.geekshed.co.uk/bxf-azimuth-rotator-controller/</link>
		<comments>http://www.geekshed.co.uk/bxf-azimuth-rotator-controller/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 21:31:00 +0000</pubDate>
		<dc:creator>m1bxf</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[PICAXE-20X2]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://www.geekshed.co.uk/bxf-azimuth-rotator-controller/</guid>
		<description><![CDATA[&#160; I decided to build a new rotator controller to replace my Yaesu G400RC controller (but my design was made to work with virtually any rotator) to give me additional futures beyond the sole analogue position feedback of the G-400RC. I wanted the new design to be digital, have integrated PC control, hands off operation (pick your direction and then sit back) and have different modes of operation depending upon current operation style.  I had previously built a rotator PC interface but not a full [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/FrontPanel1.jpg"><img style="display: inline; border-width: 0px;" title="FrontPanel" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/FrontPanel_thumb1.jpg" alt="FrontPanel" width="550" height="380" border="0" /></a></p>
<p>I decided to build a new rotator controller to replace my <a href="http://www.rigpix.com/rotators/yaesu_g400rc.htm" target="_blank">Yaesu G400RC</a> controller (but my design was made to work with virtually any rotator) to give me additional futures beyond the sole analogue position feedback of the G-400RC. I wanted the new design to be digital, have integrated PC control, hands off operation (pick your direction and then sit back) and have different modes of operation depending upon current operation style.  I had previously built a rotator PC interface but not a full blown rotator controller, however my original code covered most of what I wanted to do except the LCD hardware and user inputs.  This is a development in progress, since making it I’ve found I use the rotator controller differently to how I envisaged but I’ll cover that at the end.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011090523.54.46.jpg"><img style="display: inline; border-width: 0px;" title="2011-09-05 23.54.46" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011090523.54.46_thumb.jpg" alt="2011-09-05 23.54.46" width="400" height="357" border="0" /></a></p>
<p>I built the rotator controller around the <a href="http://www.picaxeforum.co.uk/showthread.php?12044-Picaxe-20x2" target="_blank">PICAXE-20X2</a> chip which is far the best chip in <a href="http://www.rev-ed.co.uk/" target="_blank">Revolution Educations</a> range and can be used in almost any design.  It supports almost all PICAXE BASIC commands and has 16 hardware inputs/outputs, it also has loads of registers and code space.  After using the PICAXE-20X2 chip on other projects I got my head round some of the advanced commands and my own limitations from when I done my original rotator PC interface on the PICAXE-28X1 chip.</p>
<p>My original premise was to split the rotator controller into modes, mainly to test how I would use each one and after using it I redesigned the code to make it an all in one but the modes were:</p>
<ul>
<li><strong><span style="text-decoration: underline;">Manual</span></strong>; standard control were the buttons change direction LEFT or RIGHT.</li>
</ul>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011081413.38.03.jpg"><img style="display: inline; border-width: 0px;" title="2011-08-14 13.38.03" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011081413.38.03_thumb.jpg" alt="2011-08-14 13.38.03" width="240" height="108" border="0" /></a></p>
<ul>
<li><strong><span style="text-decoration: underline;">Fast</span></strong>; this is like manual but the LEFT and RIGHT buttons move the desired heading faster than the physical rate of rotation and the antenna catches up.</li>
</ul>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011081413.38.09.jpg"><img style="display: inline; border-width: 0px;" title="2011-08-14 13.38.09" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011081413.38.09_thumb.jpg" alt="2011-08-14 13.38.09" width="240" height="104" border="0" /></a></p>
<ul>
<li><strong><span style="text-decoration: underline;">Preset</span></strong>; uses a dial (potentiometer) on the front panel to set a desired heading and the antennas track to that heading.</li>
</ul>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011081413.37.50.jpg"><img style="display: inline; border-width: 0px;" title="2011-08-14 13.37.50" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011081413.37.50_thumb.jpg" alt="2011-08-14 13.37.50" width="240" height="100" border="0" /></a></p>
<ul>
<li><strong><span style="text-decoration: underline;">PC Control</span></strong>, heading feedback to the PC works on all modes but setting the heading only works in Manual mode.  PC control also supports L for LEFT, R for RIGHT and S for STOP – this can be used also to interface to additional non PC [other BXF project] controllers.</li>
</ul>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011090522.55.20.jpg"><img style="display: inline; border-width: 0px;" title="2011-09-05 22.55.20" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011090522.55.20_thumb.jpg" alt="2011-09-05 22.55.20" width="240" height="95" border="0" /></a></p>
<p>The PC protocol is based on <a href="http://gatorradio.org/Manuals/Yaesu_GS-232B_Manual.pdf" target="_blank">Yaesu GS-232</a> and I’ve included support for AZ only (GS-232A) or AZ+EL (GS-232B), in the GS-232B all EL commands are ignored or answered with 0 degrees.</p>
<p>After deciding what I wanted from the new code I set about looking for a suitable rotator controller, or box, to house it into which I found in Friedricshafen in the guise of a KR-400 control box for EUR 30.  It had a nice big south stop analogue meter in it but that didn’t worry me as I planned to use a 4&#215;20 LCD (which I had bought off eBay).  I cheated slightly by using a <a href="http://www.wulfden.org/TheShoppe/k107/k107.shtml" target="_blank">Wulfgang K107</a> LCD interface board (<a href="http://www.tannerelectronics.com/technical_documents/K107-1r2.pdf" target="_blank">tech doc .pdf</a>) to drive the LCD, this was for 2 reasons;</p>
<ol>
<ol>
<li>It allows me to use serial to update the LCD instead of connecting all the parallel pins to the PIC so simplified the design, and</li>
<li>The K107 LCD interface supports large character mode (as seen in the pictures) so allows me to use the full height of the LCD better (easier).</li>
</ol>
</ol>
<p>The final code doesn’t have modes but instead allows any input to move the rotator, I did drop the FAST mode as it was redundant and I didn’t use it much.  The use now is you press LEFT or RIGHT to move in the desired direction, spin the preset to take you to the preset direction or press PARK* to take you to a pre-defined heading.  Pressing LEFT, RIGHT or PARK at any point cancels the current movement and start the new one, so if I set the preset to 200 degrees and pressed PARK (which say was set to 120 degrees) then the rotator would cancel heading to 200 degrees and head to 120 degrees.  The same is for the PC input, any PC input to goto a direction would override any current movement and head to the new heading set by the PC input. The PC can read the antenna direction at any time which does not effect the antenna movement.</p>
<p>* At present there is only one input used as a predefined heading, which I call PARK and have set to 120 degree, Europe from my QTH.  The PICAXE-20X2 has 5 additional spare inputs in this project so it’s more than capable of having extra switches attached to these inputs and assigning them to additional presets in the code.</p>
<h3>Outside The Case</h3>
<p>There was not much modification required to the KR-400 box.  I added an extra button on the front for PARK, originally for changing mode and on the back a 9-way D-type connector which I use for my rotator wiring as it’s much easier to disconnect, also all my other rotators use the same plug so they are all interchangeable. I also added a USB-B port on the back for PC interfacing, internally this goes to a USB&lt;&gt;Serial interface.  Inside is where the main changes are.</p>
<h2></h2>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/RearPanel2.jpg"><img style="display: inline; border-width: 0px;" title="RearPanel" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/RearPanel_thumb2.jpg" alt="RearPanel" width="550" height="337" border="0" /></a></p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/CIMG76272.jpg"><img style="display: inline; margin-left: 0px; margin-right: 0px; border-width: 0px;" title="CIMG7627" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/CIMG7627_thumb2.jpg" alt="CIMG7627" width="215" height="289" border="0" /></a></p>
<h3>Inside The Case</h3>
<p>The original circuit and meter in the box was of little use so the first thing I done was to remove both.  I left the transformer in along with the capacitor over the motor outputs which was also original, after that it was a new PCB with all the required circuitry and that was about it!</p>
<h3><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011071021.04.32.jpg"><img style="display: inline; border-width: 0px;" title="2011-07-10 21.04.32" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011071021.04.32_thumb.jpg" alt="2011-07-10 21.04.32" width="182" height="242" border="0" /></a> <a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011071614.31.56.jpg"><img style="display: inline; border-width: 0px;" title="2011-07-16 14.31.56" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011071614.31.56_thumb.jpg" alt="2011-07-16 14.31.56" width="182" height="242" border="0" /></a> <a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011071615.40.32.jpg"><img style="display: inline; border-width: 0px;" title="2011-07-16 15.40.32" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011071615.40.32_thumb.jpg" alt="2011-07-16 15.40.32" width="182" height="242" border="0" /></a></h3>
<h3><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011071522.24.44.jpg"><img style="display: inline; border-width: 0px;" title="2011-07-15 22.24.44" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011071522.24.44_thumb.jpg" alt="2011-07-15 22.24.44" width="242" height="182" border="0" /></a>  <a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011071518.01.56.jpg"><img style="display: inline; border-width: 0px;" title="2011-07-15 18.01.56" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011071518.01.56_thumb.jpg" alt="2011-07-15 18.01.56" width="242" height="182" border="0" /></a></h3>
<h3>Calibration</h3>
<p>The rotator controller needs calibrated.  This is done in a simple way by either powering on the rotator controller holding the PARK button or if the MINOffset or DirCorrect EEPROM values are 0 (no values stored in EEPROM would be the case after programming). When in calibration mode the user is presented with step by step text based commands on the LCD to follow for calibration.  You only need to do the calibration once after which MINOffset and DirCorrect values are stored on EEPROM and recalled on each power up.</p>
<p>The steps for calibration require the rotator to be moved fully LEFT (CCW) to 0 degrees (north) so the feedback pot in the bell housing reports its minimum value (MINOffset).</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011090521.41.521.jpg"><img style="display: inline; border-width: 0px;" title="2011-09-05 21.41.52" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011090521.41.52_thumb1.jpg" alt="2011-09-05 21.41.52" width="240" height="105" border="0" /></a></p>
<p>Pressing the PARK button saves this ADC value in EEPROM (MINOffset) which is then subtracted from ADC reads in the main code.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011090521.43.121.jpg"><img style="display: inline; border-width: 0px;" title="2011-09-05 21.43.12" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011090521.43.12_thumb1.jpg" alt="2011-09-05 21.43.12" width="240" height="103" border="0" /></a></p>
<p>We then go RIGHT to 360 degrees (north) and save this ADC value (DirCorrect) which is used for the correction factor.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011090521.45.181.jpg"><img style="display: inline; border-width: 0px;" title="2011-09-05 21.45.18" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011090521.45.18_thumb1.jpg" alt="2011-09-05 21.45.18" width="240" height="105" border="0" /></a></p>
<p>The ADC value is again saved in EEPROM when the PARK button is pressed.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011090521.45.481.jpg"><img style="display: inline; border-width: 0px;" title="2011-09-05 21.45.48" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011090521.45.48_thumb1.jpg" alt="2011-09-05 21.45.48" width="240" height="100" border="0" /></a></p>
<p>Let me explain using my values.  On my rotator 0 degrees (north) returns an ADC value of 22, this ADC value is subtracted from all other ADC reads in the code, the reason is 22 is 0 degrees so an ADC value of 32 would be 10 degrees (it’s not quite that linear but you get the idea).  We then goto 360 degree (north) which in my case is ADC 953.  ADC 953 is actually not yet right as we need to subtract the MINOffset value for the correct ADC for 0 to 360, we then need to convert to a correction factor.</p>
<p>To get the most accurate heading I sample the ADC value in the code 64 times.  I use 64 [times] as this then fills a 16 bit register when sampling the ADC at 10 bits without the chance of it overflowing.  The maximum ADC value at 10 bits is 1024 so 1024 * 64 = 65636.</p>
<p>As my max ADC value is 953 (remember my minimum value of 22) I need to subtracted this off so the real ADC value is 953 – MINOffset or 931.  It’s the value of 931 which is loaded into the register 64 times meaning the register value is stored as 931 * 64 = 59584.  I then divide this by 360 to get the correction factor. 59584/360 = 165.5.  In PIC code we can only divide by full numbers so I take into account if the decimal is greater than 0.5 and if so I add a number to the correction factor to make it closer to the real value, if my result was 165.4 I would then use 165 but as it is 165.5 I instead use 166.</p>
<p>This means if I have an ADC value from the rotator of 546, I first subtract 22 (MINOffset) from it, leaving me with 524 which is sampled 64 times giving a register value of 33536 (in reality the ADC value of 546 could vary slightly on each of the 64 reads, one of the reason we average so many).  I then divide 33536 by 166 (DirCorrect) and I get a heading of 202 degrees.</p>
<p>Did you follow?</p>
<h3>Schematic</h3>
<p><a href="http://www.geekshed.co.uk/code/rotator/BXF_AZ_Rotator_Controller_v0.1.sch" target="_blank">Download the schematic</a> (uses <a href="http://www.expresspcb.com/expresspcbhtm/Free_schematic_software.htm" target="_blank">ExpressSCH</a>)</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/BXF_AZ_Rotator_Controller_v0.1.png"><img style="display: inline; border-width: 0px;" title="BXF_AZ_Rotator_Controller_v0.1" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/BXF_AZ_Rotator_Controller_v0.1_thumb.png" alt="BXF_AZ_Rotator_Controller_v0.1" width="502" height="346" border="0" /></a></p>
<h3>Pictures</h3>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/CIMG7627.jpg"><img style="display: inline; border-width: 0px;" title="CIMG7627" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/CIMG7627_thumb.jpg" alt="CIMG7627" width="182" height="242" border="0" /></a> <a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/CIMG7624.jpg"><img style="display: inline; border-width: 0px;" title="CIMG7624" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/CIMG7624_thumb.jpg" alt="CIMG7624" width="182" height="242" border="0" /></a> <a href="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011071615.37.06.jpg"><img style="display: inline; border-width: 0px;" title="2011-07-16 15.37.06" src="http://www.geekshed.co.uk/wp-content/uploads/2011/09/2011071615.37.06_thumb.jpg" alt="2011-07-16 15.37.06" width="182" height="242" border="0" /></a></p>
<h3>Code</h3>
<p><a href="http://www.geekshed.co.uk/code/rotator/BXF_Rotator_Interface_v2.0_010911.txt">Download the code</a></p>
<h3>Old Design (PICAXE-28X1)</h3>
<p>A long time back I decided I wanted PC control of my antennas, mainly for point and shoot, click on a heading in some PC software and start CQ’ing so that I wouldn’t have to think both about calling and antenna direction.  For this I ordered an <a href="http://www.g6lvb.com/Articles/LVBTracker/" target="_blank">LVB Tracker</a> from <a href="http://www.uk.amsat.org/" target="_blank">AMSAT UK</a> but before it arrived I thought I’d have a go at making one myself using PICAXE, it worked but it was crude!</p>
<p>I have a Yaesu G-400RC rotator which is the one with a round controller for the display and uses a comparator circuit to ‘match’ the heading of the controller display with that of the rotator itself, the problem is the comparator swings from –15v to +15v and is non-linear.  This meant interfacing to a PIC chip was possible (using an opamp) but as the voltage was non-linear it would not work so well.</p>
<p>My first attempt was using a PICAXE-28X1 chip which as good as a design it was I didn’t know PICAXE programming as much back then so didn’t fully utilise the chip, or code.  Instead of using the hardware serial (hserin) inputs, which allows serial reception in the background while the code executes, I used the normal ones and had to set a serial buffer timeout which would expire if no serial data was received, during this time all the code execution stopped.  Also due to my lack of familiarity of PICAXE code back then the code wasn’t really optimised, an example was lack of subroutines (Gosub) meaning there was lots of code repeated.  There was no calibration routine so working out the actual heading was left to the user to calculate and enter the correction values, for the ADC value, direct into the code. I’ve not reproduced the code here as it’s in my mind redundant and outdated.  But some of it was salvaged for this project.  What I did end up doing though was to take some of the ideas and features from this code and turned it into my <a href="http://www.geekshed.co.uk/lvb-tracker-extender/" target="_blank">LVB Extender design</a>, an add-on for the <a href="http://www.g6lvb.com/Articles/LVBTracker/" target="_blank">LVB Tracker</a>, which could send serial commands to the LVB Tracker giving added extra features and automation to rotator system without the need for a PC. </p>
<div class="plus-one-wrap"><g:plusone href="http://www.geekshed.co.uk/bxf-azimuth-rotator-controller/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.geekshed.co.uk/bxf-azimuth-rotator-controller/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>PICAXE-18M &amp; MXD2125 Based Elevation Module</title>
		<link>http://www.geekshed.co.uk/picaxe-18m-mxd2125-based-elevation-module/</link>
		<comments>http://www.geekshed.co.uk/picaxe-18m-mxd2125-based-elevation-module/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 21:43:36 +0000</pubDate>
		<dc:creator>m1bxf</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[PICAXE-18M]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://www.geekshed.co.uk/picaxe-18m-mxd2125-based-elevation-module/</guid>
		<description><![CDATA[One of the aspects of amateur radio I enjoy is EME.&#160; When I was active on 2m (144MHz) EME I built my own elevation system using a jack-arm but I then needed a way to feedback the angle.&#160; I tried many ways in the past such as potentiometers then Sam G4DDK introduced me to the MXD2125 dual axis accelerometer device. &#160; This can be used, along with gravity, to measure tilt, the angle vs down.&#160; Comparing both X &#38; Y axis outputs the resolution can [...]]]></description>
			<content:encoded><![CDATA[<p>One of the aspects of amateur radio I enjoy is EME.&#160; When I was active on 2m (144MHz) EME I built my own elevation system using a jack-arm but I then needed a way to feedback the angle.&#160; I tried many ways in the past such as potentiometers then <a href="http://www.g4ddk.com/" target="_blank">Sam G4DDK</a> introduced me to the <a href="http://search.alkon.net/cgi-bin/pdf.pl?pdfname=memsic/mxd2125gl.pdf">MXD2125</a> dual axis accelerometer device.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/Elevation_PCB_Bottom_Arrow.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Elevation_PCB_Bottom_Arrow" border="0" alt="Elevation_PCB_Bottom_Arrow" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/Elevation_PCB_Bottom_Arrow_thumb.jpg" width="280" height="162" /></a>&#160; <a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/Elevation_PCB_Top1.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Elevation_PCB_Top" border="0" alt="Elevation_PCB_Top" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/Elevation_PCB_Top_thumb1.jpg" width="295" height="162" /></a></p>
<p>This can be used, along with gravity, to measure tilt, the angle vs down.&#160; Comparing both X &amp; Y axis outputs the resolution can be very small, smaller than is required.&#160; Up until now the way I got the angle back was from one of the axis digital outputs by converting it to an analogue voltage by using an RC circuit which my elevation controller could work with, but not very well.&#160; The main problem is the analogue voltage is not pure DC and I have in the past observed inaccurate readings and sometimes it just fails to work, but this maybe wiring also.&#160; To cure this headache I set out to make the system as fully digital as possible so I decided to measure the digital pulses from both X and Y axis’s directly with the PICAXE-18M and then either convert that to a voltage with a DAC/digital pot or send it to the shack by serial and process it there by either re-designing the elevation controller to work with serial feedback or converting the serial to analogue there.</p>
<p>When I searched for info on this idea I came across a webpage by Frederic, F1OAT who has already used a <a href="http://194.201.138.187/epages/Store.storefront/?ObjectPath=/Shops/Store.TechSupplies/Products/AXE007">PICAXE-08M</a> with an <a href="http://search.alkon.net/cgi-bin/pdf.pl?pdfname=memsic/mxd2125gl.pdf">MXD2125</a> &#8211; info about his circuit is <a href="http://j79di.blogspot.com/2006_10_01_archive.html">here</a> and at the bottom of this page <a href="http://j79di.blogspot.com/2006_11_01_archive.html">here</a>.&#160; I also came access some code which uses a <a href="http://194.201.138.187/epages/Store.storefront/?ObjectPath=/Shops/Store.TechSupplies/Products/AXE015X">PICAXE-18M</a> to control a Maxim <a href="http://pdfserv.maxim-ic.com/en/ds/DS1803.pdf">DS1803 </a>digital potover I2C, which I have some samples of, so in the end my solution uses that. I built a test circuit using a <a href="http://194.201.138.187/epages/Store.storefront/?ObjectPath=/Shops/Store.TechSupplies/Products/AXE007">PICAXE-08M</a> and with the help of Frederics code proved I could get it all to work.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/Elevation_Scematic_v2.0.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Elevation_Scematic_v2.0" border="0" alt="Elevation_Scematic_v2.0" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/Elevation_Scematic_v2.0_thumb.png" width="582" height="439" /></a></p>
<p>The finished project uses a MXD2125, a PICAXE-18M, and a DS1803 and provides a fully &#8216;digital&#8217; means of reporting the angle by converting it to a voltage.&#160; I found at 0 degrees I get a voltage of ~0.2v and at 90 degrees ~4.3v out of the DS1803 which is about 0.045v per degree.&#160; The digital pot has a resolution of 0.0195v per bit when fed from 5v.&#160; No calibration is needed at the sensor end, only as much &#8216;swing&#8217; as possible between 0 degrees and 90 degrees. As the output is linear the <a href="http://www.g6lvb.com/Articles/LVBTracker/">LVB Tracker </a>is calibrated for 0 degree voltage and 90 degrees voltage and so knows what the angle is based on these to stored values, being digital it shouldn&#8217;t drift over time, something I think is happening with the RC circuit&#8230;</p>
<h2>Code:</h2>
<pre><textarea style="width: 580px; height: 250px"> ' 'The code relating to MXD2125 is 'taken from example code by F1OAT (frible@teaser.fr) Nov 2006. Symbol pin_x = 7 ; pin #5 &lt;= MXD2125 X output Symbol pin_y = 0 ; pin #3 &lt;= MXD2125 Y output ' CORDIC section variables definition Symbol x = w2 Symbol y = w3 Symbol ang = w4 Symbol ang_l = b8 Symbol ang_h = b9 Symbol dx = w5 Symbol dy = w6 Symbol i = b0 Symbol d = b1 Symbol neg = b2 Symbol tmp = b3 'The code relating to I2C or DS1803 is 'taken from example code by Peter H. Anderson, Elmore, VT, Aug, '04. ' Define IO Terminals Symbol SCL = 0 Symbol SDAIn = Pin1 Symbol SDAOut = 1 Symbol DevAdr = B0 Symbol PotNum = B1 Symbol PotSetting0 = B2 Symbol PotSetting1 = B3 ' Used in I2C Routines Symbol OByte = B4 Symbol IByte = B4 Symbol Ack = B5 Symbol N = B6 Symbol MSBit = B7 setfreq m8 ' increases the sample rate START: p_cordic: ; CORDIC section to guage the XY values (i.e. angle) x = 0 dx = 0 y = 0 dy = 0 ; Cumulate several pulses measurement to enhance accuracy for i=1 to 16 pulsin pin_x,1,ang ; high level pulse duration x = x + ang pulsin pin_x,0,ang ; low level pulse duration dx = dx + ang pulsin pin_y,1,ang ; high level pulse duration y = y + ang pulsin pin_y,0,ang ; low level pulse duration dy = dy + ang next i neg = 0 ; Put vector in proper 90° quadrant if x &gt;= dx then qx1 x = dx - x ang = 2048 ; 180° neg = 1 - neg goto qx2 qx1: x = x - dx ang = 4096 ; 360° qx2: if y &gt;= dy then qy1 y = dy - y neg = 1 - neg goto qy2 qy1: y = y - dy qy2: d = 1 ; CORDIC iterations for i=0 to 9 if y &lt;= 32767 then pos y = 65535 - y neg = 1-neg pos: dx = x / d dy = y / d x = x + dy y = y - dx lookup i, (512,302,159,81,40,20,10,5,2,1), dx ; ATAN table for ang_premult=1024/90 if neg=1 then sub ang = ang + dx goto nextstep sub: ang = ang - dx nextstep: d = d*2 next i 'convert the angle to a value which can be used by the I2C routine. 'In this case it coverts it to numbers close to 0-255 for 0-90 degrees 'which makes it suitable to write this direct to the DS1803 ang = ang - 1965 ang = ang * 2 ang = ang / 10 Top: DevAdr = 0 'debug ang PotNum = 0 PotSetting0 = ang 'write angle to Pot0. 'PotSetting0 = 255 GoSub DS1803WritePot ' PotNum = 1 'Un-comment this code if you wish to use Pot1. 'PotSetting1 = 64 'Gosub DS1803WritePot 'Gosub DS1803ReadPots 'SerTxD (#PotSetting0, &quot; &quot;, #PotSetting1, 13, 10) 'debug PotSetting0 goto start DS1803WritePot: Branch PotNum, (WritePot0, WritePot1) WritePot0: Gosub I2CStart OByte = 2 * DevAdr + $50 Gosub I2COutByte OByte = $A9 GoSub I2COutByte OByte = PotSetting0 GoSub I2COutByte Gosub I2CStop Goto DS1803WritePotDone WritePot1: Gosub I2CStart OByte = 2 * DevAdr + $50 Gosub I2COutByte OByte = $AA GoSub I2COutByte OByte = PotSetting1 GoSub I2COutByte Gosub I2CStop Goto DS1803WritePotDone DS1803WritePotDone: Return DS1803ReadPots: Gosub I2CStart OByte = 2 * DevAdr + $51 Gosub I2COutByte Ack = 1 ' master is to ACK after receipt of byte Gosub I2CInByte PotSetting0 = IByte Ack = 0 ' no ACK as this is the last byte prior to the stop Gosub I2CInByte PotSetting1 = IByte Return I2CStart: High SDAOut High SCL Low SDAOut ' bring SDA low while SCL is high Low SCL Return I2CStop: High SCL High SDAOut ' bring SDA high while SCL is high Return I2COutByte: For N = 1 to 8 ' for eight bits MSBit = OByte / 128 ' beginning with the MSB If MSBit = 1 Then I2COutByte_1 ' most sig bit Low SDAOut GoTo I2COutByte_2 I2COutByte_1: High SDAOut I2COutByte_2: High SCL Low SCL OByte = OByte * 2 ' shift byte such that next bit is in most sig bit position Next High SDAOut ' null clock pulse to allow for slave to acknowledge High SCL Low SCL Low SDAOut Return I2CInByte: ' receives a byte, most sig byte first. ' result returned in I_BYTE High SDAOut For N=1 to 8 ' for eight bits High SCL IByte = IByte * 2 + SDAIn Low SCL Next Branch Ack, (NoAck, YesAck) NoAck: High SDAOut ' high Z on 9th clock pulse Goto I2CInByte1 YesAck: Low SDAOut ' logic zero on 9th clock pulse I2CInByte1: High SCL Low SCL Low SDAOut Return </textarea></pre>
<h2>Images:</h2>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/MXD2125_Elevation_Mounted.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="MXD2125_Elevation_Mounted" border="0" alt="MXD2125_Elevation_Mounted" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/MXD2125_Elevation_Mounted_thumb.jpg" width="282" height="212" /></a> <a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/MXD2125_Elevation_Mounting_Info.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="MXD2125_Elevation_Mounting_Info" border="0" alt="MXD2125_Elevation_Mounting_Info" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/MXD2125_Elevation_Mounting_Info_thumb.jpg" width="282" height="212" /></a></p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/MXD2125_Elevation_Boxed.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="MXD2125_Elevation_Boxed" border="0" alt="MXD2125_Elevation_Boxed" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/MXD2125_Elevation_Boxed_thumb.jpg" width="282" height="212" /></a> <a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/MXD2125_Elevation_Closed.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="MXD2125_Elevation_Closed" border="0" alt="MXD2125_Elevation_Closed" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/MXD2125_Elevation_Closed_thumb.jpg" width="282" height="212" /></a></p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/Elevation_PCB_Bottom3.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Elevation_PCB_Bottom" border="0" alt="Elevation_PCB_Bottom" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/Elevation_PCB_Bottom_thumb3.jpg" width="284" height="164" /></a>&#160;<a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/Elevation_PCB_Top_Boxed1.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Elevation_PCB_Top_(Boxed)" border="0" alt="Elevation_PCB_Top_(Boxed)" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/Elevation_PCB_Top_Boxed_thumb1.jpg" width="281" height="164" /></a></p>
<p>&#160;</p>
<h2>Revision:</h2>
<p>240711 – Project posted to web.</p>

<div class="plus-one-wrap"><g:plusone href="http://www.geekshed.co.uk/picaxe-18m-mxd2125-based-elevation-module/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.geekshed.co.uk/picaxe-18m-mxd2125-based-elevation-module/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>LVB [Tracker] Extender</title>
		<link>http://www.geekshed.co.uk/lvb-tracker-extender/</link>
		<comments>http://www.geekshed.co.uk/lvb-tracker-extender/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 21:16:01 +0000</pubDate>
		<dc:creator>m1bxf</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[PICAXE-28X1]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://www.geekshed.co.uk/lvb-tracker-extender/</guid>
		<description><![CDATA[I started using an LVB Tracker by G6LVB (also of FunCube Dongle fame) to control my Yeasu G400RC and KR-5400 rotators which have my directional antennas on them – The G400RC + homebrew jack-arm elevation was mainly for EME and the KR5400 was for satellite work.  I had to built an elevation feedback circuit, I chose a MXD5125 for this but I found I still lacked some of the features of more advanced rotators and with the LVB Tracker being controlled by serial using the [...]]]></description>
			<content:encoded><![CDATA[<p>I started using an <a href="http://www.g6lvb.com/Articles/LVBTracker/index.htm">LVB Tracker </a>by G6LVB (also of <a href="http://www.funcubedongle.com/" target="_blank">FunCube Dongle</a> fame) to control my Yeasu G400RC and KR-5400 rotators which have my directional antennas on them – The G400RC + homebrew jack-arm elevation was mainly for EME and the KR5400 was for satellite work.  I had to built an <a href="http://www.geekshed.co.uk/picaxe-18m-mxd2125-based-elevation-module/" target="_blank">elevation feedback </a>circuit, I chose a MXD5125 for this but I found I still lacked some of the features of more advanced rotators and with the LVB Tracker being controlled by serial using the GS-232 protocol I found this would be easy to remedy using a PIC.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/LVB_Extender_v2.png"><img style="display: inline; border-width: 0px;" title="LVB_Extender_v2" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/LVB_Extender_v2_thumb.png" alt="LVB_Extender_v2" width="582" height="439" border="0" /></a></p>
<p>The main features I wanted to add were the ability to input a wanted heading and then leave the rotator to goto that heading instead of having to hold any button down as the rotator can be slow and my attention span is short.  I wanted to have a button for &#8216;park&#8217; to put the antenna in it’s ‘resting’ direction and an easy way to just rotate 45 degrees or 180 degrees (flip) at a time, I also added a button to toggle a relay which was used to switch the satellite antennas from RH to LH circular polarization and back again.</p>
<p>This shows how I interfaced the LVB extender (in yellow) with the LVB Tracker (in blue)&#8230;</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/LVB_Extender_BlockDiagram.png"><img style="display: inline; border-width: 0px;" title="LVB_Extender_BlockDiagram" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/LVB_Extender_BlockDiagram_thumb.png" alt="LVB_Extender_BlockDiagram" width="582" height="227" border="0" /></a></p>
<p>In the end I used a <a href="http://194.201.138.187/epages/Store.storefront/?ObjectPath=/Shops/Store.TechSupplies/Products/AXE010X1">PICAXE-28X1 </a>chip as I needed a bit of program memory and lots of input pins.  The input buttons consist of UP, DOWN, CW &amp; CCW plus LH/RH, Park, +45 degrees and +180 degrees.  The serial from both the LVB Tracker PIC and PICAXE-28X1 are TTL so I connected the serial to the LVB Tracker between the PIC and the MAX232 chip used for RS-232 level conversion.</p>
<p>Whenever UP, DOWN, CW, CCW, +45 degrees or +180 degrees button are pressed the first thing my LVB Extender has to do is read the current positions using the GS-232 &#8220;C2&#8243; command which prompt the LVB Tracker to output both current azimuth and elevation positions which I read and store. From these positions the code works out what needs done with them.  If it is UP, DOWN, CW or CCW then it runs a loop to increment or decrement the original position for the duration of the button being pressed with increasing speed over time.  It writes the value back to the LVB Tracker on every loop.  If the +45 degree or +180 degree buttons are pressed the LVB Extender again reads the current positions using a &#8220;C2&#8243; command and either adds 45 degrees or 180 degrees to the value and writes it back to the LVB Extender ensuring the write command has the originally read elevation value to this is not effected.  The Park button sends a stored position, from my old QTH in JO02ab the best heading for me was 127 degrees azimuth and 0 degrees elevation (best for monitoring 144.300 into Europe).  The Park heading is programmable only in the code, I made no provision to set it on the fly, main because I didn’t know how when I created this, I do now and will add it if requested.</p>
<p>The LH/RH button only toggles a relay to switch a voltage to the antennas.  If azimuth value reaches 360 degrees the code converts it to 0 degrees and if it reaches 0 degrees it converts to 360, both are able to be set if you like to go over the limits a little.  On elevation the counting is limited to between 0 and 90 degrees.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/LVB_Extender_AND_LVB_Tracker.jpg"><img style="display: inline; border-width: 0px;" title="LVB_Extender_AND_LVB_Tracker" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/LVB_Extender_AND_LVB_Tracker_thumb.jpg" alt="LVB_Extender_AND_LVB_Tracker" width="282" height="212" border="0" /></a> <a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/LVB_Extender_Buttons.jpg"><img style="display: inline; border-width: 0px;" title="LVB_Extender_Buttons" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/LVB_Extender_Buttons_thumb.jpg" alt="LVB_Extender_Buttons" width="282" height="212" border="0" /></a></p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/LVB_Extender_Fitted.jpg"><img style="display: inline; border-width: 0px;" title="LVB_Extender_Fitted" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/LVB_Extender_Fitted_thumb.jpg" alt="LVB_Extender_Fitted" width="282" height="212" border="0" /></a> <a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/LVB_Extender_Boxed.jpg"><img style="display: inline; border-width: 0px;" title="LVB_Extender_Boxed" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/LVB_Extender_Boxed_thumb.jpg" alt="LVB_Extender_Boxed" width="282" height="212" border="0" /></a></p>
<h2>Code:</h2>
<pre><textarea style="width: 580px; height: 250px;">'Very few comments in this code, it's old and moldy... 'This code is used to extent the use of the LVB tracker http://www.g6lvb.com/Articles/LVBTracker/ 'an azimuth and elevation controller now available from AMSAT. There is lots of information 'available on the web about this unit. The extended features are to allow press and hold of the 'manual controls to the desired azimuth or elevation and adding presets and 180 degree swap. 'Definitions here: 'INPUTS &gt; 76543210 'Usage Logic HW Dec 'Serial in from LVB In7 18 256 'Park In7 18 256 'North In6 17 64 '180 deg switch In5 16 32 'RH/LH Porolization In4 15 16 'CCW In3 14 8 'CW In2 13 4 'Down In1 12 2 'Up In0 11 1 'OUTPUTS 'Usage Logic HW 'CCW signal to LVB Out0 21 'CW signal to LVB Out1 22 'Down signal to LVB Out2 23 'Up signal to LVB Out3 24 'UNUSED Out4 25 'LHC LED Out5 26 'RH/LH control + RH LED Out6 27 'Serial out to LVB Out7 28 'Registers 'W11 = Azimuth Value (Decimal) 'W12 = Elevation Value (Decimal) 'W13 = Counter 'B9 = Delay Value 'B1&gt;B4 = Azimuth 'B6&gt;B9 = Elevation 'B10 = RESERVED 'B11 = 45 degree count (segment) 'B12 = Release Counter 'B13 = loop 'State constance - SYMBOLS are globals and makes changes easier in the future. SYMBOL park_azi = 0127 SYMBOL park_ele = 0000 SYMBOL north_azi = 0000 SYMBOL north_ele = 0000 SYMBOL delay = B11 SYMBOL segment = B12 SYMBOL amount = B13 SYMBOL Azu_val = W11 SYMBOL Ele_val = W12 SYMBOL fast = 40 'Delay after holding switched down. SYMBOL slow = 150 'Original delay SYMBOL Release = W13 'Define Inputs SYMBOL CCW_Val = %11110111 SYMBOL CW_Val = %11111011 SYMBOL Down_Val = %11111101 SYMBOL Up_Val = %11111110 SYMBOL Park_Val = %01111111 SYMBOL North_Val = %10111111 SYMBOL Sw_45_Val = %11011111 SYMBOL RHLH_Val = %11101111 'Do all power-up settings here: Set: high 6 'Sets the LHC LED on. low 1 low 2 low 3 low 4 delay = slow 'setfreq m8 Pause 2000 gosub lvb_read gosub lvb_write_azi Start: Release = 1000 Start_1: if Release = 0 then else dec Release endif If PINS = North_Val then goto north If PINS = Park_Val then goto park If PINS = RHLH_Val then goto switchpol If PINS &lt;&gt; %11111111 then goto PINCHECK 'Reset anything that has changed back to defualt states. low 1 low 2 low 3 low 4 delay = slow goto start_1 'Add this line here so it's the last state to check. This means when the up/down/left/right buttons are release 'the pins are set low again. PINCHECK: If Release = 0 then gosub lvb_read else endif If PINS = CW_Val then goto CW If PINS = CCW_Val then goto CCW If PINS = Up_Val then goto up If PINS = Down_Val then goto down If PINS = Sw_45_Val then goto switch45 goto start CCW: high 0 'debug Azu_val for amount = 0 to 20 If PINS=%11111111 then goto start if Azu_val =&lt; 0 then Azu_val = 359 else endif Dec Azu_val gosub lvb_write_azi pause delay next delay = fast goto CCW CW: high 1 'debug Azu_val for amount = 0 to 20 If PINS=%11111111 then goto start if Azu_val =&gt; 360 then Azu_Val = 0 else endif Inc Azu_val gosub lvb_write_azi pause delay next delay = fast goto CW Down: high 2 for amount = 0 to 10 'debug Ele_val If PINS=%11111111 then goto start Dec Ele_val if Ele_val =&lt; 0 then goto down if Ele_val &gt; 200 then Ele_val = 0 else endif gosub lvb_write pause delay next delay = fast goto down Up: high 3 for amount = 0 to 10 'debug Ele_val If PINS=%11111111 then goto start Inc Ele_val if Ele_val =&gt; 90 then goto up gosub lvb_write pause delay next delay = fast goto up Switch45: gosub lvb_read if B0 = "-" then Azu_val = 360 - Azu_Val else endif Segment=Azu_val/45 Segment=Segment+1 Azu_val=Segment*45 If Azu_val &gt; 360 then Azu_val=Azu_val-360 else endif gosub lvb_write_azi pause 300 for amount = 0 to 10 If PINS=%11111111 then goto start inc Segment Azu_val=Segment*45 If Azu_val =&gt; 360 then Azu_val=Azu_val-360 else endif gosub lvb_write_azi pause 400 Next amount goto start North: if B0 = "-" then Azu_val = 360 - Azu_Val else endif Azu_val = Azu_val + 180 if Azu_val =&gt; 360 then Azu_val = Azu_val - 360 else endif gosub lvb_write_azi pause 300 'if B0 = "-" then 'Azu_val = 360 - Azu_Val 'else 'endif 'Segment=Azu_val/180 'for amount = 0 to 1 ' If PINS=%11111111 then goto start ' pause delay ' inc Segment ' Azu_val=Segment*180 ' If Azu_val =&gt; 360 then ' Azu_val=Azu_val-360 ' else ' endif 'gosub lvb_write_azi 'Next amount goto start Park: Azu_val = park_azi Ele_val = park_ele gosub lvb_write goto start switchpol: toggle 5 'Swap the state of PIN 5 (RH/LH control + RH LED) toggle 6 'Swap the state of PIN 4 (LHC LED) pause 200 goto start lvb_write_azi: 'Convert Azimuth into hundreds, tens and units. B2=Azu_val/100 Azu_val=Azu_val//100 B3=Azu_val/10 Azu_val=Azu_val//10 B4=Azu_val 'debug b2 'debug b3 'debug b4 'debug b7 'debug b8 'debug b9 setfreq m8 serout 7,N9600_8,("W",#B2,#B3,#B4,13) setfreq m4 'Re-calculate current azimuth due to dividing it. Azu_val=b2*100 b3=b3*10 Azu_val=Azu_val+b3 Azu_val=Azu_val+b4 return lvb_write: 'Convert Azimuth into hundreds, tens and units. B2=Azu_val/100 Azu_val=Azu_val//100 B3=Azu_val/10 Azu_val=Azu_val//10 B4=Azu_val 'Convert elevation into hundreds, tens and units. B7=0 B8=Ele_val/10 Ele_val=Ele_val//10 B9=Ele_val 'debug b2 'debug b3 'debug b4 'debug b7 'debug b8 'debug b9 setfreq m8 serout 7,N9600_8,("W",#B2,#B3,#B4," ",#B7,#B8,#B9,13) setfreq m4 'Re-calculate current azimuth due to dividing it. Azu_val=b2*100 b3=b3*10 Azu_val=Azu_val+b3 Azu_val=Azu_val+b4 'Re-calculate current elevation due to dividing it. Ele_val=b7*100 b8=b8*10 Ele_val=Ele_val+b8 Ele_val=Ele_val+b9 return lvb_read: setfreq m8 serout 7,N9600_8,("C2",13) 'C2 requests current azimuth and eleavtion from LVB. serin 7,T9600_8,B0,B1,B2,B3,B4,B5,B6,B7,B8,B9,B10 'Store the response in to B0&gt;B9 registers. 'serin 7,T9600_8,B0,B1,B2,B3,B4,B5 setfreq m4 ' for some reason all numbers appears to be $70 too large! subtract $70 from all numbers b2=b2-$30 b3=b3-$30 b3=b3*10 b4=b4-$30 B7=B7-$30 B8=B8-$30 B8=B8*10 B9=B9-$30 'debug b2 'debug b3 'debug b4 'debug b7 'debug b8 'debug b9 'calculate current azimuth into decimal Azu_val=B2 * 100 Azu_val=Azu_val + B3 Azu_val=Azu_val + B4 'calculate current elevation into decimal Ele_val=B7 * 100 Ele_val=Ele_val + B8 Ele_val=Ele_val + B9 return goto Start </textarea></pre>
<p>&nbsp;</p>
<h2>Revision:</h2>
<p>240711 – Project posted to web. </p>
<div class="plus-one-wrap"><g:plusone href="http://www.geekshed.co.uk/lvb-tracker-extender/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.geekshed.co.uk/lvb-tracker-extender/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Icom (CI-V or band Data) to Yaesu BCD Band Data Converter</title>
		<link>http://www.geekshed.co.uk/icom-ci-v-or-band-data-to-yaesu-bcd-band-data-converter/</link>
		<comments>http://www.geekshed.co.uk/icom-ci-v-or-band-data-to-yaesu-bcd-band-data-converter/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 13:05:00 +0000</pubDate>
		<dc:creator>m1bxf</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[PICAXE-20X2]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://www.geekshed.co.uk/icom-ci-v-or-band-data-to-yaesu-bcd-band-data-converter/</guid>
		<description><![CDATA[After the 2011 Camb-Hams DX’Pedition to Arran and using the Discovery 64 on 6m and making some good contacts on it I decided to bite the bullet and go buy a decent 6m Amplifier. I have been thinking of getting an amplifier for HF and 6m for a while but didn’t want to have 2 extra amplifiers in the shack, one for HF and one for 6m (50MHz).  There are a few options about for a combined HF + 6m amplifier and luckily a Yaesu [...]]]></description>
			<content:encoded><![CDATA[<p>After the 2011 Camb-Hams <a href="http://dx.camb-hams.com/dx-peditions/arran-dxpedition-11/arran-2011-diary/" target="_blank">DX’Pedition to Arran</a> and using the Discovery 64 on 6m and making some good contacts on it I decided to <a href="http://www.phrases.org.uk/meanings/bite-the-bullet.html" target="_blank">bite the bullet</a> and go buy a decent 6m Amplifier.</p>
<p>I have been thinking of getting an amplifier for HF and 6m for a while but didn’t want to have 2 extra amplifiers in the shack, one for HF and one for 6m (50MHz).  There are a few options about for a combined HF + 6m amplifier and luckily a <a href="http://www.yaesu.com/indexvs.cfm?cmd=DisplayProducts&amp;ProdCatID=102&amp;encProdID=261A83CAF673084AAC58C6801013F76F&amp;DivisionID=65&amp;isArchived=0" target="_blank">Yaesu VL-1000 Quadra</a> (1KW HF and 500w on 6m) recently came available second hand at <a href="http://hamradio.co.uk/" target="_blank">Martin Lynch and Sons</a> so while standing out in the single spot in the garden at the Arran DX site where I could get decent and reliable Vodafone coverage I gave them a call, agreed a price and had it shipped, bullseye!</p>
<p>The Quadra needs to switch bands for bandpass switching which can be achieved by sniffing RF from the exciter or via Yeasu’s 4 bit Band Data interface which most Yaesu radios support.  However my exciter is an Icom IC-756pro3 and Icom do external band switching by varying a voltage on a single pin between 0v and 8v depending upon the band selected (note WARC bands are not individually identified), I could also use the CI-V frequency data (with CI-V Transceive set to ON):</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/05/image1.png"><img style="display: inline; border-width: 0px;" title="image" src="http://www.geekshed.co.uk/wp-content/uploads/2011/05/image_thumb1.png" alt="image" width="584" height="174" border="0" /></a></p>
<p><span style="font-size: xx-small;">L = Low / 0v, </span><span style="font-size: xx-small;">H = High / 5v</span></p>
<h3>The Project</h3>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/06/CIVtoYaesuBandData_v1.1.png" target="_blank"><img style="display: inline; border-width: 0px;" title="CI-V to Yaesu Band Data_v1.1" src="http://www.geekshed.co.uk/wp-content/uploads/2011/06/CIVtoYaesuBandData_v1.1_thumb.png" alt="CI-V to Yaesu Band Data_v1.1" width="264" height="182" border="0" /></a> <a href="http://www.geekshed.co.uk/wp-content/uploads/2011/06/IcomtoYaesuBandData_PCB_v1.0.jpg" target="_blank"><img style="display: inline; border-width: 0px;" title="Icom to Yaesu Band Data_PCB_v1.0" src="http://www.geekshed.co.uk/wp-content/uploads/2011/06/IcomtoYaesuBandData_PCB_v1.0_thumb.jpg" alt="Icom to Yaesu Band Data_PCB_v1.0" width="240" height="182" border="0" /></a></p>
<p>So what I need to do is build an interface which takes the Icom Band Voltage from the Icom IC-756pro3 ACC2 port and converts it to Yaesu 4 bit Band Data.  If I wanted to use just CI-V I could use a PICAXE-08M (8 PIN) which support 4 output pins, Yaesu Band A to D and one serial in PIN used for CI-V but the SERIN support for the 08M is limited.  I decided to go for a PICAXE-20X2 as it has a hardware serial pin, supports 19200 baud, the fastest the IC-756pro3 manages and gave me plenty of spare pins.  My final spec sheet was:</p>
<ul>
<li>Auto switching between CI-V and Icom analogue band data as source input.</li>
<li>4 pins outputting Yaesu Band Data to the Quadra VL-1000.</li>
<li>8 additional user configurable pins, i.e. selected pin go high on selected band to drive external equipment like coax relays.</li>
<li>Support remote (on/off) switching of the Quadra VL-1000 by providing 13.8v to the Quadra when the IC-756pro3 is switched on.</li>
<li>Have the PTT line integrated within the interface connections, it is not connected nor needed for the PIC.</li>
</ul>
<p>NOTE:  I found the VL-1000 manual is close to useless with regards to the Pinout diagrams – it has a picture with pins numbered but has a list next to it in in letters A,B,C etc…  I also blew the 5A fuse inside my IC-756pro3 and damaged a track later on by not getting the 13.8v on the correct pin, i.e. following the manual so be warned.</p>
<p>The PICAXE code:</p>
<pre><textarea style="width: 580px; height: 250px;">#PICAXE-20X2

#REM
v1.2 released 010911
Added funcionality for the 5B4AGN BPF on PinsC.

v1.1 released 230711
Improved CI-V string searching
Additional checks in Band Data routine to ensure we didn't get there by mistake

v1.0 released 130611
Initial release

#endrem

SYMBOL m160 = $01 '%00000001
SYMBOL  m80 = $02 '%00000010
SYMBOL  m60 = $03 '%00000011
SYMBOL  m40 = $03 '%00000011
SYMBOL  m30 = $04 '%00000100
SYMBOL  m20 = $05 '%00000101
SYMBOL  m17 = $06 '%00000110
SYMBOL  m15 = $07 '%00000111
SYMBOL  m12 = $08 '%00001000
SYMBOL  m10 = $09 '%00001001
SYMBOL   m6 = $0A '%00001010

'All these symbols are shifted one bit due to pin C.0 being blocked by HSEROUT.
SYMBOL m160c = $02 '%00000010
SYMBOL  m80c = $05 '%00000100
SYMBOL  m60c = $1E '%00000000
SYMBOL  m40c = $06 '%00000110
SYMBOL  m30c = $1E '%00000000
SYMBOL  m20c = $0A '%00001010
SYMBOL  m17c = $1E '%00000000
SYMBOL  m15c = $0E '%00001110
SYMBOL  m12c = $1E '%00000000
SYMBOL  m10c = $12 '%00010010
SYMBOL   m6c = $1E '%00000000

SYMBOL CIVinbaud  = B19200_64	'Change this to CI-V serial rate
SYMBOL CIVinPIN	= PinB.6
Symbol CIVorADC	= PinB.7
Symbol Band_ADC	= 6	'ADC6

SYMBOL Freq	  = W0 'B0, B1
SYMBOL CHSM1  = B2 'General register used in many places for calculations
SYMBOL CHSM2  = B3 'General register used in many places for calculations
SYMBOL MHZ	  = B4 'MHz register
SYMBOL KHZ	  = B5 'KHz register
SYMBOL MClear = B6 'Used to count the loop for clearing the serial memory
SYMBOL Search = B6 'Used to count where the CI-V identifier will be
SYMBOL Search2= B7 'Used to count where the CI-V checkbit will be
SYMBOL Lookfor= B8 'Used to substitute hSerPtr so we have a fixed upper limit when looping
SYMBOL Band	  = B9 'Used to save which band we are on, *reserved for future use

SETFREQ M64		'Run the code at 64MHz!!!

let DirsA = %00000000
let DirsB = %00001111
let DirsC = %00011110

HSERSETUP CIVinbaud,%001

Start:

IF CIVinPIN = 1 or CIVorADC = 0 then 'CI-V Code
IF hSerPtr  = 0 then goto start 'No seral data, no need to run the code.
Pause 1000 'wait a while to let the serial buffer to fill.

Lookfor = hSerPtr 'Transfer hSerPtr value to Lookfor as hSerPtr can still increase as we loop below

FOR Search = 0 to Lookfor 	'Loop to the value of Lookfor
 Search2 = Search + 6		'Search2 looks for the check bit $FD which is 6 places ahead of the CI-V identifier
 GET Search, CHSM1   'for each position in turn load the buffer into CHSM1
 GET Search2,CHSM2   'for each position in turn look 6 places ahead and load into CHSM2
 If CHSM1 = $05 and CHSM2 = $FD then goto LoadFreq 'Set frequency ($05) identifier and checkbit ($FD) found
 If CHSM1 = $03 and CHSM2 = $FD then goto LoadFreq 'Read operating frequency ($03) identifier and checkbit ($FD) found
 If CHSM1 = $00 and CHSM2 = $FD then goto LoadFreq 'Set frequency ($00) identifier and checkbit ($FD) found
Next 					'Go back to the start of the loop or finish

Goto ClearhSerPtr	'If we get here then we didn't find valid $00, $03 or $05 so clear the serial buffer

LoadFreq:			'We found valid serial data so process it and output the band data
CHSM1 = Search + 4		'Set where to look for MHZ value
CHSM2 = Search + 3		'Set where to look for KHZ value

GET CHSM1, MHZ		'Read the CHSM1 location into register MHZ, this is need formatting
GET CHSM2, KHZ		'Read the CHSM2 location into register KHZ, this is need formatting

BcdTOASCII MHZ,CHSM1,CHSM2	'Extract the MHZ serial value to individual registers
CHSM1 = CHSM1 - 48		'Format to decimal
CHSM2 = CHSM2 - 48
MHZ  = CHSM1 * 10 + CHSM2	'Add them back together

BCDTOASCII KHZ,CHSM1,CHSM2	'Extract the KHZ serial value to individual registers
KHZ = CHSM1 - 48			'Format to decimal (only need the first value in KHZ case)

Freq  = MHZ * 10 		'Combine the MHZ and KHZ value into one register
Freq  = Freq + KHZ
Select Case Freq			'Go find a match
	Case 10 to 29
		PinsB = m160	'Set PinsB to %00000001
		PinsC = m160c	'Set PinsC to the value required
		Band  = 160

	Case 30 to 49
		PinsB = m80 	'Set PinsB to %00000010
		PinsC = m80c	'Set PinsC to the value required
		Band  = 80

	Case 50 to 69
		PinsB = m60 	'Set PinsB to %00000011
		PinsC = m60c	'Set PinsC to the value required
		Band  = 60

	Case 70 to 99
		PinsB = m40 	'Set PinsB to %00000011
		PinsC = m40c	'Set PinsC to the value required
		Band  = 40

	Case 100 to 129
		PinsB = m30 	'Set PinsB to %00000100
		PinsC = m30c	'Set PinsC to the value required
		Band  = 30

	Case 130 to 169
		PinsB = m20	'Set PinsB to %00000101
		PinsC = m20c	'Set PinsC to the value required
		Band  = 20

	Case 170 to 199
		PinsB = m17 	'Set PinsB to %00000110
		PinsC = m17c	'Set PinsC to the value required
		Band  = 17

	Case 200 to 229
		PinsB = m15 	'Set PinsB to %00000111
		PinsC = m15c	'Set PinsC to the value required
		Band  = 15

	Case 230 to 269
		PinsB = m12	'Set PinsB to %00001000
		PinsC = m12c	'Set PinsC to the value required
		Band  = 12

	Case 270 to 479
		PinsB = m10	'Set PinsB to %00001001
		PinsC = m10c	'Set PinsC to the value required
		Band  = 10

	Case 480 to 540
		PinsB = m6	'Set PinsB to %00001010
		PinsC = m6c	'Set PinsC to the value required
		Band  = 6
Else				'No matcxh found, out of bounds
		PinsB = $FF	'Set PinsB to 0
		PinsC = $FF	'Set PinsC to 0
		Band  = 0
EndSelect
'debug
Goto ClearhSerPtr
'#REM
Else				'Band Voltage Code
Pause 100
IF hSerPtr  &gt; 0 then goto start 'No seral data, no need to run the code.
ReadADC10 Band_ADC,Freq
Select Case Freq
	Case 860 to 983 '160m
		PinsB = m160	'Set PinsB to %00000001
		PinsC = m160c	'Set PinsC to the value required
		Band  = 160

	Case 700 to 799 '80m
		PinsB = m80 	'Set PinsB to %00000010
		PinsC = m80c	'Set PinsC to the value required
		Band  = 80

'	Case 575 to 676 '60m
'		PinsB = m60 	'Set PinsB to %00000011
'		PinsC = %00000100	'Set PinsC to the value required
'		Band  = 60

	Case 575 to 676
		PinsB = m40 	'Set PinsB to %00000011
		PinsC = m40c	'Set PinsC to the value required
		Band  = 40

	Case 010 to 147
		PinsB = m30 	'Set PinsB to %00000100
		PinsC = m30c	'Set PinsC to the value required
		Band  = 30

	Case 450 to 553
		PinsB = m20	'Set PinsB to %00000101
		PinsC = m20c	'Set PinsC to the value required
		Band  = 20

	Case 369 to 430
		PinsB = m17 	'Set PinsB to %00000110
		PinsC = m17c	'Set PinsC to the value required
		Band  = 17

	Case 369 to 430
		PinsB = m15 	'Set PinsB to %00000111
		PinsC = m15c	'Set PinsC to the value required
		Band  = 15

	Case 246 to 307
		PinsB = m12	'Set PinsB to %00001000
		PinsC = m12c	'Set PinsC to the value required
		Band  = 12

	Case 246 to 307
		PinsB = m10	'Set PinsB to %00001001
		PinsC = m10c	'Set PinsC to the value required
		Band  = 10

	Case 147 to 245
		PinsB = m6	'Set PinsB to %00001010
		PinsC = m6c	'Set PinsC to the value required
		Band  = 6

	Case 000 to 009	'ADC registered too low a voltage to be valid

Else				'No matcxh found, out of bounds
		PinsB = $FF	'Set PinsB to 0
		PinsC = 0	'Set PinsC to 0
		Band  = 0
 EndSelect

EndIf
'debug
'#endrem

ClearhSerPtr:		'Routine to clear the serial buffer
FOR MClear = 0 to hSerPtr
 PUT MClear , 0
NEXT

hSerPtr = 0		'Reset the HSERPTR pointer to 0

CHSM1   = 0
CHSM2   = 0
MClear  = 0
Lookfor = 0
Goto start
</textarea></pre>
<p>Download the code, schematics and PCB layout <a href="http://geekshed.co.uk/code/CIVtoYaesuBandData/CIVtoYaesuBandData_v1.2_20X2_040911.zip" target="_blank">here</a>.</p>
<p>The code is split into 2 sections based on whether the CI-V is connected.  If the CI-V is connected by default it is high which can be detected by the PIC which is what the line in the code equalling ‘IF CIVinPIN = 1 or CIVorADC = 0 then’ does.  If there is CI-V then the PICAXE runs the CI-V routine to decode the frequency and works out the MHZ and 100KHz, i.e 14.123MHz becomes decimal 141.  If there is no CI-V connected (the CI-V input to the PICAXE chip will be 0v) then the PICAXE uses a routine to look at the band data voltage using ADC to determine the band, first you need to make sure you don’t put more than 5v into the PIC, so you divide it with a couple of resistors R1/R2 so the voltage is 0.6 that of its original (i.e. 8v becomes 4.8v to the PIC). You then simply read the voltage as a function of ADC, 4.8v is 96% of 5v (we are using READADC10 which is 10bit value and the max ADC value is therefore 1024) so 4.8v = 96% of 1024 the [max] ADC value is 983. All we now do is for each band give a lower and upper limit for each ADC value (accounting for rig variance) and if the ADC value falls within a range then the appropriate band is chosen and BCD pins set accordingly.</p>
<p>If the band voltage is say 6.2v out the radio what band are we on? Reduced first by R1/R2 the voltage becomes 3.72v into the PIC, this has an ADC value (3.72/5v * 1024) of about 762 which rightly falls into the 80m band range. 80m has a lower ADC limit of 700 and an upper ADC limit of 799.</p>
<p>Remember the PIC code is split in 2, the top half is for CI-V decoding and the bottom half band voltage decoding.</p>
<p>When the radio is switched on 13.8v is taken from ACC2 on the IC-756pro3 which powers the PICAXE and also goes to the VL-1000 to switch it on, ensure the remote switch on the back of the VL-1000 is set to ON.</p>
<h2>Updates:</h2>
<p>230711 – Version 1.1 released:</p>
<ul>
<li>Improved CI-V string searching</li>
<li>Additonal checks in Band Data routine to ensure we didn&#8217;t get there by mistake</li>
</ul>
<p>Code now works fine with HRD controlling the radio over CI-V and all band switching works independent of whether the radio or HRD initiates a band switch.</p>
<p>170711 &#8211; I received an email from Jack Brindle, W6FB who commented “There is one change I would suggest in the output table, though. The BCD code 0&#215;0 is not defined, but is used by some manufacturers. For example Elecraft uses it in the K3 for 60 meters. However, 0xF (all ones) _is_ defined as a no-band selector.”  So with that in mind I’ve changed the code so ‘no band selected’ is now all 1’s (0xF) &#8211; which turns out to be 70MHz, see my <a href="http://www.geekshed.co.uk/yaesus-quadra-vl-1000-will-do-70mhz/">post</a> about that.</p>
<p>150711- I received a comment from Barry GM3YEH who uses the Icom to Yaesu BCD Band Data Converter on his radio with N1MM contest logging software and a 5B4AGN  BPF and found the rig stays in sync with N1MM software but the BPF only changes to the correct band temporarily then drops into a &#8216;no band selected&#8217; state after a second or two.  Barry suggested it might be down to N1MM polling the radio which the interface sees as 0v on the CI-V line which makes the code execute the Band Data Voltage code for which there is no band voltage data so it defaults to 0, ‘no band selected’.  On 230711 I reworked the code so it now has a much better CI-V ‘search’ string so it doesn’t get false values and also added an extra check in the Band Voltage code as there were times, as mentioned above, that the code would move there even if it was receiving CI-V data.</p>
<p>/END UPDATE:</p>
<p><a title="IMG_20110514_142314" href="http://www.flickr.com/photos/40002058@N06/5723702578/"><img src="http://static.flickr.com/5132/5723702578_82477f49ff_m.jpg" alt="IMG_20110514_142314" border="0" hspace="1" vspace="1" /></a><a title="IMG_20110514_130445" href="http://www.flickr.com/photos/40002058@N06/5723702076/"><img src="http://static.flickr.com/2107/5723702076_9190797250_m.jpg" alt="IMG_20110514_130445" border="0" hspace="1" vspace="1" /></a><a title="IMG_20110514_130436" href="http://www.flickr.com/photos/40002058@N06/5723701688/"><img src="http://static.flickr.com/5137/5723701688_529aa5fdc9_m.jpg" alt="IMG_20110514_130436" border="0" hspace="1" vspace="1" /></a><a title="IMG_20110514_012341" href="http://www.flickr.com/photos/40002058@N06/5723701212/"><img src="http://static.flickr.com/5105/5723701212_66fbb786f9_m.jpg" alt="IMG_20110514_012341" border="0" hspace="1" vspace="1" /></a><a title="IMG_20110514_012328" href="http://www.flickr.com/photos/40002058@N06/5723700486/"><img src="http://static.flickr.com/5223/5723700486_7f30529f30_m.jpg" alt="IMG_20110514_012328" border="0" hspace="1" vspace="1" /></a><a title="IMG_20110512_195125" href="http://www.flickr.com/photos/40002058@N06/5723699976/"><img src="http://static.flickr.com/2014/5723699976_e6393911cf_m.jpg" alt="IMG_20110512_195125" border="0" hspace="1" vspace="1" /></a> </p>
<div class="plus-one-wrap"><g:plusone href="http://www.geekshed.co.uk/icom-ci-v-or-band-data-to-yaesu-bcd-band-data-converter/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.geekshed.co.uk/icom-ci-v-or-band-data-to-yaesu-bcd-band-data-converter/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>SCAM12 Installation</title>
		<link>http://www.geekshed.co.uk/scam12-installation/</link>
		<comments>http://www.geekshed.co.uk/scam12-installation/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 10:42:15 +0000</pubDate>
		<dc:creator>m1bxf</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[home]]></category>

		<guid isPermaLink="false">http://www.geekshed.co.uk/scam12-installation/</guid>
		<description><![CDATA[So I was convinced for my new mast I would use a SCAM12 after seeing G4ERO’s installation (picture on his QRZ page).  I had done some antenna work round at Colins QTH and seeing how simple it was to erect (BINGO!) and take down.  The mast is approx 3m when down (with antennas on) and the top of the SCAM12 is 12m when up.  The SCAM12 is pneumatic and requires about 22PSI of pressure when fully up and mine stays up for days. The SCAM12 [...]]]></description>
			<content:encoded><![CDATA[<p>So I was convinced for my new mast I would use a SCAM12 after seeing G4ERO’s installation (picture on his <a href="http://www.qrz.com/callsign/G4ERO" target="_blank">QRZ page</a>).  I had done some <a href="http://www.camb-hams.com/home/coming-events/vhf-nfd-2009/vhf-nfd-2009-diary" target="_blank">antenna work</a> round at Colins QTH and seeing how simple it was to erect (BINGO!) and take down.  The mast is approx 3m when down (with antennas on) and the top of the SCAM12 is 12m when up.  The SCAM12 is pneumatic and requires about 22PSI of pressure when fully up and mine stays up for days. The SCAM12 is fully rotate-able and sits within a swivel base/mount but I use a rotator at the top which you can see below the 6m/4m antenna so you can work out and see the SCAM12 is low when down. I do plan to move this to the bottom when I get round to working out how best to do it.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/IMG_20110325_165858.jpg"><img style="display: inline; border: 0px;" title="IMG_20110325_165858" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/IMG_20110325_165858_thumb.jpg" alt="IMG_20110325_165858" width="582" height="437" border="0" /></a></p>
<p>And when up:</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/IMG_20110417_1612482.jpg"><img style="display: inline; border: 0px;" title="IMG_20110417_161248" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/IMG_20110417_161248_thumb2.jpg" alt="IMG_20110417_161248" width="580" height="773" border="0" /></a></p>
<p>Mounting the SCAM12 I again took advice from Colin G4ERO and dug a hole about 100cm x 30cm x 30cm, bought a 2.5m long 178mm x 102mm x 19mm <a href="http://www.metals4u.co.uk/resources/files/rsj%20i%20beam.jpg" target="_blank">universal beam</a>, modified it, (see below) put it in the hole and aligned it for vertical. I then concreted the bottom 50cm of it, let it set and filled and packed the rest with mud.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/IMG_20100918_162558.jpg"><img style="display: inline; border: 0px;" title="IMG_20100918_162558" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/IMG_20100918_162558_thumb.jpg" alt="IMG_20100918_162558" width="292" height="389" border="0" /></a></p>
<p>As the SCAM12 is able to rotate, there is a bearing in the bottom of the mast so it is not a good idea to mount it direct onto the ground.  So I welded a bracket on the bottom to hold the SCAM12 off the ground.  I then used threaded bar and some angle iron to hold it against the universal beam with some wood between both to tighten against.  Since these pictures were taken I’ve repainted the universal beam Hamerite ‘Highland Green’ which is more similar to the SCAM12 colour.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/IMG_20100926_134357.jpg"><img style="display: inline; border: 0px;" title="IMG_20100926_134357" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/IMG_20100926_134357_thumb.jpg" alt="IMG_20100926_134357" width="282" height="212" border="0" /></a> <a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/IMG_20100926_134322.jpg"><img style="display: inline; border: 0px;" title="IMG_20100926_134322" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/IMG_20100926_134322_thumb.jpg" alt="IMG_20100926_134322" width="282" height="212" border="0" /></a></p>
<p>As the mast is pneumatic I got a small compressor for 30EUR at a <a href="http://www.radiovlooienmarkt.nl/index.php?option=com_content&amp;task=view&amp;id=42&amp;Itemid=74" target="_blank">Dutch Radio Rally</a> which take 2 minutes 40 seconds to put the mast fully up.  I’ve fitted it with a remote control and pressure switch to it automatically switched off when at the correct pressure. The SCAM12 comes with a key to allow the air out and it takes a minute to come down.</p>
<p><a href="http://www.geekshed.co.uk/wp-content/uploads/2011/07/IMG_20110227_193410.jpg"><img style="display: inline; border: 0px;" title="IMG_20110227_193410" src="http://www.geekshed.co.uk/wp-content/uploads/2011/07/IMG_20110227_193410_thumb.jpg" alt="IMG_20110227_193410" width="290" height="218" border="0" /></a></p>
<p>There are guying points for 4 guy ropes on a slip ring but so far I have not guyed the mast at home and it&#8217; has been up in quite strong winds, if I’m worried about the wind I only put a few sections up.  The sections can also be locked off if the SCAM12 is planned to be up for an extended period of time. </p>
<div class="plus-one-wrap"><g:plusone href="http://www.geekshed.co.uk/scam12-installation/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://www.geekshed.co.uk/scam12-installation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

