Shop OBEX P1 Docs P2 Docs Learn Events
binary from fequency coding help — Parallax Forums

binary from fequency coding help

Lab RatLab Rat Posts: 289
edited 2008-10-16 19:58 in BASIC Stamp
Here is a question for you.
I was sitting around last night playing with my cassette player getting it to work I thought of an idea. I want to store data on my cassette tape.
I know that this is old technology but I have never played with it before.
I thought that I could send a higher frequency as a 1 and a lower frequency as a 0. I can send the frequency to the tape via the line in ports
·on the back of the cassette player unit. And I can get the signal back out through the output ports but I cant figure out how to get the stamp
·to register frequencies.
OK now my question for you is I want frequency A to register as a 1 and frequency B to register as a 0. Now I want the stamp to compile these
ones and zeros into an 8 bit bites·or groupings and output them as there decimal equivalent (to display words) to lets say an led matrix display that
·is 7 by 10 LEDs.
Have fun and thankyou

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Parallax posesses power beyond belief.

Believe in it.

Post Edited (Lab Rat) : 10/16/2008 4:10:14 PM GMT

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-10-16 19:08
    What you want is a modem (MOdulator / DEModulator) chip. Here's one example: www.tcm3105.com/.

    Do a Google search for "modem chip" for others.

    Once you get a bitstream (0s and 1s), you can use SERIN and SEROUT with it.
  • Lab RatLab Rat Posts: 289
    edited 2008-10-16 19:58
    is there a way to do it with just the stamp like FREQOUT and FREQIN i am broke and cant afford to get any ics rigt now

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Parallax posesses power beyond belief.

    Believe in it.
Sign In or Register to comment.