RF Modules


Closed Thread
Results 1 to 40 of 45

Thread: RF Modules

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    Hi Joe S.,

    the modules are connected directly to the pics.

    One thing i noticed and i found it weird is that when turning the power on the receiver ( and always the RX - never happened to the TX ) sometimes does not start receiving ( although the TX is transmitting ).

    My workaround is to turn power off for a couple of seconds and reconnect power ( and sometimes i have to do this 2 or 3 times ).

    I changed modules, experiment board, etc and this only happens on the RX side.

    Should it be any startup procedure sequence for the RX ?

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ruijc View Post
    I changed modules, experiment board, etc and this only happens on the RX side.

    Should it be any startup procedure sequence for the RX ?
    Not sure if you mean the PIC or the transceiver. The PIC RX using HSERIN <font color=red>REQUIRES a pullup to VDD </font color>or you will get an intermittent (if at all) PIC boot. If this causes problems with the radio, you can use something to buffer the link, Tristate buffer ? I discovered this a long time back with my serial LCD project. You could "buffer" it with a simple transistor, but would then be dealing with inverted serial data.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    I mean the transceiver.
    I have a LED connected to BUSY output of the transceiver on both ( RX and TX modules ).
    The RX transceiver blinks the LED everytime the TX sends data. But this doens not mean the PIC shows the correct DATA on LCD ( sometimes no DATA at all ).

    And sometimes when powerup, the RX transceiver does not blink ( pic and LCD working OK ).

    I'm using DEBUG/DEBUGIN instructions to avoid issues with Hserin/Hserout.

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    OK then maybe you need more hysteresis to your power up cycle, which is to say the rate the voltage ascends from zero to operating voltage. Many MCU do not like slow power up, which is why PIC has PWRTE in the configs, it allows power to stabilize before PIC boots, or there may be RF running in on the power causing headaches, you did bypass the power leads with .01 &micro;F caps yes? A ferrite bead there wouldn't hurt either.
    And sometimes when powerup, the RX transceiver does not blink ( pic and LCD working OK ).

    I'm using DEBUG/DEBUGIN instructions to avoid issues with Hserin/Hserout.
    Be mindful of the Port Idle state, whether using hserin or debugin, True is supposed to Idle high and Inverted is supposed to idle low. So use the state which agrees with your receiver's requirements.
    Last edited by Archangel; - 17th June 2009 at 20:20.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Hi Joe,

    I'm using the same power supply for both.

    I'm using a 7805 with 220uF cap and 2 diodes to lower the VCC to the transceivers.

    About the port idle state...good call

    i've set the port pins high at the beginning of the code for both ( TX and RX pics ) but the result is still the same

  6. #6
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ruijc View Post
    Hi Joe,

    I'm using the same power supply for both.

    I'm using a 7805 with 220uF cap and 2 diodes to lower the VCC to the transceivers.

    About the port idle state...good call

    i've set the port pins high at the beginning of the code for both ( TX and RX pics ) but the result is still the same
    Setting them high is not enough, use pullup or pulldown resistors, depending on what state is required.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  7. #7


    Did you find this post helpful? Yes | No

    Default

    Hi Joe,

    I've placed 0.1uF caps on each transceiver VDD and GND pins.

    Also placed a resistor on the receiver side as a pullup for the RX pin.

    Still i get intermittent and incomplete data

Similar Threads

  1. RF Modules (Zigbee)
    By Chris Barron in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 4th March 2010, 18:28
  2. Low latency Wireless RF transceiver modules?
    By mark155 in forum General
    Replies: 0
    Last Post: - 4th March 2010, 05:20
  3. RF Transceiver modules help
    By davewanna in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th May 2008, 14:54
  4. Help with CC1100 RF Modules.
    By charudatt in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 27th November 2006, 20:58
  5. RF Modules at 433.92MHz
    By Ioannis in forum Adverts
    Replies: 2
    Last Post: - 17th October 2006, 12:36

Members who have read this thread : 1

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