pwm receiver


Closed Thread
Results 1 to 7 of 7

Thread: pwm receiver

  1. #1
    Join Date
    Aug 2007
    Posts
    14

    Default pwm receiver

    hello everybody
    please I want a project that receive different pwm signals that each one control one relay using pic 16f628 and picbasic

    thank you

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Typically, you don't receive PWM signals, unless it's a servo.

    Can you give more information about what you want to do.
    <br>
    DT

  3. #3
    Join Date
    Aug 2007
    Posts
    14


    Did you find this post helpful? Yes | No

    Default

    Thank you Darrel Taylor

    I mean I want to make a circuit with pic 16f628 with 10 outputs which receive signals.
    If it receive 10 khz for example the first output open , and if it receive 50 khz the second output open ,and if it receive 100 khz the third output open ,and so on...

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


    Did you find this post helpful? Yes | No

    Post No problem ...

    Hi,

    Just see manual $ 5.9 ... Count function can "catch" a square 125 khz square wave ( 20 Mhz xtal ) ... and some Pics can reach 40Mhz !!! (250 Khz in ... )

    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 " !!!
    *****************************************

  5. #5
    Join Date
    Aug 2007
    Posts
    14


    Did you find this post helpful? Yes | No

    Default

    Sorry I don't understand

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Alain is refering to the COUNT command that is part of Picbasic Pro.

    In some manuals more information can be found in section 5.9.
    In other manuals it's 5.10

    Since you are trying to measure frequency, instead of Pulse Width Modulation, all you need to do is count the number of pulses received in a specified amount of time.

    The higher the COUNT, the higher the frequency.
    <br>
    DT

  7. #7
    Join Date
    Aug 2007
    Posts
    14


    Did you find this post helpful? Yes | No

    Default Thank You

    Thank You Thank You

Similar Threads

  1. Half-bridge PWM with a 16F684 ?
    By Byte_Butcher in forum General
    Replies: 7
    Last Post: - 17th January 2010, 22:18
  2. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  3. PWM: Vernacular/Function (Newbee)
    By TerryN in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd July 2008, 16:58
  4. PWM setting PIC16F887
    By Gevo in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th June 2008, 07:24
  5. Tidying Up PWM Routine
    By Tissy in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st February 2005, 00:26

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