$2 FM Transmitter For Raspberry Pi

We love re-purposed consumer gear. This project uses a cheap, discontinued cellphone gadget to create a Raspberry Pi controlled FM radio transmitter.

The Sony-Ericsson MMR-70 radio transmitter apparently used to connect to a cell phone and broadcast music. But the Walkman cellphones in question are a little bit old in the tooth, so one can buy the transmitter units for cheap on the resale market. What makes the transmitters even more interesting is that you can activate and deactivate the radio, change frequency or output power, and even send RDS station and song information.

It turns out (link in German) that the radios have an AVR ATMega32 microcontroller and a NS73 radio transmitter module, which can be entirely controlled over I2C. (Schematic here as PDF.) The units also have handy test points strewn all around. Once the test points were mapped out, one could completely ignore the on-board AVR microcontroller and control the FM transmitter module directly using the Raspberry Pi’s I2C outputs.

And that’s where [Manawyrm] stepped in. She wrote an I2C daemon for the Raspberry Pi that lets you control the FM transmitter via simple commands. All you have to do is solder up a bunch of test points, install [Manawyrm]’s software, write a batch script, and you’re on the air. For instance, this makes building a FM radio retransmitter for online streamed audio a one-day project. You can see his working example on youtube. Of course, you’ll want a web-based remote control interface to go with that.

If you’re interested in hacking along, and don’t have a Raspberry Pi application in mind, Sparkfun used to sell the NS73 radio transmitter so you can find lots of good information about the chip. We’d love to see a stand-alone broadcasting gizmo that actually utilizes the onboard AVR chip, but our hats are off to [Manawyrm] for making the Raspberry Pi version so accessible.

A Dead Simple, Well Constructed FM Transmitter

[Angelo] is only 15, but that doesn’t mean his fabrication skills are limited to Lego and K’Nex. He’s built himself an amazingly well constructed FM transmitter that’s powerful enough to be received a quarter mile away.

The FM transmitter circuit itself is based off one of [Art Swan]’s builds, but instead of the solderless breadboard construction you would expect to find in a small demo circuit, [Angelo] went all the way, etching his own PCB and winding his own coil.

Using photosensitized copper clad board, [Angelo] laid out the circuit with Fritzing, etched a board, and went at it with a drill. The components found in the transmitter are pretty standard and with the exception of the trimmer cap and electret mic, can be picked up in the parts drawers of any Radio Shack. He gets bonus points for using a 1/4 – 20 bolt for winding the coil, too.

The power supply for the transmitter is a single 9V battery, the battery connector being salvaged from a dead 9V. Awesome work, and for someone so young, [Angelo] already seems to have a grasp of all the random, seemingly useless information that makes prototyping so much easier. Video below.

Continue reading “A Dead Simple, Well Constructed FM Transmitter”

RasPi FM Transmitter

Easily Turn Your Raspberry Pi Into An FM Transmitter

Have you ever wanted to be your own radio DJ? [Kevin] has made it easier than ever with his Raspberry Pi FM Transmitter program. The program is written in C. [Kevin] has made source code is available along with a compiled binary.

PIFM allows you to load up any audio file and specify a frequency to transmit. The program will then use PWM to modulate the audio sample through the Pi’s GPIO4 pin. [Kevin] claims that the RasPi alone will only transmit around a 10 cm distance. He says that making a simple antenna out of a jumper wire can increase the distance to around 100 meters. All you have to do is hook up the wire to the GPIO4 pin to drastically increase the range.

The legality of such a transmitter will vary from place to place, so be sure to check out your local regulations before you go transmitting audio on regulated frequencies. If this kind of thing is interesting to you, you may want to investigate ham radio. It’s not all Morse code and old fogies. Some people claim it’s a hacker’s paradise.

[via Reddit]

Super Simple FM Transmitter

Making your own FM radio is practically a rite of passage for hackers. How about making a small FM transmitter?

Originally designed by the Japanese multimedia artist [Tetsuo Kogawa], this simple FM transmitter can be built with only 10 components and about an hour of your time. The method shown here is one of the easiest to build, and it’s called the Manhattan Style — the same method used when [Bill Meara] built his BITX radio. It’s unique in that instead of using traces it uses one copper PCB which is used for all ground connections, and then small islands of the same PCB glued on top to form nodes for the circuit to connect to. Besides being an extremely easy way to make a PCB without any fancy tools, it also makes you think about circuits in a different light. In fact, it gives “floating ground” a whole new meaning!

While its 10 component count is impressive, it can’t beat this 3 component FM transmitter we shared a year ago! Stick around after the break to see how to make your very own.

Continue reading “Super Simple FM Transmitter”

Re-engineering Some FM Transmitter Firmware

[Furrteck] had a little adventure with this FM transmitter he picked up on eBay. It worked alright, but he wanted to be able to scan through the frequencies, and to have the device return to the same settings after power cycling. He cracked it open and got to work to achieve all of his goals.

The device is driven by an ATmega48, and there’s a 6-pin ISP header on the board. An initial read of the chip wouldn’t work, and he soon discovered the unstable power supply was to blame. After connecting his own regulated source he could read the chip id without a hitch, but the code is locked so no dumping was possible. Fortunately he managed to trace out the board, and includes a full schematic in his write up. With this in hand he erased the chip and started programming his own firmware from the ground up.

The video after the break shows off the completed project. He can now scan through frequencies with audio feedback to let he know when he’s found a station to hijack. The new code will also write a tuned station to EEPROM for use the next time the rig is powered up.

Continue reading “Re-engineering Some FM Transmitter Firmware”

[Sprite_tm]’s Three-component FM Transmitter

When the Regency TR-1 transistor radio came out onto the market in the 1950s, it was hailed as a modern marvel of microelectronics. With only four transistors and a handful of other components, the TR-1 was a wonder of modern engineering. [Sprite_tm] may have those old-timers beat, though. He built an FM transmitter with the lowest parts count of any transmitter ever.

Like most of [Sprite_tm]’s builds, it’s an unimaginably clever piece of work. [Sprite] overclocked the internal RC oscillator of an ATtiny45 to 24 MHz. After realizing the PLL running at four times the frequency of the oscillator was right in the middle of the FM band, he set about designing a tiny FM transmitter.

[Sprite_tm] remembered his work on MONOTONE and made a short song for hit ATtiny. The firmware for the build takes the notes from his song and varies the 96 MHz PLL frequency a tiny bit, thereby serving as a tiny FM transmitter.

Does it work? Well, if you want to compare it to a Mister Microphone, the range is incredibly limited. That being said it works. It’s an FM transmitter built out of a microcontroller and a battery, and that’s very impressive. Check out [Sprite_tm]’s demo after the break.

Continue reading “[Sprite_tm]’s Three-component FM Transmitter”

Building A Simple FM Transmitter Bug

simple_fim_transmitter_hack_a_week

[Dino] got his hands on an FM transmitter “bug” kit via a friend, and thought it would make for an easy and fun Hack a Week project. The kit is simple two transistor half-wave FM transmitter, which the manufacturer suggests could be used to bug a room, hence the name. After poking a bit of fun at the instructions, [Dino] gets to work building the transmitter, wrapping things up in a little less than an hour.

Once he finished soldering everything together, he takes a few moments to test out the bug and to explain how various parts of the board work together in order to transmit the FM signal. He mentions that adding a dipole antenna would make it easy to extend the range of the transmitter, and briefly teases next week’s episode, where he plans on constructing a similar dual-stage transmitter.

This sort of FM circuit is one of the first few simple projects you would see in a beginner’s electronics class, so if you know anyone that is just starting to get their feet wet, be sure to pass this Hack a Week episode along.

Continue reading to see [Dino] explain the ins and outs of his FM bug transmitter.

Continue reading “Building A Simple FM Transmitter Bug”