Chapter 13 Potentiometer
At this point in a standard Instrumentation course, youβve learned about analog to digital converters (ADC). It turns out that the CPX has 8 analog ports hooked up to a 3.3V logic 16 bit ADC. The input range on the ADC is 0 to 3.3V and the output range is 0 to 65536 which is \(2^{16}\) hence 16 bits. In order to get accustomed to the ADC on the CPX, weβre going to do a simple example where we measure the voltage drop across a potentiometer. You can read about potentiometers online if you wish[60]. Basically though, a potentiometer is a variable resistance resistor that changes resistance by turning a knob. The knob changes the connection point of a wire and thus the length of the wire. This in turn changes the resistance. Potentiometers come in all shapes and sizes. Here are some potentiometer examples. Iβve done this lab with a few potentiometer. Ideally youβd like to have the potentiometer hooked up in series with another resistor so that you end up building a voltage divider but itβ possible you can do it without it as shown in the figure below (Courtesy of Kattni Rembor) [38].

In this chapter youβre going to wire up a potentiometer to the CPX and read the voltage across it as you turn the knob.
