Dumitru Stama mirosat.com> writes: > > > 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 Dumitru, There are high-side current sensors available, e.g. MAX4374 and many others. http://www.google.com/search?q=high%2Dside+current+sensor Sergey Dryga http://beaglerobotics.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist