RF and PIC basic


Results 1 to 14 of 14

Threaded View

  1. #12
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default Re: RF and PIC basic

    Hi Jerson. No, it is not that the case. It just gets the first train of pulses but not the second one after the header of 11ms. It waits for a reason that I do not understand and gets the 4th train again. I try to get a shot from the Logic screen and post it next.

    Here is the picture:

    Name:  decoder.png
Views: 5418
Size:  196.0 KB

    The first channel shows the data received from the Rx module.

    The second shows every time the routine detects the header like this:

    Code:
     PULSIN DIN,0,NUMS
        IF NUMS > 8200 and NUMS<12000 then
            toggle portb.4
            goto get_pulses
        else
            RETURN
            'goto get_p
        endif
    That delay is constant and not random. So it must be either a shortage ofthe lanquage or my mistake (possibly).

    Ioannis
    Last edited by Ioannis; - 30th June 2011 at 10:11.

Similar Threads

  1. mrf24j40 RF transciever with pic
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 17th September 2008, 15:11
  2. RF transmiter reciever using PIC
    By drama in forum mel PIC BASIC
    Replies: 5
    Last Post: - 4th October 2007, 16:26
  3. PIC 12F675 RF use
    By cooksydesign in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 2nd September 2006, 15:06
  4. Generating RF from a PIC
    By Rob Martin in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 26th January 2006, 20:26
  5. LINX RF module and PIC (#2)
    By Michael in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd January 2006, 17:56

Members who have read this thread : 2

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