Basic stamp 2 radio
Stratus
Posts: 12
How would I go about Building a radio using the basic stamp 2,and also, controlling the radio with an lcd and changing it's frequency digitally with pushbuttons, also how to memorize the stations.
Thank you
Thank you
Comments
http://www.xtalman.com/kits.html
http://electronics.howstuffworks.com/radio.htm
Start with the Resources tab on Parallax's main webpage. Read through the Nuts and Volts Columns index. Go to the Downloads page and look through the Educational Downloads section. Good starting points are "What's a Microcontroller?" and the "Basic Stamp Syntax and Reference Manual".
Personally, I would take this plan of attack:
1.) learn about button inputs
2.) scale this up to Matrix keypads.
3.) Learn about LCD control (this will also teach you about serial, I2C, or SPI communication, good for your RX radio module)
4.) build a dummy project that makes Button presses come up on your display
5.) Learn about amplifier circuitry, and see if you can make something that simply makes your MP3 player or computer louder without distortion
6.) Figure out how to control your Radio module, possibly using the debug window for input.
7.) incorporate all of these concepts slowly, testing THOUROUGHLY in between each phase of your build.
Good luck, and let us know if you have any great success!
Thank You.
Do keep in mind that the documentation is fairly minimal. The chip's datasheet describes the registers in the chip, but doesn't give much information on how you'd use them. It assumes that you ought to know enough about how this type of radio works. Be prepared to experiment and to do a lot of research.
I have a tuner with I2C interface from an old car radio.
It is based around the philips TEA6810V and TEA6825T chips.
Here is a little pic of it connected to a BS2P:
http://apsdev.com/stampradio/rdhwd.jpg
I am using the stampdock software as input and output:
http://apsdev.com/stampradio/rdscr.jpg
Right now it can tune FM channels coarsly and fine, and it indicates
the frequency, level strength, multipath level and the stereo indicator.
I have a function to find the next channel, and to draw a graph
of the whole frequency band.
But it is not completely finished yet, need to do some work on AM,
and the other tune controls.
And also the channel buttons dont work yet.
If it is a little further i'll post the source code on the page.
http://www.datasheetarchive.com/TEA5767-datasheet.html
TEA5767HLPhilips Semiconductors / NXP SemiconductorsLow-power FM stereo radio for
You can find it here: http://apsdev.com/stampradio/
Most things in FM seem to work now, i only need to find the right parameters for AM.
Right now you can do a graphical scan of the entire FM channel, while
the found channels are stored under 20 buttons.
With a slider under the graphical scan you can also go to channels.
And then there is a turnknob and buttons for finetuning.
Or you can use the 'next' button to find the next channel.
Also it has indicators to show things like the current frequency and signal strenght.
It uses the TEA6810V and TEA6825T chips, but i had a quick peek
at the TEAnnnn chip of the sparkfun product, and i guess if anyone has that
product he could adapt the code to that particulair chip by just modifying
the couple of tuner specific functions.
-Phil
I have tried unsuccessfully for months to convert the PARALLAX FM TUNER code from BS2 to PICAXE code. Given the history of both micro platforms this should be trivial. In fact, ALL I am trying to do is have a tuner that can Execute the FreqUp,FreqDown,Volume Up and Down commands (nothing else) but the differences in the READ command syntax between platforms seems insurmountable. All the other code is so easily converted. Any thoughts on this?
Thanks,
Matt
http://www.parallax.com/Store/Accessories/AllAccessories/tabid/759/CategoryID/33/List/0/SortField/0/catpageindex/4/Level/a/ProductID/749/Default.aspx
You'll find everything you need right there, it's great fun, and so simple, my 10-year-old son put one together for a school project.