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

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
The circuit for the above layout is shown below:
Open the Amicus IDE and type in the following program, or copy and paste from here:
' Demonstrate a switch input using a pull-down resistor
' Display state of the input pin RB4 when a push-button switch is operated
'
Click the toolbar icon
Amicus18’s microcontroller.
Open the Serial Terminal by clicking on the toolbar, and open a connection to the Amicus18. Use the
default baud of 9600. The serial terminal’s window should show the text “Button = 0”. This is dis-
playing the state of the pin where the button is attached. Press the button and the test will change to
“Button = 1”:
Crownhill AssociatesLimited 2009 - All Rights Reserved
Symbol Switch = RB4
Input Switch
While 1 = 1
Wend
HRSOut
DelayMS 500
"Button =
Compile and Program
Amicus18 Companion Shield
Version 1.0
", Bin1 Switch, 13
Button Released
Button Pressed
PortB
Power
GND
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
' Button is connected to RB4 (PortB.4)
' Make the button pin an input
' Create an infinite loop
' Delay for half a second
' Do it forever
or press F10 to build the code and place it into the
22K
LED
47
Ω
Ω
Button
Push
25
Pull-Down
' Display the input state
Resistor
Power
Vin
GND
GND
5V
3V3
Rst
06-10-2009

Related parts for 1818281+1818282