Wave Form Identifier


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Sure Alain, but you'll need to use a PIC with an ADC and take multiple readings... I wouldn't like to do that with a PIC (even one running at 40MHz) trying to measure a 1MHz waveform (which is what the original question was about). If you have an ADC, it would be easier to filter the signal (R and C), to charge the Cap and measure the voltage on it (kinda PWM D/A Convertor approach). With the correct value of R, you should get SQUARE at Vmax, TRIANGLE at < V50%, and SINE somewhere above TRIANGLE but below SQUARE.

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


    Did you find this post helpful? Yes | No

    Wink

    Of course Mel,

    in fact, the question is : constant freq. or not ???

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

  3. #3
    INaPickle's Avatar
    INaPickle Guest


    Did you find this post helpful? Yes | No

    Thumbs up Aditional Info.

    I'd like to start out by saying thanks to all who have replied to my post!!! Everyone has contributed invaluable information to help me solve some problems. As for the frequency, it will remain constant throught the testing period, I should have mentioned that (Sorry). Maybe after I get it working, I'll take it a step further. Comments?

  4. #4
    INaPickle's Avatar
    INaPickle Guest


    Did you find this post helpful? Yes | No

    Thumbs up Wave Form Identifier

    I'd like to start out by saying thanks to all who have replied to my post!!! Everyone has contributed invaluable information to help me solve some problems. As for the frequency, it will remain constant throught the testing period, I should have mentioned that (Sorry). Maybe after I get it working, I'll take it a step further. Comments?

Similar Threads

  1. To Generate Sine Wave Using PCPWM of PIC18F4331 (Issue)
    By Cyborg in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 22nd March 2014, 13:39
  2. Sine wave
    By Darrenmac in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 18th May 2009, 03:31
  3. Generating 3-phase sine wave..
    By sirvo in forum mel PIC BASIC Pro
    Replies: 38
    Last Post: - 6th November 2008, 14:07
  4. Data --> Modulated squre wave ???
    By kevj in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th August 2007, 03:18
  5. square to sine wave help
    By TONIGALEA in forum General
    Replies: 6
    Last Post: - 2nd July 2006, 09:32

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