EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / pic

pic

|

Microcontroller › PIC › pic

  • This topic has 2 replies, 3 voices, and was last updated 8 years, 11 months ago by Ashutosh Bhatt.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 11, 2011 at 6:12 am #723
    Sonu Saini
    Participant

    hi

    I m using a PIC24 and need to measure the voltage across a battery as well as the current into it.

    The voltage across the battery is done, A/D input at +ve, PIC ground to negative. The problem comes when trying to measure current in, for which I plan to measure the voltage drop across a low value resistor.

    As far as I can figure, my PIC will only measure positive voltage differences.

    thanks

    February 8, 2017 at 1:32 pm #14416
    GANEEV SINGH
    Participant

    Hi there

    You are doing it absolutely right by measuring the voltage drop across a low value resistor. Now this value will help you measure current using ohm's law:

    V=I*R; here, R and V are known to us thus, I can be easily calculated. Make sure to conver the ADC value you get back to its voltage reading by some mathematical operation and then use this V to calculate I.

    Hope this helps :) 

    February 9, 2017 at 6:00 pm #14421
    Ashutosh Bhatt
    Participant

    current sensor modules are also readily available

    or you can build simple I to V convertor using opamp – 741

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • factory device from 2017'ish with web ui - too old to function with Microsoft Edge ? January 14, 2026
  • flexible copper cable January 14, 2026
  • renewed interest in old project I call it WICKED 8 January 14, 2026
  • updating circuit with power on off switching January 14, 2026
  • Steering angle sensor question January 13, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise