Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC10F220T-I/OT 数据手册 > PIC10F220T-I/OT 产品描述及参数 1/4 页
PIC10F220T-I/OT
¥ 3.667
PIC10F220T-I/OT数据手册
Page:
of 4 Go
若手册格式错乱,请下载阅览PDF原文件
2004 Microchip Technology Inc. DS91083A-page 1
TB083
INTRODUCTION
The PIC10F204/206 microcontrollers have a built-in
comparator which can be utilized to detect different
discrete voltage levels. This technical brief describes
one technique for detecting two or more such voltages
as different trip points.
THEORY
This technique takes advantage of the properties of an
RC network. An RC network, which is charged up to a
known voltage, will have a voltage decay governed by
an RC time constant, as shown in Equation 1.
EQUATION 1:
If the voltages and values of R and C are known, then
the time t may be determined by re-evaluating the
equation shown in Equation 2.
EQUATION 2:
By knowing the time required for a given VOUT, a look-
up table, (see AN556, “Implementing A Table Read”), in
firmware, equates a given time to a given voltage.
Using discrete times of interest, trip points are created
which a microcontroller acts upon.
HARDWARE TECHNIQUE
Pins GP0/CIN+ and GP1/CIN-, of the PIC10F204/206
microcontrollers, can be switched between Digital
mode and Analog mode under firmware control. By
placing a known RC network on GP0/CIN+ and the
voltage to be sampled on GP1/CIN-, firmware can
detect discrete voltages.
Application firmware sets pin GP0/CIN+ to Digital mode
and applies a PWM signal to the pin to charge up the
RC network to a known voltage higher than the sample
voltage to be detected. Once the RC network is
charged, pin GP0/CIN+ is switched to Analog mode
and a comparator read made. By starting a timer and
keeping track of the time interval for the comparator to
trip, a time is determined which can be referenced to a
look-up table in firmware for various voltage values.
The size of the look-up table should be adjusted to
cover the voltage regions of interest.
Application firmware will take different actions at
different trip points such as providing a warning and
then a shutdown.
In order to switch pin GP0/CIN+ from Analog mode to
Digital mode and back again, use the CMPON control
bit in the CMCON0 register (CMCON0<3>). By turning
the comparator on, the pin is set to Analog mode. By
turning the comparator off, the pin is set to Digital
mode.
Author: Roy Sasaki
Michael Waldron
Microchip Technology Inc.
VOUT = VIN *
e
-t/RC
VOUT = Volts, R = Ohms, t = Seconds, VIN = Volts,
C = Farads
t = -1*RC * In (VOUT/VIN)
Note: The sampled voltage is assumed to be
stable during the sampling period. Users
should setup their firmware and look-up
tables to search for time ranges rather
than exact time intervals to adjust for
sample voltages which drift.
Detecting Multiple Voltages Using the
PIC10F204/206 Comparator

PIC10F220T-I/OT 数据手册

Microchip(微芯)
88 页 / 1.33 MByte
Microchip(微芯)
137 页 / 5.82 MByte
Microchip(微芯)
18 页 / 0.43 MByte
Microchip(微芯)
80 页 / 1.57 MByte
Microchip(微芯)
4 页 / 0.1 MByte
Microchip(微芯)
3 页 / 0.54 MByte
Microchip(微芯)
1 页 / 0.13 MByte

PIC10F220 数据手册

Microchip(微芯)
MICROCHIP  PIC10F220T-I/OT  微控制器, 8位, 闪存, AEC-Q100, PIC10F2xx, 8 MHz, 384 Byte, 16 Byte, 6 引脚, SOT-23
Microchip(微芯)
MICROCHIP  PIC10F220-I/P  微控制器, 8位, 闪存, AEC-Q100, PIC10F2xx, 8 MHz, 384 Byte, 16 Byte, 8 引脚, DIP
Microchip(微芯)
Microchip(微芯)
8位 MCU微控制单元, PIC10 Family PIC10F22x Series Microcontrollers, 8 MHz, 384 Byte, 16 Byte, 6 引脚, SOT-23
Microchip(微芯)
PIC 8MHz 闪存:256K@x12bit
Microchip(微芯)
MICROCHIP  PIC10F220T-I/MC  微控制器, 8位, PIC10F2xx, 4 MHz, 384 Byte, 16 Byte, 8 引脚, DFN
Microchip(微芯)
PIC 8MHz 闪存:256K@x12bit
Microchip(微芯)
PIC10F2xx 8 位基线 PIC® 微控制器**PIC10F2xx** 是引进的第一个 PIC10F 系列,且基于 Microchip 的原始基线机构。 它可提供高达 5 MIP、无中断、多达 0.75KB 程序存储器和多达 24 字节的数据存储器。 板上 RC 振荡器的所有 PIC10F2xx MCU 功能的精确度为 ±1%,某些变体包括比较器、8 位 ADC 和 mTouch™ 输入通道。 8 引脚 PDIP,其对开发非常有用,还提供 2x3 DFN 封装。 支持通过使用 ICD 接口管座 AC162059 (RS 623-1020) 进行调试。### PIC10F 微控制器PIC10F 微控制器 (MCU) 是 Microchip 扩展系列 8 位 MCU 的最少引脚数变体。 这些超低成本设备可使工程社区在传统缺乏类似设备的应用中使用 MCU。 6 引脚 SOT23 封装是主要考虑成本、空间和功能时的理想选择。
Microchip(微芯)
8位微控制器 -MCU 384B Flash 16B RAM 4 I/O 8bit ADC
Microchip(微芯)
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件