PIC 16f877 A/D conversion Allegro ACS712


Results 1 to 33 of 33

Threaded View

  1. #26
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by DavyJones View Post
    If I could get a reading form the ACS712 at the top/bottom of each wave then it could be done but then that is what the RMS to DC is going to do for me give me a nice straight DC line.
    You are still making an unwarranted assumption that you have a sine wave. Darrell is suggesting the RMS chip and I suggested looking at the output of the Allegro chip with an oscilloscope (to see the waveform) because we don't think you have a sine wave. 0.707 x the peak will work with a sine wave and averaging ALL of the readings will work with any waveform (if the readings can be taken fast enough to get a good sampling of the wave form).

    There are at least three ways to do this with non-sinusoidal waveforms. See the web page I referenced earlier (via email)...
    I vaguely recalled a somewhat similar thread - it took me a while to find it.
    Last edited by dhouston; - 4th August 2009 at 16:41.

Similar Threads

  1. A/D conversion with PIC18F67J50
    By ScaleRobotics in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 8th May 2009, 01:48
  2. A/D conversion problem in 18F2520, 2523, 2550 etc.
    By selimkara in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 10th March 2008, 16:26
  3. 16f877 A/D help
    By 3adam in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 25th January 2008, 04:06
  4. A/D converter fails?
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th February 2006, 18:57
  5. Strange A/D conversion...
    By Christos_K in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th June 2005, 01:35

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts