background image

EasyPIC

®

6

User manual

A large number of useful peripherals, ready-to-use practical code 
examples and a broad set of add-on boards make MikroElektronika 
development systems fast and reliable tools that can satisfy the needs 
of experienced engineers and beginners alike.

Development system

Summary of Contents for EasyPIC 6

Page 1: ...ful peripherals ready to use practical code examples and a broad set of add on boards make MikroElektronika development systems fast and reliable tools that can satisfy the needs of experienced engine...

Page 2: ...nue to improve our performance to better suit your needs The Microchip name and logo PIC and dsPIC are registered trademarks of Microchip Technology Incorporated in the U S A and other countries All o...

Page 3: ...ICD Hardware In Circuit Debugger 10 5 0 Power Supply 11 6 0 RS 232 Communication Interface 12 7 0 PS 2 Communication Interface 13 8 0 ICD Connector 13 9 0 USB Communication 14 10 0 DS1820 Temperature...

Page 4: ...C microcontrollers High Performance USB 2 0 On Board Programmer Hardware In Circuit Debug ger for step by step debug ging at hardware level PortExpanderprovideseasy I O expansion 2 additional ports us...

Page 5: ...10 DIP switches to enable pull up pull down resistors 11 Port pins pull up pull down mode selection 12 I O port connectors 13 PIC microcontroller sockets 14 Touch panel controller 15 Port expander 16...

Page 6: ...some of the MikroElektronika s compilers installed on your PC there is no need to reinstall the 3 DVK programmer as it will be automatically installed along with compiler installation 6WHS Turn on you...

Page 7: ...ows how to correctly plug a microcontroller Figure 1 shows an unoccupied 40 pin DIP socket Place one end of the microcontroller into the socket as shown in Figure 2 Then put the microcontroller slowly...

Page 8: ...ant manual provided in the EasyPIC6 development system package The 3 DVK programmer windowcontainsseveraloptions for microcontroller settings A number of buttons which will make the programming proces...

Page 9: ...PGM pin selector as shown in Figure 3 3 Jumper J10 position when the PGM line is connected to the RB3 pin Jumper J10 position when the PGM line is connected to the RB4 pin Jumper J10 position when the...

Page 10: ...ne to be executed next is highlighted in blue while the breakpoints are highlighted in red The Run command executes the program in real time until it encounters a breakpoint Figure 4 1 mikroICD Watch...

Page 11: ...on the OFF ON switch respectively CN16 AC DC R55 3K R57 0 22 R56 1K E2 J6 10uF E3 330uF E1 U10 D12 4x1N4007 D13 D14 D15 330uF OFF ON C8 220pF VCC 5V VCC USB MC34063A L2 220uH D7 MBRS140T3 R14 2K2 LD42...

Page 12: ...e PC and peripheral components In order to enable the USART module of the microcontroller to receive input signals with different voltage levels it is necessary to provide a voltage level converter su...

Page 13: ...OSC2 RC0 RC1 RC2 RC3 RD0 RD1 OSC1 GND GND RD7 RD6 RD5 RD4 RC7 RC6 RC5 RC4 RD3 RD2 VCC MCLR RA0 RA1 RA2 RA3 RA4 RA5 RE0 RE1 RE2 VCC RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 DIP40 Figure 7 3 PS 2 connector conn...

Page 14: ...ule Figure 9 1 USB communication disabled default position Figure 9 2 USB communication enabled USB connector VCC MCU VCC MCU X1 8MHz C6 22pF C7 22pF PIC18F4550 OSC2 RC0 RC1 RC2 RC3 VUSB RD0 RD1 OSC1...

Page 15: ...20 is a temperature sensor that uses 1 wire standard for its operation It is capable of measuring temperatures within the range of 55 to 125 C and provides 0 5 C accuracy for temperatures within the r...

Page 16: ...sitions Figure 11 2 The RA0 pin used asA D conversion input VCC MCU VCC MCU VCC MCU J15 R63 220R P1 10K P1 10K X1 8MHz C6 22pF C7 22pF PICxxxx OSC2 RC0 RC1 RC2 RC3 RD0 RD1 OSC1 GND GND RD7 RD6 RD5 RD4...

Page 17: ...rrent varies from 1mA to 20mA depending on the type of LED diode The EasyPIC6 development system uses LEDs with current I 1mA The EasyPIC6 has 36 LEDs which visually indicate the logic state of each m...

Page 18: ...g jumper J24 Just next to the push buttons there is a RESET button which is not connected to the MCLR pin The reset signal is generated by the programmer Figure 13 2 PORTB push button connection schem...

Page 19: ...ins RD4 RD5 RD6 and RD7 Keypad MENU buttons are connected in a similar way to the PORTA buttons The only difference is in the button arrangement The keypad MENU buttons are arranged so as to provide e...

Page 20: ...mode Alphanumeric digits are displayed in two lines each containing up to 16 characters of 7x5 pixels VCC MCU VCC MCU VCC MCU SW6 VCC LCD GLCD BACKLIGHT CN7 VCC MCU X1 8MHz D7 LED LED D6 D5 D4 D3 D2...

Page 21: ...es each containing up to 16 characters of 7x5 pixels VCC MCU VCC MCU X1 8MHz C6 22pF C7 22pF COG D7 RB0 PE INTA PE INTB RB1 D7 COG D6 D6 COG D5 D5 COG D4 D4 D3 D2 D1 D0 R W COG E E COG RS RS VCC MCU G...

Page 22: ...x16 alphanumeric LCD display you cannot use both displays simultaneously Potentiometer P3 is used for the GLCD display contrast adjustment Switch 8 on the DIP switch SW6 is used for turning on off dis...

Page 23: ...s placed over a GLCD display The main purpose of this SDQHO LV WR UHJLVWHU SUHVVXUH DW VRPH VSHFL F GLVSOD SRLQW DQG WR IRUZDUG LWV FRRUGLQDWHV LQ WKH IRUP RI DQDORJ YROWDJH WR WKH PLFURFRQWUROOHU Swi...

Page 24: ...able each connector pin to be connected to one pull up pull down resistor Whether port pins are to be connected to a pull up or pull down resistor depends on the position of jumpers J1 J5 Jumper for p...

Page 25: ...own to the low logic level 0V in its idle state Jumper J17 used to determine the pin logic state provided by pressing push buttons should be set in the opposite position of jumper J2 Accordingly every...

Page 26: ...will be used for SPI communication and thus cannot be used as I O pins Switches INTA and INTB on the DIP switch SW10 enable interrupt 0 3 6 HQDEOHV ELW SDUDOOHO H SDQVLRQ DQG PD EH FRQ JXUHG WR RSHUDW...

Page 27: ...LQHVV SUR WV DQG EXVLQHVV LQIRUPDWLRQ EXVLQHVV LQWHUUXSWLRQ RU DQ RWKHU SHFXQLDU ORVV DULVLQJ RXW RI WKH XVH of this manual or product even if MikroElektronika has been advised of the possibility of s...

Page 28: ...www mikroe com If you are experiencing some problems with any of our products or just need additional information please place your ticket at www mikroe com en support I RX KDYH DQ TXHVWLRQV FRPPHQWV...

Page 29: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information MikroElektronika MIKROE 411...

Reviews: