RF Transmitter/Reciver


Results 1 to 40 of 76

Threaded View

  1. #29
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,


    The Parallax example:

    http://www.parallax.com/Portals/0/Do...ceive-v1.0.pdf

    From page 6:

    '===TX CODE ===========================
    PULSOUT 8, 1200 'Sync pulse for the receiver
    SEROUT 8, 16468, [ "!", x.HIGHBYTE, x.LOWBYTE, y.HIGHBYTE, y.LOWBYTE ]
    '======================================

    '===RX CODE ==========================
    SERIN 7, 16468, [WAIT("!"), x.HIGHBYTE, x.LOWBYTE, y.HIGHBYTE, y.LOWBYTE]
    '======================================


    In the Parallax example, SERIN waits to receive an explanation mark "!".
    This is called a "qualifier" in the PicBasic manual. If the character
    received does not match the qualifier "!", the qualification process starts over.
    Once the qualifier is satisfied, SERIN begins storing data in the variables
    we have specified.

    The synchronization pulse (PULSEOUT) triggers the qualification process of
    SERIN and makes sure that SERIN will be ready to receive the next character
    which is "!" in the Parallax example. With PULSEOUT we simulate a character
    NULL. (NULL = Binary 0, inverted logic is used).

    * * *

    When a logic "1" is present on the DATA line and the PDN line is high, then
    the power amplifier will be activated and the carrier frequency will be sent
    to the antenna. When a logic "0" is present on the DATA line and the PDN line
    is high, the power amplifier is deactivated and the carrier is fully suppressed.

    When "Inverted logic" is used, then there is no RF carrier when the data line
    is idle. Note that the inverted logic is not a must, but if you don't use it, the
    code will be more complicated and you will have to use an I/O pin of the PIC
    in order to control the PDN line of the transmitter.


    Best regards,

    Luciano
    Last edited by Luciano; - 16th February 2008 at 10:25.

Similar Threads

  1. Generic RF Receiver
    By dhouston in forum Code Examples
    Replies: 0
    Last Post: - 8th September 2009, 14:35
  2. Interfacing 16F88 to RF module
    By scomi85 in forum General
    Replies: 2
    Last Post: - 19th February 2009, 12:52
  3. Help with CC1100 RF Modules.
    By charudatt in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 27th November 2006, 20:58
  4. RF designs
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th June 2006, 07:50
  5. Interfacting RF Module
    By rastan in forum General
    Replies: 8
    Last Post: - 10th November 2004, 22:27

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts