1818281+1818282 Microchip Technology, 1818281+1818282 Datasheet - Page 22

no-image

1818281+1818282

Manufacturer Part Number
1818281+1818282
Description
EDF / AMICUS18 + SHIELD, BUNDLE
Manufacturer
Microchip Technology
Type
Development Boardr

Specifications of 1818281+1818282

Kit Contents
Board
Svhc
No SVHC (15-Dec-2010)
Kit Features
Nine 10-bit ADC Inputs, Two 10-bit PWM Outputs, Two Comparators
Mcu Supported Families
PIC18F25K20
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC18
Silicon Core Number
PIC18F
Silicon Family Name
PIC18FxxKxx
Amicus18 Companion Shield
Sensing the Outside World
Interacting with the outside world is always desirable when using a microcontroller, whether it’s choos-
ing a drink in a vending machine or deciding which way a pacman will move. The easiest method of out-
side influence is through the use of a switch or button.
However, there are certain rules that must be observed when adding a switch to a microcontroller’s pin.
When the pin is configured as an input, it can be brought high to 3.3 Volts or pulled low to ground,
floating
however if neither of these states is performed, the pin is neither high or low and this is termed
.
Even if a switch was placed from the microcontroller’s input pin to ground, when the switch is not being
floating
operated the input pin can be high or low (
).
What’s required is a pull-up resistor or a pull-down resistor in order to force a single state when not in
use. A pull-up resistor is a weak resistance from the input pin to the 3.3 Volt line, while a pull-down re-
sistor is a weak resistance from the input pin to ground.
Switch Input (Pulled-Up)
The layout below shows a pull-up resistance:
21
Crownhill AssociatesLimited 2009 - All Rights Reserved
Version 1.0
06-10-2009

Related parts for 1818281+1818282