Section 21. 8-bit A/D Converter
Thông tin tài liệu:
Nội dung trích xuất từ tài liệu:
Section 21. 8-bit A/D ConverterM 21 Convertor 8-bit A/D Section 21. 8-bit A/D Converter HIGHLIGHTS This section of the manual contains the following major topics: 21.1 Introduction ..................................................................................................................21-2 21.2 Control Registers .........................................................................................................21-3 21.3 Operation .....................................................................................................................21-5 21.4 A/D Acquisition Requirements .....................................................................................21-6 21.5 Selecting the A/D Conversion Clock ............................................................................21-8 21.6 Configuring Analog Port Pins.......................................................................................21-9 21.7 A/D Conversions ........................................................................................................21-10 21.8 A/D Operation During Sleep ......................................................................................21-12 21.9 A/D Accuracy/Error ....................................................................................................21-13 21.10 Effects of a RESET ....................................................................................................21-13 21.11 Use of the CCP Trigger ..............................................................................................21-14 21.12 Connection Considerations ........................................................................................21-14 21.13 Transfer Function .......................................................................................................21-14 21.14 Initialization ................................................................................................................21-15 21.15 Design Tips ................................................................................................................21-16 21.16 Related Application Notes..........................................................................................21-17 21.17 Revision History .........................................................................................................21-18 Note: Please refer to Appendix C.3 or device Data Sheet to determine which devices use this module.© 1997 Microchip Technology Inc. DS31021A page 21-1PICmicro MID-RANGE MCU FAMILY21.1 Introduction The analog-to-digital (A/D) converter module has up to eight analog inputs. The A/D allows conversion of an analog input signal to a corresponding 8-bit digital number. The output of the sample and hold is the input into the converter, which generates the result via suc- cessive approximation. The analog reference voltage is software selectable to either the device’s positive supply voltage (VDD) or the voltage level on the VREF pin. The A/D converter has a unique feature of being able to operate while the device is in SLEEP mode. The A/D module has three registers. These registers are: • A/D Result Register (ADRES) • A/D Control Register0 (ADCON0) • A/D Control Register1 (ADCON1) The ADCON0 register, shown in Figure 21-1, controls the operation of the A/D module. The ADCON1 register, shown in Figure 21-2, configures the functions of the port pins. The I/O pins can be configured as analog inputs (one I/O can also be a voltage reference) or as digital I/O. The block diagram of the A/D module is shown in Figure 21-1. Figure 21-1: 8-bit A/D Block Diagram CHS2:CHS0 111 AN7 110 AN6 101 AN5 100 ...
Tìm kiếm theo từ khóa liên quan:
công nghệ điện tử linh kiện điện tử kỹ thuật mạch điện tử hệ thống điện giáo trình mạch điện tửGợi ý tài liệu liên quan:
-
96 trang 287 0 0
-
BÀI GIẢNG LẬP TRÌNH GHÉP NỐI THIẾT BỊ NGOẠI VI
42 trang 262 2 0 -
Báo cáo thực tập điện tử - Phan Lê Quốc Chiến
73 trang 246 0 0 -
Giáo trình Linh kiện điện tử: Phần 2 - TS. Nguyễn Tấn Phước
78 trang 244 1 0 -
Luận văn: Thiết kế xây dựng bộ đếm xung, ứng dụng đo tốc độ động cơ trong hệ thống truyền động điện
63 trang 238 0 0 -
ĐỒ ÁN TỐT NGHIỆP: THIẾT KẾ HỆ THỐNG CUNG CẤP ĐIỆN CHO NHÀ MÁY SẢN XUẤT GẠCH MEN SHIJAR
63 trang 233 0 0 -
Thiết kế, lắp ráp 57 mạch điện thông minh khuếch đại thuật toán: Phần 2
88 trang 223 0 0 -
Luận văn đề tài : Thiết kế phần điện áp một chiều cho bộ UPS, công suất 4KVA, điện áp ra 110KV
89 trang 193 0 0 -
Báo cáo môn học vi xử lý: Khai thác phần mềm Proteus trong mô phỏng điều khiển
33 trang 184 0 0 -
Luận văn: Thiết kế, xây dựng hệ thống phun sương làm mát tự động
68 trang 183 0 0 -
Giáo trình Mạch điện tử - Trường Cao đẳng nghề Số 20
97 trang 169 0 0 -
BÀI TẬP MÔN KỸ THUẬT MẠCH ĐIỆN TỬ 2_Nhóm 2
4 trang 169 0 0 -
ĐỒ ÁN: THIẾT KẾ HỆ THỐNG CUNG CẤP ĐIỆN CHO NHÀ MÁY CƠ KHÍ TRUNG QUY MÔ SỐ 2
91 trang 163 0 0 -
65 trang 158 0 0
-
Mô hình điện mặt trời cho Việt Nam
3 trang 153 0 0 -
12 trang 152 0 0
-
Luận văn: Thiết kế chiếu sáng đường Lê Hồng Phong sử dụng đèn LED
89 trang 134 0 0 -
Báo cáo bài tập lớn môn Kỹ thuật vi xử lý: Thiết kế mạch quang báo - ĐH Bách khoa Hà Nội
31 trang 133 0 0 -
27 trang 131 0 0
-
Đồ án môn học Thiết kế mạng điện cho phân xưởng sửa chữa cơ khí
10 trang 130 0 0