<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Eclectic Technical Experiences</title>
	<atom:link href="http://sivantoledotech.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sivantoledotech.wordpress.com</link>
	<description>Sivan Toledo&#039;s Technical Ups and Downs</description>
	<lastBuildDate>Sun, 19 May 2013 06:51:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sivantoledotech.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Eclectic Technical Experiences</title>
		<link>http://sivantoledotech.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sivantoledotech.wordpress.com/osd.xml" title="Eclectic Technical Experiences" />
	<atom:link rel='hub' href='http://sivantoledotech.wordpress.com/?pushpress=hub'/>
		<item>
		<title>A small improvement to the DEMI LNA and a UHF J-Pole Antenna</title>
		<link>http://sivantoledotech.wordpress.com/2013/02/22/lna-regulator-and-j-pole/</link>
		<comments>http://sivantoledotech.wordpress.com/2013/02/22/lna-regulator-and-j-pole/#comments</comments>
		<pubDate>Fri, 22 Feb 2013 01:22:57 +0000</pubDate>
		<dc:creator>Sivan Toledo</dc:creator>
				<category><![CDATA[Antennas]]></category>
		<category><![CDATA[Circuits]]></category>
		<category><![CDATA[Radio]]></category>

		<guid isPermaLink="false">http://sivantoledotech.wordpress.com/?p=726</guid>
		<description><![CDATA[I recently built two more UHF preamplifier kits made by Down East Microwave (DEMI) and a simple reference antenna to go with them. The antenna and two preamplifiers feed a USRP radio with a WBX front end. The USRP uses a 6V power supply. This created a slight logistical problem for the preamplifiers. They contain a [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=726&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://sivantoledotech.files.wordpress.com/2013/02/img_05881.jpg"><img class="alignright  wp-image-730" alt="IMG_0588" src="http://sivantoledotech.files.wordpress.com/2013/02/img_05881.jpg?w=300&#038;h=168" width="300" height="168" /></a>I recently built two more UHF preamplifier kits made by <a href="http://www.downeastmicrowave.com/">Down East Microwave</a> (DEMI) and a simple reference antenna to go with them.</p>
<p>The antenna and two preamplifiers feed a USRP radio with a WBX front end. The USRP uses a 6V power supply. This created a slight logistical problem for the preamplifiers. They contain a 78M05 linear voltage regulator that drops the input voltage down to 5V. The 78M05 requires an input voltage higher than 6V, which means that the power supply of the USRP cannot power the preamplifiers; I would need a separate power supply for them, one that provides 7V or higher.</p>
<p>This seemed a bit silly when so many low-dropout regulators are available. After searching a bit I found a 5V low-dropout regulator in the same package as the 78M05 that came with the kits (a TO-252 surface-mount package) and with the same pinout; a direct replacement. This regulator, TL720M05 by Texas Instruments, works down to an input voltage of 5.5V and can tolerate even higher input voltages than the 78M05. It does require a larger output capacitor of 22μF or higher; I used 47μF 10V SMD tantalum capacitors which fit on the printed circuit board without a problem. The parts were not expensive and I am happy with the improved functionality of the preamplifiers and the ability to use a single power supply for them and for the USRP.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2013/02/img_0589.jpg"><img class="alignright size-medium wp-image-731" alt="IMG_0589" src="http://sivantoledotech.files.wordpress.com/2013/02/img_0589.jpg?w=300&#038;h=200" width="300" height="200" /></a>Incidentally, I ordered these preamplifier kits with the optional enclosure and connectors; they fit together beautifully, as you can see below.</p>
<p>The antenna I built is a simple J-pole, which means it&#8217;s a dipole fed from one end by a quarter length matching stub. I computed the length of the stub and the radiating element using an on-line calculator. I left the radiating element a little long for tuning, soldered the coax to the matching stub at the point suggested by the calculator, and tested the antenna for low SWR with the FT-857D. The SWR was a little high. I tried the antenna up and down the 430MHz band trying to see in which direction to tune the antenna (hoping that tuning would require cutting the antenna rather than extending it). <a href="http://sivantoledotech.files.wordpress.com/2013/02/img_9795.jpg"><img class="alignright size-medium wp-image-734" alt="IMG_9795" src="http://sivantoledotech.files.wordpress.com/2013/02/img_9795.jpg?w=200&#038;h=300" width="200" height="300" /></a>I eventually managed to tune it, but I discovered in the process that a J-pole is not an easy antenna to tune with an SWR meter alone. There are 3 tuning parameters: the length of the radiating element (which you can tune by chopping pieces off the top), the length of the matching stub (chopping pieces off its free end makes the stub shorter and the radiating element longer), and the connection point of the coax to the stub. The first two parameters should bring the antenna to resonance and the third should bring the resistive impedance to 50Ω. Eventually I got it close enough. In the picture on the right you can see the antenna with the coax connected. This short piece of coax is meant to connect the antenna to the preamplifier. Once it was tuned, I added a ferrite sleeve as a choke, put the antenna inside a PVC pipe with some foam to hold it in place (I also tested for resonance inside the PVC sleeve in case it affects the tuning a bit), and the antenna was ready. In the pictures below you can see the coax connection and the two halves of the ferrite sleeve, as well as the antenna mounted with a preamplifier on the roof.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2013/02/img_9797.jpg"><img class="alignleft size-medium wp-image-735" alt="IMG_9797" src="http://sivantoledotech.files.wordpress.com/2013/02/img_9797.jpg?w=300&#038;h=200" width="300" height="200" /> </a> <a href="http://sivantoledotech.files.wordpress.com/2013/02/2013-02-04-08-36-49.jpg"><img class=" wp-image-736 alignright" alt="SAMSUNG" src="http://sivantoledotech.files.wordpress.com/2013/02/2013-02-04-08-36-49.jpg?w=95&#038;h=300" width="95" height="300" /></a></p>
<br />Filed under: <a href='http://sivantoledotech.wordpress.com/category/radio/antennas/'>Antennas</a>, <a href='http://sivantoledotech.wordpress.com/category/radio/circuits/'>Circuits</a>, <a href='http://sivantoledotech.wordpress.com/category/radio/'>Radio</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sivantoledotech.wordpress.com/726/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sivantoledotech.wordpress.com/726/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=726&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sivantoledotech.wordpress.com/2013/02/22/lna-regulator-and-j-pole/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/24365794e76469733b1fe48cac05cbc3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sivantoledo</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2013/02/img_05881.jpg?w=150" medium="image">
			<media:title type="html">IMG_0588</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2013/02/img_0589.jpg?w=300" medium="image">
			<media:title type="html">IMG_0589</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2013/02/img_9795.jpg?w=200" medium="image">
			<media:title type="html">IMG_9795</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2013/02/img_9797.jpg?w=300" medium="image">
			<media:title type="html">IMG_9797</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2013/02/2013-02-04-08-36-49.jpg?w=95" medium="image">
			<media:title type="html">SAMSUNG</media:title>
		</media:content>
	</item>
		<item>
		<title>Transmitting (and Receiving) DVB-T on 1.2 GHz</title>
		<link>http://sivantoledotech.wordpress.com/2012/12/01/dvbt-txrx/</link>
		<comments>http://sivantoledotech.wordpress.com/2012/12/01/dvbt-txrx/#comments</comments>
		<pubDate>Sat, 01 Dec 2012 09:55:50 +0000</pubDate>
		<dc:creator>Sivan Toledo</dc:creator>
				<category><![CDATA[DSP]]></category>
		<category><![CDATA[Radio]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://sivantoledotech.wordpress.com/?p=707</guid>
		<description><![CDATA[What interesting stuff can you do with a wideband software-defined transceiver? This question started bugging me when I got access at work to an N200 USRP with a WBX daughter board. The N200 is a DAC/ADC motherboard that can stream up to 50M samples per second to/from a computer using a gigabit Ethernet cable, and [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=707&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>What interesting stuff can you do with a wideband software-defined transceiver? This question started bugging me when I got access at work to an <a href="https://www.ettus.com/product/details/UN200-KIT">N200 USRP</a> with a <a href="https://www.ettus.com/product/details/WBX">WBX</a> daughter board. The N200 is a DAC/ADC motherboard that can stream up to 50M samples per second to/from a computer using a gigabit Ethernet cable, and the WBX is an up/down converter that covers 50 to 2200 MHz. Together, they can receive and transmit signals with bandwidth of up to about 25 MHz almost anywhere in the VHF and UHF bands.</p>
<p>The coolest thing I could think of is to transmit digital television in a standard format that could hopefully be received by normal televisions, set-top boxes, and USB TV dongles. I almost succeeded, and this post tells the story. (For the impatient, here is the summary: I managed to transmit digital TV to a standard dongle, but in order to do this both legally and ethically, I had to hack its driver a bit; the video is jumpy, but it&#8217;s there.)</p>
<h3>Standard and Frequency Selection</h3>
<p>Choosing a digital video standard to transmit was easy. The on-the-air TV stations here transmit DVB-T (a widely-used standard for terrestrial digital TV), and I already had a DVB-T USB donble (which I used as an SDR receiver up to now), so the obvious choice was DVB-T.</p>
<p>Selecting a frequency to transmit is more of a problem, because the easy choice is not a good choice. Terrestrial digital TV is transmitted in VHF and low-UHF channels, from 50 to 862 MHz. DVB-T channels are 6, 7, or 8 MHz wide. The only amateur band within this range that is wide enough is the 430-440 MHz band, and it&#8217;s only 10MHz wide here; in other parts of the world it covers 420-450 MHz. If I transmit DVB-T within these 10 MHz, I will transmit over many other signals, including satellites, repeaters, and simplex channels, so this band is really not an option. The next band up is 1240-1300 MHz, which is both wide enough and almost completely unused here, except for some EME usage near 1296 MHz. So the choice is easy; I have to transmit at 1.2 GHz. But DVB-T receivers won&#8217;t tune that high, given that all of the channels are at 862 MHz or below, so it&#8217;s a choice with a problem.</p>
<p>Still, I knew that my DVB-T dongle can physically tune up to 1700 MHz (this is also true for many other dongles, and I image also for many set-top boxes and built-in tuners in TVs). So I decided to transmit at 1.2 GHz and to try to force the dongle to tune.</p>
<p>I thought that it would be easier to convince the dongle to receive at 1.2 GHz on Linux than on Windows. I managed to do it on Linux and it was not hard; I still don&#8217;t know if this is possible at all on Windows, and if it&#8217;s possible how difficult it is. But the main thing for now is that it&#8217;s manageable on Linux.</p>
<h3>Preparing for DVB-T Reception on Linux</h3>
<p>My dongle is based on the Realtek RTL2832U demodulator chip (and on the Elonics E4000 tuner chip). I wanted to use it on a computer running Ubuntu 12.04; the Linux kernel in Ubuntu 12.04 does not support this dongle. This turned out to be a blessing in disguise, however.</p>
<p>Hubert Lin&#8217;s blog shows <a href="http://linbay.blogspot.com/2012/05/hassle-almost-free-rtl2832u-linux.html">how to install the driver on Ubuntu 12.04</a> (and using a somewhat different procedure, on <a href="http://linbay.blogspot.com/2012/11/realtek-rtl2832u-dvb-t-on-ubuntu-1210.html">12.10</a>). I tried to follow the instructions but the processed failed at some point. Fortunately, Chris Merrett packaged the driver in an easier to install format called DKMS, and he explained how to install it in a comment in Hubert&#8217;s blog. I followed the instructions and everything worked just fine. A DKMS driver is installed in a source-code format and this source code is compiled for every version of the kernel that you use. This turned out to be very useful. Installing the driver is very easy:</p>
<pre>$ sudo apt-add-repository ppa:chrisfu/rt2832u-dkms
$ sudo apt-get update
$ sudo apt-get install rtl2832u-dkms</pre>
<p>With the driver installed, I installed an Ubuntu package called <em>dvbt-apps</em>, which contains a necessary channel-enumeration utility, and I was ready to try receiving the local on-the-air DVB-T transmissions.</p>
<p>The process starts with a utility called <a href="http://linuxtv.org/wiki/index.php/Scan"><em>scan</em></a>. It takes a file containing tuning information for local stations and tries to tune the dongle to them. The station information includes the center frequency, the modulation format, and a bunch of parameters that specify how the transmission is encoded. A DVB-T transmission (station) can transmit multiple channels (simultaneous programs), and <em>scan</em> lists all the channels that it finds within the transmission. I found a file listing the parameters for the local transmissions (at 514 and 538 MHz, transmitting the same channels), ran <em>scan</em>, and it found about 5 TV channels and more than 10 radio stations within the transmissions. Here is the input file to scan (for Israel):</p>
<pre># Initial scan config for Israel
# T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy
T  538000000 8MHz 2/3 NONE QAM16 8k 1/32 AUTO
T  514000000 8MHz 2/3 NONE QAM16 8k 1/32 AUTO</pre>
<p>The output looks like this (chopped here for conciseness; the first two programs are TV and the other two are radio):</p>
<pre>Ch 1:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:2561:2562:1
Ch 2:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:2593:2594:2
...
88FM:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:0:2897:26
MUSICA:538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:0:2913:27
...</pre>
<p>Next, I ran the <em>vlc</em> video viewer, providing it with the file that <em>scan </em>produced. I was able to view TV. I also recorded the video+audio stream of one of the channels using <em>vlc</em> in a format called a <a href="http://en.wikipedia.org/wiki/MPEG_transport_stream">transport stream</a> in order to try to transmit it later.</p>
<h3>Tuning the Dongle to 1.2 GHz</h3>
<p>At this point I created a copy of the <em>scan</em> input file and changed the center frequency to a frequency in the 1.2 GHz band. <em>Scan</em> failed; it could not tune the dongle to this frequency. I knew that the dongle can physically tune that high so I assumed that some piece of software was aware of the allocation of DVB-T frequencies and did not allow tuning any higher. I tried various frequencies until I realized that the dongle tunes up to 862 MHz. I searched for this number in the sources of the driver and found one C file that contained the number 3 or 4 times. It was the value for a field called <em>frequency_max</em> in structures that describe the capabilities of the dongle for several digital TV formats, including DVB-T.</p>
<p>I changed the value from 862000000 to 1700000000 and tried to get the driver to re-compile. It took me a while to figure out that the correct process is to remove the driver entirely and then to rebuild and install it.</p>
<pre>$  sudo dkms remove -m rtl2832u/3.0.1 --all
$  sudo dkms add -m rtl2832u -v 3.0.1
$  sudo dkms build -m rtl2832u -v 3.0.1
$  sudo dkms install -m rtl2832u -v 3.0.1</pre>
<p>Now the dongle tuned to 1.2 GHz. <em>Scan</em> obviously did not find any transmissions there, but I was now ready to receive my transmissions.</p>
<p>If somebody can figure out how to get these dongles to tune to 1.2 GHz under Windows, please let me know.</p>
<h3>Producing the DVB-T Baseband Signal</h3>
<p>There are several software packages on the web that produce a DVB-T baseband signal from an MPEG stream. I used a package called <a href="http://dante.diei.unipg.it/~baruffa/dvbt/index.php">gbDVB</a> written by Giuseppe Baruffa. It comes in binary format only for Windows and Linux, and it can produce (and decode) DVB-T in pretty much any format and modulation. It is fast: it works faster than real time on my desktop (with an i7 processor). I used version 3.3; the latest is 3.4, but it requires a somewhat complicated registration procedure. I did register it, but on Windows, not Linux; I plan to register on Linux and upgrade.</p>
<p>Another option I considered is <a href="http://www.radionetworkprocessor.com/opendvb.html">OpenDVB</a> by Gordon Cichon, which comes in source form and is written in Matlab. It is somewhat harder to use. I plan to try it out in the future.</p>
<p>Before you can use either of them, you need an MPEG (video or audio) file in a format called a transport stream. I generated several of these, always using vlc, a viewer that can also write the movie to a file in various formats. To save a transport stream, I used</p>
<pre>vlc movie --sout=file/ts:movie.ts</pre>
<p>I called <em>dvbtenco</em> (part of gbDVB) with options that told it to generate a DVB-T transmission using the same format and modulation as the local broadcasts, which I knew work with my dongle.</p>
<pre>gbdvb/dvbtenco -i movie.ts -M 16 -m 2k -d t -l movie.log -o movie</pre>
<p>This command generates a file called movie.bin with complex baseband samples at a sampling rate of 9.142857 M samples/s. The USRP cannot transmit at that rate (it needs a rate that divides 100 M samples/s), so I used a simple gnuradio-companion program to upsample the signal to by a 70/64 to 10 M samples/s, using a rational resampler.</p>
<h3>Putting it all Together</h3>
<p>That was basically it. I used a USRP utility to <em>tx_samples_from_file</em> to transmit the 10 M samples/s baseband file at 1.2GHz (actually near 1.3) and I called scan with an input file telling it to look for a DVB-T transmission there. Scan found my USRP transmission and produced an ouput that allowed vlc to tune and display the video I transmitted!</p>
<p>Actually, the video was very jumpy. I think this happened because <em>tx_samples_from_file</em> did not manage to read the baseband file and to send it to the USRP quickly enough. I managed to improve things a bit by converting the baseband file from a floating-point representation (8 bytes per sample) to short integers (4 bytes per sample), but it was still jumpy. Maybe the disk is not fast enough. I&#8217;ll try to transmit with a 6MHz bandwidth rather than 8 and hopefully the sampling rate can be reduced, which will shrink the rate at which the samples need to be read from the file and sent to the USRP. I need to investigate.</p>
<p>As I wrote above, dvbtenco runs faster than real time on my desktop, so in theory, I may be able to transmit live video with this setup. But the gnuradio resampler is very slow; maybe I can optimize it and run the whole thing live. But the first step should be to transmit a video from a file without jumps.</p>
<p>Another thing that is still missing is an identification of the program that is being transmitted. This information needs to be multiplexed into the transport stream. I am trying to learn how to do that.</p>
<br />Filed under: <a href='http://sivantoledotech.wordpress.com/category/software/dsp/'>DSP</a>, <a href='http://sivantoledotech.wordpress.com/category/radio/'>Radio</a>, <a href='http://sivantoledotech.wordpress.com/category/software/'>Software</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sivantoledotech.wordpress.com/707/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sivantoledotech.wordpress.com/707/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=707&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sivantoledotech.wordpress.com/2012/12/01/dvbt-txrx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/24365794e76469733b1fe48cac05cbc3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sivantoledo</media:title>
		</media:content>
	</item>
		<item>
		<title>A High-End UHF Preamp for the VHF/UHF Dongle</title>
		<link>http://sivantoledotech.wordpress.com/2012/08/03/a-high-end-uhf-preamp-for-the-vhfuhf-dongle/</link>
		<comments>http://sivantoledotech.wordpress.com/2012/08/03/a-high-end-uhf-preamp-for-the-vhfuhf-dongle/#comments</comments>
		<pubDate>Fri, 03 Aug 2012 13:23:58 +0000</pubDate>
		<dc:creator>Sivan Toledo</dc:creator>
				<category><![CDATA[Circuits]]></category>
		<category><![CDATA[Radio]]></category>

		<guid isPermaLink="false">http://sivantoledotech.wordpress.com/?p=692</guid>
		<description><![CDATA[My experience with the DVB-T dongle has been somewhat mixed. It does receive all the signals that I&#8217;m interested in, including fairly weak satellites. However, interference often blocks reception. Most of the time the signals are blocked for short amounts of time, around a second. The blocking signals are not visible on the waterfall display, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=692&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://sivantoledotech.files.wordpress.com/2012/08/img_8592.jpg"><img class="alignright size-medium wp-image-696" title="IMG_8592" src="http://sivantoledotech.files.wordpress.com/2012/08/img_8592.jpg?w=300&#038;h=249" alt="" width="300" height="249" /></a>My experience with <a title="All-Mode VHF/UHF Reception with a Low-Cost TV Dongle" href="http://sivantoledotech.wordpress.com/2012/04/25/dvbt-dongle/">the DVB-T dongle</a> has been somewhat mixed. It does receive all the signals that I&#8217;m interested in, including fairly weak satellites. However, interference often blocks reception. Most of the time the signals are blocked for short amounts of time, around a second. The blocking signals are not visible on the waterfall display, which I think means that they are not close in frequency to the signal I&#8217;m receiving. This is not surprising, given that the  bandpass filtering of the dongle is not particularly good and given that the 8-bit analog-to-digital conversion has a very limited dynamic range.</p>
<p>The best way to resolve this is to add a preamplifier between the antenna and the dongle. Most premaplifiers have bandpass filtering at their input, and some also have filtering at their output. A preamplifier also allows you to add a sharp bandpass filter at its output without reducing signal strength or adding significant noise.</p>
<p>I tried my old 145MHz preamplifier and it seemed to improve things a bit, but it&#8217;s huge. I decided to build a smaller preamplifier for UHF (430-440Mhz) and to add a sharp filter at its output, most likely <a href="http://www.ussc.com/~uarc/utah_atv/interdigital1.html">an interdigital filter</a>.</p>
<p>There are several good preamplifier kits available for UHF. The cheapest is <a href="http://www.ramseyelectronics.com/cgi-bin/commerce.exe?preadd=action&amp;key=PR-SERIES">made by Ramsey</a>. It&#8217;s filtering is not very good, it uses leaded components (not ideal at UHF), and the transistor has a relatively high noise figure (they advertise it at 1dB, but the data sheet of the transistor they use, 2SC2498, specifies 2.5dB). <a href="http://www.minikits.com.au/kits2.html">Minikits&#8217;s preamp</a> also uses mostly leaded components, but it has a better input filter and its 1.5dB noise figure is believable. Other kits use surface-mount devices. <a href="http://www.g0mrf.com/432LNA.htm">A kit by David Bowman</a> has a noise figure of only 0.5dB but not much filtering (only high-pass). <a href="http://www.ha8et.hu/EXTRA_70/Extra_70.htm">Gyula Nagy designed a preamp</a> with an even lower noise figure and with sharp bandpass filtering, but he only sells the 144MHz version of it (and he only sells it with an enclosure and connectors, which makes it more expensive than other preamp kits).</p>
<p>I eventually decided to buy <a href="http://www.downeastmicrowave.com/PDF/l-lna.PDF">a preamp kit from Down East Microwave</a> (DEMI). It has a low noise figure (better than 0.5dB if tuned for low noise and only 0.2dB higher if tuned for maximum gain), and filtering on both the input and output. The filtering is not very sharp (the preamp is designed to be followed by a separate bandpass filter), but there is filtering. It comes in various forms, including a PCB+components kits without an enclosure and without connectors. This form is relatively inexpensive at $25 plus shipping (for comparison, built in an enclosure with connectors, the preamp costs $75). The output filter is a diplexer, which improves stability when the preamp is followed by a sharp filter (it sends out-of-band signals to a dummy load rather than to the filter, which prevents them from being returned to the amplifier and possibly causing instability).</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/08/img_0460.jpg"><img class="alignnone size-full wp-image-697" title="IMG_0460" src="http://sivantoledotech.files.wordpress.com/2012/08/img_0460.jpg?w=630&#038;h=420" alt="" width="630" height="420" /></a></p>
<p>The kit contains a PCB, instructions, and a plastic tray with the components, almost all of which are surface-mount devices. The tray has 24 compartments for components, and a legend tells you which parts are stored in each compartment. This is essential, since many of the components have no markings at all (resistors do have markings, but capacitors and inductors do not). Surface mount components come in tapes, and the tapes are actually glued to the compartments; this helps keep the components inside the compartments until you actually need them. The glue&#8217;s bonding is weak so it&#8217;s easy to separate the tapes when you need to.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/08/img_8586.jpg"><img class="alignright size-thumbnail wp-image-699" title="IMG_8586" src="http://sivantoledotech.files.wordpress.com/2012/08/img_8586.jpg?w=150&#038;h=128" alt="" width="150" height="128" /></a>Before I started building, I needed to decide on an enclosure. I initially intended to create an enclosure from blank PCB material. But when the kit arrived, I realized that the PCB would almost fit inside the enclosure of a surplus 140MHz amplifier I have. I bought a few of them a while ago just for the enclosure and connectors. On the right you can see the enclosure (opened) and the amplifier that it contained, but with the connectors already removed. The connectors were BNC at the input and SMA at the output,and there are feedthrough capacitors for power (and for a control function that is not needed with the DEMI premap).</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/08/img_8587.jpg"><img class="alignleft size-thumbnail wp-image-700" title="IMG_8587" src="http://sivantoledotech.files.wordpress.com/2012/08/img_8587.jpg?w=150&#038;h=131" alt="" width="150" height="131" /></a>The DEMI preamp board was narrower than the 140MHz amplifier but about 2mm longer, so it did not fit in the enclosure. Fortunately, the 2mm at the edges did not contain any signals, just a bit of the ground plane and the input/output connections. I filed away about 1mm from each side until the board fit inside the enclosure. The input/output connections on the board are plated-through holes, so I had to remove some of the plating on the ground-plane side, so avoid shorting these connections to the enclosure. Finally, I drilled mounting holes using the original 140MHz amplifier as a template; they went just through the ground planes, not through signals on the PCB.  You can see the result below.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/08/img_8590.jpg"><img class="alignnone size-full wp-image-701" title="IMG_8590" src="http://sivantoledotech.files.wordpress.com/2012/08/img_8590.jpg?w=630&#038;h=517" alt="" width="630" height="517" /></a></p>
<p>At this point, I was ready to solder the components. I knew I had to be very careful and not let any parts get lost or separated from its label for too long. I was as careful as I could, but I still managed to lose a 1μF tantalum capacitor. It&#8217;s actually one of the larger components, but it somehow jumped on my shirt and disappeared forever. I did search for it all over the place, but it was somehow gone. I didn&#8217;t have a replacement. It should have been on the output of a 78M05 regulator, so I checked the data sheet of the regulator and didn&#8217;t find any constraints on the capacitors that can be used, so I just replaced it with a 10μF 10v capacitor that was small enough to fit on the PCB. Afterwards I was even more careful afterwards (and didn&#8217;t lose any more components).</p>
<p>When I was done with the soldering, I screwed the amplifier into the enclosure, soldered the connectors, and started testing according to the instructions. You perform the initial tests with 50Ω dummy loads on the input and output. This went fine and the amplifier consumed an amount of current that the instruction says is reasonable and does not indicate oscillations, around 85mA. I then tuned it roughly with a receiver. At that point it was supposed to work with or without an antenna and load, but it did not work without an output connection (current consumption dropped to zero). I could not figure out why.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/08/img_8594.jpg"><img class="alignright size-thumbnail wp-image-702" title="IMG_8594" src="http://sivantoledotech.files.wordpress.com/2012/08/img_8594.jpg?w=150&#038;h=143" alt="" width="150" height="143" /></a>I decided to tune it more carefully at a lab. I did that at the <a href="http://www.madaim.org.il/">Herzliya Science Center</a>, with a calibrated signal generator and a spectrum analyzer. I was able to tune the amplifier, but it still behaved erratically. After a lot of troubleshooting I realized that I forgot to tighten the screws that hold the PCB to the enclosure. This pressure contact was also the ground return path for the power supply, so as long as the connection was loose, the power supply connections were unreliable. After I tightened the screws and re-tuned the amplifier for maximum gain, it started performing reliably. You can see it in the enclosure on the right.</p>
<p>Testing with the dongle show marked improvement in signal quality and a reduction in interference. I was able to receive all the satellites I tried, including some fairly weak ones like CO-55 and CO-57. I would like to test the dongle+preamp receiver in a full-duplex satellite contact, but I didn&#8217;t get around to this.</p>
<br />Filed under: <a href='http://sivantoledotech.wordpress.com/category/radio/circuits/'>Circuits</a>, <a href='http://sivantoledotech.wordpress.com/category/radio/'>Radio</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sivantoledotech.wordpress.com/692/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sivantoledotech.wordpress.com/692/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=692&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sivantoledotech.wordpress.com/2012/08/03/a-high-end-uhf-preamp-for-the-vhfuhf-dongle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/24365794e76469733b1fe48cac05cbc3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sivantoledo</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/08/img_8592.jpg?w=300" medium="image">
			<media:title type="html">IMG_8592</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/08/img_0460.jpg" medium="image">
			<media:title type="html">IMG_0460</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/08/img_8586.jpg?w=150" medium="image">
			<media:title type="html">IMG_8586</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/08/img_8587.jpg?w=150" medium="image">
			<media:title type="html">IMG_8587</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/08/img_8590.jpg" medium="image">
			<media:title type="html">IMG_8590</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/08/img_8594.jpg?w=150" medium="image">
			<media:title type="html">IMG_8594</media:title>
		</media:content>
	</item>
		<item>
		<title>A High-Performance Sound-Card AX.25 Modem</title>
		<link>http://sivantoledotech.wordpress.com/2012/07/18/ax25-modem/</link>
		<comments>http://sivantoledotech.wordpress.com/2012/07/18/ax25-modem/#comments</comments>
		<pubDate>Wed, 18 Jul 2012 17:14:22 +0000</pubDate>
		<dc:creator>Sivan Toledo</dc:creator>
				<category><![CDATA[DSP]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://sivantoledotech.wordpress.com/?p=688</guid>
		<description><![CDATA[My APRS RF-to-internet gateway (iGate) had been running  a sound-card modem called soundmodem by Thomas Sailer. The software modem caused various problems and I have not found a suitable replacement. Eventually, I decided to try to implement my own sound-card-based software modem. The results have been very good, in spite of the fact that I do not have much background in digital signal processing. I&#8217;ve [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=688&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>My APRS RF-to-internet gateway (iGate) had been running  a sound-card modem called soundmodem by Thomas Sailer. The software modem caused various problems and I have not found a suitable replacement. Eventually, I decided to try to implement my own sound-card-based software modem. The results have been very good, in spite of the fact that I do not have much background in digital signal processing.</p>
<p>I&#8217;ve been using the modem for many months now in my iGate. The modem is run is a component of javAPRSsrvr, not as a separate program. It&#8217;s working reliable non-stop.</p>
<p>An article that I wrote for <a href="http://www.arrl.org/qex">QEX</a> explains how the modem works and how I designed and optimized it. It is <a href="http://www.tau.ac.il/~stoledo/Bib/Pubs/QEX-JulAug-2012.pdf">also available on my university web site</a>.</p>
<br />Filed under: <a href='http://sivantoledotech.wordpress.com/category/software/dsp/'>DSP</a>, <a href='http://sivantoledotech.wordpress.com/category/software/'>Software</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sivantoledotech.wordpress.com/688/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sivantoledotech.wordpress.com/688/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=688&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sivantoledotech.wordpress.com/2012/07/18/ax25-modem/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/24365794e76469733b1fe48cac05cbc3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sivantoledo</media:title>
		</media:content>
	</item>
		<item>
		<title>All-Mode VHF/UHF Reception with a Low-Cost TV Dongle</title>
		<link>http://sivantoledotech.wordpress.com/2012/04/25/dvbt-dongle/</link>
		<comments>http://sivantoledotech.wordpress.com/2012/04/25/dvbt-dongle/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 10:11:24 +0000</pubDate>
		<dc:creator>Sivan Toledo</dc:creator>
				<category><![CDATA[Radio]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://sivantoledotech.wordpress.com/?p=669</guid>
		<description><![CDATA[Balint Seeber&#8217;s new software supports not only the USRP, but also a range of low-cost USB dongles designed for receiving DVB-T television signals. When I read about this, I felt that I can&#8217;t not try one, so I ordered an ezcap dongle for $20 from a Chinese seller on eBay. It arrived a couple of [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=669&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://http://wiki.spench.net/wiki/USRP_Interfaces">Balint Seeber&#8217;s new software supports</a> not only the USRP, but also <a href="http://wiki.spench.net/wiki/RTL2832">a range of low-cost USB dongles designed for receiving DVB-T television signals</a>. When I read about this, I felt that I can&#8217;t not try one, so I ordered an ezcap dongle for $20 from a Chinese seller on eBay. It arrived a couple of days ago, and my experience so far is very positive.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/04/2012-04-24-09-00-07.jpg"><img class="size-thumbnail wp-image-670 alignleft" title="EzTV666" src="http://sivantoledotech.files.wordpress.com/2012/04/2012-04-24-09-00-07.jpg?w=127&#038;h=150" alt="" width="127" height="150" /></a>The dongle I ordered was listed as an ezcap dongle, which is one of the models supported by Balint&#8217;s software. The dongle that arrived is exactly the one that was shown in the picture on eBay; inside, it was labeled as EzTV666. It came with a 15cm whip antenna, so I plugged in the antenna, plugged in the dongle, configured the driver using <a href="http://sourceforge.net/projects/libwdi/files/zadig/">Zadig</a>, and started up <a href="http://hdsdr.de/">HDSDR</a>. Balint&#8217;s library for the USRP and the TV dongles was already installed, so all I had to do is tell the software that I wanted to use a TV dongle and it worked without a problem. I didn&#8217;t have to install any new software.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/04/2012-04-23-10-42-43.jpg"><img class="alignright size-thumbnail wp-image-672" title="EzTV plugged in" src="http://sivantoledotech.files.wordpress.com/2012/04/2012-04-23-10-42-43.jpg?w=112&#038;h=150" alt="" width="112" height="150" /></a>I was immediately able to receive some local narrow-band FM traffic. I ran the dongle with a bandwidth of 1.6 MHz, so you can see a nice piece of spectrum on the screen at once. It goes up to 3.2 MHz, but Balint warns that high bandwidths cause some signal degradation. In the screenshot below you can see shorts bursts from a hand-held trancseiver at the input frequency of a local repeater and the repeater&#8217;s output 600 kHz higher. The repeater output bursts are longer because the repeater controller adds a &#8220;tail&#8221; to each transmission. It&#8217;s pretty neat to see both the input and the output of a repeater at the same time. The dongle&#8217;s frequency is a bit off, so the displayed frequency is incorrect (about 10 kHz too high), but this is easy to correct in HDSDR (Options -&gt; ExtIO Frequency Options).</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-4232012-95620-am-bmp.jpg"><img class="alignnone size-full wp-image-673" title="repeater input and output" src="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-4232012-95620-am-bmp.jpg?w=630&#038;h=533" alt="" width="630" height="533" /></a></p>
<p>I installed the software that came with the dongle on another computer. Reception of local broadcast FM stations was good, but I was not able to receive DVB-T television signals, even with the bundled whip antenna outside the window.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/04/2012-04-23-10-47-26.jpg"><img class="alignright size-thumbnail wp-image-674" title="SAMSUNG" src="http://sivantoledotech.files.wordpress.com/2012/04/2012-04-23-10-47-26.jpg?w=150&#038;h=90" alt="" width="150" height="90" /></a>Clearly, I needed better antennas if I was to receive more interesting stuff. To use better antennas, I needed some way of connecting them to the dongle. From the picture on eBay it was not easy to determine the type of RF connector used on the dongle; it did not seem to be the <a href="http://en.wikipedia.org/wiki/TV_aerial_plug">IEC 169-2</a> connector that is used in some of the other SDR-capable DVB-T dongles, but I didn&#8217;t know what it was. When the dongle arrived, I realized that the connector is an <a href="http://en.wikipedia.org/wiki/MCX_connector">MCX connector</a>. I didn&#8217;t have any cables with MCX connectors or any MCX adapters, so my initial thought was to cut the cable from the rather useless whip and terminate it with a BNC, but before I did that a friend gave me an MCX-to-N patch cable that he bought at a surplus store. That was good enough to connect any of my existing antennas, so I continued the experiments.</p>
<p>I first tried a 145 MHz dipole (1m end to end). It improved the reception of local UHF and VHF narrow-band FM dramatically, and it also worked very well for DVB-T (which is at 514 MHz here); I was able to watch TV on the computer. It also worked reasonably well for air-band signals. The next stage was to try to receive satellite signals. I experimented previously with a borrowed FUNcube dongle and I new that the FUNcube was very capable of receiving satellite signals. The FUNcube dongle uses the same tuner chip as the ezcap (an Elonics E4000, but its analog-to-digital converter is higher resolution than the ezcap&#8217;s; the FUNcube also has a low-noise preamplifier ahead of the tuner, and I am not sure if the ezcap uses one (if somebody knows, let me know).</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-4242012-72746-pm-bmp.jpg"><img class="alignright size-thumbnail wp-image-675" title="VO-52 Beacon" src="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-4242012-72746-pm-bmp.jpg?w=150&#038;h=126" alt="" width="150" height="126" /></a>A satellite called VO-52 was supposed to fly over last night, so I turned <a title="Building the UHF Cheap Yagi for Satellite Communication" href="http://sivantoledotech.wordpress.com/2011/03/16/building-the-uhf-cheap-yagi-for-satellite-communication/">my cheap Yagi</a> towards it and listened. Initially, I attached a preamplifier between the antenna and the dongle, but I later discovered that it did not make a huge difference. VO-52 has both a Morse beacon and a linear transponder. The beacon came through very clearly. In the screenshot on the right you can see the beacon&#8217;s signal move down in the audio passband due to Doppler shift. It it well above the noise and easy to hear. Next, I checked whether I can receive SSB signals in the transponder&#8217;s passband; I could. Here is a short recording of one Greek station (the Doppler shift causes the speaker&#8217;s voice to become lower over time).</p>
<span style='text-align:left;display:block;'><p>				<object id='wp-as-669_1-flash' type='application/x-shockwave-flash' data='http://s0.wp.com/wp-content/plugins/audio-player/player.swf' width='290' height='24'>
					<param name='movie' value='http://s0.wp.com/wp-content/plugins/audio-player/player.swf' />
					<param name='FlashVars' value='bg=0xF8F8F8&amp;leftbg=0xEEEEEE&amp;lefticon=0x666666&amp;rightbg=0xCCCCCC&amp;rightbghover=0x999999&amp;righticon=0x666666&amp;righticonhover=0xFFFFFF&amp;text=0x666666&amp;slider=0x666666&amp;track=0xFFFFFF&amp;border=0x666666&amp;loader=0x9FFFB8&amp;soundFile=http%3A%2F%2Fwww.tau.ac.il%2F~stoledo%2FFiles%2FVO-52-ezcap.mp3' />
					<param name='quality' value='high' />
					<param name='menu' value='false' />
					<param name='bgcolor' value='#FFFFFF' />
					<param name='wmode' value='opaque' />
					Download: <a href="http://www.tau.ac.il/~stoledo/Files/VO-52-ezcap.mp3">VO-52-ezcap.mp3</a><br />
				</object></p></span>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-4242012-73134-pm-bmp.jpg"><img class="alignright size-thumbnail wp-image-680" title="Fullscreen capture 4242012 73134 PM.bmp" src="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-4242012-73134-pm-bmp.jpg?w=150&#038;h=126" alt="" width="150" height="126" /></a>While I was listening to VO-52, the local FM repeater sprang into activity. It is only about 100kHz away from the satellite&#8217;s signal; when the repeater was transmitting, it was causing pretty severe distortion of everything else the dongle was receiving. The satellite still came though, but not as well. You can see the effect in the screenshot on the right. I discovered that this was caused by too much gain in the preamplifier+dongle chain. There are two ways to solve this: to not use a preamplifier, or to drastically lower the gain of the dongle (you can set the gain with a slider).</p>
<p>The main benefit of the preamplifier in my setup is that it includes a good bandpass filter. Without the preamplifier, strong-out-of band signals sometimes overwhelm the dongle. With it, reception is much more consistent. But the dongle does work reasonably well even without anything between it and the antenna.</p>
<p>Another interesting thing that you can see in the last screenshot is the strong CTCSS tone coming out of the repeater, at 91.5 Hz. It is clearly visible in both the audio spectrum display and in the audio waterfall.</p>
<br />Filed under: <a href='http://sivantoledotech.wordpress.com/category/radio/'>Radio</a>, <a href='http://sivantoledotech.wordpress.com/category/software/'>Software</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sivantoledotech.wordpress.com/669/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sivantoledotech.wordpress.com/669/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=669&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sivantoledotech.wordpress.com/2012/04/25/dvbt-dongle/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
<enclosure url="http://www.tau.ac.il/~stoledo/Files/VO-52-ezcap.mp3" length="117120" type="audio/mpeg" />
<enclosure url="http://www.tau.ac.il/~stoledo/Files/VO-52-ezcap.mp3" length="117120" type="audio/mpeg" />
<enclosure url="http://www.tau.ac.il/~stoledo/Files/VO-52-ezcap.mp3" length="117120" type="audio/mpeg" />
	
		<media:content url="http://2.gravatar.com/avatar/24365794e76469733b1fe48cac05cbc3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sivantoledo</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/04/2012-04-24-09-00-07.jpg?w=127" medium="image">
			<media:title type="html">EzTV666</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/04/2012-04-23-10-42-43.jpg?w=112" medium="image">
			<media:title type="html">EzTV plugged in</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-4232012-95620-am-bmp.jpg" medium="image">
			<media:title type="html">repeater input and output</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/04/2012-04-23-10-47-26.jpg?w=150" medium="image">
			<media:title type="html">SAMSUNG</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-4242012-72746-pm-bmp.jpg?w=150" medium="image">
			<media:title type="html">VO-52 Beacon</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-4242012-73134-pm-bmp.jpg?w=150" medium="image">
			<media:title type="html">Fullscreen capture 4242012 73134 PM.bmp</media:title>
		</media:content>

		<media:content url="http://www.tau.ac.il/~stoledo/Files/VO-52-ezcap.mp3" medium="audio">
			<media:player url="http://sivantoledotech.wordpress.com/wp-content/plugins/audio-player/player.swf?soundFile=http://www.tau.ac.il/~stoledo/Files/VO-52-ezcap.mp3" />
		</media:content>
	</item>
		<item>
		<title>Using the USRP with HDSDR</title>
		<link>http://sivantoledotech.wordpress.com/2012/04/03/using-the-usrp-with-hdsdr/</link>
		<comments>http://sivantoledotech.wordpress.com/2012/04/03/using-the-usrp-with-hdsdr/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 18:51:00 +0000</pubDate>
		<dc:creator>Sivan Toledo</dc:creator>
				<category><![CDATA[DSP]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://sivantoledotech.wordpress.com/?p=648</guid>
		<description><![CDATA[Balint Seeber developed a software library that links HDSDR, a software-radio receiver program (and a few other related programs) with USRPs, a family of FPGA-based radios. I have a USRP1, the original USB-based motherboard, a BasicTX and a BasicRX daughter boards (which are basically just transformers linking the input coax connectors to the amplifiers that [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=648&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://spench.net/">Balint Seeber</a> developed <a href="http://wiki.spench.net/wiki/USRP_Interfaces">a software library that links HDSDR, a software-radio receiver program (and a few other related programs) with USRPs</a>, a family of FPGA-based radios. I have a USRP1, the original USB-based motherboard, a BasicTX and a BasicRX daughter boards (which are basically just transformers linking the input coax connectors to the amplifiers that feed the ADCs), and an RFX400 transceiver (up/down converter to 400-500Mhz).</p>
<p>The <a href="http://www.ettus.com/">USRP radios</a> are best supported by <a href="http://gnuradio.org">GNU Radio</a>, an open-source signal-processing toolkit. <a title="First Steps with GNU Radio" href="http://sivantoledotech.wordpress.com/2011/08/26/first-steps-with-gnu-radio/">I have already used GNU Radio</a>. The software is very capable, but it is somewhat difficult to install and it does not come with complete sophisticated radios. There are also drivers that interface USRPs to Matlab/Simulink; I was unable to get them to work. Therefore, I was delighted to learn that Seeber wrote the library that allows USRPs to be used with HDSDR and decided to give it a try.</p>
<p><a href="http://www.hdsdr.de/">HDSDR</a> is a radio program that was derived from earlier programs (Winrad and WinradHD). It supports a wide range of RF frontends through the use of software libraries called ExtIOs. Seeber wrote an ExtIO library that can control the USRP and can transfer RF samples from it.</p>
<p>Downloading and installing Seeber&#8217;s ExtIO library and HDSDR was easy, thanks to an installer that Seeber wrote. Seeber&#8217;s software can also switch the USB-based USRP between two different drivers, which is a very useful (my experience in trying to switch these drivers manually has not been good).</p>
<p>After installation, I gave the software a quick try by tuning to a UHF and checking that the RFX400 can receive a signal from a handheld transceiver; it did.</p>
<p>I <a href="http://sivantoledotech.files.wordpress.com/2012/04/img_8385.jpg"><img class=" wp-image-655 alignright" title="IMG_8385" src="http://sivantoledotech.files.wordpress.com/2012/04/img_8385.jpg?w=378&#038;h=319" alt="" width="378" height="319" /></a>decided to try to USRP on HF next. I connected <a title="A Wideband Receiving Loop" href="http://sivantoledotech.wordpress.com/2010/11/19/a-wideband-receiving-loop/">one of my amplified receiving loop antennas</a> to a bias tee, then from there to a low-pass filter, and from it to the input of the BasicRX board. The low-pass filter is a high-quality 39 MHz surplus unit. It&#8217;s role is to eliminate aliasing of VHF signals into the HF spectrum. Ideally, the stopband should have started at 32 MHz (since the USRP samples at 64M samples/second), but a 39 MHz unit was all I had. I was not sure whether I would receive many signals, since between the BasicRX input and the input of the ADC there are only 20dB of amplification. In the picture you can see the USRP (in the background, in a cardboard box), the filter, the bias tee, and the 12V supply that feeds the bias tee. The USRP and the antenna are shown at the bottom of the post.</p>
<p>It turned out that this is sufficient to receive a great number of interesting signals all over MF and HF. Here are some screenshots. In the first screenshot I was listening to BBC World at 1323 kHz, an AM medium-frequency station. The USRP digitally down-converts the high-rate RF samples and decimates the RF samples, in this screenshot to 250k complex samples per second, so we see 250kHz of RF spectrum.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-432012-64750-pm.jpg"><img class="alignnone size-full wp-image-651" title="Fullscreen capture 432012 64750 PM" src="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-432012-64750-pm.jpg?w=630&#038;h=393" alt="" width="630" height="393" /></a></p>
<p>In the next screenshot, the radio is tuned to a station at the low end of the AM range, but the decimation is set to a lower value. We now see a full MHz of spectrum, all of the AM range plus a bit to spare. Very neat; all the AM stations on one waterfall display.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-432012-64948-pm.jpg"><img class="alignnone size-full wp-image-653" title="Fullscreen capture 432012 64948 PM" src="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-432012-64948-pm.jpg?w=630&#038;h=393" alt="" width="630" height="393" /></a></p>
<p>Next, we see the entire 14MHz amateur band. The band is densely populated at this early-evening hour. On the left we see a bunch of CW stations, PSK stations near 14070 kHz, and a large number of SSB stations starting at 14100 kHz.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-432012-65902-pm.jpg"><img class="alignnone size-full wp-image-660" title="Fullscreen capture 432012 65902 PM" src="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-432012-65902-pm.jpg?w=630&#038;h=393" alt="" width="630" height="393" /></a></p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/04/img_8386.jpg"><img class="alignright size-thumbnail wp-image-656" title="IMG_8386" src="http://sivantoledotech.files.wordpress.com/2012/04/img_8386.jpg?w=150&#038;h=72" alt="" width="150" height="72" /></a>I was able to receive distant stations all over the HF range, all the way up to 28 MHz. Here is the antenna I used; it is mounted fairly low in an urban area.</p>
<p>A few days later I tried UHF reception with the RFX400 daughter board. Local FM stations were received well. Satellites proved to be more of a challenge. I was not initially able to receive satellites with fairly weak signals like FO-29 and CO-58 (which I can hear reasonably well with the FT-857D), but I was able to receive the CW beacon of RS-22, as you can see in the following screenshot. The Doppler shift is clearly visible both in the RF waterfall display and in the audio waterfall. You can also see the very narrow signal in the audio spectrum display. The signal was received with my small <a title="Finishing Up the Satellite Yagi" href="http://sivantoledotech.wordpress.com/2011/03/26/finishing-up-the-satellite-yagi/">VHF/UHF Yagi</a>.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-462012-70729-am.jpg"><img class="alignnone size-full wp-image-665" title="Fullscreen capture 462012 70729 AM" src="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-462012-70729-am.jpg?w=630&#038;h=393" alt="" width="630" height="393" /></a></p>
<p>A second attempt to receive FO-29 was more successful. I was able to hear both SSB and CW signals clearly enough to understand them. Linking HDSDR to the satellite tracking program of Ham Radio Deluxe via DDE provided automatic Doppler correction, which worked out very nicely. Still, the RFX400 is probably not ideal for receiving UHF satellites. Its noise figure is not documented but I don&#8217;t think it&#8217;s particularly good, and its response rolls off below 440 MHz and above 460 MHz (as <a href="http://www.hig.se/download/18.51c1f7d3123eb47ebf5800015043/1-1+Hugo+Tullberg_Patrik+Eliardsson+slides.pdf">reported by Patrik Eliardsson and others</a>). An external preamplifier would probably help.</p>
<p>Seeber&#8217;s library also supports a low-cost USB dongle that can sample RF signals between 64 and 1700 MHz. The dongle is sold as a digital-TV and radio receiver, but somebody discovered a way to cause it to send to the PC unprocessed RF samples, which can then be processed in programs like HDSDR and GNU Radio. I ordered a such dongle for about $20 from eBay and I&#8217;m looking forward to trying it out. Its analog-to-digital converter provides only 8 bits per sample, a lot less resolution than the much more expensive <a href="http://www.funcubedongle.com/">FUNcube dongle</a>, but it supports much higher sampling rates than the FUNcube dongle.</p>
<br />Filed under: <a href='http://sivantoledotech.wordpress.com/category/software/dsp/'>DSP</a>, <a href='http://sivantoledotech.wordpress.com/category/software/'>Software</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sivantoledotech.wordpress.com/648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sivantoledotech.wordpress.com/648/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=648&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sivantoledotech.wordpress.com/2012/04/03/using-the-usrp-with-hdsdr/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/24365794e76469733b1fe48cac05cbc3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sivantoledo</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/04/img_8385.jpg" medium="image">
			<media:title type="html">IMG_8385</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-432012-64750-pm.jpg" medium="image">
			<media:title type="html">Fullscreen capture 432012 64750 PM</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-432012-64948-pm.jpg" medium="image">
			<media:title type="html">Fullscreen capture 432012 64948 PM</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-432012-65902-pm.jpg" medium="image">
			<media:title type="html">Fullscreen capture 432012 65902 PM</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/04/img_8386.jpg?w=150" medium="image">
			<media:title type="html">IMG_8386</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/04/fullscreen-capture-462012-70729-am.jpg" medium="image">
			<media:title type="html">Fullscreen capture 462012 70729 AM</media:title>
		</media:content>
	</item>
		<item>
		<title>Using a Motorola PageTrac and a VHF Antenna Tuner in an APRS iGate</title>
		<link>http://sivantoledotech.wordpress.com/2012/02/20/using-a-motorola-pagetrac-and-a-vhf-antenna-tuner-in-an-aprs-igate/</link>
		<comments>http://sivantoledotech.wordpress.com/2012/02/20/using-a-motorola-pagetrac-and-a-vhf-antenna-tuner-in-an-aprs-igate/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 06:32:57 +0000</pubDate>
		<dc:creator>Sivan Toledo</dc:creator>
				<category><![CDATA[Antennas]]></category>
		<category><![CDATA[Circuits]]></category>
		<category><![CDATA[Radio]]></category>

		<guid isPermaLink="false">http://sivantoledotech.wordpress.com/?p=526</guid>
		<description><![CDATA[My APRS iGate has been using the old Kenwood TR-2500 that you see in the picture for a few months. The radio was connected to an old commertial VHF antenna. This antenna is not resonant on 144.800MHz, but it is sturdy and high, and it receives very well. So I used it in receive-only mode; [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=526&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://sivantoledotech.files.wordpress.com/2012/02/img_9972.jpg"><img class="alignright size-thumbnail wp-image-528" title="IMG_9972" src="http://sivantoledotech.files.wordpress.com/2012/02/img_9972.jpg?w=100&#038;h=150" alt="" width="100" height="150" /></a>My APRS iGate has been using the old Kenwood TR-2500 that you see in the picture for a few months. The radio was connected to an old commertial VHF antenna. This antenna is not resonant on 144.800MHz, but it is sturdy and high, and it receives very well. So I used it in receive-only mode; the iGate relays APRS messages from RF to the internet, but not the other way around. But when I got two old Motorola VHF radios, I decided to replace the TR-2500 by one of them, a Motorola PageTrac. This was supposed to bring two advantages. First, the Motorola radio would start up on 144.800 after a power loss, whereas the TR-2500 had to be programmed manually for 144.800 after a power loss because its memory battery has long died. Second, the PageTrac puts out 45W whereas the TR-2500 puts out only 2.5W, so if I start transmitting messages, the PageTrac would have a much better range.</p>
<p>The plan proved more difficult to execute than I had thought.</p>
<p><em><strong>A Matching Network</strong></em></p>
<p>The existing antenna is sturdy, high, and mounted on an old mast that I had no desire to climb. So I decided to keep using it. To transmit using this antenna, I needed a matching network: a single-purpose antenna tuner. I borrowed an MFJ-269 antenna analyzer from Nir Israeli and measured the impedance of the antenna and coax at the radio-side connector (at 144.800 MHz). I then designed an L match circuit using an <a href="http://bwrc.eecs.berkeley.edu/research/rf/projects/60ghz/matching/impmatch.html">online calculator</a>.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/02/img_9968.jpg"><img class="alignright size-thumbnail wp-image-529" title="IMG_9968" src="http://sivantoledotech.files.wordpress.com/2012/02/img_9968.jpg?w=150&#038;h=100" alt="" width="150" height="100" /></a>I didn&#8217;t completely trust the analyzer and I was not sure that the air inductor I prepared had the correct inductance. So I used a variable capacitor in the L match, so that I could tune it. This worked out well. By adjusting the variable capacitor I was able to bring the SWR to a low value that is good enough for transmitting (I think it was 1.2:1 but I didn&#8217;t record it). The L match is narrow band and the SWR is reasonable only across about 0.5 MHz, but this is of no significance for APRS, which uses a single frequency.</p>
<p>The online calculator gave me not one appropriate L match but two. The other solution had a tiny series inductance and a capacitor across the transmission line. I tried it (with no inductance at all) and could not get the antenna to match. I am not sure why this matching network did not work.</p>
<p>Antenna tuners of this sort are almost never used at VHF, because it is pretty easy to build resonant antennas. But in my situation, with a good antenna that works well even though it is not resonant, this special-purpose antenna tuner is a good solution.</p>
<p><em><strong>Power Supply Troubles</strong></em></p>
<p>The two Motorola radios I got are a DeskTrac, which is a desktop version of the more common mobile MaxTrac, and a PageTrac. The DeskTrac is <a href="http://www.repeater-builder.com/maxtrac/desktrac.html">documented very well on the web</a>. I didn&#8217;t find any useful documentation on the PageTrac, but it is a very simple radio, so I didn&#8217;t really need much documentation. Both radios worked when I got them, but I quickly discovered that the power supply of the PageTrac was failing. Two large electrolytic capacitors were burned, and they actually charred the PCB beneath them. They were buzzing and burning when the radio was turned on. I tried to replace them, but I didn&#8217;t find replacement 15,000μF capacitors. I decided to replace the entire power supply. It was rated at 13.8V and 10A, so I needed a power supply with similar specs.</p>
<p>The first candidate was a power supply from a dead computer. Its 12V output was rated at 16A, so I thought it would work. I spent a bit of effort trying to raise the output from 12V to 13.8V, but this caused buzzing in the PC power supply, so I left it alone. I assumed that running the radio at 12V rather than 13.8V would reduce output a bit, but this was acceptable to me.</p>
<p>The radio worked with the computer power supply, but whenever I tried to transmit, the power supply shut down. I am not sure why it shuts down, but my guess is that the roughly 10A that the radio draws from the supply on transmit causes the switching regulator in the supply to generate wider pulses. This maintains regulation on the 12V line, but it raises all the other outputs that have almost no load on them (5V, 3.3V, etc.; all are generated from the same switching waveform). The over-voltage protection circuit of one of these outputs might be what is shutting down the supply.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/02/img_9970.jpg"><img class="alignright size-thumbnail wp-image-531" title="IMG_9970" src="http://sivantoledotech.files.wordpress.com/2012/02/img_9970.jpg?w=150&#038;h=97" alt="" width="150" height="97" /></a>Next, I tried an old 12V/11A Lambda switching supply that I thought at a surplus store for about $5. I adjusted it to 13.8V. It works without a problem, and it is small enough to fit inside the PageTrac enclosure. It just sits in the enclosure without being bolted to it, but since the radio just sits on a shelf, this does not cause problems.</p>
<p><em><strong>The Computer Interface</strong></em></p>
<p><em><strong></strong></em>To use the radio as an APRS iGate, I needed to connect it to the soundcard of the computer running the iGate software. The interface that I used with the TR-2500 was not really an interface at all: just a cable connecting the TR-2500&#8242;s earphone output to the computer&#8217;s microphone input. But with the PageTrac, I needed some kind of interface, if only to activate the transmitter. I built a <a href="http://sivantoledotech.files.wordpress.com/2012/02/img_9969.jpg"><img class="alignright size-thumbnail wp-image-532" title="IMG_9969" src="http://sivantoledotech.files.wordpress.com/2012/02/img_9969.jpg?w=150&#038;h=100" alt="" width="150" height="100" /></a>simple interface with (1) DC blocking and level adjustment on both the audio input and audio output directions, and (2) a PTT activation circuit. The PTT circuit is activated by the RTS signal of a serial port, and is isolated from the radio by an optocoupler. But the audio lines are not isolated, so the radio and computer are not really isolated. So far this did not cause any problems.</p>
<p>Initially, the interface did not work. When I would connect it, the radio would go into transmit mode, even if only audio cables were connected, not a serial cable. It took me a long time to debug, but eventually I discovered that I made a mistake in the wiring of the cable connecting the interface to the radio&#8217;s front speaker-mic connector. Once I fixed the mistake, the interface started working.</p>
<p><em><strong>Limitations of the PageTrac</strong></em></p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/02/img_9967.jpg"><img class="alignright size-thumbnail wp-image-533" title="IMG_9967" src="http://sivantoledotech.files.wordpress.com/2012/02/img_9967.jpg?w=150&#038;h=54" alt="" width="150" height="54" /></a>The PageTrac has some limitations. One is the fact that the only audio/PTT connector available is the RJ45 speaker-mic connector on the front. It has an RJ11 connector in the back, but it is undocumented. In contrast, the backThe DeskTrac has a DB-25 jack on the back designed for connecting it for to computers and other equipment. The second is that it has no &#8220;monitor&#8221; button to turn off the squelch. APRS works a bit better without a squelch, and the DeskTrac has a button that allows you to turn it off. I also think that unsquelched audio is available from the DeskTrac&#8217;s DB-25 connector. But even through the squelched speaker-mic connection, the PageTrac works fine. Another limitation of both radios is that the speaker is never completely muted (even at the lowest volume level). To prevent the radio from sounding the APRS packets, I simply disconnected one of the speaker&#8217;s wire.</p>
<p><em><strong>Software Modem Issues</strong></em></p>
<p><em><strong></strong></em>Soundmodem, the soundcard-modem that I have been using with the TR-2500, did not decode packets received by the PageTrac. I thought of adding a high-pass filter to the audio interface, to compensate for a possibly too-aggressive de-emphasis, but eventually wrote a new software modem that decodes packets from both radios without a problem. But this is a topic for another post.</p>
<p>After resolving all of these issues, the new iGate configuration is up and running. The iGate beacons on both the internet and on 144.800 MHz, and it relays text messages and other packets from the internet to mobile stations. In the screenshot below you can see me exchanging text messages with a mobile station (which uses a Kenwood D700). You can see both stations on the map, the text-message window of APRSIS32, and the actual packets that are received and transmitted by the iGate, some via RF and others via the internet.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/02/fullscreen-capture-2132012-83345-am-bmp.jpg"><img class="alignnone size-full wp-image-537" title="Fullscreen capture 2132012 83345 AM.bmp" src="http://sivantoledotech.files.wordpress.com/2012/02/fullscreen-capture-2132012-83345-am-bmp.jpg?w=630&#038;h=399" alt="" width="630" height="399" /></a></p>
<br />Filed under: <a href='http://sivantoledotech.wordpress.com/category/radio/antennas/'>Antennas</a>, <a href='http://sivantoledotech.wordpress.com/category/radio/circuits/'>Circuits</a>, <a href='http://sivantoledotech.wordpress.com/category/radio/'>Radio</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sivantoledotech.wordpress.com/526/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sivantoledotech.wordpress.com/526/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=526&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sivantoledotech.wordpress.com/2012/02/20/using-a-motorola-pagetrac-and-a-vhf-antenna-tuner-in-an-aprs-igate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/24365794e76469733b1fe48cac05cbc3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sivantoledo</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/02/img_9972.jpg?w=100" medium="image">
			<media:title type="html">IMG_9972</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/02/img_9968.jpg?w=150" medium="image">
			<media:title type="html">IMG_9968</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/02/img_9970.jpg?w=150" medium="image">
			<media:title type="html">IMG_9970</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/02/img_9969.jpg?w=150" medium="image">
			<media:title type="html">IMG_9969</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/02/img_9967.jpg?w=150" medium="image">
			<media:title type="html">IMG_9967</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/02/fullscreen-capture-2132012-83345-am-bmp.jpg" medium="image">
			<media:title type="html">Fullscreen capture 2132012 83345 AM.bmp</media:title>
		</media:content>
	</item>
		<item>
		<title>A Lego Enclosure for an APRS Tracker with a Built-In Antenna</title>
		<link>http://sivantoledotech.wordpress.com/2012/02/04/a-lego-enclosure-for-an-aprs-tracker-with-a-built-in-antenna/</link>
		<comments>http://sivantoledotech.wordpress.com/2012/02/04/a-lego-enclosure-for-an-aprs-tracker-with-a-built-in-antenna/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 16:13:51 +0000</pubDate>
		<dc:creator>Sivan Toledo</dc:creator>
				<category><![CDATA[Antennas]]></category>
		<category><![CDATA[Radio]]></category>

		<guid isPermaLink="false">http://sivantoledotech.wordpress.com/?p=507</guid>
		<description><![CDATA[My APRS tracker seems to work quite well, but it was difficult to use with various pieces of equipment sloshing about on the dashboard. Initially, I&#8217;ve been using the short vertical antenna that came with the UV-3R radio. Both the radio/antenna and the GPS antenna were placed on the dashboard. This antenna did not work [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=507&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://sivantoledotech.files.wordpress.com/2012/02/img_9965.jpg"><img class="alignright  wp-image-521" title="IMG_9965" src="http://sivantoledotech.files.wordpress.com/2012/02/img_9965.jpg?w=212&#038;h=187" alt="" width="212" height="187" /></a><a title="Building an APRS Tracker" href="http://sivantoledotech.wordpress.com/2011/12/23/building-an-aprs-tracker/">My APRS tracker</a> seems to work quite well, but it was difficult to use with various pieces of equipment sloshing about on the dashboard. Initially, I&#8217;ve been using the short vertical antenna that came with the UV-3R radio. Both the radio/antenna and the GPS antenna were placed on the dashboard. This antenna did not work well inside the car, especially when it was lying horizontally with the radio on the dashboard. Then I switched to the small <a title="Two Monoband Magnetic Loop Antennas" href="http://sivantoledotech.wordpress.com/2011/12/02/two-monoband-magnetic-loop-antennas/">PCB magnetic loop antenna</a> I built a while ago. This worked much better, especially when the antenna was standing up. But now I had three pieces of equipment (the radio, the loop antenna, and the GPS antenna) sloshing on the dashboard. This was only good enough for a bit of testing.</p>
<p>I was considering how to mount the antenna and the radio more securely on the dashboard. I didn&#8217;t feel like spending a lot of effort on building an enclosure. Then the idea of building the enclosure, or at least a prototype, from Lego. The box you see in the picture above is the result. It actually works very well. It&#8217;s a bit heavy, so it doesn&#8217;t move at all on the dashboard. <a href="http://sivantoledotech.files.wordpress.com/2012/02/img_9961.jpg"><img class="alignright size-medium wp-image-509" title="IMG_9961" src="http://sivantoledotech.files.wordpress.com/2012/02/img_9961.jpg?w=300&#038;h=221" alt="" width="300" height="221" /></a>It contains the antenna, the radio, and the GPS antenna. There are holes in the box for the audio cable to the microcontroller, for the GPS antenna cable, and for the display and buttons of the radio. Being able to turn the radio on and off is important, since it runs on its internal battery. The hole on the side is also large enough for the radio&#8217;s charging cable. The antenna and radio slide into specially-built compartments that hold them securely. It&#8217;s also easy to slide them out. Both antennas work well inside the plastic box on the dashboard (Lego bricks are usually made of ABS plastic). The box has enough space for a small microcontroller board and for a GPS module, but my current microcontroller board is a large development board, so for now it and the GPS module still lives in a cardboard box that I stick in the glove compartment.</p>
<p>As you can see in the snapshot from <a href="http://aprs.fi">aprs.fi</a> below, this Lego tracker actually works, even though it&#8217;s inside the car and even tough the UV-3R puts out only 2 Watts. Still, I plan to deploy a 1/4-wave vertical antenna on the car&#8217;s roof for even better coverage, and I&#8217;ll probably replace the Lego with some other box, mostly to avoid havi<a href="http://sivantoledotech.files.wordpress.com/2012/02/fullscreen-capture-242012-82645-am-bmp.jpg"><img class="wp-image-510 alignright" title="aprs.fi for the Lego APRS tracker" src="http://sivantoledotech.files.wordpress.com/2012/02/fullscreen-capture-242012-82645-am-bmp.jpg?w=378&#038;h=169" alt="" width="378" height="169" /></a>ng the Lego bricks ruined by exposure to sunlight. But for now, I&#8217;m using the Lego tracker. It&#8217;s also very good to know that the 10cm magnetic loop antenna works well in APRS trackers; such antennas can be used in small trackers that are completely self contained.</p>
<p>Two more comments are in order. First, driving with a heavy tracker on the dashboard is possibly unsafe, since in an accident it might hit the driver or a passenger. I&#8217;m mostly using it around the neighborhood, but once I switch to the vertical antenna on the roof, I&#8217;ll move the whole thing off the dashboard. The other thing I wanted to mention is that I performed the two almost-necessary modifications of the UV-3R radio. One adds a capacitor to the VHF low-pass filter, to attenuate the second harmonic, and another adds a decoupling capacitor to the external transmit-receive control signal; without it, the radio often locks in transmit mode when used with a headset or an external modem.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/02/img_9958.jpg"><img class="alignnone size-full wp-image-511" title="IMG_9958" src="http://sivantoledotech.files.wordpress.com/2012/02/img_9958.jpg?w=630&#038;h=420" alt="" width="630" height="420" /></a></p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/02/img_9962.jpg"><img class="alignnone size-full wp-image-514" title="IMG_9962" src="http://sivantoledotech.files.wordpress.com/2012/02/img_9962.jpg?w=630&#038;h=605" alt="" width="630" height="605" /></a></p>
<p><a href="http://sivantoledotech.files.wordpress.com/2012/02/img_9956.jpg"><img class="size-full wp-image-508 alignnone" title="IMG_9956" src="http://sivantoledotech.files.wordpress.com/2012/02/img_9956.jpg?w=630&#038;h=329" alt="" width="630" height="329" /></a></p>
<br />Filed under: <a href='http://sivantoledotech.wordpress.com/category/radio/antennas/'>Antennas</a>, <a href='http://sivantoledotech.wordpress.com/category/radio/'>Radio</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sivantoledotech.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sivantoledotech.wordpress.com/507/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=507&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sivantoledotech.wordpress.com/2012/02/04/a-lego-enclosure-for-an-aprs-tracker-with-a-built-in-antenna/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/24365794e76469733b1fe48cac05cbc3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sivantoledo</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/02/img_9965.jpg" medium="image">
			<media:title type="html">IMG_9965</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/02/img_9961.jpg?w=300" medium="image">
			<media:title type="html">IMG_9961</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/02/fullscreen-capture-242012-82645-am-bmp.jpg" medium="image">
			<media:title type="html">aprs.fi for the Lego APRS tracker</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/02/img_9958.jpg" medium="image">
			<media:title type="html">IMG_9958</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/02/img_9962.jpg" medium="image">
			<media:title type="html">IMG_9962</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2012/02/img_9956.jpg" medium="image">
			<media:title type="html">IMG_9956</media:title>
		</media:content>
	</item>
		<item>
		<title>Building an APRS Tracker</title>
		<link>http://sivantoledotech.wordpress.com/2011/12/23/building-an-aprs-tracker/</link>
		<comments>http://sivantoledotech.wordpress.com/2011/12/23/building-an-aprs-tracker/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 16:55:07 +0000</pubDate>
		<dc:creator>Sivan Toledo</dc:creator>
				<category><![CDATA[DSP]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Radio]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://sivantoledotech.wordpress.com/?p=493</guid>
		<description><![CDATA[I&#8217;ve been running an APRS RF-to-internet gateway for a few months now. It uses javAPRSSrvr as the gateway program and soundmodem as a soundcard modem, both running on a remote Linux machine. Both programs are very reliable, running for months without a fault. I spent a bit of time trying to get the two programs [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=493&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://sivantoledotech.files.wordpress.com/2011/12/img_8261.jpg"><img class="alignright size-medium wp-image-496" title="IMG_8261" src="http://sivantoledotech.files.wordpress.com/2011/12/img_8261.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a>I&#8217;ve been running an APRS RF-to-internet gateway for a few months now. It uses <a href="http://groups.yahoo.com/group/javaprssrvr">javAPRSSrvr</a> as the gateway program and soundmodem as a soundcard modem, both running on a remote Linux machine. Both programs are very reliable, running for months without a fault. I spent a bit of time trying to get the two programs to communicate over a virtual serial port, but this did not work, so I eventually switched to AX25 kernel-mode support, which worked out of the box on Ubuntu Linux.</p>
<p>I want to track myself using APRS, so I needed a tracker.There are several published hardware and software designs on the Internet, and I originally considered building a tracker based on one of these designs. But I eventually decided to build a tracker that is not based directly on any existing design. Mostly, I wanted to end up with a high-quality and flexible code that could be easily ported to different hardware platforms and to different uses. I&#8217;m not yet there, but I&#8217;ve got a working prototype that&#8217;s running my own code.</p>
<p>One thing I knew I wanted to do was to avoid a modem chip. Some APRS trackers and digipeaters use a modem chip, normally the mx614. A modem microcontroller would be able to produce and decode a 1200b/s AX25 signal in software. There are several trackers that do that already, like Gary Dion&#8217;s <a href="http://garydion.com/projects/whereavr/">WhereAVR</a> and <a href="http://www.byonics.com">Byonics</a>&#8216; TinyTrak3 and TinyTrak4.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2011/12/img_9866.jpg"><img class="alignright size-medium wp-image-497" title="IMG_9866" src="http://sivantoledotech.files.wordpress.com/2011/12/img_9866.jpg?w=300&#038;h=200" alt="" width="300" height="200" /></a>The prototype is running on an microcontroller development board that I use at work for teaching <a href="http://courses.cs.tau.ac.il/embedded/">a course on embedded computing</a>. It has an LPC2148 microcontroller, which has an ARM processor, and lots of on-board peripherals. The tracker currently uses almost none of the on-board peripherals except for the LCD screen. The board is connected to a GPS module and to a VHF radio. The GPS is a NEO-5Q module from ublox; it&#8217;s mounted on a board that also has a microcontroller and a bunch of other components (a prototype from an old wifi-based tracker project I participated in), but I&#8217;m only powering and using the GPS module on this board. The GPS is connected to an external active patch antenna. The radio I&#8217;m using is a Baofeng UV-3R, which I bought mainly for this purpose. It cost less than $50 including shipping, considerably cheaper than some dedicated VHF tracker transmitters. The radio is connected to the microcontroller through a little interface board that I built. Both this interface board and the GPS module are currently stuck into a breadboard, with wires connecting the microcontroller board to the breadboard.</p>
<p>The interface board performs 3 functions. It connects the DAC output of the microcontroller to the microphone input of the radio. This signal is routed through a trimmer resistor, to adjust modulation in the radio (it needs a much smaller amplitude than the DAC produces), and though a DC blocking capacitor. The board also routes the audio output of the radio to an ADC pin of the microcontroller, but I haven&#8217;t tested this yet. Finally, an open-collector NPN transistor switches the radio to transmit. I had some trouble with this transmit-receive switch: RF would get into the circuit and would keep the radio transmitting long after the microcontroller tried to turn the transistor off. I solved this with two 0.01μF decoupling capacitors on both the base and the collector of the switching transistor.</p>
<p>I used my own software drivers for the microcontroller (for it&#8217;s UARTs, DAC, etc.), but I used code from other APRS open-source projects for building up packets and for producing the audio output of the modem. I will release the software once it is more or less stable. I used three codes: Tracker2&#8242;s code by Scott Miller of <a href="https://www.argentdata.com/">Argent Data</a>, the AX25 code in <a href="www.bertos.org">BeRTOS</a> (a real-time operating system), and <a href="http://www.baycom.org/~tom/ham/soundmodem/">soundmodem</a>. I have a lot of positive experience with soundmodem running on the Linux box, so hopefully it will work well on an embedded system. Fortunately, it uses fixed-point arithmetic, rather than floating point which is not supported in hardware on small microcontrollers, so it should work. But I have not tested the demodulator yet. The parts of soundmodem that I&#8217;m already using required quite a bit of hacking, unfortunately. I initially tried to keep the modem code as is, but I gave up after a while; the over structure does not work too well in an embedded setting.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2011/12/fullscreen-capture-12232011-123904-pm.jpg"><img class="alignright size-medium wp-image-500" title="Fullscreen capture 12232011 123904 PM" src="http://sivantoledotech.files.wordpress.com/2011/12/fullscreen-capture-12232011-123904-pm.jpg?w=300&#038;h=224" alt="" width="300" height="224" /></a>I&#8217;ve been working on the tracker for a few days, and yesterday it got to the point where it was working on the bench: parsing GPS data, producing packets, and sending them to the radio. The packets were well-formed and my gateway decoded them (actually just some of them;  I&#8217;m not sure if the 2W signal from the radio was too weak, or the transmitted audio is not good for some reason). It was time to take the tracker for a ride. I took it to the car and hooked it to the cigarette-ligher&#8217;s socket. The LPC2148 board can be powered by up to 15V, and it can produces enough 3.3V power for the GPS, so I assumed everything would work. It did for a while (you can see some position spots in the aprs.fi map on the right), but after a few minutes the tracker started rebooting itself every second or so. I touched the regulators on the board and they were pretty warm, so I&#8217;m assuming that one of them overheated, shut down, and caused the system to reset. I guess I can&#8217;t power this unit directly from the car&#8217;s battery; I&#8217;ll need to drop the voltage with an off-board regulator first.</p>
<p>Next, I&#8217;m going to work on the AX25 demodulator, hopefully producing a tracker that can also decode packets.</p>
<br />Filed under: <a href='http://sivantoledotech.wordpress.com/category/software/dsp/'>DSP</a>, <a href='http://sivantoledotech.wordpress.com/category/embedded/'>Embedded</a>, <a href='http://sivantoledotech.wordpress.com/category/radio/'>Radio</a>, <a href='http://sivantoledotech.wordpress.com/category/software/'>Software</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sivantoledotech.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sivantoledotech.wordpress.com/493/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=493&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sivantoledotech.wordpress.com/2011/12/23/building-an-aprs-tracker/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/24365794e76469733b1fe48cac05cbc3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sivantoledo</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2011/12/img_8261.jpg?w=300" medium="image">
			<media:title type="html">IMG_8261</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2011/12/img_9866.jpg?w=300" medium="image">
			<media:title type="html">IMG_9866</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2011/12/fullscreen-capture-12232011-123904-pm.jpg?w=300" medium="image">
			<media:title type="html">Fullscreen capture 12232011 123904 PM</media:title>
		</media:content>
	</item>
		<item>
		<title>Two Monoband Magnetic Loop Antennas</title>
		<link>http://sivantoledotech.wordpress.com/2011/12/02/two-monoband-magnetic-loop-antennas/</link>
		<comments>http://sivantoledotech.wordpress.com/2011/12/02/two-monoband-magnetic-loop-antennas/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 07:17:26 +0000</pubDate>
		<dc:creator>Sivan Toledo</dc:creator>
				<category><![CDATA[Antennas]]></category>
		<category><![CDATA[Radio]]></category>

		<guid isPermaLink="false">http://sivantoledotech.wordpress.com/?p=477</guid>
		<description><![CDATA[I recently built two more magnetic loop antennas, both for single bands. I built the first one mostly in order to find a good use for a piece of Heliax (coax with a solid copper shield) that I found discarded. Copper tubing is an excellent material for small loop antennas, so building a loop seemed [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=477&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://sivantoledotech.files.wordpress.com/2011/12/img_9676.jpg"><img class="alignright size-thumbnail wp-image-479" title="IMG_9676" src="http://sivantoledotech.files.wordpress.com/2011/12/img_9676.jpg?w=150&#038;h=100" alt="" width="150" height="100" /></a>I recently built two more magnetic loop antennas, both for single bands. I built the first one mostly in order to find a good use for a piece of Heliax (coax with a solid copper shield) that I found discarded. Copper tubing is an excellent material for small loop antennas, so building a loop seemed like a good idea. The Heliax was only 1.60m long, so it only made sense to build a loop for one of the higher HF bands. The main difficulty in building a small loop is to find a suitable capacitor to resonate the loop. I decided to try to build the loop using two capacitors in parallel: a piece of coax that will form a high-voltage fixed capacitor and a small butterfly air-variable capacitor that I had. The butterfly capacitor had too little capacitance to resonate the loop alone. The coax would serve as a fixed capacitor, but I would be able to easily rough-tune it to the band by trimming it.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2011/12/img_9681.jpg"><img class="alignright size-thumbnail wp-image-480" title="IMG_9681" src="http://sivantoledotech.files.wordpress.com/2011/12/img_9681.jpg?w=150&#038;h=100" alt="" width="150" height="100" /></a>I decided to build the loop for the 21MHz band, because when I built it a couple of months ago, the higher bands were not open for significant periods of time (this changed later and I re-tuned the loop for the 28-29Mhz band). I soldered the ends of the Heliax to the butterfly capacitor and to a piece of RG-58 coax. This was not easy; I did not have a high-power soldering iron, and the excellent heat conduction of the Heliax&#8217;s shield made it difficult to heat it up enough to solder. I eventually managed to solder the capacitor, coax, and Heliax using short pieces of house wiring. It&#8217;s not pretty but it worked.</p>
<p>I trimmed the coax capacitor to the correct length using a borrowed antenna analyzer. I tuned earlier loops without one; it&#8217;s definitely easier with an analyzer. The coupling loop is the one I use with the <a title="The Coax Loop" href="http://sivantoledotech.wordpress.com/2010/09/04/the-coax-loop/">coax loop</a>. It&#8217;s larger than 1/5 the diameter of the Heliax loop, but it still resulted in impedance close to 50Ω. I set the air variable capacitor to maximum capacitance and trimmed the coax until the antenna resonated just below 21.000MHz. I could now resonate the antenna anywhere on the 21MHz band by tweaking the air variable. I made several contacts on 21MHz with the loop, but after a few days I re-trimmed the coax capacitor all the way to the 28MHz band, which was more active.</p>
<div id="attachment_482" class="wp-caption alignright" style="width: 160px"><a href="http://sivantoledotech.files.wordpress.com/2011/12/img_9735.jpg"><img class="size-thumbnail wp-image-482" title="IMG_9735" src="http://sivantoledotech.files.wordpress.com/2011/12/img_9735.jpg?w=150&#038;h=100" alt="" width="150" height="100" /></a><p class="wp-caption-text">The loop with the RG-213 coax capacitor</p></div>
<p>I noticed something strange in JT65, a mode that transmits for 50s at a time. I would tune the antenna low SWR and transmit. At 10W or below, everything was fine. But at 20W and up, the SWR would rise from near perfect to horrible after a few seconds of transmission. The rise in SWR was rapid but not sudden; it would take several seconds. This was very consistent and it happened on both 21MHz and 28MHz. I realized that the power was doing something bad to the antenna, so I went out to check. There was a slight odor, and the end of the coax stub was burned (and warm). The high voltage across the capacitor was causing current to leak between the inner and outer conductors of the RG-58 coax, and that current was heating up the coax, burning it, and changing its capacitance (which is what caused the antenna to de-tune and the SWR to rise). I replaced the RG-58 with a much more robust RG-213. I tuned it to the band but kept the inner conductor longer by about 1cm than the outer shield, to separate the two conductors even more. The antenna can now withstand high power. I made many contacts with it.</p>
<p>I hoped that the antenna would be better than my <a title="The Coax Loop" href="http://sivantoledotech.wordpress.com/2010/09/04/the-coax-loop/">coax loop</a>, which is made with LMR-400 coax and N-type connectors, thanks to the solid-copper outer conductor and thanks to the soldered connections between the loop and the tuning capacitor. But on the air, there didn&#8217;t seem to be a significant difference between the two. The coax loop is a little larger (80cm diameter vs. 52cm), so maybe that compensates for its disadvantages. The coax loop is more flexible, since with a large air variable and a vernier dial I can tune it all the way from 7MHz to 29MHz, so I don&#8217;t use new Heliax loop much any more.</p>
<p>It was still fun to see that I can have reliable SSB and FM contacts (not to mention PSK31 and JT65) using such a small antenna.</p>
<p><strong><em>An Update:</em></strong> I&#8217;ve finally soldered the Heliax directly to the tuning capacitor. I did well with this antenna during a recent contest, in which I made quite a few SSB contacts including to Australia, China, Japan, and quite a few other countries. I&#8217;m pretty happy with the antenna now.</p>
<p>The second small loop I built is a PCB loop for 144MHz. I envisioned it as a way to build APRS trackers that are really small: that is, have a small antenna, perhaps in the same plastic enclosure containing the transmitter and the GPS receiver and antenna. Furthermore, if an effective VHF loop can be built on a PCB, the antenna could be etched by a commercial PCB manufacturer, making is relatively easy to duplicate. PCB antennas are very common on UHF. They are also common in RFID tags, some of which work at 13.56MHz (where they are very inefficient but still good enough for RFID). For APRS, the antenna can be fixed-tuned to 144.800MHz, so the tuning capacitor can be fixed rather than variable.</p>
<p><a href="http://sivantoledotech.files.wordpress.com/2011/12/img_9736.jpg"><img class="alignright size-thumbnail wp-image-485" title="IMG_9736" src="http://sivantoledotech.files.wordpress.com/2011/12/img_9736.jpg?w=150&#038;h=100" alt="" width="150" height="100" /></a>I designed the loop to be a square with beveled edges. The square is 10cm-by-10cm, and the copper loop is 1.5cm wide, to make losses low. I am not actually sure that making the PCB conductor so wide would actually keep losses low, but it seems like a reasonable bet (if somebody can run simulations to determine this, I would be happy to read the results). I was hoping to tune the loop to resonance using a sliding capacitor that I would form from the two open ends of the loop itself and another piece of PCB material sitting on top of it, separated by either a small air gap or some polyethylene. I ended up, however, using a coax-stub capacitor, which you can see in the picture. I also used a gamma match to feed the loop, rather than a coupling loop.</p>
<div id="attachment_486" class="wp-caption alignright" style="width: 160px"><a href="http://sivantoledotech.files.wordpress.com/2011/12/img_9738.jpg"><img class="size-thumbnail wp-image-486" title="IMG_9738" src="http://sivantoledotech.files.wordpress.com/2011/12/img_9738.jpg?w=150&#038;h=100" alt="" width="150" height="100" /></a><p class="wp-caption-text">The small piece of PCB was designed to form a tuning capacitor with the ends of the loop, when mouned on top of it</p></div>
<p>I had a lot of trouble tuning this loop. I started by installing the PCB air capacitor, which I fixed to the loop using nylon screws. My intention was to make slots in the PCB material that would allow me to slide the small piece of PCB up and down to change the capacitance, but initially I used simple holes that fixed the capacitor at maximum capacitance. I connected the loop to an antenna analyzer and tried to find the resonance point. I could not find any resonance point. I moved the gamma match up and down and tried again and again. I replaced the gamma match by a coupling loop. No resonance. I abandoned the project for a few days.</p>
<p>Prototyping the loop took quite a bit of work, to cut the PCB and to file away some of the copper using hand tools, so not being able to get it to work was frustrating. After a few days, I decided to use methods that worked for me on lower bands and to try again. I took apart the hand-made air variable capacitor and soldered a short RG-58 coax stub to the loop. And instead of the antenna analyzer, I used a receiver (in SSB mode) to search for a peak in the noise. I was able to find a weak peak below 144Mhz. I repeatedly shortened the stub and searched for the peak, which slowly rose toward 144MHz. Once it was near, I was able to transmit and to trim the coax to low SWR. The antenna is now tuned to 144.800MHz and gives acceptable SWR over a range of about 0.5Mhz.</p>
<div id="attachment_487" class="wp-caption alignright" style="width: 160px"><a href="http://sivantoledotech.files.wordpress.com/2011/12/img_9737.jpg"><img class="size-thumbnail wp-image-487" title="IMG_9737" src="http://sivantoledotech.files.wordpress.com/2011/12/img_9737.jpg?w=150&#038;h=100" alt="" width="150" height="100" /></a><p class="wp-caption-text">The back of the loop, showing the SMA connector</p></div>
<p>I did some non-scientific comparisons of the loop and a short flexible handy-talkie whip, the 15cm-long Diamond SRH-815. There didn&#8217;t seem to be a lot of difference between the two antennas, which was a bit disappointing. So either I didn&#8217;t do the comparison properly (entirely possible), or this loop is not much more efficient than a short whip. For most uses a short whip is more practical, so right now I can&#8217;t really think of a good reason to use a small PCB loop on VHF. But I&#8217;m still happy I was able to get the antenna to work.</p>
<br />Filed under: <a href='http://sivantoledotech.wordpress.com/category/radio/antennas/'>Antennas</a>, <a href='http://sivantoledotech.wordpress.com/category/radio/'>Radio</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sivantoledotech.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sivantoledotech.wordpress.com/477/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sivantoledotech.wordpress.com&#038;blog=15613626&#038;post=477&#038;subd=sivantoledotech&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sivantoledotech.wordpress.com/2011/12/02/two-monoband-magnetic-loop-antennas/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/24365794e76469733b1fe48cac05cbc3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sivantoledo</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2011/12/img_9676.jpg?w=150" medium="image">
			<media:title type="html">IMG_9676</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2011/12/img_9681.jpg?w=150" medium="image">
			<media:title type="html">IMG_9681</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2011/12/img_9735.jpg?w=150" medium="image">
			<media:title type="html">IMG_9735</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2011/12/img_9736.jpg?w=150" medium="image">
			<media:title type="html">IMG_9736</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2011/12/img_9738.jpg?w=150" medium="image">
			<media:title type="html">IMG_9738</media:title>
		</media:content>

		<media:content url="http://sivantoledotech.files.wordpress.com/2011/12/img_9737.jpg?w=150" medium="image">
			<media:title type="html">IMG_9737</media:title>
		</media:content>
	</item>
	</channel>
</rss>
