Using the ACS712 as a DC current measure connected to a PIC16F819


Closed Thread
Results 1 to 4 of 4
  1. #1
    Khallos's Avatar
    Khallos Guest

    Default Using the ACS712 as a DC current measure connected to a PIC16F819

    Hi all,

    At the moment I am trying to connect the ACS712 to a PIC16F819 to give me a value for the current flowing in my curcuit. It is a simple circuit with 1 resistor and 1 variable resistor. The current when measured with a DMM is 1- ~0 mA. The output of the ACS712 however stays constant at 2.49V. I used the set up as drawn on the first page of the data sheet. any help on how to get this to work would be appriciated.

    Many thanks.

    Khallos

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


    Did you find this post helpful? Yes | No

    Default Re: Using the ACS712 as a DC current measure connected to a PIC16F819

    Quote Originally Posted by Khallos View Post
    Hi all,

    At the moment I am trying to connect the ACS712 to a PIC16F819 .... The current when measured with a DMM is 1- ~0 mA. The output of the ACS712 however stays constant at 2.49V. I used the set up as drawn on the first page of the data sheet. any help on how to get this to work would be appriciated

    Khallos
    are you serious ???

    5.0 V, single supply operation
    66 to 185 mV/A output sensitivity
    Output voltage proportional to AC or DC currents
    AND

    Output.pdf


    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
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default Re: Using the ACS712 as a DC current measure connected to a PIC16F819

    Hi,
    Are you saying that the current is between 0 and 1mA? If so I'd say that explains it since the sensitivity of the sensor, for the X05B version of the ACS712, is 185mV/A nominally which for 1mA means an change in output voltage of 185uV.

    If you're saing that the current is from 0 to 1A then you should see the output voltage of the sensor change from the 2.5V nominal to 2.685V OR 2.315V depending on the direction of current flow.

    If you have the X20 or X30 version the sensitivity is even lower at 100 and 66mV/A repectively.

    /Henrik.

    EDIT:Alain beat me to it....

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Default Re: Using the ACS712 as a DC current measure connected to a PIC16F819

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

Members who have read this thread : 1

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