Measuring Volts and Amps digitally


Results 1 to 26 of 26

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by The Master View Post
    Im still confused though. How does that relate to amps? Or is it that 0-1024 is equivelent to 0-5A?
    The PIC's ADC channels can be configured as 10-bit or 8-bit and there are different reference voltages that you can use. I was assuming you would use 10-bits and Vref=5.

    5/1024=0.004882812 or ~4.88mV per bit.

    The datasheet for the Allegromicro ACS712 chip says it's range is +/-5A and its sensitivity is 185mV per amp. At 0A, its voltage output is Vcc/2 (it is bidirectional, after all). For AC measurements using Vcc=5V, at 600mA, it would output 2.389-2.611V and at 1A, it would output 2.315-2.685V.

    What else do you need to know?
    Last edited by dhouston; - 14th July 2008 at 22:22. Reason: corrected typo

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