+ Reply to Thread
Results 1 to 2 of 2

Thread: determine square wave width...

  1. #1
    SirBeagle Newbie
    Join Date
    Aug 2007
    Posts
    1

    Default determine square wave width...

    Hello,
    I'm new so please bear with me.

    I'm hoping to be able to use a PIC to determine the rising & falling edge of a square wave - If I have that info I can then determine the width of the pulse. I have a vague idea of how it can be done & only limited PIC programming experience (I was able to write a program & flash my PIC (16f84??) to get some LEDs to light up & blink)

    Any help, comments, pics, etc. would be greatly appreciated! (what pins to use, can I hook up my signal directly to the pic (which pic, which inputs) or do I need some logic gates in between...???)



    Thanks,
    Jeff.


  2. #2
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,672
    Blog Entries
    5

    Default

    The 16F84 is a somewhat simple PIC, the cheaper and better 16F628A has a CCP module and one of its modes can be used for pulse width measurement.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

+ Reply to Thread

Similar Threads

  1. Square wave to sine wave converter
    By ghauri in forum Electronic Projects Design/Ideas/Reviews
    Replies: 30
    Latest: 11th March 2010, 09:49 AM
  2. Converting a square wave into sine wave using a D/A converte
    By khalifemazen in forum Electronic Projects Design/Ideas/Reviews
    Replies: 6
    Latest: 21st May 2008, 11:21 PM
  3. square wave to sine wave
    By tony Ben in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 26th January 2005, 05:05 AM
  4. circuit help: square and sin wave input = square wave output
    By spyghost in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 28th April 2004, 02:09 AM
  5. LC filter- filtering a square wave to sine wave
    By kken6248 in forum General Electronics Chat
    Replies: 3
    Latest: 22nd April 2004, 05:32 AM

Tags for this Thread