Ds51557b page 8 2005 microchip technology inc picdem

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: tice what happens to the motor. • Move the jumper to TEMP (J4). Blow on the temperature sensor located on the top left corner of the board. Note what happens to the number displayed on the LCD. • Move the jumper back to POT1. Move the jumper from N2 (J1) to D0 (J14). Watch what happens to the intensity of LED D0 as you turn the potentiometer. DS51557B-page 8 © 2005 Microchip Technology Inc. PICDEM™ Mechatronics QUICK BOARD SETUP TM FIGURE 1-1: © 2005 Microchip Technology Inc. DS51557B-page 9 PICDEMTM Mechatronics Demo Board User’s Guide 1.4 PICDEM™ MECHATRONICS DEVELOPMENT KIT CONTENTS The PICDEM™ Mechatronics Development Kit contains the following items: 1. 2. 3. 4. 5. The PICDEM™ Mechatronics Printed Circuit Board (PCB) with motors Pre-programmed PIC16F917 PICmicro® device 10 wire jumpers 8 2-pin shunts CD-ROM including: • PICDEM™ Mechatronics User’s Guide • Workshop-in-a-Box presentation for training students on the board (speaker notes included) • Data sheets for the PIC16F91X, PIC16F685/687/689/690 and motors • Application notes and other technical documentation 6. Sample kit including a PIC16F690 and PIC12F509 device 7. Microchip screwdriver 8. Registration Card 1.5 PICDEM™ MECHATRONICS LAYOUT The PICDEM™ Mechatronics is shown in Figure 1-2. A PIC16F917 microcontroller is populated in the 40-pin socket, in which 22 out of the 36 available I/O pins are dedicated connections to several components on the board. The remaining 14 pins are available for the user to connect to the other components on the board, using the provided jumpers wires. The dedicated connections connect to the following components: • Switch 1 – 1 pin: MCLR • LCD – 17 pins: VLCD1, VLCD2, VLCD3, COM0, COM1, COM2, COM3, SEG0, SEG1, SEG2, SEG3, SEG6, SEG11, SEG16, SEG21, SEG22, SEG23 • In-Circuit Serial Programming™ Connector – ICSPDAT, ICSPCLK, MCLR • RS-232 COM port – 2 pins: RX, TX A 20-pin socket is provided and is compatible with 8/14/20-pin Flash-based microcontrollers. A PIC16F690 microcontroller is provided to use in the 20-pin socket, in which 5 out of the 18 available I/O pins are dedicated connections to several components on the board. The remaining 13 pins are available for the user to connect to the other components on the board using the provided jumper wires. The dedicated connections connect to the following components: • Switch 1 – 1 pin: MCLR • In-Circuit Serial Programming (ICSP™) Connector – ICSPDAT, ICSPCLK, MCLR • RS-232 COM port: RX, TX Note: Only one microcontroller should be loaded into the board at any given time. Dedicated pins are indicated by a white box enclosing the pin designation next to each socket. Pay close attention to this designation, as the functionality of the dedicated pins are affected by the circuitry these pins are connected to. It is recommended that you use only the pins not designated as dedicated connections in your design. The remaining components on the board must be connected to the microcontroller using the provided wire jumpers. The jumpers connect between the headers on either side of the microcontroller and the header pins next to the respective components on the board. The components on the board are labeled in Figure 1-2. DS51557B-page 10 © 2005 Microchip Technology Inc. © 2005 Microchip Technology Inc. 11 10 9 12 1 2 16 13 4 17 14 3 15 22 18 21 19 20 19. 20. 21. 22. 18. 16. 17. 15. 14. 7. 8. 9. 10. 11. 12. 13. 6. 4. 5. 1. 2. 3. 40-pin socket 20-pin socket On-board voltage regulator and power connections 8 LEDs 39 segment LCD connected to 14 pins on the 40-pin socket RS-232 socket and associated hardware Temperature sensor Light sensor 2 potentiometers 32.768 kHz crystal 4 tactile switches In-Circuit Debugger (ICD) connector In-Circuit Serial Programming (ICSP™) connector Over-current protection circuit with Reset switch 4 half-bridge MOSFET drives with associated MOSFET drivers and logic Current sense for output stage Back Electromagnetic Force (EMF) sense Optical Interrupter for detecting the speed of the brushed DC motor Brushed DC motor Stepper motor Drive screw terminals 9 VDC battery FIGURE 1-2: 8 7 6 5 Legend: PICDEM™ Mechatronics PICDEM MECHATRONICS DEMO BOARD HARDWARE DS51557B-page 11 PICDEMTM Mechatronics Demo Board User’s Guide The reasons for requiring you to use the provided jumpers to connect components to the microcontroller are three-fold. 1. You will gain knowledge and experience by physically connecting components to the microcontroller. 2. There are more peripherals than pins on the microcontrollers so that you can do more with the board. 3. Should you choose to use the board to experiment on your own, the board allows you the flexibility to do so. You can try experimenting with peripherals not covered in the projects in Chapter 2. “Example Projects”. 1.6 REQUIRED TOOLS One of the following programming tools is needed in order to complete the projects in the next chapter: • PICkit™ 2 Microcontroller Programmer (Part# DV164120)...
View Full Document

This note was uploaded on 01/29/2014 for the course AA AA taught by Professor Aa during the Winter '10 term at ENS Cachan.

Ask a homework question - tutors are online