How to Read r/c signal PCM


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2005
    Location
    Puerto Rico
    Posts
    133

    Exclamation How to Read r/c signal PCM

    Hi all
    i need help to read PCM signal and scale from 0 to 100%

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


    Did you find this post helpful? Yes | No

    Smile

    Hi, jet

    Pulsin seems to be very adequate ...

    @ 4 Mhz result will be ~100 to ~ 200 ...

    100 is 0% 200 is 100% ...

    @ 20 Mhz ...............~ 500 to ~ 1000

    then just calculate the y = ax+b equation ...

    But if you want to have precise 0% for stick down and 100% for stick up , you'll have to calibrate and memorize result first.

    i.e 112 is 0 % and 188 is 100% @ 4Mhz

    May be you will have to use DIV32 for calibration if 20 Mhz necessary for 2µs resolution ( see manual ...)

    Alain
    Last edited by Acetronics2; - 17th March 2005 at 18:11.

  3. #3
    Join Date
    Jan 2005
    Location
    Puerto Rico
    Posts
    133


    Did you find this post helpful? Yes | No

    Exclamation Pcm

    I need a specify pin to connect the rc input to read PCM or not

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


    Did you find this post helpful? Yes | No

    Cool

    Hi, jet

    I Think the best for you could be to learn the Melabs or Parallax Basic manuals from the beginning.
    Jet models will have to wait some time ...

    Alain

Similar Threads

  1. Cleaning up code
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2009, 07:14
  2. 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
  3. SEROUT WORD variable problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th April 2009, 11:20
  4. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 14:19
  5. Rc PCM signal Read (Help)
    By jetpr in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th March 2005, 03:37

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