M I K R O E L E K T R O N I K A S O F T W A R E A N D H A R D W A R E S O L U T I O N S F O R T H E E M B E D D E D W O R L D
1
17
7
page
dsPICPRO
USB
3
dsPICPRO3 User
’
s Manual
MikroElektronika
Development tools
PP
UU
SS
HH
BB
UU
TT
TT
OO
NN
SS
WW
IITT
CC
HH
EE
SS
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7
RD8
RD9
RD10
RD11
RD12
RD13
RD14
RD15
PORTD low
PORTD high
+5V is connected
+5V and 0V
are disconnected
J11
VCC
VCC
RG15
RC1
RC2
RC3
RC4
RG6
RG7
RG8
MCLR
RG9
Vss
Vdd
RA12
RA13
RB5
RB4
RB3
RB2
RB1
RB0
RC14
RC13
RD0
RD11
RD10
RD9
RD8
RA15
Vss
OSC2
OSC1/CLKI
Vdd
RG2
RG3
RF6
RF7
RF8
RF2
RF3
RB6 RB7
RA9
RA10 AV
d
d
AV
ss
RB8
RB9
RB1
1
Vss
Vdd RB12
RB13
RB14
RB15
RD14
RD15
RF4
RF5
RG13 RG12
RG14
RA7 RA6
RG0
RG1
RF1
Vdd
Vss
RD7 RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
dsPIC30FXXXX
RF0
RB10
RA14
0V is connected
Figure 18.
Buttons schematic
Example of button connection to PORTD low and PORTD high is shown in Fig.18. Jumper
J11 determines whether a button press will bring logical zero or logical one to the appropri-
ate pin.
When the button is not pressed, the pin state is determined by the pull-up or pull-down port
jumpers.
In the example shown in Fig.18, J11 is connected to +5V and a button press will bring log-
ical one to the appropriate pins.