ADC question


Closed Thread
Results 1 to 3 of 3

Thread: ADC question

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    A raw PWM signal is either ON or OFF for varying amounts of time so therefore with a 5v source you will read either 0V or 5v depending on where you sample the signal.

    To read an anlogue voltage the PWM signal would need to filtered with a resistor and capacitor to smooth it to an analogue voltage.
    Keith

    www.diyha.co.uk
    www.kat5.tv

  2. #2
    Join Date
    Apr 2006
    Location
    Michigan
    Posts
    70


    Did you find this post helpful? Yes | No

    Default

    That was kind of what I was thinking, but it has been 5 years since college now and I have forgotten how to do all that. I actually found a better way. I am using the pulsin command to measure the on time. Seems a lot more accurate and quicker. Thanks for the advice.

Similar Threads

  1. PIC16F690 ADC question
    By matador29b in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 24th October 2009, 00:03
  2. Newbie HPWM / ADC question
    By Johan in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 25th June 2007, 13:52
  3. ADC question
    By Srigopal007 in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 8th June 2007, 10:52
  4. A question about ADC (using Pic16f876)
    By mimmmis in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd April 2007, 17:26
  5. strange adc question
    By maus in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 4th November 2006, 11:57

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