User manual

Table Of Contents
PICDEM
TM
LAB DEVELOPMENT
BOARD USERS GUIDE
© 2009 Microchip Technology Inc. DS41369A-page 75
Chapter 5. Analog-to-Digital Converter Peripheral Labs
5.1 INTRODUCTION
The Analog-to-Digital Converter (ADC) peripheral allows conversion of an analog input
signal to a 10-bit binary value representing that signal so that it can be used in firmware.
The following labs cover some of the fundamental features of the Analog-to-Digital
Converter (ADC) peripheral found on the PIC16F690 including some unique
applications.
5.2 ADC LABS
The labs that will be implemented in this chapter are:
Lab 1: Simple ADC
Lab 2: Audible Temperature Sensor
5.2.1 Reference Documentation
All documentation is available on the PICDEM™ Lab Development Kit accompanying
CD-ROM
PIC16F690 Data Sheet (DS41262)
- Section 4: I/O Ports
- Section 5: Timer0 Module
- Section 9: Analog-to-Digital Converter (ADC) Module
Timers: Timer0 Tutorial (Part 1) (DS51628)
Timers: Timer0 Tutorial (Part 2) (DS51702)
“Introduction to MPLAB
®
IDE and HI-TECH C
®
PRO for the PIC10/12/16 MCU
Family Lite Mode Compiler Tutorial” (DS41322)
5.2.2 Equipment Required
To complete the labs in this section, the following components are required:
1. 1 – 100
Ω resistor
2. 4 – 470
Ω resistors
3. 1 – 1K
Ω resistor
4. 1 – 10 K
Ω resistor
5. 1 – 100 K
Ω potentiometer
6. 1 – 10 K
Ω NTC Thermistor
7. 4 – Light Emitting Diodes
8. 1 – IRFD010 N-Channel MOSFET
9. PIC16F690 populating socket U2
10. Assorted jumper wires