首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 嵌入式系统 > PIC16C74及其外围设备的照顾和保养

PIC16C74及其外围设备的照顾和保养

资料介绍
The PIC16C74 is one of the latest mid-range microcon-trollers from Microchip Technology Inc. In this article we
will be addressing a few of the new features and
peripherals of this new part. The main focus will be on
the A/D (Analog-to-Digital) Converter, the SCI (Serial
Communication Interface), and the PWM (Pulse Width
Modulator). Our intention is to give you a small program
that initializes these peripherals as well as exercises
them. A schematic is provided. The PICDEM
TM
2 board
from Microchip will run this program. The second trim-pot does not exist on the PICDEM 2 board, so the sec-ond A/D value may float around. The second trimpot is
only used to show a method of changing A/D input pins.
If you are using the PICDEM 2 board, then the LED and
a current limiting resistor must be connected to the
PWM output. When the program is run, the RS-232 ter-minal will display two A/D values. The brightness of an
LED is adjusted using pulse width modulation. The duty
cycle is determined by the trimpot setting.

M FACT003
Care and Feeding of the PIC16C74 and Its Peripherals
A/D Converter Mysteries
Author: Robert Angelo
The A/D converter and its eight input channels will be
Microchip Technology Inc.
our first topic. Setting up the A/D converter involves two
special function registers:
ADCON0
The PIC16C74 is one of the latest mid-range microcon-
PIC16C74及其外围设备的照顾和保养
本地下载

评论