Web Analytics
Datasheet
Teiledatenblatt > Microcontroller, MCU IC > Microchip > PIC16F707-I/ML Datenblatt-PDF > PIC16F707-I/ML Anwendungshinweis Seite 1/8
PIC16F707-I/ML
€ 2.06
Preis von AiPCBA

PIC16F707-I/ML Anwendungshinweis - Microchip

  • Hersteller:
    Microchip
  • Kategorie:
    Microcontroller, MCU IC
  • Fallpaket
    QFN-44
  • Beschreibung:
    MCU 8Bit PIC16 PIC RISC 14KB Flash 2.5V/3.3V/5V 44Pin QFN EP Tube
Aktualisierte Uhrzeit: 2025-06-17 06:51:43 (UTC+8)

PIC16F707-I/ML Anwendungshinweis

Seite:von 8
PDF herunterladen
Neu laden
herunterladen
2010 Microchip Technology Inc. DS01171C-page 1
AN1171
INTRODUCTION
This application note describes the use of the
Capacitive Sensing Module (CSM) present on all
PIC16F72X devices. The CSM simplifies the amount of
hardware and software setup needed for capacitive
sensing applications. Only the sensing pads on the
PCB need to be added. It is recommended that
application note AN1101, “Introduction to Capacitive
Sensing” be read in order to understand the capacitive
sensing concepts.
CAPACITIVE SENSING MODULE
The CSM allows the user to design a capacitive
sensing system without an external oscillator circuit.
The CSM has its own software-controlled oscillator. It
can also monitor up to 16 inputs. In a typical
application, the CSM is directly attached to pads on a
PCB and covered by an insulating material. When the
insulating material above a pad is touched by the user’s
fingertip, the capacitance of the pad increases, thus
causing a frequency shift in the CSM. For more
information on the CSM hardware, please refer to the
device data sheet.
This module simplifies the software needed for
capacitive sensing: it is only necessary to initialize a
few registers and then set the appropriate method of
measuring the change in frequency.
MODULE INITIALIZATION
To initialize the CSM, the appropriate cap sense inputs
must be initialized as analog inputs. Then, the CSM
registers are set, as shown in Example 1.
EXAMPLE 1: SETUP OF THE CAPACITIVE SENSING MODULE
FREQUENCY MEASUREMENT
Once these registers are set, the module will start oscil-
lating. Now, the appropriate method of measuring the
frequency needs to be set. There are several methods
that can be applied:
Use Timer0 as a timer resource for the CSM.
Use Timer2 as a timer resource. Timer2 has a
greater flexibility in defining the time base by
using PR2 to set the desired time base.
Use the WDT wake from Sleep event as the time
base.
FREQUENCY MEASUREMENT:
TIMER1 GATE
All of these methods use the Timer1 gate input. Timer1
will act as a counter; it will increment at every rising
edge of the Cap Sensing Module output frequency. The
time base selected will start and stop the counter. The
user can then read the value on Timer1, which would
be a measure of the oscillator frequency. It is recom-
mended to use Timer1 Gate in One-Shot mode to
measure the full-cycle length of the chosen time base.
Author: Enrique Aleman
Microchip Technology Inc.
TRISA = 0x30;
ANSELA = 0x30; // CPS7, CPS6 initialized as analog inputs
TRISB = 0x3F;
ANSELB = 0x3F; // CPS0-CPS5 initialized as analog inputs
TRISD = 0xFF;
ANSELD = 0xFF; // CPS8-CPS15 initialized as analog inputs
CPSCON0 = 0x8C; // Cap sense on, high range oscillator,
CPSCON1 = 0x00; // Cap sense channel input 0 is selected
How To Use The Capacitive Sensing Module (CSM)

PIC16F707-I/ML Datenblatt-PDF

PIC16F707-I/ML Datenblatt PDF
Microchip
268 Seiten, 2952 KB
PIC16F707-I/ML Benutzerreferenzhandbuch
Microchip
2 Seiten, 122 KB
PIC16F707-I/ML Anderes Datenblatt
Microchip
19 Seiten, 279 KB
PIC16F707-I/ML Anwendungshinweis
Microchip
8 Seiten, 252 KB
PIC16F707-I/ML Notizdatei
Microchip
2 Seiten, 111 KB
PIC16F707-I/ML Andere Referenzen
Microchip
4 Seiten, 162 KB

PIC16F707 Datenblatt-PDF

PIC16F707
Datenblatt PDF
Microchip
40/44Pin, Flash Microcontrollers with nanoWatt XLP and mTouch™ Technology
PIC16F707-I/PT
Datenblatt PDF
Microchip
MCU 8Bit PIC16 PIC RISC 14KB Flash 2.5V/3.3V/5V 44Pin TQFP Tray
PIC16F707-I/P
Datenblatt PDF
Microchip
MCU 8Bit PIC RISC 14KB Flash 2.5V/3.3V/5V 40Pin PDIP Tube
PIC16F707-I/MV
Datenblatt PDF
Microchip
MCU 8Bit PIC16 PIC RISC 14KB Flash 2.5V/3.3V/5V 40Pin UQFN EP Tube
PIC16F707-I/ML
Datenblatt PDF
Microchip
MCU 8Bit PIC16 PIC RISC 14KB Flash 2.5V/3.3V/5V 44Pin QFN EP Tube
PIC16F707-E/P
Datenblatt PDF
Microchip
MCU 8Bit PIC16 PIC RISC 14KB Flash 2.5V/3.3V/5V 40Pin PDIP Tube
PIC16F707T-I/PT
Datenblatt PDF
Microchip
MCU 8Bit PIC16 PIC RISC 14KB Flash 2.5V/3.3V/5V 44Pin TQFP T/R
PIC16F707-E/PT
Datenblatt PDF
Microchip
MCU 8Bit PIC16 PIC RISC 14KB Flash 2.5V/3.3V/5V 44Pin TQFP Tray
PIC16F707T-I/ML
Datenblatt PDF
Microchip
MCU 8Bit PIC16 PIC RISC 14KB Flash 2.5V/3.3V/5V 44Pin QFN EP T/R
PIC16F707-E/ML
Datenblatt PDF
Microchip
MCU 8Bit PIC16 PIC RISC 14KB Flash 2.5V/3.3V/5V 44Pin QFN EP Tube
Datenblatt-PDF-Suche
Suche
100 Millionen Datenblatt-PDF, aktualisieren Sie mehr als 5.000 PDF-Dateien pro Tag.
Dokumentation beziehen: PIC16F707 Datenblatt PDF
Kontakt online
Bonnie - AiPCBA Sales Manager Online, vor 5 Minuten
Ihre E-Mail *
Nachricht *
Senden