how to get maximum value(Vmax) of sine wave??


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    USA, CA
    Posts
    271


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Charles Linquis View Post
    ...And while I have the "floor" - I can't understand why everyone isn't moving over to the PIC 18F series. They have much more capabilities, are better in almost every way, and don't cost much more. ?????
    I can give you one good answer. Most folks can't even manage to read a 120 page datasheet, much less one that is over 2 or 300 pages.

  2. #2
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    It is not so much whether they manage to read the datasheet, as to whether they even bother to download and absorb it. Maybe they should have to take an oath such this before they ask the question.
    I hereby solemnly affirm that:
    a. I have downloaded the datasheet for the device in question.
    b. I have read (and have done my utmost to comprehend) the relevant section and/or sections that pertain to my question.
    In witness whereof, I humbly submit my question, and where it is deemed to be helpful, I will quote the relevant section of the datasheet.
    Last edited by rmteo; - 20th September 2008 at 17:44.

  3. #3
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Look at the MAX function - it is in the manual.

    Vmax = Vmax MAX ADCvalue

    As the ADC value rises the value of VMAX rises. When the ADC value falls, the value
    of Vmax stays the same. If you sample for more than a full cycle VMax has the peak value of the sine wave.

    If you are looking at the sine wave cycle-by-cycle, you will have to clear Vmax at zero crossing.
    Charles Linquist

  4. #4
    Join Date
    Sep 2008
    Location
    malaysia
    Posts
    3


    Did you find this post helpful? Yes | No

    Smile ..........

    thnx for the reply....
    i'll figure it out tomorrow...

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. square to sine wave help
    By TONIGALEA in forum General
    Replies: 6
    Last Post: - 2nd July 2006, 09:32
  5. PBP Dampened Sine Wave
    By Keith55555 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 3rd April 2004, 20: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