Hi everyone,
I have a project that I'm doing for a friend. It will read two potentiometers and set a two different times to turn one or two lights on or off.
Right now, I'm playing with two 10K pots from Radio Shack with an 18X in the Picaxe demo board. First, are the freaky readings I'm getting when I use Readadc10 due to the serial download cable as mentioned in the manual? (I will try the USB when I can find it.)
Second, neither of these two pots results in a 255 reading. They both go to zero just fine, but the closest I can get to the top is about 252. Is this because I'm running off of the 3xAA battery pack or just crappy pots?
Third, the "dead zone" is different on both of them. One has about 10° before the ADC starts falling and the other has about 30°. Once again, crappy pots?
Lastly, what do I need to spec for the part to get full range out of the pots I will eventually order? I may be making five or six of these, so I can't really do a high precision pot, but is there a way to order them more "uniform"? Is there a cheaper hardware solution to this (like a trim pot)?
Thanks! This is really fun, but frustrating at the same time.
I have a project that I'm doing for a friend. It will read two potentiometers and set a two different times to turn one or two lights on or off.
Right now, I'm playing with two 10K pots from Radio Shack with an 18X in the Picaxe demo board. First, are the freaky readings I'm getting when I use Readadc10 due to the serial download cable as mentioned in the manual? (I will try the USB when I can find it.)
Second, neither of these two pots results in a 255 reading. They both go to zero just fine, but the closest I can get to the top is about 252. Is this because I'm running off of the 3xAA battery pack or just crappy pots?
Third, the "dead zone" is different on both of them. One has about 10° before the ADC starts falling and the other has about 30°. Once again, crappy pots?
Lastly, what do I need to spec for the part to get full range out of the pots I will eventually order? I may be making five or six of these, so I can't really do a high precision pot, but is there a way to order them more "uniform"? Is there a cheaper hardware solution to this (like a trim pot)?
Thanks! This is really fun, but frustrating at the same time.