DM164120-1 Microchip Technology, DM164120-1 Datasheet - Page 36

BOARD DEMO PICKIT 2 LP COUNT

DM164120-1

Manufacturer Part Number
DM164120-1
Description
BOARD DEMO PICKIT 2 LP COUNT
Manufacturer
Microchip Technology
Type
MCUr
Datasheet

Specifications of DM164120-1

Contents
3 Boards (1 Populated, 2 Bare)
Processor To Be Evaluated
PIC16F690
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC16
Silicon Core Number
PIC16F
Silicon Family Name
PIC16F6xxx
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
28-pin PIC16C, 16F, 18C, 18F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM164120-1
Manufacturer:
Microchip Technology
Quantity:
135
Low Pin Count Demo Board User’s Guide
DS51556A-page 32
Lesson 11 adds a Moving Average Filter to the Analog-to-Digital code in Lesson 4.
Twisting the potentiometer changes the value read by the Analog-to-Digital. The filtered
value is then sent to the LED display. The filter only runs every 0.2 seconds to slow
down the display changes and make it visible. The display appears to count from the
old potentiometer position to the new position.
The filter averages the last 8 readings. Choosing a power of two for the number of
samples allows division by simple rotates instead of longhand.
Rather than summing the array every time, it’s faster to keep a running sum, then
subtract out the oldest value in the queue and adding in the new value.
© 2005 Microchip Technology Inc.

Related parts for DM164120-1