<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Blogospheric Refraction &#187; Public Syndication</title>
	<atom:link href="http://stuartl.longlandclan.yi.org/blog/category/public/feed/" rel="self" type="application/rss+xml" />
	<link>http://stuartl.longlandclan.yi.org/blog</link>
	<description>The life and times of Stuart Longland (VK4MSL)</description>
	<lastBuildDate>Fri, 20 Apr 2012 15:18:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<copyright>2006-2007 </copyright>
	<managingEditor>me@vk4msl.yi.org (Blogospheric Refraction)</managingEditor>
	<webMaster>me@vk4msl.yi.org (Blogospheric Refraction)</webMaster>
	<image>
		<url>http://stuartl.longlandclan.yi.org/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Blogospheric Refraction</title>
		<link>http://stuartl.longlandclan.yi.org/blog</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>The life and times of Stuart Longland (VK4MSL)</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>Blogospheric Refraction</itunes:author>
	<itunes:owner>
		<itunes:name>Blogospheric Refraction</itunes:name>
		<itunes:email>me@vk4msl.yi.org</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://stuartl.longlandclan.yi.org/blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Full-duplex streaming between sound cards with GStreamer</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2012/04/21/fullduplex-gstreame/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2012/04/21/fullduplex-gstreame/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 15:18:05 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>
		<category><![CDATA[Public Syndication]]></category>
		<category><![CDATA[Thinktank]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=898</guid>
		<description><![CDATA[Some may recall my old set up I used to record the AWNOI net. A bit fiddly, but it worked, and worked well. However the machine I used was short-lived. Basically, I wanted to stream in both directions between a sound device connected to a HF radio transceiver, and a USB wireless headset, with a [...]]]></description>
			<content:encoded><![CDATA[<p>Some may recall <a href="http://stuartl.longlandclan.yi.org/blog/2008/10/31/wireless-h/">my old set up</a> I used to record the AWNOI net.  A bit fiddly, but it worked, and worked well.  However the machine I used was short-lived.  Basically, I wanted to stream in both directions between a sound device connected to a HF radio transceiver, and a USB wireless headset, with a feed being recorded to disk.</p>
<p>The problem with newer sound devices is the rather limited sync range possible with the modern audio CODECs.  Many will not do sample rates that aren&#8217;t a multiple of 44.1kHz or 48kHz, and I have a headset that won&#8217;t record any other sample rate other than 16kHz.  ALSA&#8217;s plug: doesn&#8217;t play nice with JACK, and I shelved the whole project for later.</p>
<p>Well, tonight I did some tinkering with gstreamer to see if it could do the routing I needed.  Certainly all the building blocks were there, I just had to get the pipeline right.  A bit of jiggling of parameters, and I managed to get audio going in both directions, and to a RIFF wave file to boot.  I&#8217;ve put it in a shell script for readability/maintainability:</p>
<pre>
#!/bin/sh
# GStreamer bi-directional full-duplex audio routing script
# Stuart Longland VK4MSL

CAPT_BUFTIME=50000
CAPT_LATTIME=25000
PLAY_BUFTIME=20000
PLAY_LATTIME=1000

STREAM_FMT=audio/x-raw-int,channels=1,width=16,depth=16,rate=16000
OUTPUT_FMT=audio/x-raw-int,channels=2,width=16,depth=16,rate=16000
OUTPUT="${1:-out.wav}"

HEADSET_DEV=hw:Headset
HEADSET_CAPT_FMT=audio/x-raw-int,channels=1,width=16,depth=16,rate=16000
HEADSET_CAPT_BUFTIME=${CAPT_BUFTIME}
HEADSET_CAPT_LATTIME=${CAPT_LATTIME}
HEADSET_PLAY_FMT=audio/x-raw-int,channels=2,width=16,depth=16,rate=48000
HEADSET_PLAY_BUFTIME=${PLAY_BUFTIME}
HEADSET_PLAY_LATTIME=${PLAY_LATTIME}

SNDCARD_DEV=hw:NVidia
SNDCARD_CAPT_FMT=audio/x-raw-int,channels=2,width=16,depth=16,rate=48000
SNDCARD_CAPT_BUFTIME=${CAPT_BUFTIME}
SNDCARD_CAPT_LATTIME=${CAPT_LATTIME}
SNDCARD_PLAY_FMT=audio/x-raw-int,channels=2,width=16,depth=16,rate=48000
SNDCARD_PLAY_BUFTIME=${PLAY_BUFTIME}
SNDCARD_PLAY_LATTIME=${PLAY_LATTIME}

exec    gst-launch-0.10 \
    alsasrc device=${HEADSET_DEV} \
            name=headset-capt \
            slave-method=resample \
            buffer-time=${HEADSET_CAPT_BUFTIME} \
            latency-time=${HEADSET_CAPT_LATTIME} \
        ! ${HEADSET_CAPT_FMT} \
        ! audioresample \
        ! audioconvert \
        ! ${STREAM_FMT} \
        ! queue \
        ! tee name=headset \
        ! audioresample \
        ! audioconvert \
        ! ${SNDCARD_PLAY_FMT} \
        ! alsasink device=${SNDCARD_DEV} \
            name=sndcard-play \
            buffer-time=${SNDCARD_PLAY_BUFTIME} \
            latency-time=${SNDCARD_PLAY_LATTIME} \
    alsasrc device=${SNDCARD_DEV} \
            name=sndcard-capt \
            slave-method=resample \
            buffer-time=${SNDCARD_CAPT_BUFTIME} \
            latency-time=${SNDCARD_CAPT_LATTIME} \
        ! ${SNDCARD_CAPT_FMT} \
        ! audioresample \
        ! audioconvert \
        ! ${STREAM_FMT} \
        ! queue \
        ! tee name=soundcard \
        ! audioresample \
        ! audioconvert \
        ! ${HEADSET_PLAY_FMT} \
        ! alsasink device=${HEADSET_DEV} \
            name=headset-play \
            buffer-time=${HEADSET_PLAY_BUFTIME} \
            latency-time=${HEADSET_PLAY_LATTIME} \
    interleave name=recorder-in \
        ! audioconvert \
        ! audioresample \
        ! ${OUTPUT_FMT} \
        ! wavenc \
        ! filesink location="${OUTPUT}" \
    headset. \
        ! queue \
        ! recorder-in.sink1 \
    soundcard. \
        ! queue \
        ! recorder-in.sink0
</pre>
<p>Now the fun begins ironing out the kinks in my data cable for the FT-897.  At present, it works for receive, and seems to work for transmit.  I use VOX on the radio itself and keep the headset&#8217;s microphone on mute when I don&#8217;t want to transmit.</p>
<p>At present, I was getting a bit of distorted audio coming back through the headset when I transmitted, almost certainly RF-pickup in the cable and line-in circuitry of the computer&#8217;s sound card.  I&#8217;ll have to see if I can filter it out, but the real test will be seeing if such distortion is present on the outgoing signal &#8212; or rather, if it&#8217;s significantly audible to be a problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2012/04/21/fullduplex-gstreame/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inside the GL4Ever Flytouch III</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2012/04/01/inside-the-gl4ever-flytouch-iii/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2012/04/01/inside-the-gl4ever-flytouch-iii/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 06:06:37 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>
		<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[Public Syndication]]></category>
		<category><![CDATA[Thinktank]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=890</guid>
		<description><![CDATA[Well, it&#8217;s been a while since I touched this tablet.  I basically chucked it in a corner in disgust after it shat itself rather unceremoniously on the trip before we even got to the NSW/Victorian border.  By &#8220;shat&#8221; itself, I mean corrupting files on the internal microSD card, intermittent device resets, display flickers, all the [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s been a while since I touched this tablet.  I basically chucked it in a corner in disgust after it shat itself rather unceremoniously on the trip before we even got to the NSW/Victorian border.  By &#8220;shat&#8221; itself, I mean corrupting files on the internal microSD card, intermittent device resets, display flickers, all the hallmarks of a dry joint.</p>
<p>The seller on eBay that sold me the device have been completely unresponsive as to the problems, so looks like I kissed about $250 goodbye.  Ahh well, such is life.  They are still being sold on eBay, but buyer beware, they are cheap, and it&#8217;s pot luck whether yours is cheerful, or nasty like mine.  If you want something reliable, look elsewhere.</p>
<p>Having made this mistake, well, I&#8217;m looking to make lemonade from the lemon.  First step, was to figure out what on earth I had.  So out with the screwdriver.</p>
<p>You&#8217;ll notice on the top and bottom of the unit, there are four small plugs concealing screws.  These hold the LCD screen assembly in place.  Undo these, then you need to carefully work your way around and release the clips that hold the LCD screen assembly.  <em>Do not try to detach the LCD touch panel from the LCD!</em>  I initially couldn&#8217;t get it to budge, so I tried doing exactly this in the hunt for possible hidden screws (there were none).  This was the end result:</p>
<div id="attachment_891" class="wp-caption aligncenter" style="width: 310px"><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2012/04/ft3-touchscreen-shattered.jpg"><img class="size-medium wp-image-891" title="Shattered Flytouch III touch panel" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2012/04/ft3-touchscreen-shattered-300x224.jpg" alt="Shattered Flytouch III touch panel" width="300" height="224" /></a><p class="wp-caption-text">Why one should not try to detach the touch panel.</p></div>
<p>Never mind I say&#8230; the unit was just about destined for the bin as it was.  External USB HID devices work for what I&#8217;m after, but it&#8217;ll mean any touch-related fun is out unless I can pick up a replacement 4-wire panel.  Element14 and RS have them at &gt;$80, to which I say, bugger it, I&#8217;ll do without.</p>
<p>Having pulled the unit apart, the main PCB is held to the back shell by a few screws, one thing is immediately apparent.  The whole device is based on what looks to be a fairly generic System-on-Module based around the Vimicro VC0882BCXA System-on-Chip, and the Vimicro VC7822EL companion chip.</p>
<div id="attachment_892" class="wp-caption aligncenter" style="width: 310px"><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2012/04/ft3-pcb.jpg"><img class="size-medium wp-image-892" title="Flytouch III PCB" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2012/04/ft3-pcb-300x224.jpg" alt="" width="300" height="224" /></a><p class="wp-caption-text">Flytouch III PCB</p></div>
<p>Top left is a Wifi module based on the Realtek RTL8111, and to the right, the GPS module (which hooks to one of the serial ports from what I recall).  Down the bottom of the image are the USB ports.  Near the HDMI socket is a Silicon Image SiI9022ACNU HDMI transmitter.</p>
<p>The system on module looks interesting, and I&#8217;m curious to find out more about it, as for hobby projects, the pins are not too small to deal with using a soldering iron.  The OS and boot loader exist on the microSD card.  I tried putting a 16GB card in, but evidently I wasn&#8217;t getting the partition table right as it wouldn&#8217;t boot.  I haven&#8217;t tried hooking up a serial port as yet, so it&#8217;s hard to know what is wrong.  Some <a href="http://www.chinadigitalcomm.com/hapad-haipad-m8-1gb-modell-serial-console-howto-t11014.html">research</a> indicates that ttyS0 lurks on this board just near the aforementioned microSD socket:</p>
<div id="attachment_893" class="wp-caption aligncenter" style="width: 275px"><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2012/04/ft3-vc0882bxsa-som.jpg"><img class="size-medium wp-image-893" title="ft3-vc0882bxsa-som" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2012/04/ft3-vc0882bxsa-som-265x300.jpg" alt="The system on module within the Flytouch III" width="265" height="300" /></a><p class="wp-caption-text">The system on module within the Flytouch III</p></div>
<p>I haven&#8217;t spotted the bad joints that were giving me grief. In fact, having gotten it out of the case, I find the top USB port (flakey from day one) seems to be behaving, and I&#8217;ve had no issues with it running with the case apart.  Otherwise I&#8217;d be running a soldering iron over a few joints just to make sure everything was right.</p>
<p>Next step?  Well for now, I&#8217;ll put it back together (minus touchscreen) and put it aside.  I&#8217;ll have a look at tacking a connector onto those serial pins, with a level shifter so I can interact with the serial console.</p>
<p>Having gotten bootloader access, I should be able to debug the SD card cloning issue, then I can have a close gander at what the current u-boot and kernel are doing to tickle the hardware.  End game?  Well, Android isn&#8217;t much use without a touch screen, so I&#8217;ll be probably hacking together a Gentoo-based environment with some amateur radio related software.  We shall see.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2012/04/01/inside-the-gl4ever-flytouch-iii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Experiences with the Yaesu VX-8DR</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2012/03/24/yaesu-vx8dr/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2012/03/24/yaesu-vx8dr/#comments</comments>
		<pubDate>Sat, 24 Mar 2012 10:05:08 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>
		<category><![CDATA[Public Syndication]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Thinktank]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=886</guid>
		<description><![CDATA[Prior to my road trip to LCA 2012 Ballarat, I bought a new toy, namely a Yaesu VX8-DR handheld. At that point it turned up only just before I was due to leave, so I wasn&#8217;t able to get the accessories I wanted. I cobbled together my own 12V charger lead by snipping the original [...]]]></description>
			<content:encoded><![CDATA[<p>Prior to my road trip to LCA 2012 Ballarat, I bought a new toy, namely a Yaesu VX8-DR handheld.</p>
<p>At that point it turned up only just before I was due to leave, so I wasn&#8217;t able to get the accessories I wanted. I cobbled together my own 12V charger lead by snipping the original power supply and soldering on a cigarette lighter socket, but otherwise I used the handheld in its out-of-the-box configuration.</p>
<p>Having gotten back, I have purchased the FGPS-2 GPS module, CT-136 GPS adaptor and the BU-1 Bluetooth module.</p>
<h3>Transceiver performance</h3>
<p>The set works quite well. The antenna is pretty deaf and useless on 6m, maybe I can get a better after-market tri-bander whip, but on 2m and 70cm it works reasonably well. I&#8217;ve heard APRS traffic over distances of 100km, and even been heard on APRS by a digipeater some 90km away.</p>
<p>Audio quality is good, both transmit and receive. Plug in a pair of stereo headphones, and the wideband FM receiver sounds excellent; in stereo to boot.</p>
<p>Probably my biggest nit, is you can&#8217;t simultaneously charge and externally power the set. To charge, you must either detach the battery and drop it into a separate charger cradle (an optional extra) or turn off the set.</p>
<h3>GPS Performance</h3>
<p>When I purchased the VX-8DR, it was a real toss up between it and the VX-8GR. The reason I went the VX-8DR was because it had 6m, and Bluetooth. Having gotten the GPS, I&#8217;ve run into the problem a lot have reported; the GPS module is deaf as a post.</p>
<p>The VX8-GR doesn&#8217;t improve on this either. However, the good news, is that because my module is external, I can (1) mount it in a better spot, or (2) replace it with a better compatible module.  For VX8-GR owners, this is the end of the road, they can do nothing but moan to Yaesu.  I at least have options.</p>
<p>The module is mounted vertically inside the FGPS-2 casing. Usually with GPS modules such as these, they embed a small patch antenna, whose radiation pattern is perpendicular to the plane of the antenna surface. Being vertical, this means when you hold the radio vertically (as you normally would), GPS reception is poor because the radiation pattern is directly in front of the radio.</p>
<p>The radio seems to perform a <em>lot</em> better, if the radio is held with the screen facing upwards towards the sky. It&#8217;ll even work inside my house if I do this. It seems this is a screw-up on par with the iPhone 4.  Another alternative is to replace the module, the FGPS-2 apparently uses 9600 baud serial with NMEA format strings.  However, it seems the parser in the VX-8 is rather crude.  I have a module that does NMEA at 4800 baud, so I&#8217;ll either need to coax it up to 9600, or use a microcontroller to buffer and convert rates, and perhaps do some tweaking of the sentence format to make up for the VX-8&#8242;s shortcomings.</p>
<p>My hunch; if I make an alternative bracket to the CT-136 adaptor, I can nail this, and another problem, the inability to plug in the GPS <em>and</em> a headset. I have the CT-M11 cable, and thus I plan to make a bracket to connect the FGPS-2 to the end of this cable; allowing me to also plug in a wired headset.</p>
<h3>Bluetooth</h3>
<p>I bought the Bluetooth as an insurance policy to give me another means of interfacing a headset. Then began the fun of getting it to work with my headsets. I have a couple; a Bullant earmuff-headset, a lightweight mono Digitech headset, and a &#8220;MyTalker&#8221; headset.</p>
<p>The first was one set I bought some years ago, back when the Bluez was far less stable than it is today, and also long before I was into Amateur Radio or possessed a Bluetooth-capable phone. I tried pairing using a USB Bluetooth dongle, but had little luck, so they got put on one side. Also despite advertising being able to stream music, it only supports HFP and HSP profiles, so you get to listen to your tunes in 8kHz 8-bit mono. They are sold at some hardware stores, such as Mitre 10 The Gap (where I bought my set).</p>
<p>The handheld did pair with this set, but I couldn&#8217;t get PTT to work, and the headset itself also had a few faults; namely it was always noisy, and the broadcast receiver stopped working, so I&#8217;ve taken them apart for now to see if I can fix these issues. I can key the radio up using the radio&#8217;s PTT, but then both internal and headset microphones go live.</p>
<p>The second set is sold by Jaycar, catalog number AA2080. This would be my preferred set to use with the radio as it can pair with two devices simultaneously. It supports the same profiles as the earmuffs, but it&#8217;s at least more lightweight.</p>
<p>The BU-1 takes one look at this set, and turns its nose up at it, with the VX-8 giving up and displaying &#8220;PAIRING ERROR&#8221;.</p>
<p>I also bought the MyTalker set from Jaycar, catalog number XC4894. This set is much like the earmuffs. It embeds its own microphone, but the unit itself provides a 3.5mm socket for you to plug in your own headphones, or use the supplied earphones (which are awful and uncomfortable, don&#8217;t use them). At the other end of the unit, is a lead terminated with a 3.5mm plug to plug into a music player. I&#8217;ve modded this set to be able to use an external microphone, switchable between a transceiver and the Bluetooth set, allowing a headset connected to a radio to also connect to a phone. I&#8217;m still working on this bit.</p>
<p>The VX-8 treats this set with much the same contempt as the mono headset before.</p>
<p>Today, I poppsed in and bought a more expensive set; this time I looked for A2DP functionality, Jaycar have one, catalog number AA2082. Like the AA2080 it can talk to two devices, unlike the AA2080 it supports AVRCP and A2DP. Also, not advertised, is it can function as an analogue headset; supplied in the box is a dual 3.5mm to mini-USB cable that can plug into the headset and allow you to use it with a non-Bluetooth capable device.</p>
<p>I plugged it into the bicycle&#8217;s battery to charge on the way home. When I got home, I read the instructions (which are in awful Chinglish). Basically, the English translation of the pairing instructions go like this:</p>
<ol>
<li>Hold in the MFB button (the centre one on the right ear-cup) in for several seconds. You will hear the voice prompts &#8220;Hello&#8221;, followed by &#8220;Enter Pin Code 0000 on phone&#8221;.</li>
<li>When you hear the latter prompt, tell your device to start looking for the headset</li>
<li>When it finds a device called &#8220;AA2082&#8243;, select it, and enter 0000 as the pin code</li>
</ol>
<p>So, the steps I followed:</p>
<ol>
<li>Turn on the VX-8</li>
<li>Hold in the MENU key to bring up the Set menu, then select BLUETOOTH PCODE</li>
<li>Enter 0000 on the keypad.</li>
<li>Hold in the MFB button on the headset until you hear the &#8220;Enter Pin Code&#8221; prompt</li>
<li>Hit V/M on the VX-8</li>
<li>After a few brief moments, you should see &#8220;PAIRING COMPLETE&#8221;, press PTT to confirm.</li>
</ol>
<p>Having got this working, I notice a few things:</p>
<ul>
<li>Stereo (A2DP) sounds a little weird, perfectly clear, but the compression is apparent. I&#8217;ll experiment with the laptop later to see if it&#8217;s the headset or the radio.</li>
<li>Mono works well, pressing MFB toggles PTT on the VX-8. VOX doesn&#8217;t seem to work, but no great loss as I find VOX to be a disaster when outdoors.</li>
<li>In mono mode, a buzzing is apparent on the received audio. This isn&#8217;t audible on transmitted audio, nor did I notice this on received audio when I tried using the headset with my mobile phone.</li>
<li>Range seems to be quite restricted, possibly due to where the module is installed it doesn&#8217;t get the reception it perhaps needs. A2DP suffers more from this than HFP, with drop-outs being frequent. Again, I&#8217;ll need to do some experimentation with the laptop, and perhaps some experimentation with the radio without the battery installed to see if that helps performance.</li>
</ul>
<p>I&#8217;m tossing up whether I get one of these motorcycle Bluetooth headsets.  I ride on the bicycle quite a lot, and at the moment I use headsets embedded in the helmet that are home-built from old computer headsets.  The longevity of the microphone seems to be the biggest problem  I also am on the look-out for an earmuff headset for things like the Imbill car rally, ideally one that can do A2DP.  The Bullant ones I know can&#8217;t do this.  I see some earmuffs in the $400+ price bracket that offer Bluetooth, but no idea if that includes A2DP, and frankly, I shudder at that price.</p>
<p>The motorcycle ones are designed to fit a wide range of helmets, and they look as if they&#8217;ll fit a set of cheap regular earmuffs quite well.  They typically sell for about $200, support A2DP, multiple devices, and intercom.  Add in $30 for a set of earmuffs, and it makes this a much more attractive option.</p>
<p>More experimentation will be needed I think, but this is looking promising.  I&#8217;ll probably post up more details as I come across them.</p>
<p>It&#8217;d be nice if Yaesu had been a bit more up-front on what the BU-1 supports: the AA2080 supports both HFP and HSP, yet the BU-1 won&#8217;t touch it, the Bullant set supports the same profiles yet the BU-1 works fine with it.  The reasoning for this is not clear, but it does seem that it&#8217;ll reliably talk to A2DP capable headsets, so maybe that is a starting point for others.</p>
<p>Likewise with the CT-136, I&#8217;ll see if I can fabricate a bracket using the CT-M11 cable, and see where that gets me.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2012/03/24/yaesu-vx8dr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GL4Ever Flytouch III: The internal SD card</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/12/20/gl4ever-flytouch-iii-the-internal-sd-card/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/12/20/gl4ever-flytouch-iii-the-internal-sd-card/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 07:29:40 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=883</guid>
		<description><![CDATA[Well, further analysis today. The Flytouch III seems to boot off an embedded SD card. I don&#8217;t know if it is removable or not, for now I&#8217;ll assume no. Having gained root access earlier, I was able to use dd and nc to siphon off a copy of the internal SD card, which appears as [...]]]></description>
			<content:encoded><![CDATA[<p>Well, further analysis today.  The Flytouch III seems to boot off an embedded SD card.  I don&#8217;t know if it is removable or not, for now I&#8217;ll assume no.</p>
<p>Having gained root access earlier, I was able to use <tt>dd</tt> and <tt>nc</tt> to siphon off a copy of the internal SD card, which appears as <tt>/dev/block/mmcblk0</tt>.  To grab a copy, first plug the unit into Ethernet (it&#8217;ll be faster, trust me) and have another Linux box handy:</p>
<p>Start up netcat on a Linux system:<br />
<code>$ busybox nc -l -p 8123 > tablet.img</code></p>
<p>Then on the tablet, become root:<br />
<code>$ /system/bin/su</code></p>
<p>Then start copying to the other system (here; its IP is 12.23.34.45):<br />
<code># dd if=/dev/block/mmcblk0 | nc 12.23.34.45 8123</code></p>
<p>Sit back and wait, it should be done in about 5 minutes.  Now if you look at the partition table, you&#8217;ll see the following:</p>
<pre>
Disk tablet.img: 482 cylinders, 255 heads, 63 sectors/track
Units = sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
tablet.img1            63   5535320    5535258   b  W95 FAT32           < -- User applications, data live here
tablet.img2       5535321   7612181    2076861   5  Extended
tablet.img3       7612248   7677783      65536  bb  Boot Wizard hidden  <-- Kernel?
tablet.img4       7677784   7743319      65536  bb  Boot Wizard hidden  <-- UBoot?
tablet.img5       5535384   6059608     524225  83  Linux               <-- /system partition
tablet.img6       6059672   7595608    1535937  83  Linux               <-- Android internal?
tablet.img7       7595672   7611992      16321  83  Linux               <-- ???
</pre>
<p>Partitions 3 and 4 are a complete mystery.  They're not a standard Linux file system, but, the former appears to hold a copy of the Linux kernel, and the latter seems to hold a copy of UBoot.  You can bust the image apart using the following script:</p>
<p><code><br />
/sbin/sfdisk -uS -l tablet.img | grep ^tablet.img | while read part; do<br />
    pn=$( echo "$part" | cut -c 11-11 );<br />
    s=$( echo "$part" | cut -c 13-25 );<br />
    l=$( echo "$part" | cut -c 36-48 );<br />
    echo "[$pn][$s][$l]";<br />
    dd if=tablet.img of=tablet-$pn.img skip=$(( $s )) count=$(( $l ));<br />
done<br />
</code></p>
<p>You might have to play with column offsets.</p>
<p>The initial part of partition 3 looks like this:
</pre>
<pre>00000000  41 4e 44 52 4f 49 44 21  c0 d7 4b 00 00 80 00 10  |ANDROID!..K.....|
00000010  b5 2a 15 00 00 00 00 11  00 00 00 00 00 00 f0 10  |.*..............|
00000020  00 01 00 10 00 08 00 00  00 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000240  b8 29 4b 8c 7c d2 1f 65  cf b3 3a 78 bc 87 c0 61  |.)K.|..e..:x...a|
00000250  2e 24 79 a5 00 00 00 00  00 00 00 00 00 00 00 00  |.$y.............|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000800  27 05 19 56 43 d9 c4 f4  4e ab c7 11 00 4b d7 80  |'..VC...N....K..|
00000810  80 00 80 00 80 00 80 00  d5 42 0e 53 05 02 02 00  |.........B.S....|
00000820  4c 69 6e 75 78 2d 32 2e  36 2e 33 35 2e 37 00 00  |Linux-2.6.35.7..|
00000830  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000840  d3 f0 21 e3 10 9f 10 ee  56 00 00 eb 05 a0 b0 e1  |..!.....V.......|
00000850  52 00 00 0a 6c 00 00 eb  05 80 b0 e1 4f 00 00 0a  |R...l.......O...|
00000860  7b 00 00 eb 13 00 00 eb  c0 d0 9f e5 00 e0 8f e2  |{...............|
00000870  10 f0 8a e2 30 5f 11 ee  02 50 85 e3 30 5f 01 ee  |....0_...P..0_..|
00000880  02 00 80 e3 1f 50 a0 e3  10 5f 03 ee 10 4f 02 ee  |.....P..._...O..|</pre>
<p>Note the rather prominent &#8220;Linux-2.6.35.7&#8243;.  Similarly, if we pick through partition 4:</p>
<pre>00020eb0  11 12 a0 41 10 13 a0 51  30 1c 81 41 10 02 a0 e1  |...A...Q0..A....|
00020ec0  1e ff 2f e1 ff ff ff ff  ff ff ff ff ff ff ff ff  |../.............|
00020ed0  00 10 05 60 20 10 05 60  00 13 05 60 20 13 05 60  |...` ..`...` ..`|
00020ee0  40 13 05 60 00 16 05 60  20 16 05 60 00 19 05 60  |@..`...` ..`...`|
00020ef0  20 19 05 60 00 1c 05 60  20 1c 05 60 40 1c 05 60  | ..`...` ..`@..`|
00020f00  55 2d 42 6f 6f 74 20 32  30 31 30 2e 30 36 20 28  |U-Boot 2010.06 (|
00020f10  4f 63 74 20 32 39 20 32  30 31 31 20 2d 20 31 37  |Oct 29 2011 - 17|
00020f20  3a 32 37 3a 30 31 29 00  18 13 ea 80 20 13 ea 80  |:27:01)..... ...|
00020f30  27 13 ea 80 2e 13 ea 80  35 13 ea 80 3c 13 ea 80  |'.......5...< ...|
00020f40  43 13 ea 80 4a 13 ea 80  51 13 ea 80 58 13 ea 80  |C...J...Q...X...|
00020f50  5f 13 ea 80 67 13 ea 80  6f 13 ea 80 77 13 ea 80  |_...g...o...w...|
00020f60  7f 13 ea 80 87 13 ea 80  8f 13 ea 80 97 13 ea 80  |................|</pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/12/20/gl4ever-flytouch-iii-the-internal-sd-card/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gaining root access on the Android 2.3-based GL4Ever Flytouch III</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/12/16/root-gl4ever-flytouch-iii-gingerbread/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/12/16/root-gl4ever-flytouch-iii-gingerbread/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 06:44:32 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=880</guid>
		<description><![CDATA[Yes, I&#8217;ve joined this century and bought myself a tablet. Lately, I&#8217;ve found myself needing some means of navigating in strange areas whilst on the bicycle, and while pieces of paper work &#8212; if you&#8217;re organised enough to print them out in advance and not ride too fast (otherwise they disappear with the wind), I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I&#8217;ve joined this century and bought myself a tablet. Lately, I&#8217;ve found myself needing some means of navigating in strange areas whilst on the bicycle, and while pieces of paper work &#8212; if you&#8217;re organised enough to print them out in advance and not ride too fast (otherwise they disappear with the wind), I&#8217;ve found there are a number of shortcomings with this.</p>
<p>Since I like open source, and didn&#8217;t like the idea of spending several hundred on a hand-held GPS with proprietary firmware &amp; map data which I need to constantly purchase updates for, I opted for the cheapskate route.  I picked up a GL4Ever Flytouch III Tablet off eBay.  The unit I have came loaded with Android 2.3 (Gingerbread).</p>
<p>Ultimately I may replace the OS, or at least, the kernel, soon as I have sources for it, but in the meantime, it runs what it came with.  I have however, already managed to gain root access.</p>
<p>Those who might do a search for how to do so, may come across <a href="http://thebelv.altervista.org/Flytouch3/rooting/rooting_flytouch3.html">this guide</a>.  I tried this first, and found I had no joy.  USB Debugging was enabled out-of-the-box on the unit I have, but z4root did not successfully enable root access.  The following are my notes on how I gained a shell with root access on the device.  Ohh, and I warn you, there is no warranty given in the instructions below.  If it breaks, you get to keep the pieces.</p>
<ol>
<li>Download and install <a href="http://forum.xda-developers.com/showthread.php?t=1044765">Gingerbreak</a>.</li>
<li>Run Gingerbreak, it will run for a while, before resetting the device.  Upon starting, you should now notice you have a <em>Superuser</em> application installed.</li>
<li>Next, install <a href="https://github.com/jackpal/Android-Terminal-Emulator/wiki">Android Terminal</a>.</li>
<li>Now, run <tt>/system/bin/su</tt>.</li>
</ol>
<p><tt>/bin/su</tt> is a symbolic link to <tt>/bin/busybox</tt> which was installed without the <tt>setuid</tt> bit, and is broken anyway, you&#8217;ll find if you do add a <tt>setuid</tt> bit, it will report that it can&#8217;t find the &#8216;<tt>root</tt>&#8216; user.  This system has no <tt>/etc/passwd</tt> or equivalent user database, so it has no idea who &#8216;<tt>root</tt>&#8216; is, but it knows who UID 0 is, and that&#8217;s what matters.  The latter &#8216;<tt>su</tt>&#8216; you&#8217;ll find has the necessary permissions, and knows about UID 0.</p>
<p>Other things I&#8217;ve found… the operating system lurks on a SD card embedded in the device.  Or at least, it&#8217;s <em>presented</em> as a SD card; <tt>/dev/block/mmcblk0</tt>.  The user-accessible SD-card port is <tt>/dev/block/mmcblk1</tt>.  You can verify this by ejecting the card, doing a <tt>ls /dev/block</tt>, then inserting a card and repeating.</p>
<p>On my TODO list, is to make a DD-copy of this block device, and pick through to see how one swaps out the kernel.  I&#8217;ll post notes if I figure this out.  I am also yet to obtain the kernel sources, I&#8217;ll chase those up before long.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/12/16/root-gl4ever-flytouch-iii-gingerbread/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Journaling could not be enabled&#8221;</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/10/30/journaling-could-not-be-enabled/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/10/30/journaling-could-not-be-enabled/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 02:12:51 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=873</guid>
		<description><![CDATA[I struck this little jem today whilst shuffling the partitions around on my MacBook. (In my wisdom, I had made my MacOS X partitions waaay too big, and my Linux partitions waaay too small.) The back-story is that I had made my MacOS X root and /Users partitions too big. I had successfully shrunk both, [...]]]></description>
			<content:encoded><![CDATA[<p>I struck this little jem today whilst shuffling the partitions around on my MacBook. (In my wisdom, I had made my MacOS X partitions waaay too big, and my Linux partitions waaay too small.)</p>
<p>The back-story is that I had made my MacOS X root and /Users partitions too big. I had successfully shrunk both, however, I discovered MacOS X&#8217;s Disk Utility does not support <em>moving</em> partitions, only resizing.  So, I created a new non-journalled HFS+ partition, booted into a Linux LiveCD, used <tt>rsync</tt> to clone the data.</p>
<p>All good and well, except after I deleted the old partition, I found I could not resize a non-journalled partition.  Fine, I hit &#8220;Enable Journaling&#8221;&#8230; no dice, it wouldn&#8217;t do it, and wouldn&#8217;t explain why.</p>
<p>So I was in a pickle.  The partition was too small for my needs, there was room to grow it, but it couldn&#8217;t do that unless journalling was enabled, and it wouldn&#8217;t enable it for me.</p>
<p>Further investigation, I fire up the Terminal and have a squiz on the command line, I spot something rather interesting:</p>
<pre>
vk4msl-mb:~ root# cd /Volumes/Home
vk4msl-mb:Home root# ls
.DS_Store		.fseventsd		Shared
.Spotlight-V100		<u>.journal</u>		stuartl
.TemporaryItems		<u>.journal_info_block</u>
.Trashes		.localized
</pre>
<p>Ohh yes, that might be a probable cause.  <tt>rsync</tt> it seems, copied the <tt>.journal</tt> file over.  And thus when Disk Utility <tt>open()</tt>&#8216;s <tt>.journal</tt> (presumably with <tt>O_CREAT</tt>), the MacOS X kernel reports <tt>EEXIST</tt> (the file already exists).</p>
<p>I tried renaming it (with <tt>mv</tt>):</p>
<pre>
vk4msl-mb:Home root# <b>mv .journal{,.old}</b>
mv: rename .journal to .journal.old: Operation not permitted
</pre>
<p>Okay, that didn&#8217;t work.  That said, the <em>old</em> partition was journalled, this one is not.  So it probably doesn&#8217;t contain anything of great relevance now.  It does have data:</p>
<pre>
vk4msl-mb:Home root# <b>ls -ld .journal</b>
----------@ 1 root  wheel  <u>25165824</u> Apr  4  2011 .journal
</pre>
<p>So I decided to kiss it goodbye:</p>
<pre>
vk4msl-mb:Home root# <b>rm .journal</b>
override ---------  root/wheel uappnd,uchg,nodump,opaque for .journal? <b>y</b>
vk4msl-mb:Home root# <b>rm .journal_info_block</b>
override ---------  root/wheel uappnd,uchg,opaque for .journal_info_block? <b>y</b>
vk4msl-mb:Home root# <b>ls</b>
.DS_Store	.TemporaryItems	.fseventsd	Shared
.Spotlight-V100	.Trashes	.localized	stuartl
</pre>
<p>All gone.  Having done this, I now found that Disk Utility was more than happy to not only enable journalling, but grow the partition as I originally asked.</p>
<pre>
vk4msl-mb:~ root# <b>mount</b>
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk0s3 on /Volumes/Home (hfs, local, <u>journaled</u>)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk0s7 on /Volumes/Data (hfs, local)
vk4msl-mb:~ root# <b>df -h</b>
Filesystem      Size   Used  Avail Capacity  Mounted on
/dev/disk0s2    93Gi   20Gi   73Gi    22%    /
devfs          123Ki  123Ki    0Bi   100%    /dev
/dev/disk0s3   242Gi   82Gi  160Gi    34%    /Volumes/Home
map -hosts       0Bi    0Bi    0Bi   100%    /net
map auto_home    0Bi    0Bi    0Bi   100%    /home
/dev/disk0s7    84Gi  893Mi   83Gi     2%    /Volumes/Data
</pre>
<p>If others find themselves in this sticky situation, this might be a way out.  I would <em>strongly</em> advise they back up any data before messing with file systems in this manner however.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/10/30/journaling-could-not-be-enabled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;We don&#8217;t want management GUIs to run on servers – that&#8217;s a bad thing.&#8221;</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/09/15/mgmtgui-server-bad/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/09/15/mgmtgui-server-bad/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 23:07:42 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Public Syndication]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=871</guid>
		<description><![CDATA[Yes, Finally, thank-you Jeffrey for admitting this. If only you had realised this years ago, I might not be battling Microsoft SQL Server 2000 using RDP over a 31.2kbps PSTN modem link yesterday and this morning.  I might&#8217;ve instead been using a mysqldump-like tool over something akin to SSH, which would have been very welcome [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, Finally, thank-you Jeffrey for <a href="http://www.theregister.co.uk/2011/09/14/windows_server_2008_overview/">admitting this</a>.</p>
<p>If only you had realised this years ago, I might not be battling Microsoft SQL Server 2000 using RDP over a 31.2kbps PSTN modem link yesterday and this morning.  I might&#8217;ve instead been using a <tt>mysqldump</tt>-like tool over something akin to SSH, which would have been very welcome yesterday and today.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/09/15/mgmtgui-server-bad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broadcom Wireless related ebuilds</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/09/13/broadcom-wireless-related-ebuilds/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/09/13/broadcom-wireless-related-ebuilds/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 09:31:21 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Gentoo Development]]></category>
		<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=865</guid>
		<description><![CDATA[Hi all… I got fed up of restoring my firmware for the Broadcom wireless chip in my late-2008 model MacBook.  Anyone who has one of these might find the current in-tree versions of net-wireless/b43-firmware is missing files needed by the modern b43 driver (namely ucode16_mimo.fw), and net-wireless/b43-fwcutter doesn&#8217;t well, cut it, for extracting the newer [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all…</p>
<p>I got fed up of restoring my firmware for the Broadcom wireless chip in my late-2008 model MacBook.  Anyone who has one of these might find the current in-tree versions of <tt>net-wireless/b43-firmware</tt> is missing files needed by the modern b43 driver (namely <tt>ucode16_mimo.fw</tt>), and <tt>net-wireless/b43-fwcutter</tt> doesn&#8217;t well, cut it, for extracting the newer files.</p>
<p>If you&#8217;ve got a newer 802.11n-based Broadcom chip, you might find the following ebuilds handy:</p>
<ul>
<li><tt>net-wireless/b43-firmware-5.10.56.27.3</tt></li>
<li><tt>net-wireless/b43-fwcutter-015</tt> and <tt>net-wireless/b43-fwcutter-9999</tt></li>
</ul>
<p>The first is the firmware mentioned in <a href="http://article.gmane.org/gmane.linux.drivers.bcm54xx.devel/11583">this post</a>.  It needs a newer <tt>fwcutter</tt> binary than is provided in Portage.  You&#8217;ve got the choice of the latest version, or the bleeding edge via git.  Both work at time of writing, although neither are guaranteed.</p>
<p>The ebuilds are not in-tree, I&#8217;ll leave that for the <em>actual</em> maintainer for these ebuilds to pick them up if desired, I&#8217;ve put them in an overlay accessed via the following command:</p>
<pre>git clone git://git.longlandclan.yi.org/overlays/b43.git</pre>
<p>Or you can take a squiz via <a href="http://git.longlandclan.yi.org/?p=overlays/b43.git;a=summary">gitweb</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/09/13/broadcom-wireless-related-ebuilds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build Log: 60W 2m Linear: Day 2</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/08/13/buildlog-2mlinear-day1/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/08/13/buildlog-2mlinear-day1/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 07:58:58 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>
		<category><![CDATA[Homebrew]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=858</guid>
		<description><![CDATA[This post may also be read here. Well, today I did some more work on the 2m linear.  Earlier this week I ordered some SMA connectors and some 1N5711 diodes for the project. Two 1N5711 diodes will be used to make a voltage peak detector, to detect when the amplifier is subjected to power above [...]]]></description>
			<content:encoded><![CDATA[<p>This post may also be read <a href="http://forums.atomicmpc.com.au/index.php?s=&amp;showtopic=44184&amp;view=findpost&amp;p=891961">here</a>.</p>
<p>Well, today I did some more work on the 2m linear.  Earlier this week I ordered some SMA connectors and some 1N5711 diodes for the project.</p>
<p>Two 1N5711 diodes will be used to make a voltage peak detector, to detect when the amplifier is subjected to power above 60mW.  The SMA connectors will be the interconnects between the modules.  This afternoon&#8217;s effort was spent soldering the SMA connectors onto two of the boards, and mounting the 2m amplifier module onto the heatsink.</p>
<p>The EME157B2 preamplifier kit was originally intended to be mounted in a masthead box, with BNC connectors soldered to the PCB, and stuck up a pole near the antenna.  In my application, I wanted it to be in the same enclosure (with suitable shielding) as the power amp, so that I could use its RF detection to automatically switch the power amplifier on.  I will also be using different relays, mounted on a separate board.</p>
<p>Instead of mounting the SPDT relays for the kit on the EME157B2 board, I&#8217;ve instead left these off.  I also omitted the 2N7000 MOSFET which turns on the relays, and L4, an RF-blocking choke which permits the preamp to run from a 12V source supplied up the coax.  I instead will power the preamp directly.</p>
<p>Since the relays will be on a separate board, the plan is to run wires from the gate and source connections where the 2N7000 belongs, and run those out to a controller board.  With the relays gone, the RF detection and the preamp are essentially two distinct circuits.  So 3 SMA connectors will be needed.  Here is the completed board with the SMA connectors fitted, and suitable jumpers installed, ready for tuning.</p>
<div id="attachment_859" class="wp-caption aligncenter" style="width: 310px"><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/preamp.jpg"><img class="size-medium wp-image-859" title="Completed 2m preamplifier" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/preamp-300x225.jpg" alt="Completed 2m preamplifier" width="300" height="225" /></a><p class="wp-caption-text">Completed 2m preamplifier. Connectors going left-to-right: Antenna input, Amplifier output, RF detector input.</p></div>
<p>Next, I finished off the power amplifier board, mounting it to the heatsink.  I have left one EMC filter disconnected for now, as the instructions say to power it up first with it disconnected to set the trim pot for 4.5V bias.  Rather than mounting the board flat on the heatsink, I have instead opted to mount the PCB at 90? to the module.  I had to make the supplied eyelets a fraction longer to accommodate this.  I also mounted SMA connectors on this board.</p>
<div id="attachment_860" class="wp-caption aligncenter" style="width: 310px"><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/poweramp.jpg"><img class="size-medium wp-image-860" title="Completed 2m power amplifier" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/poweramp-300x225.jpg" alt="Completed 2m power amplifier" width="300" height="225" /></a><p class="wp-caption-text">Completed 2m power amplifier. RF input is on the left.</p></div>
<p>The plan is, I&#8217;ll route RG195 coax on the left side to a small module which will contain the overload detection circuit and two SMAs for an external attenuator module.  On the right, a low-pass filter will be connected.  I also had a stab at tapping holes into the sides of the heatsink for mounting a bracket.  This bracket would hold the fans on top, and would bolt onto the main enclosure.  In doing this, I managed to bugger up two of the 8 holes, and thus what I&#8217;ll probably do, is buy a M4 tap tomorrow, drill them all out to 3mm and tap them to 4mm.  These are structural holes, so bigger is probably better anyway.</p>
<p>Much of today though was spent designing the controller.  I&#8217;m still finalising the design, but a rough schematic is below.</p>
<div id="attachment_861" class="wp-caption aligncenter" style="width: 310px"><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/controller.png"><img class="size-medium wp-image-861" title="2m amplfier controller" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/controller-300x220.png" alt="2m amplfier controller" width="300" height="220" /></a><p class="wp-caption-text">2m amplfier controller</p></div>
<p>So, not yet going, but big parts are built now.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/08/13/buildlog-2mlinear-day1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build Log: 60W 2m Linear: Introduction and Day 1</title>
		<link>http://stuartl.longlandclan.yi.org/blog/2011/08/04/buildlog-2mlinear-day0/</link>
		<comments>http://stuartl.longlandclan.yi.org/blog/2011/08/04/buildlog-2mlinear-day0/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 10:25:38 +0000</pubDate>
		<dc:creator>Redhatter (VK4MSL)</dc:creator>
				<category><![CDATA[Amateur Radio]]></category>
		<category><![CDATA[Homebrew]]></category>
		<category><![CDATA[Public Syndication]]></category>

		<guid isPermaLink="false">http://stuartl.longlandclan.yi.org/blog/?p=847</guid>
		<description><![CDATA[This build log is also viewable here. Background A few months back, I grabbed the trusty FT-290R II ready to do my weekly run from The Gap to Tarragindi.  Quick test to check everything&#8217;s okay… the power meter swings to full scale, but strange, I&#8217;m not hitting any repeaters. Okay, grabbed the FT-897D instead, and [...]]]></description>
			<content:encoded><![CDATA[<p>This build log is also viewable <a href="http://forums.atomicmpc.com.au/index.php?showtopic=44184">here</a>.</p>
<h2>Background</h2>
<p>A few months back, I grabbed the trusty FT-290R II ready to do my weekly run from The Gap to Tarragindi.  Quick test to check everything&#8217;s okay… the power meter swings to full scale, but strange, I&#8217;m not hitting any repeaters.</p>
<p>Okay, grabbed the FT-897D instead, and I just did my weekly radio duties with that instead.  When I came home that evening, I had a closer look.  The FT-290R II was emitting a signal, the hand-held was picking that up.  It was also receiving just fine.  On a hunch I took off the FL-2025 linear, and hooked the antenna up directly to the radio.  Bingo… the radio works, the linear does not.</p>
<p>So, the linear had died, and thus I was in need of a new one.  Hand helds really don&#8217;t have much punch for mobile use, in fact, the FT-290 has been brilliant on the bike.  Not menu driven, so it&#8217;s real easy to drive while riding, simple, no frills, and sufficient grunt to get out of a bad area.  It also does SSB (and CW, but I&#8217;ll leave that to LY2KW).</p>
<p>I could buy a new set, in fact, I may get a FT-857D, as the 897D is a heavy lump of a radio to lug around, and there are times when HF capability is useful.  It is less than ideal on the bike however due to its size and weight.  There was nothing wrong with the FT-290, just its linear was dead, thus I was limited to its barefoot transmit power of 2.5W, even less than most handhelds.</p>
<p>So, I decided I&#8217;d try my hand at a semi-homebrew linear amplifier.</p>
<h2>The concept</h2>
<p>I wanted an amplifier that could achieve at least 25W of transmit power using SSB.  As I&#8217;d likely use it for things like WIA broadcasts, I wanted one that would also handle transmitting for a long period of time.</p>
<p>Designing a full blown amplifier on 2m is a bit beyond me with my limited homebrew experience.  It is also an issue sourcing the PCB material needed for VHF projects.  A lot out there call for FR4 grade fibreglass PCBs.  I have no idea what Jaycar sell.  So this was going to be a potential minefield.  Thus, I opted for a kit.</p>
<p>Minikits sell one based on the <a href="http://www.minikits.com.au/kits2.html#ra30h1317">Mitsubishi RA30H1317M</a>.  The same kit, can also take the 60W module, which sounded good to me.  Most of the time I&#8217;d be running it at 30W, but having 60W capability sounded good.  I purchased this, along with the 30W module as well just in case.</p>
<p>I also thought a pre-amp would be nice.  The same supplier sells <a href="http://www.minikits.com.au/kits2.html#eme157b2">this preamp kit</a>.  The kit also offers RF sensing, which would allow the amplifier to auto-detect the radio transmitting, and switch into transmit mode automatically.  This also allows for filtering, to prevent reception of pagers (not fun copping an earful of one of those when you&#8217;re wearing a helmet-embedded headset riding a bicycle).</p>
<h2>Cooling</h2>
<p>Minikits recommends using a Pentium 4 heatsink for 30W modules, however it wasn&#8217;t clear if this would be sufficient for 60W modules.</p>
<p>I wanted the amplifier module to stay below 100?C while operating with ambient temperatures at 40?C.  Pretty sure I don&#8217;t want to operate a radio under such conditions, so it should work fine in all conditions that I&#8217;m likely to encounter.</p>
<p>The amplifier module is about 45% efficient, thus about 135W is dissipated when operating at full power.  By my calculations, I was looking for cooling that can provide 0.22?C/W.</p>
<p>A quick search revealed that I could get one via <a href="http://www.conradheatsinks.com/products/flat_hd.html">Conrad</a> which in the open air achieves 0.84?C/W.  Combined with a fan, it can achieve 0.24?C/W.  Jaycar sell <a href="http://www.jaycar.com.au/productView.asp?ID=YX2505&amp;form=CAT2&amp;SUBCATID=981#1">this fan</a>, which is quite capable.  In fact, two of them will fit across the back of the heatsink, so with dual fans, I should be well and truly within limits.</p>
<p>I placed the order for the heatsink a fortnight ago.  Due to a mix-up, I didn&#8217;t get it until Wednesday, but that&#8217;s fine, I wasn&#8217;t in any hurry.  With the heatsink now in my possession, I today headded to Jaycar to pick up some of the bits and pieces I&#8217;d need for this project, starting with the enclosure.</p>
<p>One thing I <em>did</em> neglect to procure today, were the fans… but no biggie, I&#8217;ll get those later.</p>
<h2>Prior work</h2>
<p>Well, technically day one was some time ago.  I had already mostly built the amplifier kit, and the preamp.  The preamp got built way back when I first obtained the kits.</p>
<p>The power amp was built later, however the instructions suggested that I wait until I have the amplifier module mounted on the heatsink before I go soldering it to the PCB.</p>
<div id="attachment_848" class="wp-caption aligncenter" style="width: 310px"><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/amp-and-module.jpeg"><img class="size-medium wp-image-848 " title="Amplifier kit and 60W module" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/amp-and-module-300x224.jpg" alt="Amplifier kit and 60W module" width="300" height="224" /></a><p class="wp-caption-text">Amplifier kit and 60W module</p></div>
<h2>Day 1</h2>
<p>Having got the heatsink, enclosure and tools, I set to work.  Initially I positioned, drilled and tapped the two M3 holes for mounting the amplifier module.  I haven&#8217;t tried putting the amplifier in place yet, but it looks like the holes are positioned pretty well.</p>
<div id="attachment_849" class="wp-caption aligncenter" style="width: 310px"><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/heatsink-and-ampmod.jpeg"><img class="size-medium wp-image-849" title="Amplifier module on heatsink" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/heatsink-and-ampmod-300x224.jpg" alt="Amplifier module on heatsink" width="300" height="224" /></a><p class="wp-caption-text">Amplifier module on heatsink</p></div>
<p>My plan, is to bend the pins on the module at 90? and mount the PCB horizontally.  Both module and PCB would be passed through the side wall of the enclosure, with the heatsink outside.  I originally wanted the heatsink inside the case (with vent holes), but of course, Jaycar are not good at providing internal dimensions, and I soon discovered it&#8217;d be awkward to fit.</p>
<p>It took a bit of experimentation to cut the hole in the side.  No, I won&#8217;t be winning any prizes for my metal work, in fact, it never was one of my best subjects.</p>
<div class="wp-caption aligncenter" style="width: 310px"><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/enclosure-and-heatsink.jpeg"><img class="size-medium wp-image-850" title="Heatsink and empty enclosure" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/enclosure-and-heatsink-300x224.jpg" alt="Heatsink and empty enclosure" width="300" height="224" /></a><a href="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/heatsink-and-enclosure-altview.jpeg"><img class="size-medium wp-image-851" title="Heatsink and empty enclosure (side view)" src="http://stuartl.longlandclan.yi.org/blog/wp-content/uploads/2011/08/heatsink-and-enclosure-altview-300x224.jpg" alt="Heatsink and empty enclosure (side view)" width="300" height="224" /></a><p class="wp-caption-text">Heatsink and empty enclosure</p></div>
<h2>Next steps:</h2>
<p>My immediate next step will be to mount the amplifier module, solder it to the PCB, and mount the PCB inside the case.  Then I mount the heatsink and fans to the case.</p>
<p>I have a controller that I have designed at digital logic level, however I&#8217;ll need to do some further design work to make sure it&#8217;ll do what I intend, before procuring the parts and building it.</p>
]]></content:encoded>
			<wfw:commentRss>http://stuartl.longlandclan.yi.org/blog/2011/08/04/buildlog-2mlinear-day0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

