Go Down

Topic: Ohm Meter Issue (Read 1 time) previous topic - next topic

ricadam

#5
Nov 08, 2012, 03:26 am Last Edit: Nov 08, 2012, 07:55 am by ricadam Reason: 1
thats correct

RIDDICK

then u can just use analogRead()..
when it reads 0 no removable station is connected...
when it reads x (x>0) then a removable station with resistance Rremo=(Vref-Vsen)/Isen (where Vsen=(x*Vref)/1024 and Isen=Vsen/(10kR))...

u can configure Vref via this:
http://arduino.cc/en/Reference/AnalogReference?from=Reference.AREF
-Arne

ricadam


then u can just use analogRead()..
when it reads 0 no removable station is connected...
when it reads x (x>0) then a removable station with resistance Rremo=(Vref-Vsen)/Isen (where Vsen=(x*Vref)/1024 and Isen=Vsen/(10kR))...

u can configure Vref via this:
http://arduino.cc/en/Reference/AnalogReference?from=Reference.AREF


Ok so if I set Vref to 5v and instead of a 10K known resistance I have say a 3.3K would that work?

RIDDICK

Quote

Ok so if I set Vref to 5v and instead of a 10K known resistance I have say a 3.3K would that work?

yup - sure - it's kirchoff's law... no electron ever violates it...  :)
http://en.wikipedia.org/wiki/Kirchoff%27s_circuit_laws
-Arne

Go Up