Shop OBEX P1 Docs P2 Docs Learn Events
Broadcasting wireless direct from the chip — Parallax Forums

Broadcasting wireless direct from the chip

samsn4samsn4 Posts: 49
edited 2007-11-07 07:37 in Propeller 1
Anyone working on this?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Daniel Mueth
WSIU-TV Master Control

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"Just plug it in and let's see what happens"

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-11-05 18:09
    What did you have in mind? The Prop already does ok on the lower VHF channels with a short whip attached to the TV output (best quality with a 6MHz crystal instead of the stock 5MHz one ... because of PLL jitter vs. 6MHz channel spacing). A matched bandpass filter and resonant whip wouldn't hurt.

    Post Edited (Mike Green) : 11/5/2007 6:14:34 PM GMT
  • samsn4samsn4 Posts: 49
    edited 2007-11-05 18:15
    Instead of have a cable out to a tv or vga monitor,·Tx out to a TV ch 3 or 4.·

    example application:
    Home security system based on the prop, the home owner will be able to view the status of and any action that has happened.

    thanks

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Daniel Mueth
    WSIU-TV Master Control

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    "Just plug it in and let's see what happens"
  • Mike GreenMike Green Posts: 23,101
    edited 2007-11-05 18:36
    It works. Like I said, it works better if you substitute a 6MHz crystal for the supplied 5MHz one and if you use some filtering and a proper antenna, but I've used the stock Demo Board on channel 3 with a couple of inches of antenna plugged into the video output jack a short distance (a foot or two) from a TV. You have to change the parameters in tv_text.spin to use broadcast rather than baseband mode and to select the proper frequency.

    The carrier frequency is not a multiple of 5 MHz, so I just made it so (60MHz) and the TV's AFC adjusted.

    Read the comments at the end of tv.spin which is included with the Propeller Tool. I'd set the carrier frequency to a multiple of the crystal (like 55MHz for channel 2) to minimize jitter and turn off color for the best image. Play around.
  • RaymanRayman Posts: 14,162
    edited 2007-11-05 22:55
    I didn't realize this worked! Thought I read that it didn't... Maybe that was because of the crystal. Think my 6.25 MHz crystal will work? Or, do I need 6.00
  • Mike GreenMike Green Posts: 23,101
    edited 2007-11-06 00:23
    Rayman,
    It works (sort of) even with the 5MHz crystal, but there's a lot of jitter that looks like noise on the screen. The problem is that the crystal is not an even submultiple of the video carrier frequency. With the counter's PLL, there's a slight variation from cycle to cycle of the frequency of the carrier as the PLL tries to provide, on average, the requested frequency. The low VHF video channels are on a 6MHz spacing which works out great with the 6MHz crystal. With a 6.25MHz crystal, try channel 3 with a carrier frequency of 62.5MHz or channel 4 with a carrier of 69MHz. The actual channels are 54-60MHz, 60-66MHz, 66-72MHz
  • rjo_rjo_ Posts: 1,825
    edited 2007-11-06 00:31
    Rayman,

    There are lots of opinions floating around about what will or won't work in all kinds of contexts. And there are lots of critics about just about everything... but the real truth is that you can do just about anything with one or more Propellers. You can take that to the bank. Lots of people know other ways to do things... that's fine, but most of the time the answer is ... if you really need to do something (to put a signal together or take one apart) and all you really know is the Propeller... you know enough.

    For that to be true, however, you have to become a flat out expert. As you know, but others might not, Baggers is just one of the guys blazing the trail in terms of this kind of technical innovation (to which we should all aspire.) He's doing synthesis right now, but analysis is on the flip side of this kind of thinking.

    I looked through your web site and then promptly lost your link. Very, very impressive. Please post it again.

    Rich
  • RaymanRayman Posts: 14,162
    edited 2007-11-06 01:02
    Mike:· Thanks.· I don't know if I need broadcast, but it's too cool not to try!

    Rich:· http://www.rayslogic.com/propeller/propeller.htm
  • scottascotta Posts: 168
    edited 2007-11-06 01:14
    Can you broadcasting data using similar hardware techniques ?
  • Mike GreenMike Green Posts: 23,101
    edited 2007-11-06 01:32
    Theoretically you could do frequency shift keying at radio frequencies to transmit digital data, but you could get a much better quality (and more reliable) signal using an external radio.
  • deSilvadeSilva Posts: 2,967
    edited 2007-11-06 06:39
    rjo_ said...
    ... but the real truth is that you can do just about anything with one or more Propellers. ... if you really need to do something (to put a signal together or take one apart) and all you really know is the Propeller... you know enough

    I should like to add: You also have to know a little of the "domain" you are exprimenting with.
    I would be useful to know a little bit about RF, TV conventions, laws, EMI... before transmitting HF. It would be nice to understand Nyquist and low pass filters before adding an ADC; it would be a good thing to know Ohm's law before connecting anything to the Propeller at all smile.gif Those ar just a few examples.... No one special in mind...
  • Paul BakerPaul Baker Posts: 6,351
    edited 2007-11-06 21:01
    This is all thats required hardware-wise to get the broadcast to work:


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Paul Baker
    Propeller Applications Engineer

    Parallax, Inc.
    678 x 800 - 80K
  • JoJo Posts: 55
    edited 2007-11-06 21:19
    And that, ladies and gentlemen, is why I love the propeller: a wire and some resistors on a Propeller acomplishes something that on almost all other microcontrollers requires extra hardware and ingenuity.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ---
    Jo
  • Fred HawkinsFred Hawkins Posts: 997
    edited 2007-11-07 04:46
    ? why does Devo's Whipit come to mind?
  • deSilvadeSilva Posts: 2,967
    edited 2007-11-07 07:37
    Principles of Mathematics: A whip - like an aerial - works by allowing a stationary wave to form by resonant effects in accordance with the length of the device. Physics are different, but the underlying strcture of the first principles is similar (second order partial differential equations - love them!)
Sign In or Register to comment.