Papilio FM transmitter
Problem
editTransmitting signals is part of Software Defined Radio (SDR). The goal here is to build a simple FM transmitter using a Papilio and then explore what is possible from there. Perhaps change the pitch of the sound of the beeps as the signal is being transmitted.
Conceive
editThis project is to take a previously done project with a spartan 6 lx9 *FM Transmitter and make it work on a spartan 3E XC3S250E. The software has modified to send an SOS signal using two different tones.
Design
editThe idea is to build square pulses of different widths and then string them together to create a frequency. Two frequencies are necessary: tone 1, tone 2. If they are in the MHz region then an FM radio should be able to hear them if placed close to the radio. The carrier frequency selected by the radio will be subtracted from the frequency of the two tones to generate sound out of the speakers.
-
You only need to use the papilo. No wings or shields are necessary.
-
The VHDL used pin P18 on a 250K papilio
Implement
editThe circuit was implemented using the following code which is a slightly modified version of the starting point code above. It produces an SOS type of signal in two different tones.
|
-
The settings for the DCM Ip clock.
-
DCM setting output frequency
The radio is not a normal. A normal radio tunes at 89.9, 90.1, 90.3 but not in between. This radio tunes to all channels inbetween. This made it easier to find the optimum channel ... by searching. Can see that the demonstration video below that it was done at 91.2 MHz which is not a normal FM channel. It is exactly in the middle of two commercial broadcast FM channels: 91.1 and 91.3 MHz.
Demo
editNext Steps
edit- Do the math and figure out what 91.2 Mghz is the best carrier frequency of the two tones generated.
- Build external circuit to create a band pass filter centered on 91.2 MHz within a 100KHz band.
- Add the logicstart megawing and use the switches to switch to different frequencies, and display the frequencies being used on the LED's.