## Fixing my S-10's Wipers

Today, I got to drive home without windshield wipers in a rainstorm. Â Fortunately, no crashes and no tickets.

The problem has been a lingering problem and even slowed my drive to work last week because I had to stop and shake the connector to the wiper's pulse board. Â After the drive home today, I decided it was time to fix it. Â I knew there was content out on the internet andÂ I found this video from Road Rage Customs that basically said to replace the board. Â I also knew that there was a resoldering fix.

## Mechanical

Mechanical rotary encoders are common in selector switches. Â They have mechanical rings inside (I couldn't find a good explanation of how this works). Â They are inexpensive and common, but I'm not sure of their use within an antenna rotator. Â Truthfully, the amount of torque needed to turn a selector switch is so much that I'm not sure this is really an option.

# Next Step

As the only picture on this post indicates, I have a motor with a sensor. Â I am going to build that into some sort of rotator that can be mounted on top of a fiberglass pole that I can use to turn the antenna. Â I don't know if I can have it done by August, but I'm going to try... presuming I get the 706 fixed first!

Category: Arduino

## iGate

I built an iGate.

I basically used the instructions from KB9MWR, although aprsx was giving me fits. Â I have soundmodem running on Debian (it's much easier to get it working there than Ubuntu), and the latest aprsx compiled locally.

Hopefully by the time the evening rolls around, more will fill up this map gated by me.

Note that my location on the map is near, but not at, my house (not that I'm not really hard to find, with the magic of ULS/QRZ and Google Street View).

You can see the stats on aprs.fi. Â At the time I'm finishing this post, I've only gated 6 stations through and they are only digipeaters and weather stations. Â I have seen position packets through, but I don't know if they are not being gated or if they are but APRSIS isn't sending them because they are duplicates.

Either way, coverage on SR 32 (a high traffic highway) and SR 125 (a high traffic roadway) now have some coverage, and it looks like a local nearby digi is down for now (the owner has indicated in a blog post that he's moved, so it may be back sometime).

-73-

Category: Equipment

## Hamfest Haul - Milford Hamfest

Despite working at the food booth for the Milford Hamfest, I did get some time to get into the boneyard. Â I came back with a few things.

Astron SS-25M. Yes, the price sticker says "Bad". No power output. It can be fixed - Astron makes some good products, and I'm sure I can find the schematics online.

Footswitch. Dear reader, you didn't think I'd use the wooden one forever, did you? :-)

Kenwood TM-201A. Works, but has quirks (some may be by design - like the fact that I have to use an external speaker!). Power output was 6 watts, although I didn't play with the power level switch to see if it would go up to 25 watts. I do like the slide-out bracket it uses.

Another view of the Kenwood.

AEP PK-232 Packet TNC.

Parts. I looked through several bags and picked ones with parts I really want. The meter was partly to round up to $4, although I'm sure I'll use it, too. Not a bad haul. -73- Category: Equipment ## Packet Station Coming? I worked a little more on the IC-706 Friday night and located a bad ribbon cable to go along with the bad filter. Â I sent an email to Icom in the wee hours of Saturday morning, so I'm sure I'll hear from them on Monday (or they'll hear from me on Monday, one or the other). Â Since I'm waiting on parts, I moved that aside for getting into possibly building a packet station. I started with a box I bought at a hamfest late last year. Â The part of the box that I saw first was a TinyTrak3 chip inside. Â I saw a Motorola commercial HT second. So I got into the HT, a Motorola HT90. Â It had a few minor challenges, like a short when I connected power to it (which was not with the battery, of course). Â Once I fixed that, I installed the two crystals (which one of the prior owners dropped about$75 on in 2002!). Â I had to tune it to transmit right on 144.390 (see the image in the gallery with my little test adapter). Â Once I did all that, I plugged it into the computer and installed and configured soundmodem.

Aaaaand... nothing. Â In fact, looking at aprs.fi, there was nobody in the area that was traveling. Â I left it on to (hopefully) get a few receptions on it.

-73-

Category: Equipment

## Supporting the Chinese Economy, Except the Post Office

I've written before how I don't understand how I can buy a chip on a board from China for $5, or I can buy the chip alone, in quantity, for$15.

Yesterday, I ordered parts. Â I looked at eBay, and ordered over 7,000 parts - resistors, capacitors, LEDs, and transistors (plus two more breadboards). Â The purchase was less than $60 and the shipping cost for all of it - from 8 different sellers in China - was$7.59.

I balked at the idea of ordering microcontrollers and chemicals from China (thanks to reading some counterfeit chip blog posts back in 2012), so I ordered 5 PIC16s, some thermal grease, and a few other small items from Newark. Â $8.72 to ship these things from South Carolina. This time, my decision to purchase a ton of SMD parts from eBay wasn't just motiviated by price. Â It was also motivated by the fact that out of the three major webstores I look at - Mouser, Newark, and Digi-key, only Digi-key comes close to having an assortment in the price reach of a hobbyist (they have assortments in the$9 and up range, Mouser startsÂ over $100, and Newark startsÂ over$200). Â Maybe it has something to do with Digi-key's founder - he is an amateur radio operator.

The difference is that the stuff I ordered from South Carolina, while shipped in two packages (a true WTF? moment there, as 5 chips, 9 battery holders, and a 6.5g tube of thermal grease should fit in a small box, not two) will be here two days after I order it. Â The stuff from China is expected to be delivered 6/19 or after, for orders placed in the late morning of 6/3.

Honestly, every month has been busy since January. Â I don't expect much time to work on stuff this weekend, and then two weekends will be busy with other things going on, so the timing of the deliveries from China will likely be fine.

One thing of note, I will likely be testing every. single. part. Â I wouldn't be doing that if I ordered from Digi-Newark-Mouser, but since the true origin of the parts that I ordered is unknown (except for the 5 PICs, thermal grease, and battery holders), it seems that I'd be better off with an ounce of prevention (of problems).

-73-

Category: General Stuff

## Hamvention Score (sorta)

As what was on twitter last week, I took a vacation day on Friday and went up to the Hamvention. Â I didn't buy much, just a small kit and a rockbound 6m FM rig. The radio was $5 (it makes it feel so much better to mention the price when talking about the fact that it is rockbound). The first thing I looked into was the 6m rig. Â I plugged it into the power supply and a dummy load with a watt meter and hit the TX... nothing. Â I even tried yelling and whistling into the microphone (which didn't -Â and shouldn't have - made a difference). I took a look inside. Â I figure there is at least$5 worth of parts in here, so it isn't a loss. Â Or I could try to fix it, but I'm not sure that would be worth my time.

The better part of Hamvention was meeting several twitter friends in person and catching up with a few local (and non-local) friends that I don't see often. Â That definitely made it a good trip!

H/T to K0KDS for the pic!

-73-

Category: General Stuff

## ANNOUNCEMENT: The ??th Annual Hamvention/HamTwitNet Tweetup

Tweetup: Meet your fellow "tweeps" at Hamvention. Â 11:00 AM both Friday and Saturday (and Sunday, if anyone wants to meet) at the Hara Arena Loading Dock. Â This is the same location used for the past two years. Â MeetÂ near the drayage building to be in the shade (presuming it isn't raining).

Rain Plans: There is a 40% chance of rain on Friday, and a 30% chance of rain on Saturday. Â Should it be really raining (not drizzling), we'll meet in section 30 of the main arena, although that may move.

Frequencies: There will be a talk-in frequency circulating via Twitter via DM. Â It'll be somewhere on 70cm.

Click for a larger and more expanded picture.

Direct link to large mapÂ (right-click to save, sorry it isn't a PDF).

-73- and see you there!

Category: QSTs

## First PIC Project: A Soil Moisture Monitor

I decided a few weeks ago to bring some life into my office with a plant. Â Since I was getting a few things at the local 24-hour megalowmart, I decided what the heck. Â One plant, bag of dirt, and pot (that was on sale), I had this...

It's called a "Little Herman Ivy"

I decided I wanted something to help me keep this thing alive. Â I didn't want to go the route of a twitter reminder, as I'm in here nearly every day. Â A nice, visual indicator should do well.

Since I'm a traffic engineer, I thought something with a traffic signal would be appropriate. Â A green for "you're good", a yellow for "getting dry", and a red for "too dry". Â I also like the idea of using a PIC since I haven't used those very much and I wanted to expand my horizons.

After some breadboard experiments on a breadboard, I even designed my first PC board.

This is the PC Board from OSHPark.

The circuit uses two coin cells, a PIC 16, and a few other components (click for schematic). Â There is one issue with the boards - there is silkscreen covering the copper that is supposed to sense the moisture in the soil. Â I'll have to fix that with a razor.

Stay tuned to see how it does, once I solder components and build. Â I'll post the source then.

-73-

Category: PIC
Tags: ,

Last week (on a post that proved that even an evil genius can sometimes mess up simple math and set a post to fire 4 days early) was the introduction, today is some new findings.

# Memory

If you follow the directions and treat this like an "Arduino Pro or Pro Mini (3.3 v, 8 MHz) w/ATMega 328", the Arduino compiler will tell you that there is a 30,780 byte maximum. Â In my experience, the maximum is around 26,000 bytes. Â Wyolum knew about this, and this is why they included a micro-SD card slot and card. Â At one point, I tried creating a program that would tell the temperature and lines from the Zero Wing intro ("All Your Base Are Belong To Us!"). Â It didn't go well.

# Temperature Sensing

The temperature sensor is very simple to use. Â Recall in the last post, the sensor itself is populated, but a 0.1 uF capacitor (C8) is not. Â The sensor might work without the capacitor, but it likely works better with it (at least I hope so, I populated the cap without testing and I have zero interest in removing it).

To read the analog pin and get it to a voltage, the following code works for me:

int ar=analogRead(7); float vref=3.3; float temp=ar*vref/1024.0;

Even though the Pro and Mini do not have 7 analog pins, the Arduino IDE and compiler not only do not complain about not having the pin, they compile it correctly without modifying any of the libraries (Good on ya, Arduino!).

Looking at the data sheet, there is a simple equation for the temperature:

$V_{out}=T_{C}*T_{A}+V_{0}$

Where:

$V_{out}$ is the output voltage

$T_{C}$ is the temperature coefficient

$T_{A}$ is the Ambient Temperature

$V_{0}$ is the voltage at 0Â°C

Per the documentation, I used $V_{0}=0.5v$ and $T_{C}=0.01V/°C$. Â Using algebra (who says you'll never need it?), I used:

$T_{A}=\frac{V_{out}-V_{0}}{T_{C}}$

Which would give me the temperature in Centigrade, and after that,

$T_{F}=\frac{9*T_{C}}{5}+32$

In Arduino, that wen't like this:

temp=temp-0.5; temp=temp/0.01; // C to F temp=(9*temp)/5+32;

And it seemed to work correctly. Â I was getting temperature readings of around 74 in my office, and it seems like that is correct. Â The final code is below.

...and of course, I can't show all this code without the finished product:

It's a warm 75 in here today... and it does feel kinda warm in my office.

By the time this post fires, I will have just returned from a transportation conference. Â I hoped initially that I'd have more with this post, but it'll have to wait for next week's post.

-73-

Category: Arduino