Category Archives: Equipment

Some time ago I built an Internet gateway (iGate) for monitoring APRS packets and sending them to APRS-IS.  It never made it to the blog partly because it was built out of Direwolf, so it was mostly software configuration.

Since then, I've had trouble keeping soundcards running in the same configuration and the iGate was offline for some time.

Last summer (or the one before it, I don't remember), I bought the components to a packet station: an AEA PK-232 TNC, a Kenwood Mobile, and a broken power supply.  The broken power supply is still broken, but the rest is up and running.

The APRS Receiver Setup

The APRS Receiver Setup

The setup for the PK-232 is courtesy of LA6YIA on Google Groups:

XFLOW OFF
AWLEN 8
PARITY 0
RESTART
CONMODE TRANS
TRACE OFF
HID OFF
BEACON EVERY 0
PACKET
RAWHDLC ON
HPOLL OFF
PPERSIST ON
KISS ON
HOST ON

The APRX setup is not groundbreaking, but it's below, too, since it may help someone...

Then, since the ultimate test is to make it work, I wrote a simple Arduino Sketch using the Argent Data APRS Arduino shield and my trusty IC-T90A...

Obviously, this only transmits once, and it is using manually-entered location, but it does the job.

Look! It's here!

Look! It's here!

And of course, I could find some repeats in the log:

I'm in the log!

I'm in the log!

So at this point there should be better coverage in the far east of Cincinnati.

73!


Category: Equipment

I recently had the need to check a transceiver to ensure that it was on-frequency.  This is easiest done with a frequency counter, which is included in an MFJ Antenna Analyzer.  I use an inductive coupler made from some coil wire around a small (1/2 inch) piece of CPVC, with the coil connected to a BNC connector.

Inductive Coupler

Inductive Coupler

2015-11-15 12.28.59-2

Radio set frequency (28.5 MHz)

2015-11-15 12.28.52-2

Frequncy (28.499 MHz, or close enough considering the potential error in the antenna analyzer)

-73-


Category: Equipment

One of the things I was looking into is a digital compass module.  These are modules that return a direction it is pointing relative to magnetic north.

I started by using the Bus Pirate to access and read the module.  I did that as below:

m <-- for menu
4 <-- for I2C
3 <-- for 100KHz

I2C>(1) <-- I2C Address Search
Searching I2C address space. Found devices at:
0x3C(0x1E W) 0x3D(0x1E R)

I2C>[0x3c 0x00 0x70] <--Set measurement mode to 8-average, 15Hz
I2C START BIT
WRITE: 0x3C ACK
WRITE: 0x00 ACK
WRITE: 0x70 ACK
I2C STOP BIT

I2C>[0x3c 0x01 0xa0] <-- Set gain to 5
I2C START BIT
WRITE: 0x3C ACK
WRITE: 0x01 ACK
WRITE: 0xA0 ACK
I2C STOP BIT

I2C>[0x3c 0x02 0x01] <-- Set to single-measurement mode
I2C START BIT
WRITE: 0x3C ACK
WRITE: 0x02 ACK
WRITE: 0x01 ACK
I2C STOP BIT
I2C>[0x3d r:6] <-- Read 6 bytes
I2C START BIT
WRITE: 0x3D ACK
READ: 0xFF ACK 0xFD ACK 0xFF ACK 0x98 ACK 0x00 ACK 0x5F
NACK
I2C STOP BIT

This returned 0xFF, 0xFD for X, 0xFF, 0x98 for Y, and 0x00, 0x5F for Z.  This is Twos Compliment Form, which is best explained by this Stack Overflow Community Wiki.

X Coordinate (0xFF): Binary 1111 1111 + 0xFD: Binary 1111 1101

Y Coordinate (0xFF): Binary 1111 1001 + 0x98: Binary 1001 1000

Z Coordinate (0x00): Binary 0000 0000 + 0x5F: Binary 0101 1111

Ultimately, this is where I stopped.  I know it works, I have some ideas on how changes affect it.  Now on to an Arduino.

Arduino Micro Setup

I plugged this into an Arduino Micro on a breadboard as below.  The 5V, ground, pin 2/SDA, and pin 3/SCL were connected as shown (note that the compass on the left can be ignored - I have two and they are both in the breadboard just to keep them somewhere safe).

2014-09-14 22.39.54

One of the more difficult parts of this is ensuring you're in the correct pins on the Micro - the numbers are small and not centered on the pin.

The code is below.  I started with code from Sparkfun and modified it as necessary.

Right now, this is functional.  There will be more to come.

-73-


Category: Equipment

Thanks to the good service of UPS (that's with one S, not that other group that leaves my parts sitting somewhere in Chicago for three days), I am now the proud owner of a solder station.

2014-07-31 20.21.23

Unboxing.

2014-07-31 20.21.32

"In order to ensure personal safety, machine work is completed, unplug the power cord!!!"

2014-07-31 20.23.56

These screws have to be removed. "Before use please pay sttention".

2014-07-31 20.32.51

It works!

The sound from it is not too loud with the blower on, and of course when the blower is off there is no noise.  It heats up VERY quickly, too.  I'm used to my cheap old Radio Shack pencil iron taking 5+ minutes to heat up, and this heated up in about 30 seconds.

The temperatures are in Centigrade, so it'll be something to get used to, but no big deal.  And it was $50 via eBay (the link now goes to a more expensive item by the same seller).

-73-


Category: Equipment

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.

Screenshot from 2014-07-01 15:04:42

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

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.

2014-06-21 15.18.03

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.

2014-06-21 15.19.05

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

2014-06-21 15.20.25

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.

2014-06-21 15.20.30

Another view of the Kenwood.

2014-06-21 15.18.32

AEP PK-232 Packet TNC.

2014-06-21 15.21.56

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

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

On the heels of NT7S announcing that he's taking the red pill on Etherkit, I ordered a CRX1.  I decided this would be a good chance to try reflow soldering with the solder paste I added on the last Mouser order I placed.

First off, on the kit.  This is how things SHOULD be packaged, especially with SMDs.

If you can't find it here, you're either illiterate or it isn't here!

If you can't find it here, you're either illiterate or it isn't here!

Onto the build.

I used the syringe and a screwdriver to spread what was sometimes too much paste on the pads...

2014-04-07 21.57.05

Then heated it up until I saw the components move into place (I have to admit that seeing the components move to the correct place is AWESOME!) and the solder looked fully heated.

The end result looks like this.

2014-04-07 22.27.34

Lesson learned: tools made for removing flooring are NOT meant for electronics!  In the pic, the plastic bases for the electrolytics are starting to melt.  That can't be good; hopefully those caps didn't get too hot.  Also, it may have charred my workbench.  Hopefully by the time this posts I will have purchased something better (like a real soldering station!).

2014-04-07 22.42.31

I admit, I was being a fool and using the wrong tool.

 


Category: Equipment

This is the last of the series of using the Bus Pirate and the Bus Pirate Demo Board.  This one is using the SPI EEPROMs.  The board has two of the same EEPROM (well, one is SOIC, the other is DIP, but other than that, they're the same).

Connections

The power connections for this are the same as the connections you'd use for an I2C device - ground and power (I used 3.3V) + pull-up to Vin.

The data connections are pretty simple because the Bus Pirate is marked with MISO, MOSI, CLK, and CS (Master In Slave Out, Master Out Slave In, Clock, and Chip Select) and the demo board is marked with MISO, MOSI, SCK, and CS (there is one difference, and the process of elimination fixes that!).

Writing and Reading to the EEPROM

There are two steps to write to the EEPROM - send a write-enable command and then write to it.

Screenshot 2014-03-15 22.11.39

[0x06] - write enable command

[0x02 0 0 1 2 3 4 5] - 0x02 is write, 0 0  is the address to write to, and 1 2 3 4 5 is the data to write

[0x03 0 0 r:5] - 0x03 is the read command, 0 0 is the address, and r:5 means read five bits.

--

That's it with the demo board!  Expect that the Bus Pirate will make more appearances on this blog, though.

-73-


Category: Equipment

This is the second post on the Bus Pirate Demo Board I2C, showing the MCP4725 digital to analog converter and the PCF8563 real-time clock.

Connections

Like the last post, the ground and Vin need to be connected, and VPU (the pull-up resistors) need to be connected to the Vin as well.  CLK on the Bus Pirate needs to be connected to SCL, and MOSI on the Bus Pirate needs to be connected to the SDA pin.  There are other connections that will be necessary and will be different for each.

Digital to Analog Converter

The additional connection that needs to be made for this is the ADC connection on the Bus Pirate should be connected to the OUT pin on the demo board.  This will allow you to see the output.  As shown in this video by Mike Parks, it is pretty easy to address and use.

(1) - macro to search for address

Screenshot 2014-03-15 18.27.05

[0xc8 0x0f 0xff] - turn the analog output to full

Screenshot 2014-03-15 18.27.33

v - show voltages

Screenshot 2014-03-15 18.27.40

Note the ADC voltage, which is at 5.03V (the max it will show).

To change things, try using [0xc8 0x01 0x00].  It will set the voltage to 0.30V.  using ...0x00 0x00 will turn the ADC to 0V. It is linear from 000 to FFF hex, so 800 (0x08 0x00) is half, and so on.

Real-Time Clock

The RTL uses the same SDA, SCL, and power connections as above, and those are the only necessary connections.  However, the ADC and AUX connector CAN be used if wanted.

Setting and retrieving the time can be done using the following (ref):

(1) - address search macro

[0xa2 2 0 13 23 15 7 3 14] - 0xa2 is the address, 0 is the location to write, and I'm writing

[0xa2 2 [0xa3 r:7] - 0xa2 is the address, and 2 is the address to READ from in the next command, 0xa3 is the read location, and it reads 7 bits.

Screenshot 2014-03-15 23.18.33

 

It seems to me that connecting the AUX on the Bus Pirate to the CLK pin on the clock should be measurable (by using f in the BP interface), but I'm not seeing a reading, so it may not be the correct way to use that.  However, when I took the AUX wire and held it to pin 1 on the RTL IC and read the frequency, it came up to 60 Hz, and was not controlled by sending commands to the 0x0d address.

-73-


Category: Equipment
http://www.ke8p.us/feed/ http://twitter.com/ke8p

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



This is the new server