Hi Dumitru, Will a small value resistor in series do? The voltage across it will be equal to R*I. You will have to watch power dissipation. Best regards Luis -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Dumitru Stama Sent: 31 May 2006 16:55 To: piclist@mit.edu Subject: [EE] Current measurement Hi guys, I have a short question i cannot answer by myself. I want to be able to measure how much current is drawn from my circuit using PIC's ADC and some sensor maybe... Do you happen to know a simple way to do this? I used TL431 as a reference if i am not mistaken to measure how much voltage i still have in the batery and it works really good. I can light up a red led when the voltage is too low but i want to be able to calculate the instant current consumption. Thank you in advance for your time Dumitru Stama ------------------------------------ Live football : http://www.telefootball.com/ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist