R/C receiver to PIC16F84


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    18


    Did you find this post helpful? Yes | No

    Default

    i get what u mean and had Define OSC 20 and the HC oscillator

    i dont get what u mean by the point below.
    How i measure CH1 and CH2? what u mean by "miss CH2"

    2) as your channels follow each other, you must know you'll measure CH1, miss CH2, miss CH1, measure CH2, measure CH1, miss CH2, miss CH1 , measure CH2, etc, etc ...

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by tech View Post
    i dont get what u mean by the point below.
    How i measure CH1 and CH2? what u mean by "miss CH2"
    2) as your channels follow each other, you must know you'll measure CH1, miss CH2, miss CH1, measure CH2, measure CH1, miss CH2, miss CH1 , measure CH2, etc, etc ...
    Takes to time to do what a PIC has to do according to your program.
    Therefore, if doing all of this thru software (i.e. not using any internal hardware modules), you'll spend time measuring the pulse width of CH1, then while acting upon that (driving another servo or something?), the PIC is too busy doing one thing to measure another pulsing (CH2).

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    Re,

    That's simple :

    The channel signals follow each others within ~ 10-15 ns ( nano seconds ! ) delay ...

    PULSIN need a little time ( some µs ) to be ready to catch the signal. (see PbP libs ! )

    those µs being more than the ns channel separation time, the second PULSIN doesn't see the second pulse rising edge ... and must wait for the following frame.

    That's all

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. Replies: 17
    Last Post: - 12th April 2014, 02:17
  2. 433 Mhz Data Receiver
    By Pesticida in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 29th November 2010, 02:26
  3. PBP code to read R/C signal from receiver
    By malc-c in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 28th October 2009, 21:51
  4. Replies: 4
    Last Post: - 15th May 2008, 09:43
  5. receiver can not receive signal
    By nicolelawsc in forum Schematics
    Replies: 1
    Last Post: - 19th May 2006, 08:01

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