Home

BIGPIC5 User`s Manual

image

Contents

1. PORTB connection vcc Pull up line is connected J2 Pull down line All lines RN2 is connected are disconnected 1 RB7 2 RB6 3 RB5 4 RB4 5 RB3 6 RB2 7 RB1 8 0 9 RPACK8 9 8x10K CN2 RBO RB1 RB2 RB3 RB4 RB5 RB6 RB7 X1 10MHz vec LS CI C2 HEADER 5x2 SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika DIRECT PORT ACCESS lt USER S MANUAL MMC SD MULTIMEDIA CARD MMC card is used as a storage media for a portable devices from which it can be easily removed to enable data transfer to PC For example a digital camera uses MMC card for stor ing image files Data can be easily transferred from MMC card to a PC using MMC reader Modern computers laptops and desktops usually have card readers with SD slots for reading MMC cards Microcontroller on the BigPIC5 development board communicates with MMC card via SPI communication MMC SD S3 2111 7527 On board MMC slot MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MANUAL E 33 SPI MOSI S CN22 A 3 5 W E CARD RB6 PGC Vss PIC18FXXXX OSC2 MMC CS d OSC1 CLKI V dd RB7 PGD SPI MOSI To enable MMC card switch 8 of the switch group SW3 and switches
2. 22pF Figure 22 2x16 LCD schematic V Note It is important to have in mind that LCD should be placed on or removed from BigPIC5 development board only after the power is switched off MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD GRAPHIC LCD A graphic LCD GLCD allows advanced visual messages to be displayed While a character LCD can display only alphanumeric characters a GLCD can be used to display messages in the form of drawings and bitmaps The most commonly used graphic LCD has 128x64 pixels screen resolution The GLCD contrast can be adjusted using the potentiometer P2 placed on the right of the GLCD GRAPHIC LGD Figure 23 GLCD contrast adjustment potentiometer 882558588585 e gt r errrrrrre Contrast LCD GLCD Adjustment BACKLIGHT Reset 5 x1 10MHz C1 C2 22pF 22pF SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika USER S MANUAL 22 TOUCH PANEL S Touch panel is a thin self adhesive transparent plate which could be placed over screen of 9 graphic LCD It consists of two separate plates which form sandwich structure They are very sensitive to pressure so that even a soft touch causes some changes on output signal It is used in various user friendly devices in combination with graphic LCD Connector CN16 ena
3. gleccecpaeEEOu C SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD I I Reset VCC RB4 RB5 RB6 PGC Vs PIC18FXXXX OSC2 OSCA CLKI Vdd RB7 PGD X1 RC5 RCA 10MHz RC3 C1 C2 22pF D EJ MikroElektronika oN es page MCU PORTS POWER SUPPLY is USER S MANUAL POWER SUPPLY BigPIC5 can use two power supply sources PC power supply over USB cable by default and external power supply external AC DC power adapter When using power supply over USB the system should be connected to PC using the USB programming cable and the jumper J10 should be set in right hand position gt USB USB Power Supply External Power Suppl POWER SUPPLY ixi SWITCH mp SYSTEM 470uF CN1 8 32V ACIDC is VCC USB FP1 3 7 C3 10uF vv When using external power supply the BigPIC5 J10 in left hand position board produces 5V by means of MC34063A volt system is powered from age regulator The external power supply can be AC 34 MEME external AC DC power or DC with the voltage range of 8 32V The adapler jumper J10 should
4. i RU o i o o o o ue 1 Eccc e 2 a ica WOON 02 Reset OSC2 OSC1 CLKI Vdd RB7 PGD X1 10MHz emm lam PIC18FXXXX mm bes 38 24 ul B Tm 22 Ej vec vce GND GND OV on pin when 5V on pin when button is pressed button is pressed SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika USER S 4 E MANUAL Referring to figure 18 jumper J2 1 set to pull up position so that pull up resistor pulls the microcontroller 5 pin to 5V By pressing button the port pin is connected to ground J11 is in lower position Accordingly only in case the button 15 pressed the microcontroller will sense a logic zero 0 Otherwise the pin state will always be logic one 1 Figure 11 3 Push button with pull up resistor Port B es Wee oo 2 PUSHIBUTTONS RH2 RJ2 EE 2p 5 RBO REO RB1 RGO RB2 RG1 RB3 Reset kas RBS MCLR RB6 PGC 0V while pressed ben PIC18FXXXX me Vdd OSC1 CLKI RF7 Vdd vcc RB5 RF6 RB7 PGD 1 L RF5 RC5 10MHz RF4 RC4 RF3 RC3 RF2 RC2 RH7 RJ7 J11 RH6 RJ6 Ot OS C1 C2 82330990282 22pF 22
5. 1 2 and 3 ofthe switch group SW4 must be turned ON The 5 power supply voltage is 5 DC whereas the MMC card power supply voltage is 3 3 V DC Because of that there is an on board voltage regulator MC33269DT 3 3 Voltage level on data lines connecting the microcontroller to MMC card must be limited to 3 3V It is done by means of resistor voltage dividers as shown in Figure 39 SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika USER S E MANUAL RA CAN COMMUNICATION S The BigPIC development system supports CAN communication which 15 beside in the auto Q mobile industry more and more used in other areas as well Connection is enabled by means of two specialized circuits High Speed CAN Transceiver MCP 2551 and CAN controller _ MCP2510 The first one is used as interface between communi cation line and CAN controller PIC microcontroller communi cates with later circuit via SPI protocol CAN communication system is enabled using switches of the switch groups SW3 and AN CONNECTOR CN15 CAN COMMUNICATION O R57 R56 1K d 1K N CAN RST CAN CS MCP2551 RB6 PGC s PIC18FXXXX 5 2 d 1 OSC2 OSC1 CLKI Vdd 10MHz R48 dM RB7 PGD CLKOUT TXORTS a C2 TX1RTS 22pF 22pF TX2RTS osc2 osc2 Vss C17 C16 22pF 22pF CAN schematic MikroElektroniKa software AND HARDWARE SOLU
6. be set in left hand position Fig ure 8 illustrates USB and external power supply UPPLY J10 in right hand position system is powered from PC via USB cable Figure 9 Power supply select jumper MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD connections USER S ON BOARD USB 2 0 PROGRAMMER There is no need to use external equipment during programming since BigPIC5 development sys tem contains on board USB 2 0 programmer It 15 only needed to connect the system to PC using the USB cable Then the program should be loaded into the microcontroller using the P Cflash pro gramming software supplied with BigPIC5 devel opment system For more information please refer to PICflash documentation Red button in the bottom left corner marked as RESET 15 used for MCU reset BUTTON Reset button ON BOARD USB 2 0 PROGRAMMER PICflash On Board USB programmer PIC18FXXXX dd OSC2 OSC1 CLKI Vdd RB7 PGD RC5 Note There is no need to reset MCU after programming because the programmer will reset the MCU automatically SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika LIMO USER S E MANUAL MikrolCD HARDWARE IN CIRCUIT DEBUGGER gt gt MikroICD 15 a highly effective tool for real time debug
7. 6 PGC Vss PIC18FXXXX OSC2 OSC1 CLKI Vdd RB7 PGD 9 C10 32 768 i PCF8583P SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika SJO OJJUODOIOIL 09 pue SseJd uoyjnq uo sulid 91215 193 9 Jeduunf 219 e dsip 121 2 9 v9 suoddns peo NOW 214619 j ued uono uono EB CER Josues eJnjeJed NN m 028 50 7 x Se ai Jejeuonuejod jsejuoo 02179 A960 p UTERIS XII ES F pue 99A seu od Ssoooe yod JO SJoJoeuuoo GXZ pJeoq uo So qeua VMS LMS sdnoJ8 Ul SOYSIMS 510 61592 Jo pe 2euuoo 21215 ui euiuuoejep o ECC g y spod uo sqa1 94 330 JO NO WNL pue eq ueo 2484 0 4 pue 9 4 SUld pue 22254 OML OQ OV Act 8 JO Jojo
8. E3MikroElektronika SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD it si ple Em 2 s inda te T oi fel BH gt With useful implemented peripherals plentiful practical code examples and a broad set of add on boards Serial Ethernet Compact Flash MMC SD etc MikroElektronika development boards make fast and reliable tools that can satisfy the needs of experienced engineers and beginners alike USB 2 0 IN CIRCUIT TOUCH PROGRAMMER SCREEN TO OUR VALUED CUSTOMERS I want to express my thanks to you for being interested in our products and having confidence in MikroElektronika It is our intention to provide you with the best quality products Furthermore we will continue to improve our performance to better suit your needs Neboj a Mati General Manager DISCLAIMER All products owned MikroElektronika protected copyright law international copyright treaty Therefore you should treat this manual as any other copyright material The manual and products may not be copied partially or as a whole without written consent of MikroElektronika Manual PDF edition can be printed for private or local use but for distribution Modifying manuals products is prohibited HIGH RISK ACTIVITIES The products of MikroElektronika not fault tolerant and nor designed man
9. H2 RJ2 RH3 RJ3 RE1 RBO REO RB1 RGO RB2 G1 RB3 RG2 RB4 B5 MCLR RB6 PGC RG4 Vss Wes PIC18FXXXX SW1 J SW4 Vdd OSC1 CLKI 1 t 1 RF7 Vdd RF6 RB7 PGD X1 RF5 RC5 10MHz 4 R4 ____ 9 6_ _ _________ 969 6 _ _6 RF3 RC3 RF2 RC2 RH7 RJ7 RH6 RJ6 Dw 5 evn gS 2972 99230988035 c1 RAO RA5 lt lt 22 2 gt gt 02 02 06 06 02 06 22pF 22pF Analog input vcc J11 SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD RFO RF2 Analog input EJ MikroElektronika PUSHBUTTONS 5 USER S MANUAL 2X16 CHARACTER LCD roy A standard character LCD 1 probably the most frequently used data visualization component It can display messages in two lines each containing up to 16 alphanumeric characters Char acters are made up of 5x8 pixels The character LCD communicates with the microcontroller via 4 bit data bus Connecting to the microcontroller 1s shown in figure 22 RAZ 3 RAS 40969 RAS e C 4 Ld ali 2X16 CHARACTER LCD S 5 R48 Lcpevco Contrast pee MEM ovce an Reset gt Cee C1 C2 amp amp gt gt
10. ODUCTION The BigPICS development system is a perfect tool for programming almost all Microchip PIC 64 and 80 pin microcontrollers It allows students and engineers to easily test and explore the abilities of PIC microcontrollers Additionally it allows PIC microcontrollers to be interfaced with external circuits and a broad range of peripheral devices The user can therefore concen trate on software development only Figure 1 illustrates the BigPIC5 development system As can be seen there are identification marks next to each component on a silkscreen both on the top and bottom These marks describe connecting to the microcontroller operation modes and provide additional useful information as well In that way all relevant information is provided on the board so that there is almost no need for additional schematics INTRODUCTION ba at ur T 15453 2 amp v 1 TT kl gt A sS TEGOPS EXE Lo EN 222522923 CONVERTER PUT D Testing 5 ALEL im f Sul 8888 3 X 2 4588 IJ I ao oum E Lo e gt _ I 81293 DEVELOPMENT e BiGPic 5 BY MIKROELEKTRONIKA B
11. RTJ On board LEDs LEIDS LEDs are arranged in nine groups With the exception of PORTA and PORTG each group consists of eight LEDs and can be enabled or disabled using switches of the switch group SW5 PORTA and PORTG have 6 and 5 LEDs respectively The LEDs are enabled when the corresponding switch of the SW5 is ON When enabled LEDs displays the state of the corresponding microcontroller pin Otherwise the LEDs always off no matter what the port state 1s since no current can flow through them SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD Y USER S E MANUAL Figure 15 illustrates the connection between PORTD pins and the corresponding LEDs A resistor is serially connected to LEDs in order to limit current through them In this case the resistor value is Figure 15 LEDs schematic PORTALED PORTB LED PORTC LED PORTD LED PORTE LED PORTF LED LEDs RN13 3 RPACK8 9 8x1K RB6 PGC PIC18FXXXX OSC1 CLKI Vdd MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER S 5 MANUAL PUSH BUTTONS BigPIC5 has 67 push buttons used to change the state of digital inputs on the microcontroller ports Figure 16 illustrates the connection between push buttons and t
12. TIONS FOR EMBEDDED WORLD USER S RS485 COMMUNICATION QE RS485 communication module enables high speed bidirectional data communication accord 5 ing to RS 485 standard widely used in industry Such serial communication is enabled by means of the ADMASS circuit while this chip communicates with the microcontroller via USART communication Serial communication lines are connected to the connector placed on the left side of the development board Connection between the ADMASS chip and the microcontroller s pins used for USART communication is enabled by turning the appropriate switches of the switch group SW2 on All marks needed are printed on the board beside the connector and the appropriate switches Connection between the microcon 1 troller and RS 485 serial communication module is shown on scheme RS485 CONNECTOR RX485 ROIS COMMUNICATION 485 485 R16 RB6 PGC PIC18FXXXX ie OSC2 OSC1 CLKI V x1 dd 10 2 RB7 PGD c2 22pF RX485 TX485 RT485 Figure 41 RS 485 schematic SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika USER S E MANUAL D A CONVERTER Most PIC microcontrollers do not have built in D A converter To enable them to use digital to analog conversion the BigPIC5 development system has on board 12 bit D A converter MCP4921 The microcontroller transf
13. a MANUAL page Receive data Rx SS gt CONNECT MCU TO PC mii p CABLE 1 P PC MCU RS 232 2 CON 1 5 2 922 COMMUNICATION RB6 PGC 18 OSC1 CLKI Vdd RB7 PGD 10uF E11 10uF 0 IN S lt V 11000000000000000000 E10 10uF m J13 MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD AD I o 5 232 500 9 S 1 1 1 Ri Receive i MCU TO PC data Rx gt a CONNECT end gt PC TO MCU Data Tx 5 RS 232 B CN13 CON SUB D 9p in 52 NI Cp 55 RB6 PGC PIC18FXXXX OSC1 CLKI Vdd x1 10MHz d RB7 PGD RC5 SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika IN COMMUNICATION Y USER S E MANUAL PS 2 COMMUNICATION PS 2 connector allows direct connection between BigPIC5 and devices which use PS 2 com munication such as a keyboard a mouse For example the microcontroller can be connected either to a keyboard to capture pressed keys or to a PC to act as a keyboard CLK and DATA lines are used for data transfer The
14. aL 1 1 3 3 ee AA LOL Jw 2 1 de MI y E m MM M M wi 5 w 4 gt Ld Jeu rr i y MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER S OOD QUO OH AUO OUND O X e O SWITCHES The BigPIC5 development system features a number of peripheral devices In order to enable them before programming the appropriate jumpers or switches have to be properly set Switches are mechanical devices used to establish or break connection between two contacts The BigPIC5 development system has five groups of switches Switch group SWI is used to enable external pull up pull down resistors on PORTA pins RAO RAS provide reference voltage 4 096V on pin RA3 and turn on off LED backlight on both LCD displays Switch group SW2 enables interrupt signal from real time clock touch panel controller and RS485 communication Switch group SW3 enables CAN communication module and D A converter It is also used for connecting PS 2 keyboard and MMC cards to development system Switch group SWA is used to enable SPI and I2C communication Besides three switches of this group enables external pull up pull down resistors on PORTF pins RFO RF2 Switch group SWS 15 used to enable disable LEDs connected to the microcontroller ports Each port has its own LEDs on off switch Switches 1 2 3 and 4 are ON while 5 6 7 and 8 a
15. bles this device to be con nected to on board touch panel controller whose active part consists of 5 discrete transis tors Four switches of the switch group SW2 enable or disable connection between this con troller and RAO RAI RJ6 and RJ7 pins TOUGK LLET EET 4 Reset gt gt PIC18FXXXX OSC1 CLKI Vdd RB7 PGD Touch panel schematic CONTROLLER MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER S RS 232 COMMUNICATION 2 RS 232 communication enables point to point data transfer It 1 commonly used in data acquisition applications to transfer data between the microcontroller and PC Since the volt age levels of the microcontroller and PC are not directly compatible with each other a level transition buffer such as the MA X232 must be used BigPIC5 development board has two RS 232 communication devices RS 232 and RS 232 In order to provide a more flexible system the microcontroller is connected to two MA X232 chips through the jumper groups J13 and J15 The first group is used to connect MCU pins RC7 and RC6 to Rx and Tx lines of RS 232 A whereas later is used for connecting pins RG2 and to Rx and Tx lines of RS 232 B COMMUNICATION Figure 29 RS232 connectors SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronik
16. eas poten PORTA and PORTF analog input pins tiometer P4 is connected to RF2 pin SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika USER S E MANUAL DIRECT PORT ACCESS All the microcontroller input output pins can be accessed via 2 x 5 connectors placed along the right side of the board For each microcontroller port there is one 10 pin connector pro viding eight port pins and two additional pins connected to VCC and GND These connectors can be used to connect the system to external devices such as Serial Ethernet Compact Flash keyboard etc On board peripherals must be discon nected from the microcontroller using the appropriate jumpers switches if external and on board peripherals use the same pins The connectors be also used for attaching logic probes or other test equipment DIRECT PORT ACCESS Flat cable connector MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD Reset RGO RG1 RG2 RG3 RH1 RHO RE2 RE3 MCLR RG4 Vss RF7 RF6 RF5 RF4 RF3 RF2 RH7 RH6 RH5 RH4 RF1 RFO 0 OI CO sr OS uuiuuaos9dqdod 08302323 gt gt RJ2 RJ3 RBO RB1 RB2 RB3 RB4 RB5 RB6 PGC Vss PIC18FXXXX OSC2 OSC1 CLKI Vdd RB7 PGD RC5 RC4 RC3 RC2 RJ7 RJ6 990rz909925885x 0
17. ers data to be converted into analog signal via SPI com munication After conversion the appropriate analog value appears on the connector placed on the left side of the development board The BigPICS5 enables reference voltage selection for the operation of converter It can be power supply voltage 5V or 4 096V provided by precise voltage source ref erence 1541 The appropriate voltage is selected using jumper J16 The X operation of converter as well as its communication with the microcontroller X is enabled by switches of the switch groups SW3 and SWA DAC CONNECTOR CN2 DA CONVERTER S RB3 RB5 RB6 PGC Vss PIC18FXXXX OSC2 OSC1 CLKI Vdd 10MHz C1 C2 22pF 22pF DAC CS MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER S MANUAL E REAL TIME CLOCK BI The specialized circuit PCF8583 is used as a real time clock calendar Their setting as well as communication with the microcontroller is performed via PC communication using two switches of the switch group SW4 This circuit enables programmed alarm to appear OV sig nal It can be applied to the RBO pin through one switch of the switch group SW2 The voltage necessary for clock operation is provided by a standard lithium button cell RIZAL TUME CLOCK BAT1 3 230 RB
18. euuoo Z Sd JeuiueJ460Jd 02 GSN euJ91X3 H3WAVHOUDHd 85 NI uoynq usnd 10 8 eipeuJnniw IS OININ uoneoiunuJuloo NYD suid JO 5831 29 uon eoiunululo9 G9t SM V 19 jsn pe 5 101 20 e dsip 4017 JejoeJeuo 2x9 40010 5 440 Aiddns ou s 3194 uod gsn Buisn u yM Ajddns Jamod gsn pue e qejosjeg SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD 918 None of parts of this manual including the product software described reproduced transmitted transcribed stored in a retrieval system or translated into any language in any form or by any means excepting the documentation kept by the purchaser for backup purposes without expressed written permission of MikroElektronika Company Product warranty or service will not be extended if the product is repaired modified or altered unless such repair modification or alteration is authorized in writing by MikroElektronika MikroElektronika provides this manual as is without warranty of any kind either expressed or implied including but not limiting to implied war
19. ging on hardware level The mikroICD debugger enables the user to execute a program on the PIC microcontroller and view variable values special function registers SFRs and EEPROM while the program 15 running MikroICD can be used with any PIC compiler designed by MikroElektronika mikroC mikroBasic or mikroPascal It is necessary to select the appropriate build type Release or ICD Debug build the project program the MCU and run debugger The mikroICD debugger uses on board programmer to communicate with the compiler and supports common debugger commands Start Debugger F9 Run Pause Debugger F6 Toggle Breakpoints F5 Run to cursor F4 step Into F7 step Over F8 Flush RAM F2 Stop Debugger Ctrl F2 On Board USB programmer with mikrolCD Program debugging data Vpp clones een TTS KPrOUGW UINeGURGUIT DEBUGGER H Development system V Note For more information on how to use mikroICD debugger please refer to the mikroICD documentation mikroICD User 5 Manual It can be also find in Help documentation inside any of mentioned compilers MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD LEDs Light Emitting Diodes LEDs are components most commonly used for displaying pin digi tal state BigPIC5 has 67 LEDs connected to the microcontroller PORTA PORTB PORTC 5 PORTD PORTE PORTF PORTG PORTH and PO
20. he corresponding port pins Jumper J11 determines whether a button press will bring logic zero 0 or logic one 1 to the appropriate pin When a button 15 released pin state is determined by pull up or pull down resistor Figure 16 Push buttons schematic PUSHEBUYYONS 5 ____ PORTB PORTC PORTD PORTE PORTF PORTG PORTH PORTJ 7 gt gt P ee jo en sled RAO FBO RCO RDO REO RGO RHO 2 9 6 6 o o 9 RB1 RC1 201 REL gt gt RG1 RH1 RJ1 E RA2 82 RC2 RD2 RF2 RG2 RH2 RJ2 i o o o o o o o RA RB Ro 2034 po RE R3 m3 E 22 o 0 Ed EE o E Ld RM RB i REA Rr Ru RA o o E pn ZEE o o DS o o E 9 o P 4 k d i RAS RB5 RC5 mu RES 1 RH5 RUS J 9 o DE o o E o o o EE i Hd o o i RB6 RCC REG RHE ME E 9 9 E o E 4 i ae R7 Lac RJ R7 J
21. ital Thermometer 27 A D Converter Input 20 Direct Port Access 30 MMC SD Multimedia Card 32 CAN Communication 34 RS485 Communication 35 D A Converter 36 Real Time Clock 37 MikroElektronika page JS KEY FEATURES gt gt 10 11 15 16 17 18 19 20 21 22 MikroElektronika External power supply of 8v to 16v AC DC Selectable external and USB power supply When using USB port there is no need for external power supply Power on off switch USB connector Very fast and flexible on board USB programmer with mikrolCD In Circuit Debug pie 9 Pa 4 iw D aie nabh JU JL I 1 4 o4 UM Ue UE f m frm 5 6 Ls t T B vs a Fa d DA 190 B ini L Lati to upgrade By downloading PEE ge pu n in a new software it will be possible to program new MCUS in coming years MCU Card supports all 64 and 80 pin PIC MCUs Direct port access connectors Jumpers to determine input pin performance in idle state 1 Eu LII zu MMCIBD I WE e 8 om pr 1 connected to pull up
22. le a program to be transferred from PC to the microcontroller chip Installation instructions are contained in PICflash programmer manual Step no 3 Install USB drivers on your PC to enable programmer s hardware to ope rate properly on BigPIC5 board For detailed installation instructions refer to USB drivers manual Step no 4 Connect BigPIC5 to PC using USB cable Please use one of USB ports on the back of the PC because they are directly connected to the computer motherboard The first time you switch the BigPICS5 on your PC will automatically detect a new hardware You will be immediately prompted whether Windows should search for new drivers update or not Select the option No not this time and click Next Another window appears click Next and the operat ing system will automatically find the drivers Click Finish to complete this process and run PICflash as explained P Cflash programmer manual Next time you switch the BigPIC5 on Windows will not ask for new driv ers update during driver installation CONNECTING SYSTEM After these four steps your BigPIC5 is successfully installed and ready for use You can read a program from the chip or write a new one into it The product CD provides numerous sim ple program examples which will make your first steps Easy SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika INTR
23. nf sjonpoud Aue suje qoJd ase JI UJ02 90J IUJ0 921JJO UPEIN VV 5 32e1u02 esesjd Jesodoud sseuisnq e 10 1 uonsenb nof TH Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery amp Lifecycle Information mikroElektronika MIKROE 266
24. og input pins simultaneously The jumper group J17 enables connection between potentiometer P3 and one of the following pins RAO RAI RA2 or RA3 The jumper group J18 enables connection between potentiometer P4 and one of the following pins RA5 RFO or RF2 IND CONVERTER INPI A D Converter input In order to measure analog signal without interference the corresponding switches of the switch groups SW and SW4 must be turned off In that way the connection between pins and external pull up down resistors is disabled The microcontroller takes analog signal from its input pin and converts it into digital value Basically any analog signal that fits in the range acceptable by PIC can be measured That range is 0 5 V MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD page JOUEZ A D converter input m m Em J1 pull up down s PORTA Reset RB5 RB6 PGC Vss um um uw PIC18FXXXX OSC2 OSC1 CLKI Vdd RB7 PGD 1 RC5 10MHz RC4 RC3 RC2 RJ7 1 2 12345678 22pF 22pF IND CONVERTER INPUT 46 pull up down PORTF HHH HAE 12345678 4 In this case potentiometer P3 is con SW1 and SW4 disable pull up down resistors on nected to RA2 pin wher
25. or pull down resistor Switch group SW1 enables pull up pull down resistors on PORTA pins RAO RAS reference voltage for MCUs A D converter and LCD GLCD backlight 67 push buttons allow control of all the microcontroller pins Jumper to select high or low state of pins on push button press 12 13 14 RESET push button Each I O pin corresponds to one LED Switch group SW5 allows all LEDs on ports A B C D E F G H and J to be connected or disconnected from MCU pins On board real time clock calendar 16x2 characters LCD display connector Potentiometer for LCD contrast adjustment Graphic LCD display GLCD connector Potentiometer for GLCD contrast adjustment Touch panel connector Touch panel controller DS1820 temperature sensor allows temperature meas urement with 0 5 C accuracy y lt ofc 5 oxo fel alex NS e y m N Y N x Aie p A I 1 N Jf VA Va BigPIC5 TTLL TE 23 24 25 26 27 28 29 30 31 32 33 PORTE 3553 a TELL Le de E PORTE TI 22 5 B LET Ss 88 EA e Coin 5 SAAN SL uH 4 La all LN a Er P
26. pF Referring to figure 19 jumper J2 1s set to pull down position so that pull down resistor pulls the microcontroller RB5 pin to OV By pressing button the port pin is connected to 5V J11 15 in higher position Accordingly only when the button is pressed the microcontroller will sense a logic one 1 Otherwise the pin state will always be logic zero 0 Figure 19 Push button with pull down resistor Port B MS kcu J2 RH2 RJ2 1 RH3 RE1 RBO REO RB1 RGO RB2 RG1 RB3 Reset 555 Re PERL 5V while pressed bs PIC18FXXXX S Vdd OSC1 CLKI RF7 Vdd vcc RB5 RF6 RB7 PGD X1 ae RF5 RC5 10MHz 4 RC4 RF3 RC3 2 RC2 RH7 RJ7 J 1 1 MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD Reset USER S erm In order to avoid influence of pull up pull down resistors on MCUS analog inputs several pins on PORTA and PORTF could be disconnected from belonging resistors using switches in groups SW and SW4 Figure 20 illustrates such connection of RAO RAS5 and RFO RF2 pins In shown example RA4 and RF2 are disconnected from rest of circuit and can be used as ana log inputs Because other pins of PORTA and PORTF are still connected to VCC trough pull up resistors their idle state will be high el 150 Co vcc Pull up down R
27. ranties or conditions of merchantability or fitness for a particular purpose In no event shall MikroElektronika its directors officers employees or distributors be liable for any indirect specific incidental or consequential damages whatsoever including damages for loss of business profits and business information business interruption or any other pecuniary loss arising from any defect or error in this manual or product even if MikroElektronika has been advised of the possibility of such damages Specification and information contained in this manual are furnished for internal use only and are subject to change at any time without notice and should be construed as a commitment by MikroElektronika MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in this manual including the product and software described in it Product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies and are used only for identification or explanation and to the owners benefit with no intent to infringe e Serie 5 2 ee p e e e e e e e e e e e e e B e 0 aI UEV o 5 1 SN se jd uoneuuojur jeuonippe s
28. re OFF LIH Switch group m Switch is OFF amp e e SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika MANUAL JUMPERS Similar to switches jumpers are used to break or establish connection between two points Under the plastic cover of a jumper there is a metal contact which establishes connection when the jumper is placed over two pins Jumper as a switch JUMPERS 69 Jumper is ON 270 15 Jumper is commonly used as a selector between two possible connections via 3 pin connec tor As illustrated in figure 4 the middle connector pin can be connected to the left or right pin depending on the jumper s position Figure 4 Jumper as a selector 5B ue Gog Jumper is placed Jumper is placed on the left side Jumper is placed on the right side middle pin is unconnected connecting middle and left pin connecting middle and right pin MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD T MCU CARD The BigPIC5 development system has 80 MCU card with PIC18F8520 PT microcon troller on it In order to use some other microcontroller the MCU card must be changed BigPIC5 MCU card is shown in figure below MOU Figure 5 BigPIC MCU card SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElekt
29. ronika USER S MANUAL Follow the steps below to place MCU card in the BigPIC5 MCU socket properly MID E development system it 15 necessary to remove it by pulling it up slowly Place MCU card in the socket Make sure that label on the MCU card matches the upper left cor ner of the socket as outlined on the BigPICS board When MCU is placed in the proper position 6 press it evenly against the socket 1 SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MCU PORTS Tr Microcontroller pins are routed to various peripherals as illustrated in figure 6 MCU ports are directly connected to 2x5 direct port access connectors on the right side of the board Such connectors are normally used for connecting external peripherals to the board or for digital logic probes for testing and measurement ports are also connected to LEDs and push buttons which allows easy monitoring and testing digital pin state Some pins are connected to other peripherals such as 051820 temperature sensor RS 232 com munication LCD etc which depends on internal peripheral organization Figure 6 System connecting gt PORTE
30. ufactured or intended for use or resale as line control equipment in hazardous environments requiring fail safe performance such as in the operation of nuclear facilities aircraft navigation or communication systems air traffic control direct life support machines or weapons systems in which the failure of Software could lead directly to death personal injury or severe physical or environmental damage High Risk Activities MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities LICENSE AGREEMENT By using our products you agree to be bound by all terms of this agreement Copyright by MikroElektronika 2003 2008 PIC and MPLAB are registered trademarks of Microchip Company Windows is a registered trademark of Microsoft Corporation All other trade and or service marks are the property of the respective owners O ac O LLI O O CONTENTS BigPIC5 KEY FEATURES 4 ys CONNECTING THE SYSTEM 5 E INTRODUCTION 6 Switches iva Jumpers 8 TE MCU Card 9 Ports 11 O Power Supply 12 ac On board USB 2 0 Programmer 13 MikrolCD Hardware In Circuit Debugger 14 LEDs 15 Push Buttons 17 2x16 Character LCD 20 lt Graphic LCD 21 gt Touch Panel 22 RS 232 Communication 23 PS 2 Communication 26 0519820 Dig
31. ul jin GLED 128 640 pend 12 bit D A connector RS 485 communication module CAN communication module Two RS232 communication ports RS232 A and RS232 B PS 2 keyboard connector For testing purposes several pins on PORTA and PORTF can be connected to potentiometers P3 and P4 and as such can be used as inputs for measurement variable voltages set by these potentiometers Precise 4 096V voltage reference MMC SD slot for multimedia cards with up to 2GB stor age space Switch group SW2 enables real time clock alarm signal touch panel controller and RS 485 controller Switch group SW3 enables PS 2 keyboard connection CAN communication D A converter and MMC SD card Switch group SW4 enables SPI and 2 communication module and pull up pull down resistors on some PORTF pins SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER S 06005060550050 X e CONNECTING THE SYSTEM Apart from this manual development system box contains development system product CD USB cable RS232 cable and user s manuals for P Cflash programmer mikroICD Debugger and Installing USB drivers In order to use BigPIC5 properly it is necessary to go through the following steps page cx Step no 1 Take development system and product CD out of the box First of all insert the product CD into CD drive Do not connect development system to PC yet Step no 2 Install PICflash programmer software to enab
32. y are connected to the MCU pins and RCO respectively PS 2 connector 52 PS 2 communication schematic NC CLK RB5 RB6 PGC Vss PIC18FXXXX OSC2 OSC1 CLKI Vdd PS2 zd CONNECTOR MikroElektroniKa software AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD USER S 051820 DIGITAL THERMOMETER 051820 digital thermometer is convenient for temperature measurement in the range of 55 C to 125 C with 0 5 C accuracy It must be properly placed in the 3 pin socket provided 9 the BigPIC5 development board with its rounded side up as marked on the board see fig ure below Otherwise the DS1820 could be permanently damaged DS1820 data pin can be connected to RES pin using the jumper J19 There is a mark in the form of half circle for proper orientation of DS1820 sensor DS1820 RE5 is connected RE5 is disconnected 051820 Schematic SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD MikroElektronika 841 32200 DIGITAL THERMOMETER USER S MANUAL DE A D CONVERTER INPUT 5 The BigPICS development board has two potentiometers used to demonstrate the operation of analog to digital converter Both potentiometers outputs in the range of 0 5V their signals can be connected to two different anal

Download Pdf Manuals

image

Related Search

Related Contents

fage et de refroidissement à 4 canaux F4HK14  Ilumipod 7 IP Optic RGBW User Manual Rev. 4  2013年3月、日本貿易振興機構上海事務所知識産権部  Home Decorators Collection 0600230950 Use and Care Manual  QuarryMaster® - Stiebel-Getriebebau GmbH & Co. KG  Service Manual Template  Notions de management et de projet d`établissement dans l  RM-2443W Series User Guide  

Copyright © All rights reserved.
Failed to retrieve file