Newbie level 4
i'm new to pic18f4580 microcontroller and currently doing digital ohm meter problem. by any chance, can u guys help me?? i'm totally clueless about the program that needed to do
Welcome to the forum Amin!
It's not exactly clear what you're trying to build, so you'll have to elaborate on that before we can give you any useful advice. Where exactly are you stuck?
first form the circuit using some op amps and measure voltage output of op amp using pic controller keep one resistance as unknown value and remaining resistor as known value by using op amp equation you will find the unknown resistance value easily
What is the range of your measurement
Ohms, milliohms, Kohms,Mohms ?
Give some answer if you want further help...
for example , if you have a current source of 1mA..maximum measure in ohm, will be 5000 ohms
with an ADC 10 bits 5V
some MCU like 18F46K22 have current source possibility, adjust by software ....
i gave you another way
RC Time measure ...