Showing posts with label Amateur Radio. Show all posts
Showing posts with label Amateur Radio. Show all posts

Monday, May 23, 2016

AMBE Exposed, by Bruce Perens K6BP

While looking into something else, I stumbled upon the slides from Bruce Perens' presentation, AMBE Exposed   This is from a TAPR/DCC talk in the fall of 2014.  I'm not sure how I missed it at the time.

There is also a video of the talk which I haven't watched yet, on YouTube.

If you are interested in the problem of the patent encumbered CODECs that are used in DMR/MotoTRBO, APCO P25, D-STAR, and Yaesu System Fusion that keep developers from delivering the capabilities we'd like in our radio software/firmware, give this a read.

The presentation is 57 slides and chock full of background information.I'm going to keep this filed for when questions come up about why we can't do this or that without buying a dongle or using some limited software from anonymous authors.

This comes up over and over.  Why doesn't my SDR, scanner, radio do DMR/MotoTRBO, D-Star, P25, etc.  Recently this has come up again now that Uniden announced a DMR upgrade (for a fee) to their newest scanners the BCD-436HP and BCD-536HP.  These radios already do P25 Phase 1 and 2, but there is a fee for the DMR upgrade to cover both the development costs and of course additional licensing fees to DVSI.

This will probably be of most interest to those that are familiar with and interested in open source.

There are also some good points about innovation usually coming from the upstarts and not the old guard.


Friday, May 20, 2016

First Screenshots with SpectrumSpy + Airspy

Below are some screenshots from my first tests with the new SpectrumSpy application for the Airspy. I have the original AirSpy, not sure if it's considered the R0 or R1. The scan speed is pretty fast. It is certainly a very capable spectrum analyzer. My quick tests show lots of possibilities. My hopes for the future:
  • SpectrumSpy gets integrated with SDR# (SDRsharp), allowing some ability to click into a signal from a broad scan.
  • SpectrumSpy gets a plug-in architecture that will allow other developers to create new applications.
  • Someone writes a Uniden Close Call equivalent, that can quickly pick out nearby signals (those that appear with a threshold (18 db?) above the adjacent noise floor.  (I need to check, I think Uniden's Close Call is 18 dB.
  • Ability to get data out of SpectrumSpy similar to rtl_power and rtl_power_fftw

The pictures.  These really need to be seen at full screen to be appreciated.  These are full screen from a 1920 x 1200 (16:10) monitor.



The first image is showing the full range of the R820T tuner in the Airspy from 25 Mhz up to around 1,900 Mhz.  The top shows the spectrum view as you'd expect to see on an analyzer. The waterfall on the bottom is showing roughly 10 minutes of accumlated data.

Note: This is in a somewhat quiet RF environment. In other words, Not NYC!  For test purposes I'm using a small hand-held whip antenna, about 6-8 inch.  The gain is set pretty low.

One of the things I was looking for was how much background noise I have, and on what parts of the spectrum. Looks like there is are a couple of areas with some noise (520 mhz), 260-280 mhz, ...

Next are some screenshots that "zoom in", by reducing the scan range from the full scale using the choices from the menu, which are currently fixed.  These might be editable in the XML config, but I didn't get there yet.

Next up, 1 Ghz. starting from 25 Mhz. so that means centered on 525 Mhz:


Thing to note:
  • The waterfall shows approximately 5 minutes of data.  The full bandwidth scan waterfall had nearly double that.  The only factor I changed was the amount scanned.  A 1 ghz scan completes in half the time of the full bandwidth approx 1.9 ghz scan.
  • FM Broadcast between 88 Mhz and 2018 Mhz is easier to pick out.
  • Problem areas where I'm picking up noise are more apparent.
  • The noise at 520 Mhz isn't as constant as it looked.
  • The wide scale changes in the waterfall are due to me holding the AirSpy.  There are some shielding problems I need to look into.  The AirSpy R2 has some fixes that my original AirSpy does not.

Now lets look at a 500 Mhz scan:


Things to note:
  • Showing 500 Mhz, from 25 Mhz - 525 Mhz
  • Note the noise that is generating evenly spaced lines in the 100 - 175 Mhz range.  This is something I'll need to track down.
  • One of the strong/constant signals that is visible is NOAA weather radio from Riverhead around 162 Mhz.
  • I'm occasionally receiving air band transmissions around 120 Mhz.
  • Around 440 - 450 Mhz, I'm either seeing a signal with an image, or I could be seeing repeater activity, on both the input and output frequencies.
Next step down in the menu is for a 200 Mhz scan:


 Things to note:
  • 200 Mhz, from 25 Mhz to 225 Mhz, (centered on 125 Mhz)
  • waterfall now shows about 2 minutes, since the scan rate has more than doubled by going from 500 mhz to 200 mhz.
  • The noise may start around 48 Mhz, and with harmonics/images roughly every 5-6 mhz.

Next, 100 Mhz scan:


Notes:
  • Range 25 Mhz - 125 Mhz.
  • Waterfall is covering 1.5 to 2 minutes, so scanning 100 mhz is happening pretty quickly.
  • Main feature is the FM Broadcast band, 88 - 108 Mhz.
  • Air band traffic visible around 123 Mhz.
Next, 50 Mhz:



Notes:
  • 25 - 75 Mhz covered
  • waterfall now covers only about 1 minute.

Next, 20 Mhz, showing the FM Broadcast band:


Notes:
  • 88 - 108 Mhz. centered on 98 Mhz. 
  • It's easy to tell which are the strong FM stations in my area.

Lots more to play with.  I have a SpyVerter up converter which will let me do < 30 Mhz, but it wasn't very interesting with only a short hand-held whip.   Hopefully I'll have a chance with a random wire soon.

Please let me know what you'd like to see and any observations you have on these spectrum scans in the comments.


EDIT:

So, I'm happy that I'm able to upload these images to blogspot at full resolution. I need to figure out how to get blogspot to allow clickable thumbnail/full res. images.   I'm going to try this over on Wordpress.com.  I haven't done much with WordPress, but need to get some experience for a work project.

See the WordPress version of this point.   Nicer looking but still no click to full-res version.



Saturday, February 13, 2016

Structure of Tytera MD-380 .test radio calibration settings file.

Continuing from my previous post, Reading and Backing up Tytera MD-380 calibration settings, here are some notes on the structure of the saved .test file.  I'm trying to decode the layout using hexdump -C.



First here are the screen shot of the data for reference:


Now here is the hexdump -C output.

00000000  0a 96 89 ad 4b 82 7b ff  62 68 6e ff ff ff ff ff  |....K.{.bhn.....|
00000010  91 92 93 90 8d 8d 8d 8f  91 ff ff ff ff ff ff ff  |................|
00000020  4d 4d 4d 4b 49 45 41 41  42 ff ff ff ff ff ff ff  |MMMKIEAAB.......|
00000030  5e 74 8b 9c ae bf d0 dd  ea ff ff ff ff ff ff ff  |^t..............|
00000040  1c 1a 19 19 19 19 19 19  1a ff ff ff ff ff ff ff  |................|
00000050  2d 2a 28 27 27 2c 31 2d  2a ff ff ff ff ff ff ff  |-*('',1-*.......|
00000060  35 32 2f 2c 2a 2b 2c 2c  2c ff ff ff ff ff ff ff  |52/,*+,,,.......|
00000070  36 34 33 2f 2c 31 36 33  31 ff ff ff ff ff ff ff  |643/,1631.......|
00000080  03 03 04 04 04 04 04 04  04 ff ff ff ff ff ff ff  |................|
00000090  25 24 23 22 22 21 20 1f  1f ff ff ff ff ff ff ff  |%$#""! .........|
000000a0  2b 2a 2a 28 27 26 26 25  24 ff ff ff ff ff ff ff  |+**('&&%$.......|
000000b0  37 36 36 35 35 34 33 31  2f ff ff ff ff ff ff ff  |76655431/.......|
000000c0  64 64 64 64 64 64 64 64  64 ff ff ff ff ff ff ff  |ddddddddd.......|
000000d0  1f 1d 1c 1c 1d 1c 1c 1c  1c ff ff ff ff ff ff ff  |................|
000000e0  80 80 80 80 80 80 80 80  80 ff ff ff ff ff ff ff  |................|
000000f0  1e 1e 1e 1e 1e 1e 1e 1e  1e ff ff ff ff ff ff ff  |................|
00000100  00 00 00 00 00 00 00 00  00 ff ff ff ff ff ff ff  |................|
*
00000130  33 2f 2c 29 27 25 23 20  1d ff ff ff ff ff ff ff  |3/,)'%# ........|
00000140  5f 5c 5a 58 56 54 52 51  50 ff ff ff ff ff ff ff  |_\ZXVTRQP.......|
00000150  00 00 00 00 00 00 00 00  00 ff ff ff ff ff ff ff  |................|
*
00000170  32 32 32 32 32 28 1e 1e  1e ff ff ff ff ff ff ff  |22222(..........|
00000180  7f 7d 7b 79 77 70 6a 6b  6d ff ff ff ff ff ff ff  |.}{ywpjkm.......|
00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 35 10 40 00 45 10 40  00 35 10 41 00 45 10 41  |.5.@.E.@.5.A.E.A|
000001c0  00 35 10 42 00 45 10 42  00 35 10 43 00 45 10 43  |.5.B.E.B.5.C.E.C|
000001d0  00 35 10 44 00 45 10 44  00 35 10 45 00 45 10 45  |.5.D.E.D.5.E.E.E|
000001e0  00 35 10 46 00 45 10 46  00 35 10 47 00 45 10 47  |.5.F.E.F.5.G.E.G|
000001f0  00 95 99 47 00 50 99 47  00 00 00 00 00 00 00 00  |...G.P.G........|
00000200  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00002000

So MD-380.exe, writes out 8 KB, but it looks like only 512 bytes are actually used. the bytes from 512-8192 are all set to 0xFF.

First thing that is easy to spot by eye, the row labeled "Mod1 Partial is all 128 (decimal) which is 0x80 in hex.  A row of '80 80 80' appears at the line with the address 0xE0 (224 bytes into the file). 

There are 9 columns in the GUI and it is easy to see that most of the rows of 16 bytes have 9 values and 7 bytes of 0xFF.  So that's a nice convenient 16 byte per row layout in the file.

Moving up in the screen shot, the first row with data in all columns is "Tx Hight Power" with values of 145, 146, 147, 144 which is hex 91, 92, 93, 90.  This is easy to spot in the second row of the hexdump. 

So there are only 16 bytes before that.  The GUI shows 13 rows before that, but the 11 rows VOX1, VOX10, ..., Freq. Adjust (Low), only have values in one column.  So next step is to locate these values, which are 10, 150, 137, 173, (hex 0a, 96, 89, ad).  Those as easily spotted as the first bytes of the file starting at offset 0.  There are 11 bytes there that aren't 0xFF.

OK so far we know:
  • Rows 2-13 (VOX 1, ... Freq. Adjust Low) are stored in the first 11 bytes 0x00 - 0x0a.
  • Rows 14-39(?) are stored from bytes 0x10 - 0x18F, as 16 bytes per row using only the first 9 bytes for each calibration value.
That leaves the frequencies that are listed in the first two rows 'Rx Freq' and 'Tx Freq'.  It looks like these are encoded as 4 bytes in the 72 bytes located at 0x1b0 - 0x1f7.

It should be pretty easy to map this into Chirp's bitwise definition.

Hopefully this will be of use to some.
--Rob









Read and Backup Tytera MD-380 calibration settings.

On the Tytera MD-380 Yahoo Group, Stan G4EGH, posted that there is a hidden 'Test Mode' in the MD-380 CPS programming software. in this case 'test mode' is used for reading and writing the radio's calibration settings that are usually done at the factory, but might be changed by someone with a DMR-capable service monitor in the field when recalibrating the radio.  (This 'test mode' shouldn't be confused with any sort of debug mode.).

The important part about this find is that every radio has calibration settings that are specific to it. Think of it as a tuning/fine-tuning step that is done after manufacturing in order to make sure the radio is performing optimally. This step is necessary because the electronic components all have some tolerance (10%, 5%, 1%) for how close they come to their specified value.

Making a backup of your radio's calibration settings is a good idea. The settings are written into flash memory or EEPROM and could become corrupted or lost. If you don't know what the settings are, and don't have the proper test equipment you might have to send the radio in to be recalibrated.

The procedure to make a backup of your Tytera MD-380's calibration data using Tytera's MD-380 CPS v1.30 programming software is:

  1. Close the MD-380 software if you have it open.
  2. Find the setting.ini file.  On a default install, for Windows 7 (64 bit), the file location is C:\Program Files (x86)\MD_380\MD_380\SoftWare_EN\setting.ini 
  3. Edit the settings.ini file with a text editor like Notepad.
  4. Locate the line testmode=0 in the [setup] section.  Change the value to 1.  Save the file.
  5. Start MD-380.exe.  Starting it through the normal menu/shortcut is fine.
  6. Connect the radio with the USB cable and turn it on.
  7. Hit CTRL-T, to read the data from the radio.
  8. Click "Save Test Data" which will save a .test file with an 8 KB binary of the calibration data. 
  9. Put the .test file some place safe where you will be able to find it again when you need it.


Here's are two screen shots from my radio. Unfortunately, I couldn't resize the window to make it all fit:

I've opened an issue in Travis Goodspeed's md380tools github repo to track progress of adding this capability to md380tools.

Hope this helps somebody.

Wednesday, January 20, 2016

Reverse Engineering Cheap Chinese Radio Firmware TyTera MD-380 (Shmoocon 2016 via Hackaday)

Cool Stuff:

For those who are interested in the intersection of microcontrollers, hacking, and radio, an interesting deep dive into the firmware of one of the Chinese DMR/mototrbo ($140) radios, the Tytera MD380.

Unlike the cheap analog Chinese radios (Wouxun, Baofeng) which can only be programmed once, this radio supports a firmware upgrade.  The bit that is interesting for people who aren't deep into digital electronics is that this hack produced a version of the firmware that turns the MD380 into the first (hardware) DMR scanner.  N2NOV has been pointing out the gap, that no scanners cover DMR for a while now.

Note: this exploration/hack is at the experimental stage, so I wouldn't consider this ready/usable/applicable to anyone but those that want to experiment and are willing to risk bricking their radio or worse.

I couldn't resist, so I ordered a Tytera MD-380 this morning. More details to come.  So now my To Do list includes, learning about DMR/MotoTRBO, programming NYC area DMR amateur radio repeaters, and finding/joining communities that are covering alternative firmware development for the MD-380.

Out of the box, this radio is supposed to allow field programming (aka front panel programming) of DMR talkgroups.

Travis GoodSpeed's github repo, has a package of command-line Python tools for the MD380. Looks like enough for reading and writing the radio on Linux and Mac OS.  Also there is the beginnings of a CHiRP driver for the MD380. It doesn't read/write the radio but can be used for maintaining the analog channels and banks.

Also, hack-a-day, has had some good radio articles lately that aren't that deep into digital electronics for a wider audience.

You might recognize the name Travis Goodspeed from other projects like the GoodFET, an open source JTAG adapter inspired by Dangerous Prototype's Bus Pirate.

Links:


Friday, January 15, 2016

More Yaesu VX-8 GPS implementation details.

4Z7DTF left a comment on my post "Another Yaesu VX-8DR external GPS with an Arduino/..." to let me know about his VX-8 Arduino GPS project on github.

There have been a number of projects that use either an Arduino or bare ATtmega microcontroller to turn the GPS module's NMEA sentences back into the a format the brain dead parser built into the VX-8's firmware can handle.

He has done some additional testing, actually fuzzing, showing the VX-8's parser does no error checking what so ever. 

Also, another interesting bit, in his work, he noted there is no need for the communication to be bi-directional. I don't know what, if anything the VX-8 tries to send to the GPS module, but it appears to be unnecessary. 

What is interesting about that is the microcontroller then really only needs a single serial port.  Most of the other projects are bi-directional using a software UART emulation for the second port.   So it might be possible to implement this project with something much smaller and even lower power.   It would be interesting to see if this can be done with the ATTiny85, using something like the Adafruit 3.3V trinket.  That is supposed to draw around 9 milliAmps at 8 Mhz, but 3 mA of that is just for the green power LED!  The ATTiny has no built in UART, so it would be all software serial. 



Thursday, January 14, 2016

Raspberry Pi (RPi) and Amateur Radio Resources

Here are a few resources you might find helpful for Linux and radio on PCs or RPis.

http://www.trinityos.com/HAM/index-ham.html
  • Ham radio software on CentOS Linux
  • Getting Started with Packet Radio
  • Raspberry Pi APRS and Packet Radio
  • APRS beginner's guide
  • Amateur Radio and Linux: Opening Doors without Windows

Raspberry Pi for Ham Radio Yahoo Group - a fairly active Yahoo Group. Yahoo Group Description:
This is a place for Amateur Radio Ops to discuss the Raspberry Pi and how it can be applied to Ham Radio.  This is a moderated Group. Please keep posts civil and on topic. (Any discussion of the RPi is welcome)

Friday, August 14, 2015

Another Yaesu VX-8DR external GPS with an Arduino/ATmega328 translator.

I've collected links for a few of these projects to add a better external GPS to the Yaesu VX-8DR, instead of the somewhat proprietary Yaesu option.

Here's another one from VK3YY that got posted recently:

Here's code from DFannin on github:
Update 2016-01-15, 4Z7DTF notified me about his project, which includes more additional analysis of how poor the VX-8's parsing and error handling is.

Background Info:


Good detailed blog post Reverse Engineering the Yaesu VX-8DR GPS Interface. From Feb. 2013. He didn't arrive at the solution, which I believe F4FXL and at least one other have. But I think he's got most of the relevant details for the padding differences listed as well as some other very useful info including details on the GPS chips used in VX-8 and VX-8G.

We now know how to connect to and send a properly formatted GPS NMEA message to the Yaesu VX-8DR. Here's the summary:
  • 9600baud TTL 3.3V serial signalling, 8/N/1
    • NOT RS232 -5 to +5V signalling -- you need a level converter if that's all you have
  • 3-wire physical interface to the following pins:
    Pin GPS Side Purpose Yaesu Side Purpose
    4 GPS RX Yaesu TX
    5 GPS TX Yaesu RX
    6 GPS GND Yaesu GND
  • According to 4Z7DTF (2016-01-15), there is no need for the communication to be bidirectional. Only the TX Data from the GPS to the VX-8 is required.

The messages need to be formatted exactly as follows:

Message Type Source Sentence
$GPGGA Sample $GPGGA,123223.000,4131.2334,N,00021.1216,E,1,04,02.7,00123.4,M,0051.7,M,000.0,0000*41

Syntax $GPGGA,hhmmss.sss,llll.llll,a,yyyyy.yyyy,a,x,xx,xx.x,xxxxx.x,M,xxxx.x,M,xxx.x,xxxx*hh
$GPRMC Sample $GPRMC,123223.000,A,4131.2334,N,00021.1216,E,0000.00,291.33,301011,,*3E

Syntax $GPRMC,hhmmss.sss,A,llll.llll,a,yyyyy.yyyy,a,xxxx.xx,xxx.xx,xxxxxx,,*hh
$GPZDA Sample $GPZDA,123223.000,30,10,2011,,*55

Syntax $GPZDA,hhmmss.sss,xx,xx,xxxx,,*hh

Friday, April 17, 2015

New Toys: Getting Deeper into Software Defined Radio (SDR) (AirSpy and HackRF Blue)

This is mostly a tease / place holder.   Around Christmas time I decided to get deeper into Software Defined Radio (SDR).  So I ordered an Airspy and a Hack RF Blue.   So far, I've received the AirSpy and am enjoying it very much.  The Hack RF Blue should hopefully be here soon.

Previously I've been using the $15-20 RTL-SDR dongles.  These are very cheap and useful, but plagued with lots of noise, frequency inaccuracies and other problems.  Still they are a great way to get started and start learning.

The AirSpy is a world of difference from the RTL-SDR dongles.  One of the reasons that I bought it was  a number of people who seemed to have deep RF engineering backgrounds seemed to be pretty excited about it.  There are many good reviews available.

I ordered the HackRF Blue to experiment with GNU Radio and especially try some of the transmission capabilities for digital RF hacking.  Initially I'll probably be doing further experiments with simple 433 Mhz devices.

I expect based on receivers that the HackRF's receiver will not be as good as the AirSpy's by a good margin, for sensitivity, selectivity, etc.. However, the HackRF is capable of operating on a much wider frequency range (10 Mhz - 6 Ghz) than the R820T (24 Mhz - 1.8 Ghz) tuner chip inside the AirSpy.

More to come.

Your Radio's Reverse button / Quickiy Checking the Repeater's Input Frequency

[This was originally published on a mailing list, but seemed worth making more widely available.]

Some amateur radios have a "Reverse"(*) button that swaps the repeater input and output frequencies, allowing you to quickly monitor the repeater input and transmit on the repeater output.  When I first started out, I didn't realize the value of this.

The benefits of this feature are:

  • You can quickly listen to the repeater input to determine if someone transmitting is close enough for you to use simplex and free up the repeater.
     
  • If the repeater isn't working, you can get anyone who is monitoring the repeater's output and is within simplex range, to hear you by transmitting on the repeater's output.
     
  • During time of malicious interference or other search operation, if we all switch over to monitoring the input and make note of whether we can hear the transmitting station, we can use the information to figure out roughly what area the transmitting station is in.

And finally, the benefit that is relevant to the original topic, hitting the reverse button on many radios is a quick way of seeing what frequency your radio is programmed to transmit on for a repeater.  Your radio display will need to be in a mode to show the frequency rather than the label.

Check your radio's manual to find out how to activate the reverse feature as the button might have an obscure label.  A few common one:
  • Wouxun - It's the scan button.  (A quick press and release).
  • Baofeng UV-5 - The * button.  (A quick press and release). 
  • Many Yaesus - Home/Reverse, HM/RV, Rev, etc.



RTL-SDR Buying Tips

[This was originally posted to a mailing list.]

First, a good starting point on RTL-SDR is the blog site www.rtl-sdr.com.

(I've mentioned it here before and forwarded some relevant posts about things you can do with an SDR such as the RTL-SDR.)

The RTL-SDRs are almost all the same chinese, ultra cheaply made receivers in the range of $15-25.   It isn't so much about which device is trustworthy, it's what tuner chip does it have.

At this point, I suggest getting one with the R820T2 tuner which is newer, seems to perform a little bit better, but costs around $5 more than the others.  IF you get an R820T (not T2) that will do fine as well.

Places that "specialize" in RTL-SDR and aren't too overpriced are:

  • Nooelec, http://www.nooelec.com/store/,  They also sell through Amazon.

    Their "NESDR Mini 2 SDR" was mentioned on the net $25.  It has the R820T2 tuner chip.  It's not clear if they upgraded any of the other components other than the included mini-whip antenna which you will probably replace.

    http://www.nooelec.com/store/sdr/nesdr-mini2-rtl2832u-r820t2.html
  •  RTL-SDR.com is also selling their own branded R820T2 usb dongles.   They also sell through Amazon.  They claim upgraded components  and a better oscillator (though not temperature controlled) than the usual ones which can easily have a -75 to +75 PPM error.

At this point, almost all of the devices come with an MCX connector so you will need an MCX adapter to hook it up to a real antenna. Both NooElec and RTL-SDR.com's amazon store have MCX adapters.

Also if you don't have any, get some USB extension cables (A male to A-female) around 10 ft in length.  These devices have no shielding, so you want to get them as far away from your computer as you can while sticking within USB length limits.

Try to get a good quality USB extension cable with a ferrite core near the end to cut some of the noise.  You might also want to buy some additional snap on ferrite cores.

Note: The frequency range on these is about 24 Mhz - 1,700 Mhz so you won't be able to do any HF with the exception of 10 meters and maybe 12 meters.  An upconverter can be used if you want to receive HF.

If you connect the RTL-SDR to an outdoor antenna, keep in mind that almost all of these devices have no viable ESD protection.

NBEMS, Radios and Digital Modes: Getting the Message.

Here's a screen shot from a recent Thursday night digital radio net that might help give you an idea of what it is all about if you haven't tried it.

The screen shot shows a received radiogram form as it would look on paper displayed on an Android tablet or phone.

Note: The only equipment used to receive this was an handheld radio (HT) and an Android Tablet. No cable, or interface, was used between the tablet and the HT.   The tablet's microphone decoded the audio coming out of the HT's speaker.

The app on the tablet is AndFlMsg which is a free Android application that implements a some parts of what's available in the FLdigi suites.



While in this case, the information for the form could have been relayed by voice, it could have easily been a picture, spreadsheet, or other file that would be difficult or impossible to relay by voice if the only available infrastructure was a radio.

Saturday, January 17, 2015

Better PC Sound Card Oscilloscope software (windows).

TL;DR - Visual Analyzer, PC Sound Card Oscilloscope software.  Nice spectrum analyzer.  Worth checking out.   http://www.sillanumsoft.org/prod01.htm


Through a really good YouTube Post on using an SDR for Frequency Deviation Measurement on FM transmitters I learned about Visual Analyzer. I should probably do a separate post just on this.

Previously I used Xoscope on Linux and Zeitnitz Soundcard Oscilloscope (http://www.zeitnitz.eu/scope_en).

I had also found, but not used Zelscope, Soundcard Oscilloscope and Spectrum Analyzer.

I originally got some pointers on sound card osclloscopes, from Virginia Tech's Introductory Electronics courses that were based on their Lab in a Box, so that students would have all of their own materials for doing the electronics work without having to be in a physical lab.   See:

Virginia Tech, Experiment 12, Calibrating a Sound Card Oscilloscope

I only went so far with sound card oscilloscopes, because shortly after I started experimenting, the Rigol DS-1052E oscilloscope became available within my budget.  I bought it for $400 direct from China.  The Rigol caused a little bit of a revolution in terms of oscilloscope availability and pricing.

That was all back in 2009 and 2010 when I started reading a lot more about electronics.  In December, 2009, I finally took the exams from my amateur radio license.  I passed both Technician and General with 100% and went back for the Extra Class at the next exam session.  I got one wrong on my Extra.

Of course, the interesting bit that got me here writing this today is that the RTL-SDR stick can be used as the analog (ok radio frequency) front end for a software oscilloscope, spectrum analyzer, deviation meter, etc.  Especially for those of us without much in test equipment.


Sunday, December 28, 2014

Amateur Radio information on modern social networking.

I'm slowly starting to get some of the appeal of Reddit.    At first I was drawn there by /r/rtlsdr, as there didn't seem to be much info elsewhere.   There is a bit of a digital divide, for on-line sources many hams go to QRZ.com with it's 1990's design and god awful ads flashing all over the page.  Try as you might, some of the old guys can't remember to try anything but QRZ.com. The other big source of info is Yahoo groups which are starting to show their age, but have been made much less useful due to Yahoo trying to figure out how to get more page views.

So two useful places to get answers to amateur radio related info:
  1. Reddit: /r/amateurradio  [http://www.reddit.com/r/amateurradio/]
  2. StackExchange: ham.stackexchange.com [http://ham.stackexchange.com/]

Saturday, March 29, 2014

What is a dB, dBm, dBu, dBc, (Tutorial Videos from W2AEW on Youtube)

If the concept of decibels (dB) is confusing, this Youtube video from W2AEW has a very clear explanation with a demonstration using a spectrum analyzer:

https://www.youtube.com/watch?v=1mulRI-EZ80#aid=P-LGfIJuuH8

Remember: dB is a ratio of Power levels, so when you need to do a ratio of Voltages, the formula is different.  He doesn't mention that until late in the video.  However, he gives a much clearer explanation of why the formula is different (20 x Log10() vs 10 x Log10()) by doing the
math to demonstrate where the difference comes from.

(Remember P=I x E or P = (V^2)/R ?)

There is a table at the beginning of the video of the few things you should memorize both for your amateur radio test and for general use later:

  • 3 dB represents a ratio that is a doubling.  Of the two things being compared, one has twice as much power as the reference.
  • -3 dB represents a ratio that is a half.
  • 10 dB is 10 times greater.
  • 20 dB is 100 times greater.

Note: W2AEW has posted a whole bunch of good video tutorials on electronics and radio.
https://www.youtube.com/user/w2aew

A couple that might be relevant to prepping for your General Class amateur radio exam:

I've also found his oscilloscope and spectrum analyzer tutorials to be very useful.  He's very good at explaining and documenting things.  Compared to a normal text presentation, the demonstrations / experiments really drive the concepts home and show that it's possible to try these things for yourself.

Enjoy.

 

Wednesday, February 26, 2014

Vodafone mobile network in a back pack - "Go Kits" for restoring communications

From Engadget - Vodafone's network in a backpack connects people after natural disasters:

This story has a couple of interesting points to Amateur Radio people who have been building go kits to provide communications when there is no infrastructure for several decages now.

This mobile phone carrier has two types of Go kits (one 220 lbs, and now a 24 lb backpack) that they can deploy to disaster areas to provide communications services.

The backpack has "2G GSM connection capable of handling thousands of text messages and five calls made at once to people within a 328-foot radius. It's equipped with a GSM base transceiver that uses satellite connection to link up to a host network."

(Note: Thousands of text messages vs. 5 simultaneous voice calls.  So it's important to educate people that text messaging has a much better chance of getting through during times of network issues whether it's congestion or outages.  People will eventually figure this out, but may loose valuable time and/or battery power.)

Details on larger version:  "In fact, during Vodafone's mission to the Philippines following Typhoon Haiyan, two 220-pound kits handled a total of 1.4 million text messages and 443,288 calls within 29 days. Obviously, the larger machine has a wider operating radius (3 miles), but the Mini has its own set of pros. Since it can be deployed within minutes and be carried on planes, it can potentially help more people -- and more quickly, too."

This implies that the 220 lb kit can't be carried on a plane, which sounds like a serious limiting factor for deployment. Possibly it's just due to the reporting in the story. 220 lbs is not a problem weight wise. So perhaps actual size, batteries, or the inclusion of generator keeps it from going on planes.


http://www.engadget.com/2014/02/25/vodafone-instant-network-mini-backpack/



Tuesday, February 18, 2014

"encyclopedia" of digital modes (modulation/encoding)

This looks like it could be very useful for those interested in decoding or understanding various digital modes, how they are encoded/modulated.

The web site is: http://www.frequencymanager.de/TH/th.html

There are print books for sale for HF modes and another for VHF/UHF. Roland Proesch is the author. (The books are available in german and english)

For each book a PDF except is available for free that still has lots of helpful information in it.

In addition to a brief description for each signal are a number of pictures of oscilloscope and sonogram/waterfall type views.

RTL-SDR users would find the VHF/UHF book directly relevant. However the HF book looks like it might provide a better foundation.

Take a look at
  • HF: (81 pages) - http://www.frequencymanager.de/TH/files/KurzfassungTechnicalHandbookHF2013E.pdf
  • VHF/UHF: (56 pages) - http://www.frequencymanager.de/TH/files/KurzfassungTechnicalHandbookVHF2013.pdf
Unfortunately, it doesn't look like he's selling the complete books in electronic form, only print. I came across this from a post to the digitalradio yahoo group by Ian Wade, G3NRW.

I've also forwarded this to rtl-sdr.com which I find is a very useful blog for SDR and digital modes.







Thursday, January 2, 2014

AUXFOG: Auxiliary Communications Field Operations Guide. (Free PDF)

FYI - Here's a free, handy reference guide to have around.  It's a version of the DHS "National Interoperability Field Operations Guide" (NIFOG) that has been adapted to be more appropriate for our uses.  It contains frequency information for many other radio services that you might want to have programmed in a scanner or radio with some available memories.  There is also some tutorial information including some antennas that can be easily constructed.

"The Auxiliary Communications Field Operations Guide (AUXFOG) is a reference for auxiliary communicators who directly support backup emergency communications for State/local public safety entities or for an amateur radio organization supporting public safety.

This reference guide contains information about AuxComm best practices, frequently used radio frequencies, Mutual Aid channels as well as tips and suggestions about auxiliary emergency communicators integrating into a NIMS ICS environment to support communications for planned events or incidents. It can serve as a reference both for auxiliary emergency communicators and public safety communications professionals. You can download the AUXFOG by clicking on the hyperlink to the left and save it to your own storage device. It will only download as a PDF.

While printed copies are not available from DHS, you may download an electronic copy to print as many hard copies as desired."

http://www.publicsafetytools.info/auxfog/start_auxfog_info.php

Trying Linux and amateur radio software without having to install it on your computer.

The topic of trying Linux without having to actually install it on your computer came up recently.   There are several "Live" distributions which can be downloaded to a bootable DVD or USB thumb drive. You can then boot your computer from the DVD or USB drive without having to touch the existing installation on your hard drive.

The simplest approach is to download the DVD .iso, burn it to a blank DVD, and then reboot your computer, telling it to boot from the DVD drive.

The USB thumb drive approach has more steps to create, but can be faster as well as allowing you to save changes between reboots.

Two ham radio oriented builds that have been mentioned:

Both are based on Ubuntu Linux and include software such as FLdigi and Chirp.

If you are interested in trying them, I think there are better tutorials available if you google "ubuntu live" than the instructions that accompany the two ham specific packages mentioned above.

Tuesday, December 10, 2013

Adafruit Products of particular interest to Amateur Radio DIY Projects

[hopefully I will come back and expand this post a bit later]

Adafruit.com has a few products that are of particular interest to me for amateur radio DIY projects.
These products have been well research and seem to be currently best-in-class to me. Read the product pages and tutorials on the Adafruit site to see what I mean. The projects I'm thinking about are:
  • Yaesu VX-8DR
    • DIY GPS Module with the Adafruit GPS Module.  The stock Yaesu GPS seems to be overpriced and is reported by many to underperform.  The Adafruit Ultimate GPS seems like it should do a much better job, but the VX-8 seems to have bugs in it's parser so it requires some field padding that is particular to the Yaesu GPS.
    • Bluetooth Serial Link to use an Android Phone's built-in aGPS via a serial bluetooth connection.
  • Yaesu FT-857D
    • Bluetooth Serial Link
      • Eliminate the need for the direct CAT cable connection for better isolation from the computer
      • Rig control via an Android Phone app. The FT-857's small control panel has a number of compromises. The stock radio mic doesn't have a keypad for direct frequency entry.
  • Uniden BC346XT Scanner
    • Bluetooth Serial link for logging scanner activity. Hopefully this will let me get the scanner farther away from the noise generated by the computer while still allowing me to log hits.
Hopefully I'll be back soon to log my progress.