Week #9: (3/19-23) Exam #1, ADCs & Rotary Encoders

Post Reply
rjagodowski
Posts: 2371
Joined: Fri Sep 04, 2015 6:59 pm

Week #9: (3/19-23) Exam #1, ADCs & Rotary Encoders

Post by rjagodowski »

Reminder that your first exam (Stoplight Project) is due this Friday, 3/23, on or before 11:30 A.M.. Details are here. All documentation and demonstrations must be done by the deadline or late penalties will be applied.

This week we're going to discuss two specific peripheral components: the ADC0831 which we will use to convert an Analog voltage to an 8-bit digital quantity, and the Rotary Encoder which is commonly used to either measure rotation or used in place of the traditional potentiometer as an input device.

The datasheets for the ADC0831 and Rotary Encoder are attached below.
ADC0831_Datasheet.pdf
(153.85 KiB) Downloaded 135 times
27805-RotaryEncoderDataSheet.pdf
(239.05 KiB) Downloaded 140 times
NOTE: EET-260 Students who are not currently enrolled in EET-250, the discussion that follows relates to an application of the ADC chip used in their lab circuits.

The ADC chip outputs a serial 8 bit digital value for an applied analog input. This chip is used for many of the exercises in the EET-250 Control System Theory Process Control experiments. It's important to have a good understanding of how this chip functions for effective troubleshooting of those circuits. We will discuss the function of each of the pins on this 8-pin DIP IC. Special emphasis will be placed on the REF and VIN- pins to show who they can be used to get maximum resolution out of this chip.

Here is the Incubator Circuit you will build and test in lab which uses the ADC0831:
Here is the annotated discussion from Chapter 6 in the Process Control Text from Parallax which explains the Signal Conditioning needed to get maximum useful resolution from the ADC0831. The signal conditioning, scaling and span topics discussed here are usually required of most ADC applications.
The Rotary Encoder:

The rotary encoder is commonly used in many applications now which used to use a potentiometer. The rotary encoder outputs a binary signal as the shaft is rotated. Unlike a potentiometer, the rotary encoder does not have any stops associated with its travel, so it can rotate indefinitely. It is bidirectional. The rotary encoder is connected to a microcontroller to interpret the rotary encoder's output and then act on its value.

Here's a link to State Electronics - Optical and Mechanical Rotary Encoders. Many of these operate by generating a quadrature signal. Here's a brief discussion on Encoder Measurements from National Instruments.com. For your convenience, a pdf of the NI tutorial is attached here as well:
NI-Tutorial-Encoder Measurement_7109-en.pdf
(267.93 KiB) Downloaded 137 times
Post Reply

Return to “EET-260 Lecture”