Shop OBEX P1 Docs P2 Docs Learn Events
How About a Propeller FM Transmitter? — Parallax Forums

How About a Propeller FM Transmitter?

«1

Comments

  • I believe someone has done something similar with the Prop. IIRC the Propeller doesn't make a very good transmitter. I didn't find a post about making a transmitter but I did find this post from Phil about using the Propeller as a receiver.
  • Heater.Heater. Posts: 21,230
    Every time I have seen that project mentioned on the Raspberry Pi Forum the thread has been locked.

    They really don't want to be seen to be encouraging kids to be broadcasting horribly noisy RF signals that could cause interference and get them into trouble with the FCC and such.

  • The Propeller counters' PLLs are rife with birdies due to frequency jitter, thus not suitable for transmitting.

    -Phil
  • ercoerco Posts: 20,256
    Thanks for that info PhiPi!

    Since it's clearly impossible for the Propeller, I guess we'll have to settle for the easy, cheesy way out: AM using a crystal oscillator. Heck, even a BS-1 could send tones that way over a short distance to an AM radio.

    I bet someone's already done that, could be the start of a nice science fair project.

    http://sci-toys.com/scitoys/scitoys/radio/am_transmitter.html
  • ercoerco Posts: 20,256
    edited 2016-12-05 01:48
    Anybody need a DIY "Paeansonic" AM/FM radio kit ("transistor radio" using ICs) for under $5? Should be jolly good soldering fun. I got one. Hopefully there's a 1960 Heathkit vibe.

    Funny that the frequency range is US-only but from this listing I suspect the instructions are in Chinese!

    Edit: Assembled AM/FM Radio under $4!



    s-l1600.jpg
  • erco wrote:
    Since it's clearly impossible for the Propeller, ...
    Now, I did not say that the propeller couldn't control the frequency of a better oscillator. A varactor in an LC oscillator circuit, controlled by a DUTY-mode counter output, with frequency feedback to another counter, could make an adequate closed-loop basis for a transmitter.

    -Phil
  • ercoerco Posts: 20,256
    And the wheels start turning...

    Sounds like one of Beau's "golf challenges". Who can make the "best" transmitter with the fewest/cheapest parts?
  • MikeDYurMikeDYur Posts: 2,176
    edited 2016-12-04 20:26
    erco wrote: »
    Anybody need a AM-FM-Stereo-Radio-Kit-DIY-Electronic-Assemble-Set-Kit-For-Learner-



    I think the pronunciation of that is painsonic. Solder fun yes, but too much pain if it doesn't work after completion. I think I will go with something ready built, surly there is a AM/FM out there for less than ten bucks.
    Good luck with that one erco, better brush-up on your Chinese.
  • jmgjmg Posts: 15,173
    Heater. wrote: »
    Every time I have seen that project mentioned on the Raspberry Pi Forum the thread has been locked.

    They really don't want to be seen to be encouraging kids to be broadcasting horribly noisy RF signals that could cause interference and get them into trouble with the FCC and such.

    Yes, they do not want CE ticks being removed from RaspPi, which some bureaucrat could easily decide to do !!

    This comments is interesting :
    Modulation is done by adjusting the frequency using the fractional divider between 100.025Mhz and 99.975Mhz, which makes the audio signal. The fractional divider doesn't have enough resolution to produce more than ~6 bit audio, but since the PI is very fast, we can do oversampling to provide about 9.5 bit audio by using 128 subsamples per real audio sample. We were being naieve with our subsampling algorithm - you can now get full 16 bit quality sound, and it even does FM pre-emphasis so that the result doesn't sound bass-heavy.

    They may be optimistic with the "full 16 bit quality sound" claim, but the dithering of fractional divide value is interesting.
    There must be some slew limit on that & I wonder what the spurs look like on a spectrum here ?
  • TorTor Posts: 2,010
    Building an FM transmitter is extremely easy. Using a Propeller (not to mention a Pi) is just complicating it. A lot.

    FM is a beautifully simple and open concept. Which is one reason I'm pretty annoyed by the Norwegian government's decision to switch off FM and force everybody over to a computerized, closed, non-standard, power-hungry, incompatible (drive into Norway from Sweden and your car radio won't work) useless digital system. All due to years of lobbying by one particular person inside a department.
    We can't even have battery-powered radio clock alarms anymore (unless we want to replace batteries every few days). We're back forty years, in that respect.
  • Tor wrote: »
    ...I'm pretty annoyed by the Norwegian government's decision to switch off FM...
    Didn't know any of this, so I read a bit about it just now. Other than offering more diverse content (which no one seems to be clamoring for) there seemed to be little explanation for the switch. Why do you think the particular person in question is so driven to have this happen?
  • Heater.Heater. Posts: 21,230
    I thought Digital Audio Broadcasting (DAB) was the the thing everywhere now a days. That good old analog broadcasting had ceased years ago.

    Turns out not to be quite so simple: https://en.wikipedia.org/wiki/Countries_using_DAB/DMB

    Hadn't really thought about it so hard as I have not felt the need to listen to any broadcast radio since nineteen ninety something.

  • ercoerco Posts: 20,256
    edited 2016-12-06 02:02
    DAB, huh?

    USA is still all analog! Every radio ever made for here still works fine. DTV was the only digital bandwagon we jumped on in in 2009, and they gave free converters to anyone who asked. New digital TVs are amazingly cheap IMO, but it is unknown how long the cheapies will last.

    My 1960 Philco Predicta remains my favorite TV even if they are old school! It was one of the cheapest TVs made back then. (Similar story with the Corvair, is there a pattern here?) But I kinda doubt if anyone will be collecting and restoring today's cheap DTVs fifty years from now.

  • Heater.Heater. Posts: 21,230
    That's the thing. Around here TV went digital ages ago. And you could get free "digi boxes" as you say. Never bothered me as I have never owned a TV.

    Then I heard radio broadcasts were going digital. So I thought that was done as well. Seems not.

    I did try building a good old AM receiver a few years ago. Turned out there are no AM stations to be heard around here any more.
  • ercoerco Posts: 20,256
    Heater. wrote: »
    I did try building a good old AM receiver a few years ago. Turned out there are no AM stations to be heard around here any more.

    Total bummer. Crystal radios are magical and a fun, simple way to get kids interested in electronics. As I have mentioned several times, I live about 3 miles from KNX-1070, a 50-kilowatt AM radio station in Los Angeles. I can hear their signal clearly on some PA systems, intercoms, telephones, etc.

  • Crystal radios are indeed magic! Got me hooked on electronics as a kid. And then I made hundreds of them with kids. Still love listening to the radio. With so little commercial SW left I spend a lot of time hunting for pirates. So sad, that's what passes for a rocking Satruday night at my place.\

    And hey Erco, I got my Predicta working pretty well! Horizontal linearity isn't perfect but it still looks great. Been watching Honey West, really fun stuff.
  • No AM broadcast stations? No worries! This crystal radio covers the 160/80 meter amateur radio bands. There's a separate BFO so it can receive CW and SSB.



  • TorTor Posts: 2,010
    User Name wrote: »
    Other than offering more diverse content (which no one seems to be clamoring for) there seemed to be little explanation for the switch. Why do you think the particular person in question is so driven to have this happen?
    I've not met anyone yet who knows why. Tech magazines and -papers have written articles about (against) that particular solution, experts have started discussions about it, all to no avail. They have all argued against the particular non-standard variant of digitial radio, not against digital as such. But when FM is actually being switched off (and we can expect the former FM band to be used for something else, so it'll be gone for good), then others chime in as well. Fishermen, for example. They want to be able to hear the weather forecast at sea, they can, with FM (strange, maybe, but it works), DAB coverage is not good. And, with DAB, it's not like it'll just drop to mono and then start to get noisy if the signal isn't good, it just drops completely. Not good for fishermen.

    I have DAB radios. They're, well, I can't say it here - family forum - but it starts with c. Lots of 'channels', but radio is not TV - you don't sit there and zap through channels. Nothing is gained, and they're power hungry computers. Sound is bad too - clear, but bad. The electronics is probably so expensive that the vendors have to go cheap on the audio.

    FM radios are really easy and cheap to make, sometimes you would get a free (small) one with a magazine. And you can make them yourself, with very little knowledge (transmitters are even easier than receivers). In a crisis situation that would be very good. If everybody have only DAB radios and 1940 happens again, then what? Sorry if you didn't get the reference, but radio was very, very important at that time.

    TV is digital. That's fine. It's even a somewhat standard variant. Digital for TV makes a lot of sense, for many reasons. Very few of those reasons apply to radio. (It's even been argued that with DAB you'll be able to see the name of the song played. Huh? FM has had RDS for decades already.)

  • ercoerco Posts: 20,256
    edited 2016-12-06 14:08
    @Jonathan: Great to hear your Predicta lives, what a neat set. People love them, I've actually had offers to rent mine out for parties and events.

    @jones: What an AWESOME radio and demo! My crystal sets were quick and dirty types with poor selectivity but you can really work the band with yours. Even using a diode instead of a more sensitive and finicky cats whisker. Adding a VFO was genius! Jealous! Did you build that?
  • erco wrote: »
    @jones: What an AWESOME radio and demo! My crystal sets were quick and dirty types with poor selectivity but you can really work the band with yours. Even using a diode instead of a more sensitive and finicky cats whisker. Adding a VFO was genius! Jealous! Did you build that?
    No, sadly, that isn't mine. It does make me want to build one, however. That was the first time I've ever heard of someone using a BFO with a crystal set. Similar in principle to a direct conversion receiver, I think.

  • Tor wrote: »
    FM is a beautifully simple and open concept. Which is one reason I'm pretty annoyed by the Norwegian government's decision to switch off FM and force everybody over to a computerized, closed, non-standard, power-hungry, incompatible (drive into Norway from Sweden and your car radio won't work) useless digital system.

    That's horrible, building analog radio receivers is a right of passage for every electronics nerd. First you build a crystal set, then a one transistor set, then add another transistor as an amplifier. Repeat until you have a mess of wires.

    Plus there's the HD Radio standard that transmits digital and analog in a compatible manner. In the US the FCC has not indicated any intent to shutdown analog radio as it would not result in the recovery of any radio spectrum rights which could be sold.
  • ercoerco Posts: 20,256
    I get all excited in the midst of these tech discussions and runn off to buy stuff, like this sub-$4 stereo FM transmitter. Please don't buy one for yourself. Learn from my mistakes.

    s-l1600.jpg
  • ercoerco Posts: 20,256
    edited 2016-12-06 17:38
    Martin_H wrote: »
    That's horrible, building analog radio receivers is a right of passage for every electronics nerd. First you build a crystal set, then a one transistor set, then add another transistor as an amplifier. Repeat until you have a mess of wires.

    Kinda funny too that the most sensitive detector for a crystal radio is a cat-whisker detector, which uses a galena crystal, AKA LEAD SULPHIDE. Finnicky to use and potentially toxic to handle, yet pricey and in big demand on Ebay. Between that and leaded solder, the high voltages and hot live-mains chassis often found in televisions and radios, it's a wonder any of us are still alive. Make every day count! :)

    CatWhisker.jpg





  • Heater.Heater. Posts: 21,230
    erco,

    Wow, that ebay crystal set is beautiful.

    Now I know what to do with those walnut lumps Chip gave me.

    But grief the price. At that rate Chip has a couple of million dollars worth of walnut planks stacked up in his barn.

    How about a special edition run of Propeller boards built on walnut frames? Walnut bread boards for the discerning nerd.

    I was wondering if it's really true that galena cat's whisker diodes are actually the most sensitive or if that was some kind of audiophile style snake oil. I found this page that actually tries to measure their characteristics. http://www.lessmiths.com/~kjsmith/crystal/dtest.shtml

    Looking at the graphs I would guess that a germanium or Schottky diode can be better.

    Certainly the OA5 I used in the crystal set I built at age 10 worked well.

  • erco wrote: »
    I get all excited in the midst of these tech discussions and runn off to buy stuff, like this sub-$4 stereo FM transmitter. Please don't buy one for yourself. Learn from my mistakes.
    Was it a mistake? Please elaborate. I have two that are very similar, but I have yet to apply emf.
    Tor wrote: »
    ...we can expect the former FM band to be used for something else, so it'll be gone for good...
    Spectrum is valuable, which is what made me wonder if selling off 88MHz to 108MHz for some other use was part of the motivation for the change. Anyway, I'm sorry that's happening. Seems like just the sort of meddling that causes us to be critical of government. It will be interesting to see in 10 years what the Norwegian people think about it.

  • Heater.Heater. Posts: 21,230
    I can sort of understand wanting to go digital in order to conserve spectrum. That space can be used for something useful. And heck they can sell it for money!

    But why a little country like Norway would go for a totally nonstandard incompatible system, different from the rest of the world, is beyond me.

    Somebody must be cashing in on this.
  • FM - Yes, we did it!

    Several years ago I put together a small Amateur Radio Transmitter Beacon for a "fox hunt", using nothing more than a Propeller Board, a 9 volt battery and a very short Antenna (20 inches of wire). My friend, Jeff - ko7m, help with the final design and software. We transmitted on about 10.140 MHz (HF 30m band) using CW signaling.

    For the actual hunt, we had 4 different Propeller boards, each were time synchronized and transmitting on slightly different frequencies, each hidden in a different location, each used a different transmitted CW "id" character (F,L, B, V, note: each of these CW characters are the same length).

    See:
    http://wa0uwh.blogspot.com/search?q=fox+hunt
    and,
    http://ko7m.blogspot.com/search/label/Fox Hunt

    We have used the same beacons for several years with great fun.

    But this year, we (actually Jeff) added a simultaneous FM Voice Beacon on about 147.45MHz (VHF 2m band). Note: we used a 2 inch antenna for the FM Beacon.

    Check out the above URL's for the Fox Hunt details.

    For some of my other Amateur Radion Propeller adventures, see: http://wa0uwh.blogspot.com/search/label/Propeller

    --

  • ercoerco Posts: 20,256
    Eldonb46: Tremendous project! Great use of the Propeller in QRP ham radio. Bravo! I'm enjoying reading both blogs. Fox hunts are neat, nice to see you keeping the fun going.
  • Tor wrote: »
    User Name wrote: »
    Other than offering more diverse content (which no one seems to be clamoring for) there seemed to be little explanation for the switch. Why do you think the particular person in question is so driven to have this happen?
    I've not met anyone yet who knows why. Tech magazines and -papers have written articles about (against) that particular solution, experts have started discussions about it, all to no avail. They have all argued against the particular non-standard variant of digitial radio, not against digital as such. But when FM is actually being switched off (and we can expect the former FM band to be used for something else, so it'll be gone for good), then others chime in as well. Fishermen, for example. They want to be able to hear the weather forecast at sea, they can, with FM (strange, maybe, but it works), DAB coverage is not good. And, with DAB, it's not like it'll just drop to mono and then start to get noisy if the signal isn't good, it just drops completely. Not good for fishermen.

    I have DAB radios. They're, well, I can't say it here - family forum - but it starts with c. Lots of 'channels', but radio is not TV - you don't sit there and zap through channels. Nothing is gained, and they're power hungry computers. Sound is bad too - clear, but bad. The electronics is probably so expensive that the vendors have to go cheap on the audio.

    FM radios are really easy and cheap to make, sometimes you would get a free (small) one with a magazine. And you can make them yourself, with very little knowledge (transmitters are even easier than receivers). In a crisis situation that would be very good. If everybody have only DAB radios and 1940 happens again, then what? Sorry if you didn't get the reference, but radio was very, very important at that time.

    TV is digital. That's fine. It's even a somewhat standard variant. Digital for TV makes a lot of sense, for many reasons. Very few of those reasons apply to radio. (It's even been argued that with DAB you'll be able to see the name of the song played. Huh? FM has had RDS for decades already.)

    Well, I don't understand Tor's frusteration on the DAB issue here in Norway. I do live in a remote area, far from the cities and populated areas and never been able to receive more then one single FM channel. With DAB I can choose between tens or twenty different channels (also do zapping). But I do prefer the non commercial ones from NRK (Norwegian Broadcasting Corporation).
    The audio is really good, especially if I connect the receiver to my vintage Tandberg audio amplifier.
    I can't see why DAB radios should be more expensive to make or why they should consume more power, someone has to explain that to me. If we once again experience a 1940 or other bad crises, I don't think the FM will work better then any other systems. In such a case I think we all have to return back to long or short wave transmissions. And lots of people will still keep their good old FM/AM radios even though they usually never use them.
    Ok, DAB works pretty good for me, no negative feelings at all.
  • Heater.Heater. Posts: 21,230
    Can you also listen to your nearby Swedish neighbors radio stations?
Sign In or Register to comment.