Microchip Technology DM300018 Benutzerhandbuch

Seite von 115
Introduction
© 2005 Microchip Technology Inc.
DS51558A-page 11
1.4.6
Reset Switch
This pushbutton switch (S1) is tied to the MCLR pin on the dsPIC30F device. It is used 
to reset the device regardless of the socket used.
1.4.7
Device Clocking
Device clocking can be provided by on-chip RC oscillators, on-board crystal oscillators 
or external sources. Crystal (Y1) provides a 7.3728 MHz oscillator for the motor control 
device. Crystal (Y2) provides a 7.3728 MHz oscillator for the general purpose and 
sensor devices. 
1.4.8
Analog and Digital Inputs
The dsPICDEM™ 2 provides the following sensors that can be used to provide input 
signals to your application program:
• Temperature sensor (U5) 
• Potentiometer (R15)
• Pushbutton switches (S5 and S6)
1.4.8.1
TEMPERATURE SENSOR
The temperature sensor is a TC1047A that provides an analog signal to analog 
channel AN3 in either the general purpose or motor control device via header H10.
1.4.8.2
ANALOG POTENTIOMETER
A 5-kOhm potentiometer provides an analog signal to analog channel AN2 in either the 
general purpose or motor control device via header H13. The voltage source to the 
potentiometer is provided by VR1, through a low-pass filter. VR1 is the main voltage 
regulator for all components on the development board.
1.4.8.3
PUSHBUTTON SWITCHES
Two pushbutton switches, S5 and S6, are connected to external interrupt pins INT0 and 
INT1, respectively, on the dsPIC30F device via headers H6 and H7, respectively. 
1.4.9
Digital Outputs
The dsPICDEM™ 2 provides the following output devices that can be used to display 
output information from your application program:
• LED Indicators (D3 and D4) 
• LCD Display (LCD1/LCD2)
1.4.9.1
LED INDICATORS
LEDs D3 and D4 are connected to port pins RB0 and RB1, respectively on the installed 
dsPIC DSC device via header H12. The LED anodes are tied to VDD through a 1.2K 
resistor.
1.4.9.2
LCD DISPLAY
A 2 x 16 character dot matrix LCD display is provided on the development board. The 
installed dsPIC30F device writes characters to the LCD via the clock (SCK1) and data 
(SDO1) pins on the device’s SPI1 module.
1.4.10
External Connections
Prototyping areas H8 and H9 provide external connections from the motor control and 
general purpose devices, respectively. These connections allow you to use hardware 
and test equipment not provided on the dsPICDEM™ 2 board.