Monday, March 07, 2016

MATLAB Smith Charts

Last time, I posted a procedure for creating Smith charts by hand.


This time, I’d like to continue the process by showing my procedure for using Matlab® or GNU Octave to create these charts.


I should note that Matlab® already has a “smithchart” function, that does a pretty good job. But if you’d like to customize the chart or do it in GNU Octave, this process might be better. Matlab®’s function will plot a reflection coefficient for you, while the script presented here does not.


Matlab® or Octave, the smithchart function or script doesn’t do the \(Z\) to \(\Gamma\) conversion for you. The function simply draws the circles on in Cartesian coordinates. You still have to convert an impedance to a reflection coefficient.


$$\Gamma = \frac{Z - Z_0}{Z + Z_0}$$


where is the basis impedance for the chart.

The real and imaginary part of the reflection coefficient will be the and coordinates that to plot.

Zero reactance line

The zero reactance line is the axis. We just draw a line from -1 to 1.


x = linspace (-1, 1, 256);
y = zeros (1, length (x));

plot (x, y,'k');

% We don't show the axis, but we need to scale it.
axis ([-1.15, 1.15, -1.15, 1.15]);
axis off;

hold on


Zero Reactance Line




Resistance Circles



We will not plot complete circles for all resistances. This will lead to a very cluttered chart on the right hand side. Instead we will start and stop them at strategic locations on the chart.


The complex impedance can be broken down into


$$Z=A+jB$


Where is the resistance and is the reactance. In a Smith Chart, all impedances are normalized to one. The reflection coefficients for the circles become



A = [.2 .5 1 2]; Blim = [1 2 5 2];

for idx = 1:length(A);
    B = linspace (-Blim(idx), Blim(idx), 256);
    rho = (A(idx)^2 + B.^2 - 1 + 2i * B) ./ ...
      ((A(idx) + 1).^2 + B.^2);

    plot (rho, 'k');
end


Resistance Circles


Some resistances can have full circles, namely, the -, -, and circles. However, we will never be able to complete the circles using the technique above. The right hand side of the chart is infinity.

Instead, we just make Cartesian circles at those points. It’s easier and saves memory.


theta = linspace (0, 2 * pi, 256); A = [0 5 10];

for idx = 1:length (A)
    cx = A(idx) ./ (A(idx) + 1);
    rx = 1 ./ (A(idx) + 1);

    plot (rx * cos (theta) + cx, rx * sin (theta), 'k');
end

Full resistance circles at 0, 5, and 10 ohms.


Constant Reactance

Like resistance, we don’t draw complete circles for the reactances. They start at and end at various resistance circles in the chart. The technique is the same, but we don’t have any reactances that go all the way to the side of the chart.


Alim = [.5 .5 1 1 2 2 5 5 10 10]; % Resistance endpoints
                                  % for each reactance
                                  % line
B = [-.2 .2 -.5 .5 -1 1 -2 2 -5 5];

for idx = 1:length (B)
    A = linspace (0, Alim(idx), 256);
    rho = (A.^2 + B(idx)^2 - 1 + 2i * B(idx)) ./ ...
      ((A + 1).^2 + B(idx)^2);
    plot (rho, 'k');
end
Reactance Arcs


Resistance and Reactance Markings

% Resistance markings are on the zero-reactance line.
A = [0.2 0.5 1 2 5 10]; B = zeros (1, length (A));
rho = (A.^2 + B.^2 - 1 + 2i * B) ./ ((A + 1).^2 + B.^2);

% Offset the text slightly
xoffset = [0.1 0.1 0.05 0.05 0.05 0.075]; 
yoffset = -0.03;

for idx = 1:length (A)
    text (real (rho(idx)) - xoffset(idx), ...
        imag (rho(idx)) - yoffset, num2str (A(idx)));
end

% Let's put the reactance markings outside of the
% zero-resistance circle.
A = [-0.075 -0.075 -0.075 -.1 -0.125];
rho = (A.^2 + B.^2 - 1 + 2i * B) ./ ((A + 1).^2 + B.^2);

for idx = 1:length (B)
    text (real (rho(idx)), imag (rho(idx)), ...
        strcat ('j', num2str (B(idx))));
    text (real (rho(idx)), -imag (rho(idx)), ...
        strcat ('-j', num2str (B(idx)))); end

% Zero for resistance and reactance. 
rho = (-0.05.^2 + 0.^2 - 1) ./ ((-0.05 + 1).^2 + 0.^2);

text (real (rho), imag (rho), '0');

hold off;
Resistance and Reactance Markings


Plotting on the Chart

To plot a value on the chart, calculate the reflection coefficient for the point and use Matlab’s plot function after issuing the hold on command.

Sunday, January 24, 2016

DIY Smith Charts

The Smith chart is an elegant way to visualize the complex values used in an electronic design. When appropriate, I like to include one when I present my antenna and transmission line work. The chart papers that you can buy are good for doing the actual calculations, but it is hard to get them into an online presentation.

The term "Smith Chart" is a trademark of Analog Instruments Company of Providence, NJ, which distributes printed charts. Blank charts are also available from the American Radio Relay League, of Newington, CT, http://www.arrl.org

This tutorial gives a procedure for making simple Smith charts. It can be applied to many different drawing packages, including Microsoft Office Shapes, Inkscape, or even to drawing them by hand.

Drawing the charts by hand takes patience, but it can be done. I recommend using a set of dividers to accurately position the circles and arcs on their respective axes.

Mathematics


The basis for the chart is the reflection coefficient, \(\rho\), defined by the equation

$$\rho = \frac{\frac{Z}{Z_0} - 1}{\frac{Z}{Z_0} + 1}$$

Where \(Z\) is the complex impedance, \(R+jX\), and \(Z_0\) is a reference impedance to normalize it. \(Z_0\) is often chosen to be the characteristic impedance of a transmission line we are working with, like 50 or 450 ohms.
\(\frac{Z}{Z_0}\) is itself a complex value. If we let A be the real (resistance) part, and B the imaginary (reactance) part, the expression for \(\rho\) becomes

$$\rho = \frac{A^2 + B^2 - 1 + j2B}{\left(A + 1\right)^2 + B^2}$$

The lines on the chart are reflection coefficient points where either the resistance is held constant and the reactance varies from minus to plus infinity or vice versa.

Because of the logarithmic nature of the chart, choosing indices of 0.2, 0.5, 1.0, 2.0, 5.0 and 10 yields nice, even divisions.\

Zero Resistance, Zero Reactance


Zero resistance is represented by the circle that defines the outer edge of the chart. The left side of the circle is \(A=0\), \(B=0\). Looking at the equation above, you can see that as \(A\) gets very large, \(\rho\) approaches \(1\). This is the right side of the circle.

Zero reactance is a line through the middle of the chart. You can also think of this as another circle of infinite radius, centered at infinity.

Zero Resistance Circle, Zero Reactance Line
Zero Resistance, Zero Reactance

It helps to draw a line perpendicular to the zero reactance line when constructing the chart with a compass and ruler. This line is the \(A=\infty\) axis, and is where the constant reactance circles are centered.

Constant Resistance Circles


Constant Resistance Circles

Now the chart gets interesting. From the reflection coefficient equation, we can show\footnote{See notes at the end of the tutorial.} that the radius of each constant resistance circle is

$$r = \frac{1}{A+1}$$

and that the center is at

$$x = \frac{A}{A+1}$$

where \(x\) is the linear value along the \(B=0\) axis, \(-1\) to \(1). These values are shown below.

ACenterRadius
001
0.20.1666670.833333
0.50.3333330.666667
1.00.50.5
2.00.6666670.333333
5.00.8333330.166667
100.9090910.090909

Constant Reactance Circles


Adding Constant Reactance Circles

It can also be shown that the center of each constant reactance circle along the \(A=\infty\) axis is

$$y = \frac{1}{B}$$

The radius is

$$r = \left|\frac{1}{B}\right|$$

The centers and radii for the circles are shown in the following table.

BCenterRadius
-5.0-0.20.2
-2.0-0.50.5
-1.0-1.01.0
-0.5-2.02.0
-0.2-5.05.0
0.25.05.0
0.52.02.0
1.01.01.0
2.00.50.5
5.00.20.2

By the way, setting\(A\)equal to zero in the reflection coefficient equation gives the point where the constant reactance and zero resistance circles intersect.

$$\rho = \frac{B^2 + j2B - 1}{B^2 + 1} = -\frac{1-jB}{1+jB}$$


Numbering and Formatting


I like to number the resistance circles along the zero reactance line, and number the reactance circles around the zero resistance circle.

Instead of complete constant resistance circles, I suggest stopping them at strategic points. Since everything on a Smith chart is centered on the right side at \(B=0\), it tends to get a little cluttered there.

The Decluttered Chart


To create the chart above, select the desired circle that is being drawn, and then the conjugate circle where it stops. Enter these as A and B.

$$\left(x - \frac{A}{A+1}\right)^2 + y^2 = \left(\frac{1}{A+1}\right)^2$$

$$\left(x - 1\right)^2 + \left(y - \frac{1}{B}\right)^2 = \frac{1}{B^2}$$

Simplifying,

$$y^2 = \left(\frac{1}{A+1}\right)^2 - \left(x - \frac{A}{A+1}\right)^2 \\
>= x^2 - \frac{2A}{A+1}x + \frac{A^2+1}{\left(A+1\right)^2}$$

$$y = x - \frac{\frac{2A}{A+1} \pm \sqrt{\frac{4A^2}{\left(A+1\right)^2}-\frac{4A^2+4}{\left(A+1\right)^2}}}{2} = x - \frac{A\pm2}{A+1}$$

$$x^2 - 2x + 1 + y^2 - \frac{2y}{B} + \frac{1}{B^2} = \frac{1}{B^2} \\
x^2 - 2x + y^2 - \frac{2y}{B} = -1$$


Of course, to draw the chart by hand, simply use the centers and radii found in the tables above.

Notes


Derivation Radius and Position of the Constant Resistance Circles


Setting \(B\) to zero in the reflection coefficient equation gives the point where the right side of the constant resistance circle intersects the zero reactance axis.

$$\rho = \frac{A^2-1}{\left(A+1\right)^2} = \frac{A-1}{A+1}$$

The radius of the circle will be the distance from there to the right side of the zero resistance circle (\(x=1\)).

$$\frac{1 - \left(A - 1\right)/\left(A + 1\right)}{2} = \frac{1}{A+1}$$

And the center will be

$$1 - \frac{1}{A+1} = \frac{A}{A+1}$$

This gives a standard form for the equation of the circles as

$$\left(x - \frac{A}{A+1}\right)^2 + y^2 = \left(\frac{1}{A+1}\right)^2$$

Derivation of the Height of the Constant Reactance Circles


Constant Reactance Circle Construction

Right triangle DEF has angle \(\alpha\) at the point where the constant reactance circle intersects the zero resistance circle.



Since sides D and H are parallel, angles \(alpha\) and \(rho\) are equal. This means that triangles DEF and FGH are similar, because they share a side and each have two equal angles (angle-angle-side).  Therefore, the ratios of side F to side D for triangle DEF is the same as the ratio of triangle FGH side H to side F. We can express side H in terms of sides F and D



$$H=\frac{F}{D} F = \frac{F^2}{D}$$



From Pythagorean theorem,



$$F=\sqrt{D^2 + E^2}$$



\(E\) is the radius of the zero resistance circle, \(1\) minus the real part of the zero-resistance - constant reactance intersection, \(C\).



This gives us the expression for \(H\).



$$H = \frac{D^2 + \left(1-C\right)^2}{D}$$



\(C\) and \(D\) come from the reflection coefficient equation.



$$H=\frac{\left(\frac{2B}{B^2+1}\right)^2+\left(1-\frac{B^2-1}{B^2+1}\right)^2}{\frac{2B}{B^2+1}}=\frac{4B^2+4}{{2B}\left(B^2+1\right)}=\frac{2}{B}$$



The center and radius of the constant reactance circle will be\(1/2H = 1/B\).



The standard form for the circle becomes



$$\left(x - 1\right)^2 + \left(y - \frac{1}{B}\right)^2 = \frac{1}{B^2}$$

Thursday, July 10, 2014

Silver-Marshall 1929 Plant, 65th Street, Chicago


View Larger Map

In a 1929 Radio News article, there is an architecht's drawing of the plant, built five years after Silver and Marshall started out in a parking garage.

According to Radio News, by 1932 the company only occupied a small portion of the building. An interesting note is that Silver decided (probably with good reason) that Chicago was becoming a radio industry hot spot.

In Audio magazine article "Nothing New Under the AM Sun", Michael N. Stosich notes that EH Scott and Silver-Marshall battled it out for technical supremacy until Silver-Marshall failed in 1940. He goes on to say that McMurdo Silver committed suicide in 1947. Note: Searching Google Maps for the original 6401 W. 65th Street address lands one a couple of blocks east of the correct location.

Saturday, November 03, 2012

A Manufacturer in Indianapolis

A few years ago I found a beautiful marketing sign under the tree at Christmastime. My wife and I both like historical items, and prowl the antique malls when we have an hour or two to ourselves.

The sign adorns my hamshack now.

I had heard of Fairbanks Morse, but only as a manufacturer of industrial equipment - pumps and such. I had no idea they made radios.

It turns out they were located in Indianapolis.

I have added the location to the Radio Row google maps file.

Monday, August 13, 2012

Radios at the Indiana State Fair

I'm always looking for radio technology in museums and antique malls.

At the Indiana State Fair this year, I wandered through the antiques entries. Among the assortment of All American Fives and an impressive group of early transistor radios I found this beauty.

It appears to be a crystal radio set, with a Bakelite front panel and wooden case.

Thursday, April 12, 2012

Another Ghost

Atwater Kent's Wissahickon Avenue Plant in Philadelphia


View Larger Map

You can still make out part of the name "Atwater" over this entrance:


View Larger Map

This plant, the South Plant, was once connected to the North Plant via an overhead walkway (conveyor? maybe someone can comment.) over Abbotsford Avenue. All that remains of the North Plant is the powerhouse.


View Larger Map

The walkway came out of the South Plant, near the smokestack...Just about where this square structure is attached. I assume this was an anchor for the walkway.


View Larger Map

See also
Uncle Alberts has a view to the west, showing both plants (and the walkway).

Atwater Kent Manufacturing Company, North Plant, 5000 Wissahickon Avenue, Philadelphia, Philadelphia County, PA of the Library of Congress Historic American Buildings Survey/Historic American Engineering
Record/Historic American Landscapes Survey has many views of the plants, including interiors.

You can see the entire My Places map or download a KML file.

Tuesday, May 17, 2011

Living in the Past



Some of the ghosts of radio manufacturers still haunt Google Maps.

I started trying to map out the original streets from New York's Radio Row -- Cortlandt, Dey, Liberty, etc. I ended up finding a lot of buildings around the country that used to house radio manufacturers. I created a Google MyMaps page to hold them all. You can find a KMZ at

http://dl.dropbox.com/u/4459841/Radio%20Row.kmz

You'll find Hallicrafters, ElectroVoice, Heathkit, and more. I threw in some lines for Radio Row for good measure.

Thanks to Street Cities - Free Mapping and Street View Tools for the street view control.

Wednesday, June 09, 2010

Lead Acid Batteries

One of my coworkers came in to work yesterday with a four-inch gash in his forhead.

He had charged up his lawn mower's battery, and when he turned the key, it exploded, sending shrapnel and acid all over his garage. He thinks he was hit by a filler cap as it flew by. Acid was sprayed all over the garage ceiling. He got lucky.

ARRL Field Day is coming up on the 26th and 27th of June. Our club uses batteries for some things even though we have a generator for most of the operating positions.

When a battery is charging, it will release hydrogen gas, and a spark from an ignition system, or even a bad internal connection is all that it takes to set it off.

My high-school chemistry teacher said that of all of his senses, the last one he would want to lose is his sight. I have decided that I will never again work on lead-acid batteries without safety glasses. I will be buying a set for each vehicle, to keep with the jumper cables.

Monday, December 07, 2009

2009 Disney Trip

We got back from a trip to Orlando and Disney World last Saturday. It was a pretty fun trip although I am still fighting bronchitis that doesn't want to go away.

Nothing really ham radio related here, although I understand that there are two repeaters on the Contemporary resort where we stayed, and Disney has a club open to cast members only.
For some reason, the Toy Story Mania wait was only 20 minutes that evening, so we decided to go for it. We had a great time, and resolved to ask Santa for the Wii game.

The Osborne Family Christmas lights were amazing again, and we wandered through them muching popcorn.

On Wednesday evening, we went to EPCOT to see Turtle talk with Crush. This is the hot ticket here, but to fully get the magic, you need a very outgoing kid. My daugther is a "watcher", and fully analyzes new situations before she joins in. Consequently, she didn't get a chance to interact with Crush as we hoped she would be able to, and EPCOT's hot new attraction didn't really do much for her.

Dinner was at the Germany Beer Garden, spaetzle, rouladen, sausages and sauerkraut. Lennie got a liter of Spaten, and I got a Franziskaner. They give you to-go glasses so you can stroll along the world showcase with your beer after you leave.

Thursday morning saw us back at DHS, and the first thing we did was get fast passes for Toy Story Mania. The regular line was already 70 minutes. We went to Disney Kid's show and had lunch. Then we did Honey I Shrunk the Kids. It's true what the guide books say, you will never see your children again. Not good. The thing is a labyrinth of (for adults) hand and knees crawls and blind alleys, all covered with playground rubber, which absorbs the sound of your calls for your kids. After about 40 minutes of not seeing her (panic: did she leave the play area?) Elisabeth popped out somehwere and we went to play TSM again.

Lennie got us tickets to the Very Merry Christmas party on Thursday night, which ended up being great fun. When we went two years ago, I almost came to blows with another dad as we were jockeying for position to watch the parade. This year, we lined up way ahead of time, and I remembered something from the last time -- NO LINES!!! Between 7 PM and parade time, people are lining the parade route, and the rides are virtually empty!

So, we blew off the parade. The Buzz Lightyear shooting gallery was fun, and we did not have to wait at all. Same for all the other rides. No lines. There were dance parties and shows, strolling carolers and characters to meet. We saw Peter Pan's flight after about a ten minute wait, and that was the longest. I think we really enjoyed it this time.

We discovered that we really liked the Tomorrowland Transportation Authority (tram) which provides a serene, sedate circle tour of tomorrowland, and Space Mountain. Space Mountain was shut down and light up, and we were able to see inside it. It basically looks like a wild mouse rollercoaster.

On Friday, it rained all day. We went to the Magic Kingdom and did Buzz Lightyear and TTA again, but quickly headed back to the Contemporary for lunch. We spent the afternoon of our last day shopping and playing in the resort arcade.

Except for the Christmas party, the crowds were bigger than two years ago. We remember the week after Thanksgiving as the one with the lightest attendance, but I think Disney put on a marketing push to get people in to the parks to help stay afloat during the recession. We got the free meal plan with our park passes, and found that we could not really get into any restaurants when we wanted. I think everyone else got them too.

We also came to the conclusion that if you want to enjoy your Disney vacation, you have to surrender to Disney's way of doing things. Eating, going to the parks, transportation, seeing shows, riding rides, arriving at the resort, all seem to be carefully planned and orchestrated. If you do something different, say wanting to eat lunch at 11 AM, you will be disappointed.
Five days became a little of a grind for us. We just had so much we wanted to do that we didn't get to last time, that we forgot that we should leave ourselves wanting more. Along about Thursday morning, we had visited all four parks, and began the "I don't know, what do you want to do?" game.

Tuesday, May 19, 2009

Hamvention

I went to the Dayton Hamvention last Friday. I ended up traveling by myslef, but it was a great time. With it being a one-day trip, I skipped the forums, and concentrated on what was going on in the exhibit halls.

My biggest purchase was a new Byonics TinyTrak4 and GPS. I told Byon that I didn't need a null modem, as I had one at home, and couldn't find it when I got back. I then realized that Walmart no longer carries any serial cables or other accessories. Same for many of the other department stores. I haven't had a chance to pop into my local electronics store.

I had one bum purchase...I bought a digital photo frame. I usually don't go for non-ham items at hamfests, but we've been wanting one, and these seemed like a good deal; new in box, great price. I got home and discovered that the fluorescent panel behind the LCD was not working. I ended up throwing it away. Yes, I could have messed with it...I have heard of people turning them into LCD projectors, other things, but I have plenty to keep me busy. I learned a lesson, and I won't buy open stock at a hamfest anymore. I sort of wish these guys would stop taking up space there.

Tuesday, April 14, 2009

SWR Indicator

I added the Hendricks QRP Kits SWR Indicator to the MFJ QRP Cub this week. I found room for it on the back panel of the little box.

This is a little return-loss bridge that was designed by Dan Tayloe, N7VE.

The kit went together fairly well, and the instructions were easy to understand, especially with all of the photos. The hardest part was how to get the signals in and out of the board. I settled on using short pieces of RG-174 running from the RCA plug to the board, and from the board to a new BNC bulkhead connector. Even with RG-174, it was hard getting the shield into the holes on the board. I eventually got it, but it looks a little ugly.

Pictures to follow as soon as I can take some

Tuesday, December 09, 2008

Popular Science and Popular Mechanics on Google Book Search!

Google Book Search announced today that it was posting scans of several magazines, including Popular Science and Popular Mechanics online.

I'm excited because it means that old radio articles in these magazines are available for viewing.

Try this: Go to http://books.google.com/advanced_book_search, and enter the words "crystal", "coil", and "condenser" in the search window. Check the "Full View Only" and "Magazines" buttons. It returns a bunch of magazine articles on crystal radio sets.

Now the next trick...To bookmark the article, you don't have to save that entire godawful URL it brings up. You can trim from the end of the URL to the "&pg=PAXXX" term. The rest is just for highlighting the search text in the article and stuff.

Wednesday, August 20, 2008

More Satellite Page Hacking

Writing bookmarklets can become addictive. Here is one similar to the AMSAT hack for Heavens-Above. Go to the Heavens-Above amateur satellites page (once you've registered,) and then paste the following code in the Address bar:

javascript:(function(){var%20minElev=Number(prompt("Enter%20minimum%20elevation.","30"));var%20table4=document.getElementsByTagName('table')[4];var%20row=2;while(row<table4.rows.length){if(table4.rows[row].cells[5].innerText<=minElev){table4.deleteRow(row);}else{row=row+1;}}})()

Monday, August 11, 2008

Outer Banks and Radio


I just came back from a vacation to the outer banks. While we were planning, Lennie found a ham radio connection there. It turns out that the Outer Banks is where Reginald Fessenden proved the viability of AM Radio during tests he made there in 1901-1902. The photo is from the marker at Weir Point. There is another marker just over the bridge to Pea Island. We passed it, but were pretty tired from our trip to Ocracoke and didn't feel like stopping. Besides, as Lennie said, "How many Fessendens does any one person need?" More info and a photo of the other marker are in a paper by VE2VC (PDF).

I got a chance to operate QRP from the beach this trip. My station consisted of an MFJ 40-meter QRP Cub transciever, an MFJ 30-meter 9030 transciever, and a Hendricks QRP Kits SL Tuner. For most of the trip, I used a 51-foot length of copperweld tied to the wooden handrail of the walkway leading out to the deck. I had a 16-foot length of copperweld dangling down to the sand for a counterpoise. I didn't have much luck on either 40 or 30 meters. Finally, on the last day, I got out my DJ9SQ mast and set it up with a "folded vertical" fed by the SLT. The 51-foot length of copperweld became another radial. This time I had better luck on 30 meters. I just need to brush up my code. Apologies to those I assaulted with it.

Update: Another great article on Fessenden and the Outer Banks is at coastalguide.com.

Posted by Picasa

Thursday, July 31, 2008

Why do hams hate proprietary codecs?

Recently, WinDRM took down its downloads because it used the MELP codec by default for encoding voice. It was restored to change the default to an open-source codec. Read about it at ARRL's web site

I have heard people telling me they won't use D-Star because it uses the proprietary AMBE 2020 codec. Never mind that the rest of the protocol is free for amateurs to use.

The normal way these codecs are used is to embed them in a chip, which, when you pay for it, goes to license the intellectual property inside.

Think of it this way. DeForest vigorously defended his patents. You could use his tubes in your radio, but if you tried to copy his tube and sell it as your own, you got sued.

It gets more complicated in the WinDRM case, and the analogy gets a little frayed. WinDRM used a freely-available copy of what is normally sold by TI and other companies. Back in 1915, no one would think of making a copy of an Audion tube and giving it away, but imagine someone did. Maybe they hated Dr. DeForest. Do you think that it would go unchallenged?

TI and the other rights holders are protecting their interests. They winked at hams for a while, but no more. If they don't protect their interest in this codec, which is used by the US Department of Defense and others, they will appear to have abandoned it and will no longer be able to sell it.

Either buy the chips, license the codec (in which case you'd have to start charging for WinDRM) or come up with your own. Amateur HF digital voice is begging for an open-source codec with a similar performance. How about a homebrew transciever in QST that uses AMBE-2020 chips?

Friday, July 11, 2008

More AMSAT Website Hacking

AMSAT has a page that predicts satellite passes. My problem with it is that it lists ALL of the passes, including ones that just graze the horizon. I generally tend to avoid them.

The following bookmarklet clears out all passes from the table of results that are less than 30 degrees above the horizon. Go to the AMSAT Prediction and get a list of passes for a satellite. Then paste the following code in your browser's address window and tell it to go. It should shorten the table.

***UPDATE - An error crept in when I posted this before...I had the row variable running to row <= table5.rows.length, and it ran over the end of the table, giving errors. The version below seems to work better.

***UPDATE - Added a prompt for the minimum elevation.

javascript:(function(){var minElev=Number(prompt("Minimum Elevation","30"));var table5=document.getElementsByTagName('table')[5];var row=2;while(row<table5.rows.length){if(table5.rows[row].cells[4].innerText<minElev){table5.deleteRow(row);}else{row=row+1;}}})()

It works in IE 6 and Firefox 2.0.0.15.

Friday, June 27, 2008

Hacking AMSAT's Website

AMSAT has a nice web site, full of information on amateur radio satellites, tools for tracking them, news, etc.
My gripe with the site has to do with the page style. The background image is something called "flannel", which is a bunch of fine black stripes on a white background. For me, it is too much white. To make matters worse, on some monitors, the stripes do some sort of flickering. Not Moire lines, but flickering, probably due to some video card setting I have wrong.
Rather than impose my tastes on others, I wrote a goofy little Greasemonkey script to change the background:

// ==UserScript==
// @name BlueAmsat
// @namespace http://userscripts.org/users/57521
// @description Change the AMSAT default background to blue
// @include http://www.amsat.org/*
// ==/UserScript==
document.body.style.backgroundImage = "none";
document.body.style.background = "darkblue";

You can install it directly here

Thursday, May 15, 2008

Gas Prices and Hamfests

According to Gasbuddy, prices in my area today are averaging to $3.92 per gallon. My 300C gets about 24 mpg on the highway if I can believe the computer, so that makes my 320-mile round trip to Dayton cost $52.

Last year, a gallon cost $3.27, for a cost of $44. The 300C manual says to use mid-grade, but prices tend to track.

At any rate, I am not going to miss Hamvention for $8.

Another perspective is on Eham.net.

Monday, December 31, 2007

Thing's I can live without on AFV

I like America's Funniest Home Videos. I am a little annoyed that the Disney-controlled network's (ABC) show does some off color stuff, like play Big and Rich's "Save a Horse (Ride a Cowboy)" during rodeo/western/horse -themed clips, but in general it's family-watchable. However, there are a few things that I'd rather not see anymore
  • Fake lottery tickets. One time was funny, more was annoying.
  • Food coming out of noses.
  • Dental work coming out of mouths.
  • Pulling baby teeth in unique ways.
  • Dogs and cats whining and yowling words.

People keep sending them and they keep playing them for some reason, but I fast-forward Tivo through them now.