Posted: July 10, 2019
I always wanted a HAM radio as a kid, so when I saw SparkFun was selling an FM Tuner Breakout Board I decided I could build one. The board is based on a Silicon Laboratories Si4703 chip, complete with a digital tuner and can even tell the name of the song that's currently playing. The board is being controlled by an MSP430G2231 and outputs to an LM386 audio amplifier.
I was originally thinking of building the "case" for it out by carving out a chunk of ham, but it seemed wrong to use the meat of an animal for something like this and then throw it away so I decided to use vegan ham slices.
Related Projects @mikekohn.net
A video tour of the HAM radio. https://youtu.be/MyQwGzvFffU
So selecting 3-wire mode.. I'm still not 100% clear on what to do. One part of the documentation shows all that needs to be done is the /SEN signal just needs to be pulled low while /RST goes high. But then their timing chart shows stuff going on with SDIO and it warns not to have SCLK high at the time. I got the 3-wire mode working I think just by playing with /SEN and keeping SDIO and SCLK low, but the thing wasn't coming up the first time it's plugged in (required and MSP430 reset to do everything twice or something) so I started screwing with the other signals. In the end I think the problem was after telling the crystal to start up, the user is supposed to wait 500ms or something for it to become stable. After the ugly stuff is settled, selecting channels and such isn't too bad. I provided source code below to help anyone else wanting to program these chips.
For functionality, I provided a 10k potentiometer for the volume control and a 10k potentiometer for selecting a channel. The channel selector goes to the ADC of the MSP430 which will select 1 of 16 channels I hardcoded in the source code.
To make it a HAM radio (har har) I covered the thing in vegan ham. I decided to go vegan to be nicer to animals (kind of felt bad when I did the Singing Fish project).
Here's a picture of radio from the front without the HAM. The "cage" it built out of small, thin pieces of wood hot-glued together. The knob on the left is a volume control for the LM386 and the knob on the right is connected to the ADC of the MSP430 so 1 out of 16 preset channels can be selected.
Here's a picture from the top showing on the left the 8 pin LM386 chip, in the middle the SparkFun FM Tuner Breakout Board, and on the right an MSP430G2231 microcontroller.
Here's the radio from the front layered in HAM.
Copyright 1997-2023 - Michael Kohn