News:

Let's find out together what makes a PIC Tick!

Main Menu

Device current consumption, how to

Started by TimB, Mar 01, 2021, 09:36 PM

Previous topic - Next topic

top204

There was certaintly no offence taken Hal.

I had forgotten about taking things out of the house to read. I am now a virtual prisoner in the house, since my injury, and on the computer all the time, so "real life" did not come into my thought pattern when I wrote my thread. :-)

I have always loved books, and reading technical books has always been my way of relaxing, as well as reading the original Paddington Bear book from the 1950s and the Wombles. LOL I once read "The Wind in the Willows" at bedtime and it was a beautiful book to read, but the author had a tendency to write too many words in a sentence, so it was a little boring sometimes. I don't mean reading them was I was a boy, I mean a few years ago. :-)

It would be excellent to get the manuals in print, but it costs too much and, unfortunately, physical books are becoming a thing of the past, which is a very sad loss to humanity, especially in the future, when all the digital stuff has vanished. :-( Imagine in a 1000 years.... Very few, if any, books will be available from the 21st century onwards because virtually everything now is in digital format.

m.kaviani

dear Tim

In my opinion, it's better to use an opamp instrument amplifier. I did it before with x1000 gain and make 2.4 v from 24mV.
with a single tl04 quad opamp and +5/-5 volt. if you want to measure AC voltage or current use a tl0431 2.5v voltage reference.
then give the output to the PIC.
this sample circuit has x100 scale and adjustable Vref(250mV offset during the test). the output is 350mV if you minus 250mV the result is 100mV.
the input voltage is 1mV.

m.kaviani

in addetional