Newbie radio link issue


Closed Thread
Results 1 to 32 of 32

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    New Zealand
    Posts
    171


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    PBP manual, page 130 and page 137.
    There's something on each of those pages that you've forgotten. Hopefully after you add that certain thing, all should be well. The rest of the code, at first glance, looks like it should be ok.
    I presume you are meaning the mode names? If so i used the code instead - ie. 0 = T2400

    I'll try the direct connection now - I was thinking about it, but put it off

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by George View Post
    I presume you are meaning the mode names? If so i used the code instead - ie. 0 = T2400

    I'll try the direct connection now - I was thinking about it, but put it off
    I just looked at the PBP manual again. If you're using numbers, you don't need to include the file. My bad...
    Also, the datasheet says to use inverted data, i.e. N2400 instead of T2400.
    I'm just having a quick look at the datasheet now...so bear with me...

  3. #3
    Join Date
    Oct 2005
    Location
    New Zealand
    Posts
    171


    Did you find this post helpful? Yes | No

    Default

    I pulled the radio modules off and did a direct connect - and it didn't work! All it was was making sure the internal oscillators were calibrated. Then it worked so my hopes were high for connecting the radio modules again - but alas, it was not to be. just doesn't work for some reason - I think it has something to do with the internal setup of the radio chips - for some reason (maybe their brand name) I thought it would be easy! And would just transmit data as it came into it's pin - but apparently u have to set baud into the receiver and there r a few other options which make it a bit complicated for a beginner.

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default

    If direct connection works and RF link does not (considering that the radios are communicating) then I would suggest to try sending only the bytes AAh repeatedly and see if the receiver gets the data.

    If you have success then consider to use bi-phase or manchester encoding of the bytes to be transmited (forum has solution for this).

    Ioannis

  5. #5
    Join Date
    Oct 2005
    Location
    New Zealand
    Posts
    171


    Did you find this post helpful? Yes | No

    Default

    What's the command line to make it just send the AAh bytes repeatedly? As I said before I'm totally new to serial comms - are you meaning simply as:
    SEROUT PortA.0,0,["AAh"]?

    Does anyone have any recommendations as to a good radio set to use - like one where you hook it up and it works? No internal settings that are adjustable etc - just goes

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    AAh : AA is the value, h represent Hexadecimal.

    SEROUT pin, baud, [$AA,$AA,$AA,$AA,$AA, YouDataVariable]
    OR
    SEROUT2 pin,baud,[REP $AA\5,YourDataVariable]

    Anything from Linx, Laipac, RFSolution, Maxstream will work without too much adjustment, but the manchester protocol have to be use in most case.

    Sometimes just by sending some $AA, a header, your variables may work good. If you don't have many data to sent, i don't think Manchester is really needed.

    Transmitter
    SEROUT2 ...[REP $AA\5,"READY", YourVariable]

    Receiver
    SERIN2 ...[WAIT("READY),YourVariable]
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default

    Just for testing try to send repeatedly:

    loop:
    SEROUT pin, baud, [$AA]
    goto loop

    This will send endless AA to the receiver.

    If you read them then you need to encode your data.

    If you don't then you need to check the design back from zero.

    For modules contact me private if you need many. We build our own.

    Ioannis

Similar Threads

  1. Car radio (Car radio and electronics support forum)
    By freewillover in forum Forum Requests
    Replies: 1
    Last Post: - 1st July 2009, 20:41
  2. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 22:01
  3. Replies: 5
    Last Post: - 6th September 2007, 05:59
  4. quickBlue™ Link
    By lester in forum Bluetooth
    Replies: 4
    Last Post: - 20th March 2007, 14:23
  5. 18F1320 ... Strange Memory
    By Acetronics2 in forum mel PIC BASIC Pro
    Replies: 43
    Last Post: - 9th April 2006, 10:55

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