Using a pic to measure current


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2005
    Posts
    74

    Default Using a pic to measure current

    I have a 100 amp shunt which out puts 1 mv per amp. I will be using this shunt to measure current in a 24 volt dc circuit. My question is, even though the max voltage across the two leads on the shunt is limited to 100mv, I actually still have 23 to 24 volts on each side of the shunt which would damage the PIC's ADC.

    How is the best method for measuring the voltage drop of the shunt with a Pic's ADC?

  2. #2
    Join Date
    Jul 2005
    Posts
    93


    Did you find this post helpful? Yes | No

    Default

    I think what you would need is possibly voltage divider that drops the voltage to 0-5v ?

  3. #3
    Join Date
    Oct 2005
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    My shunt is a 100 Amp Shunt @ 1 mv/Amp
    Could I use a Differential Op Amp with the gain set to 10 to give 10mv/amp or 1 volt @ 100 amps?

    then my output from the op amp would be 0 to 1 volt for 1-100 amps?

    Does something like sound like it would work?

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


    Did you find this post helpful? Yes | No

  5. #5
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rwskinner
    I have a 100 amp shunt which out puts 1 mv per amp. I will be using this shunt to measure current in a 24 volt dc circuit. My question is, even though the max voltage across the two leads on the shunt is limited to 100mv, I actually still have 23 to 24 volts on each side of the shunt which would damage the PIC's ADC.

    How is the best method for measuring the voltage drop of the shunt with a Pic's ADC?
    You will need an op amp to "condition" the voltage.A 10 bit A/D will not register any current until you are at over 4 amps of current draw! If you can float the PIC supply, you can attach the ground side of the circuit to the lower voltage side of the shunt.Your voltage input pin then attaches to the higher potential side.If you use the 24 volt system to power your circuit, you can put the shunt on the negative battery lead to the circuit under measurement. Connect the PIC/op amp to the battery negative ahead of the shunt, and your current measurement input on the other side of the shunt.
    Iffff...your maximum current drain is not that much, get a more sensitive shunt,say 10mV per amp, you may not need as much amplification, and will have less noise issues.

Similar Threads

  1. Reducing PIC current to as low as possible...
    By FromTheCockpit in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th November 2009, 04:28
  2. PIC conducting signal current when off
    By Viberer in forum Off Topic
    Replies: 0
    Last Post: - 28th May 2009, 17:27
  3. Mesuring current with pic
    By mitchf14 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 4th December 2008, 08:06
  4. Measure cable length with a PIC?
    By Kamikaze47 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 15th July 2007, 18:45
  5. Replies: 22
    Last Post: - 9th April 2007, 15:25

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