intially wen i connected the ckt i got values ranging from 100 to 1024... now wen i am connecting the ckt (the same one) i am getting variations 4m 150 to 400 range... can anyone tell me y this happens???
here is the code i used...
What is the value of your pot? If it is 4 meg-ohms ( I see 4m in your post) then that is much too high as the impedance of the input of the Arduino will act like a voltage divider thus lowering your readings. The link you attached shows using a 10k pot and that should work fine.
i am using a 10k pot... voltage source i am using is the one in the arduino... 5V port...
I would also like to know if something is faulty... voltage source isnt faulty chked it with a multimeter... any voltage i give should give a variation between 0- 1024 rite??
What is the value of your pot? If it is 4 meg-ohms ( I see 4m in your post)
I think he's trying to say "from" - it must be some new abbreviation - it's everywhere I'd expect "from" to be. =)
A note to the OP: be careful about abbreviating common words. A lot of the abbreviations you might have a tendency to use when typing an SMS message, for example, will conflict with known abbreviations in the electronics world.
A lot of the abbreviations you might have a tendency to use when typing an SMS message, for example, will conflict with known abbreviations in the electronics world.
Not to mention confuse old fuddy duddies like me.
If I said you were sick would that be good???
Apparently it depends on how old you are? :-?