Quote:
Originally Posted by EricVanWyk
If it looks like you are getting noise, you probably are - I'm betting that your code is just fine.
Wire one end of the pot to +5V, the other end to ground, and the middle to the signal input. These should be labeled on the shell for the analog breakout.
|
The 5v voltage regulator does have a certain degree of noise.
On the 2009 Analog Breakout, I measured about +-15mv of variation.
Granted, the regulator was changed to a linear regulator for 2010, so the noise should be less. However, there's a lot of switcher power supplies on the robot (I count 5, excluding any motor controllers). There's probably a lot of noise on the main supply because of this.