RF Transmitter/Reciver


Closed Thread
Results 1 to 40 of 76

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    Yes i have lookt at Rentron but 2 transmitter and 2 recivers + 2 anntena coast $111 and at parallax $109,95 with antenna.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Fredrick View Post
    Yes i have lookt at Rentron but 2 transmitter and 2 recivers + 2 anntena coast $111 and at parallax $109,95 with antenna.
    OK, but the antennas from parallax do not look very good (very short ), the ones from rentron are 1/4 wave.

    As I said before, the antenna will make all the difference for long range.

    Let us know how it goes.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    Yes i will inform how it goes, and maybe i will come with some questions on the PBP program for the recivers and transmitter.

  4. #4
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    Are the Linx RF modules FM och AM?
    Can´t find anything in the datasheet?

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Neither, More like CM.
    From the data sheet
    When a logic ‘1’ is present on the DATA line and the PDN line is high, then the
    Power Amplifier (PA) will be activated and the carrier frequency will be sent to
    the antenna port. When a logic ‘0’ is present on the DATA line or the PDN line is
    low, the PA is deactivated and the carrier is fully suppressed.
    So, the only thing they can transmit is bits, think of Morse Code. ON OFF
    That is why they work so well for serial communications.
    Also, that is the reason for sending a "train" signal (010101010101) allows the receiver to balance the internal capacitor before receiving the real data.

    I think the correct way of saying it is Carrier Present - Carrier Absent
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    I think the correct way of saying it is Carrier Present - Carrier Absent
    Or OOK (On-Off Keying), ASK (Amplitude Shift Keying) or AM (Amplitude Modulation). And FSK (Frequency Shift Keying) works much better but costs much more.

  7. #7
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Talking

    Thank you.

    Now i have recived the Parallax RF modules and write this test programs

    Transmitter PIC16F628A whit Internal RC OSC at 4 MHz
    Code:
    <html>
    <head></head>
    <body><!--StartFragment--><pre><code><font color="#008000"><i>
    </i></font>CMCON = <font color="#808080">7 </font><font color="#008000"><i>'Alla I/O Digitala
    </i></font>LEDPin <font color="#000080">VAR </font>PORTB.<font color="#808080">0
    </font>TransmitterPIN <font color="#000080">VAR </font>PORTB.<font color="#808080">4
    </font><font color="#000080">INCLUDE </font><font color="#FF0000">&quot;modedefs.bas&quot;
    </font>Counter <font color="#000080">VAR BYTE
    </font>Synk <font color="#000080">VAR BYTE
    </font>Synk = <font color="#808080">$55
    </font><font color="#000080">DEFINE </font>CHAR_PACING <font color="#808080">1000
    </font>Counter = <font color="#808080">0
    
    </font>Main:
        <font color="#000080">HIGH </font>LEDPin
        <font color="#000080">PAUSE </font><font color="#808080">100
        </font><font color="#000080">LOW </font>LEDPin
        <font color="#000080">PAUSE </font><font color="#808080">100
        
        </font><font color="#000080">SEROUT </font>TransmitterPIN,T1200,[Synk,Synk,Synk,Synk,Synk,Synk,<font color="#808080">9</font>,Counter]
    
        <font color="#000080">HIGH </font>LEDPin
        <font color="#000080">PAUSE </font><font color="#808080">100
        </font><font color="#000080">LOW </font>LEDPin
        <font color="#000080">PAUSE </font><font color="#808080">100
        
        </font>Counter = Counter + <font color="#808080">1
        </font><font color="#000080">PAUSE </font><font color="#808080">600
    </font><font color="#000080">GOTO </font>Main
    <font color="#000080">END 
    
    
    </font></code></pre><!--EndFragment--></body>
    </html>
    Reciver PIC16F872 with 20 MHz OSC
    Code:
    <html>
    <head></head>
    <body><!--StartFragment--><pre><code><font color="#008000"><i>
    </i></font><font color="#000080">DEFINE </font>OSC <font color="#808080">20
    </font><font color="#000080">DEFINE </font>LCD_COMMANDUS <font color="#808080">3000   </font><font color="#008000"><i>'Set command delay time in us
    </i></font><font color="#000080">DEFINE </font>LCD_DATAUS <font color="#808080">200       </font><font color="#008000"><i>'Set data delay time in us
    
    </i></font><font color="#000080">INCLUDE </font><font color="#FF0000">&quot;modedefs.bas&quot;
    </font>Counter <font color="#000080">VAR WORD
    </font>ReciverPIN <font color="#000080">VAR </font>PORTC.<font color="#808080">0
    </font>ADCON1 = <font color="#808080">7 </font><font color="#008000"><i>' Alla digitala
    </i></font><font color="#000080">PAUSE </font><font color="#808080">500
    
    </font>Main:
        <font color="#000080">SERIN </font>ReciverPIN,T1200,[<font color="#808080">9</font>],Counter
        <font color="#000080">GOSUB </font>LCD
    <font color="#000080">GOTO </font>Main
    
    LCD:
        <font color="#000080">LCDOUT </font><font color="#808080">$FE</font>,<font color="#808080">1  
        </font><font color="#000080">LCDOUT </font><font color="#808080">$FE</font>,<font color="#808080">$80</font>,#Counter
        <font color="#000080">PAUSE </font><font color="#808080">500        
    </font><font color="#000080">RETURN
    
    END 
    </font></code></pre><!--EndFragment--></body>
    </html>
    It´s working very well whit in the rance of 50 - 60 meters whit the transmitter indoors and the reciver outdoors, but when i take the reciver also indoors in a house 50 - 60 meters away from the transmitter the counter on the reciver display starts to show wrong numbers sometimes but it´s still counting... but whit the reciver outdoors it does not miss a single number whit in 50 - 60 meters.

    Any idé how i can to improve my code?

    I´going to do some more tests to tomorrow, it´s soon time to sleep here in sweden...

Similar Threads

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