Sensors and Analog inputs

What sensors get plugged into the analog inputs as oppsosed to the digital in/out? What can you plug in to analog inputs?

Analog sensors return a change in resistance to the cortex. These are sensors that can theoretically return an infinite range of values, but these values get converted to an integers using an analog to digital converter. Analog sensors typically have only one PWM wire coming from them (some have more, and some digital sensors have one wire as well). Digital sensors do not return an infinite set of values, but rather, a finite set. Here is the list:

Analog: Light sensor, line sensor, potentiometer, acclerometer, gyroscope.

Digital: Bumper switch, limit switch, encoder, ultrasonic rangefinder.

Okay! Thanks man :slight_smile: