Home

USER'S GUIDE - MikroElektronika

image

Contents

1. EasyPIC PRO UO CU ca D UJ CO DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and international copyright treaty Therefore this manual is to be treated as any other copyright material No part of this manual including product and software described herein must not be reproduced stored in a retrieval system translated or transmitted in any form or by any means without the prior written permission of MikroElektronika The manual PDF edition can be printed for private or local use but not for distribution Any modification of this manual is prohibited MikroElektronika provides this manual as is without warranty of any kind either expressed or implied including but not limited to the implied warranties or conditions of merchantability or fitness for a particular purpose MikroElektronika shall assume no responsibility or liability for any errors omissions and inaccuracies that may appear in this manual In no event shall MikroElektronika its directors officers employees or distributors be liable for any indirect specific incidental or consequential damages including damages for loss of business profits and business information business interruption or any other pecuniary loss ari
2. PIC PRO UART via USB EEPROM In order to enable USB UART communication you must push SW5 1 RC6 and SW5 2 RC7 to ON position This connects the RX and TX lines to appropriate microcontroller pins and its first UART module DATA BUS SW5 Figure 9 1 USB UART connection schematics EasyPIC PRO communication Modern PC computers laptops and notebooks are no longer equpped with RS 232 connectors and UART controllers They are nowdays replaced with USB connectors and USB controllers Still certain technology enables UART communication to be done over USB connection Controllers such as FT232RL from FTDI convert UART signals to the appropriate USB standard In order to use USB UART module on EasyPIC PRO v7 you must first install FTDI drivers on your computer Drivers can be found on link bellow http www ftdichip com Drivers VCP htm USB UART communication is being done through a FI232RL controller USB connector CN12 and microcontroller UART module To establish this connection vou must connect RX and TX lines of the microcontroller to the appropriate input and output pins of the FT232RL This selection is done using DIP switches SW5 1 SW5 2 VCC 5SV VCC BRD VCC BRD R23 R24 2 2 4K7 GND CBUS1 RESET GND 3V3OUT USBDM USBDP USB UART CONNECTOR FT232RL page 23 USB is the acronym for Universal Serial Bus This
3. ecc sv CN10 C26 E12 MC33269DT3 3 i 10 11 d o VCC USB VCC 5V VCC 5V page 6 14 D6 220uF 35V MBRS140T3 VCC BRD 1N4007 1N400 ind Z POWER D4 D5 15 220uF 35V 1N4007 2K2 1 9 VCC 3 3V 5V SWITCHING POWER SUPPLY 82 Ji 1k Figure 3 2 Dual power supply unit schematics syPIC PRO DUAL POWER SUPPLY Smart engineering of EasyPIC PRO v7 develop Power supply via DC connector or screw terminals ment board allowed us to support both 3 3V and 7V to 23V AC or 9V to 32V DC 33V SV microcontrollers on a single board which is or via USB cable 5V DC almost 100 high pin count PIC devices Power consumption up to 600mA depending on how many on board modules are currently active gt Q a i al How to power the board 1 With USB cable Set J2 jumper to i USB position To power the board with USB cable place jumper J2 in USB position and place jumper J1 in 5V or 3 3V position depending on which microcontroller you are using You can then plug in the USB cable as shown on images and and turn the power switch ON c Using adapter a Setj2 jumper to M 22 Tm EXT position To power the board via adapter connector place jumper J2 in EXT position and place jumper J1 in 5V or 3 3V position depending on which microcontroller you are using You can then plug in the
4. Compiler You still don t have an appropriate compiler Locate compiler that suits you best on our website www mikroe com pic compilers Choose between mikroC mikroBasic and mikroPascal and download fully functional demo version so you can begin building m kroPASERL PRO Tor Pic ccm nr d m E mikroc PRO Tor PIC page 36 your PIC applications Projects Once you have chosen your compiler and since you already got the board you are ready to start writing your first projects We have equipped our compilers with dozens of examples that demonstrate the use of each and every feature of the EasyPIC PRO v7 board and all of our accessory boards as well This makes an excellent starting point for your future projects Just load the example read well commented code and see how it works on hardware Browse through the compiler Examples available on this link www mikroe com easypic pro Community If you want to find answers to your questions on many interesting topics we invite you to visit our forum at http www mikroe com forum and browse through more than 150 thousand posts You are likely to find just the right information for you On the other hand if you want to download free projects and libraries or share your own code please visit the Libstock website With user profiles you can get to know other programmers and subscribe t
5. DIGI POT click click microSD click DAC click DIGIPOT click SHT1x click EasyPIC PRO connectivity fo J O C In order to enable RS 232 communication you must push SW5 3 RG1 SW5 4 RG2 to ON position This connects the RX and TX lines to appropriate microcontroller pins and its second UART module sna page 22 The UART universal asynchronous receiver transmitter is one of the most common ways of exchanging data between the MCU and peripheral components It is serial protocol with separate transmit and receive lines and can be used for full duplex communication Both sides must be initialized with the same baudrate otherwise the data will not be received correctly RS 232 serial communication is performed through a 9 pin SUB D connector and the microcontroller UART module In order to enable this communication it is necessary to establish a connection between RX and TX lines on SUB D connector and the same pins on the target microcontroller using DIP switches Since RS 232 communication voltage levels are different than microcontroller logic k levels it is necessary to use RS 232 Transceiver circuit such as Y MAX3232 as shown on Figure 8 1 6 9 RS 232 CONNECTOR 5 MAX3232 D 19 C21 100nF 100nF VCC BRD R87 100K Figure 8 1 RS 232 connection schematics
6. EasyPIC PRO i i DUAL POWER SUPPLY av l sv Supports 3 3V and 5V devices Dual Power Supply connectivity eet Four connectors for each port Amazing Connectivity microcontrollers Supported The ultimate PIC board Easily add extra boards mikroBUS sockets Fast USB 2 0 programmer and In Circuit Debugger MikroElektronika DEVELOPMENT TOOLS I COMPILERS I BOOKS To valued customers From the day one we in MikroElektronika gave ourselves the highest possible goals in pursuit of excellence That same day the idea of EasyPIC development board was born And we all grew together with EasyPIC In its each and tiniest piece we had put all of our energy creativity and sense of what s best for an engineer I ve personally assembled hundreds of early boards myself with my home soldering iron EasyPIC PRO follows the same path With the new 7th generation of high pin count boards it emerged as a unified and clear concept supporting both 5V and 3 3V microcontrollers Now we proudly say that it s one of a kind in the world good looking powerful and easy to use You made the right choice But the fun has only just begun Nebojsa Matic Owner and General Manager of MikroElektronika Introduction Modu ii End epe EUR etia 04 tS 2000 10 KNOW eos eet CEP CDI E REP 05 Power Supply Dual power supply 06
7. dos z 1 E 231 Somat p Preperhes up 998 11 Bares ns 0 5 Soret Penes leri C20N bit Sew H e anale Pap ie re ipa regem T TRISA ae i P Bee be mam oum Figure 5 3 mikroC for compiler debugging view with SFR registers Watch Window PIC PRO Toolbar Icon Ex gt m Command Name Start Debugger Run Pause Debugger Stop Debugger Step Into Step Over Step Out Run To Cursor Toggle Breakpoint Show Hide breakpoints Clears breakpoints Jump to interrupt PIC PRO mikrolCD commands oe eI m EJ d Here is a short overview of which debugging commands are supported in MikroElektronika compilers You can see what each command does and what are their shortcuts when you are in debugging mode It will give you some general picture of what your debugger can do Shortcut F9 F6 Ctrl F2 F7 F8 Ctrl F8 F4 F5 Shift F4 Shift Ctri F5 F2 Q0 fU 672 Description Starts Debugger Run Pause Debugger Stops Debugger Executes the current program line then halts If the executed program line calls another routine the debugger steps into the routine and halts after executing the first instruction within It Executes
8. Brightness level can be determined with PWM signal from the microcontroller allowing you to write custom backlight controling software This backlight mode is enabled with SW4 3 switch IES 2 DRIVEB GLCD 128x64 Graphical Liquid Crystal Displays or GLCDs are used to display monochromatic graphical content such as text images human machine interfaces and other content EasyPIC PRO v7 provides the connector and necessary interface for supporting GLCD with resolution of 128x64 pixels driven by the KS108 or similar display controller Communication with the display module is done through CN16 display connector Board is fitted with uniquely designed plastic display distancer which allows the Figure 13 1 GLCD 128x64 connection schematics DATA BUS PIC PRO GLCD SOCKET GLCD module to perfectly and firmly fit into place Display connector is routed to PORTB control lines and PORTD data lines of the microcontroller sockets Since PORTB is also used by 2x16 character LCD display you cannot use both displays simoutaneously You can control the display contrast using dedicated potentiometer P4 Display backlight can be enabled with SW4 2 switch and PWM driven backlight with SW4 3 Switch Connector pinout explained CS1 and CS2 Controller Chip Select lines VCC 5V display power supply GND Reference ground _ Vo GLCD contrast level from potentiometer 4 TO EKI RS Data High Inst
9. indication of the logic state E M on PORT pins An active LED indicates that a logic high 1 is present on the pin In order to enable PORT LEDs it is necessary to enable the corresponding DIP switch on SW6 Figure 6 6 PORTE PORTF PORTGI PORTH LEDs Figure 6 6 SW6 1 through SW6 4 switches are used to enable PORT LEDs gt ites Easier connectivity simple configuration are imperative in modern electronic devices Success of the USB standard comes from it s simplicity of usage and high and reliable data transfer rates As we in MikroElektronika see it Plug and Play devices with minimum settings are the future in embedded world too This is why Our engineers have come up with a simple but brilliant pinout with lines that most mikroBUS sockets mikro ANIRAO RG IPM RSTIRCO RB INT GSREO RCT RX SCKIRC3 Q ROBITX SCK RCS mikro ANIRA1 RC2IPWM RSTIRA4 RBl INT Z RCT7 RX RC6 TX Y mikro ENT RG PWM RST RES m RB2 NT D CSRE2 Z RG2ZRM SCK RC3 RGTTX MSORCA MOSURCS RC3 SCL ROASDA MISO RCA MOSWRCS R C3 SCI RCA STIA MISO RCA MOSIRCS RC3 SCI of today s accessory boards require which almost completely eliminates the need RCA SDA of additional hardware settings We called this new standard the mikroBUS 3 3V HSV Er a W 3 V Li GNO GND G
10. 2008 64 bit Windows 7 32 bit Windows 7 64 bit Adobe Win 2000 XP Win XP 2003 installing usb dri 2003 32 bit 64 hit vers pdf In the opened folder you should be able to locate the driver setup file Double click on setup file to begin installation of the programmer drivers USBISPR G Vista 64 page 14 Installing rogrammer drivers gt rrikroglekingnike 058187 Device Vista Platform Installer 002 Welcome to the USB18F Device x64 Vista Platform Installer Tha wirt wil walk you through updating the drivers Step 1 Start Installation Welcome screen of the installation Just click on Next button to procede mikroklektronika 58257 Device x64 Viste Platformi Installer Please wall ate chiens ilal This ake liap complete Installing drivers Step 3 Drivers are installed automatically a matter of seconds 7 mrikroBlehironihe USBLEF Devise E4 Vista Platform Installer To continue accept lhe following licenes agreement To reed Iha entire agreement use the sool bar orc press the Page Down kay miha Baird nan renes And mall nad Vim IMPORTANT READ CAREFULLY This basasa statement and waranty constitu a legal agement Ucenme Agreement between you ether az an individual or a single Step 2 Accept EULA Carefully read End User License Agreement If you agree with it clic
11. adapter cable as shown on images and and turn the power switch ON 3 With laboratory power supply mam Set 2 jumper to uj Wee BEG EXT position To power the board using screw terminals place jumper in EXT position and place jumper J1 in 5V or 3 3V position depending on which microcontroller you are using You can then plug in the adapter cable as shown on images and and turn the power switch ON PIC PRO page 7 Microcontrollers are supported using specialized MCU cards containing 104 pins which that comes with the EasyPIC PRO v7 package is shown on Figure are placed into the on board female MCU socket Currently there are three types of cards 4 1 It contains PICL8F87K22 microcontroller which is loaded with on chip modules and and is a great choice for both beginners and professionals After testing and building Standard card supports 80 PIC18Fxxxx PICI8Fxx xx and 18 the final program this card can also be taken out of the board socket and used in your microcontrollers with or without USB support It contains several SMD jumpers which final device are supposed to be placed or removed depending on the microcontroller Featuring nanoWatt XLP technology it has 16 MIPS operation 128K bytes of linear program memory 3896 bytes of linear data memory and support for a wide range of power supply from 1 8V to 5V We carefully chose the most convenient crystal
12. is a very popular industry standard that defines cables connectors and protocols used for communication and power supply between computers and other devices EasyPIC PRO v7 contains USB DEVICE connector CN9 which enables microcontrollers that support USB communication to establish a connection with the target host eg PC Laptop etc USB data lines comming from the MCU socket are dedicated to USB connector only and are not available via PORT headers To enable USB communication you have to solder SMD jumpers on the MCU card to the appropriate USB position This only makes sense if the MCU card contains microcontroller with integrated USB controller One of these cards is Standard 80 pin MCU card with PIC18F87 50 microcontroller Av VO USB VCC P Microcontroller with USB support should be soldered to the MCU card with dedicated USB SMD jumpers Make sure to solder RF1 RF3 RF4 jumpers to USB position in order to connect USB lines to USB connector MCU CARD SOCKET USB COMM Figure 10 1 USB connection schematics ON R14 GND 4K7 GND Ethernet is a popular computer networking technology for local area networks LAN Systems communicating over Ethernet divide a stream of data into individual packets called frames Each frame contains source and destination addresses and error checking data so that damaged data can be detected and re transmitted EasyPIC PRO v7 features s
13. the LCD module to perfectly and firmly fit into place E 2 CHARACTERS IN 4 BIT MODE NORW Vo B5 E 5V VCC 4 RS GND GND GND DO GNOD GND D2 GNDOS RBO 04 RB1 05 R G R BE SURE TO TURN OF THE POWER SUPPLY BEFORE PLACING LCT Ot ON DEVELOPMENT BOARE OTHERWISE POIH LCD AND GLED UNITS CAN BE PERMANERTLY DAMAGED BE SURE TO PLACE LCD AND GLOD RROIPERLY CITHERWISE LOD AND GLOCO UNITS CAN BE PERMANENTLY DAMAGED A m Figure 12 1 On board LCD 2x16 display connector Display power supply lines LCD contrast level from potentiometer P1 VCC 5V Register Select Signal line Display Enable line u Q2 2 Determines whether display is in Read or Write mode It s BC846 E always connected to GND leaving the display in Write mode all the time VCC 5V U 4K7 Display is supported 4 bit data mode so lower half of the data byte interface is connected to GND Upper half of the data byte Connection with the backlight LED anode Connection with the backlight LED cathode VCC 5V Figure 12 2 2x16 LCD S connection schematics A LED BCK B CN14 We have allowed LCD backlight to be enabled in two different ways LCD SOCKET 1 It can be turned on with full brightness using SW4 1 switch 2
14. 22 PIC18F87J10 PIC18F97J60 PIC18F8410 PIC18F64J11 PIC18F43K20 PIC18F44K2 2 PIC18F86 11 PIC18F85K22 PIC18F8585 PIC18F65 11 8 44 20 PIC18F43K22 PIC18F86J16 PIC18F86K22 PIC18F8680 PIC18F66J90 18 45 20 PIC18F66 60 PIC18F87 11 PIC18F8 K22 PIC18F8622 PIC18F67 90 8 46 20 PIC18F66J65 PIC18F86J90 PIC18F85K90 PIC18F8627 PIC18F66 93 PICI8LF46K22 PIC18F87J90 PIC18F86K90 PIC18F8722 PIC18F67J93 PICI8LF4A5K22 PIC18F86J93 PIC18F87K90 PIC18F8390 PIC18F65J10 PICI8LF44K22 lera fU ues O0 Programming with ICD2 ICD3 EasyPIC PRO v7 is equipped with RJ 12 connector compatibile with Microchip ICD2 and ICD3 external programmers This way you can override the on board mikroProg programmer and In Circuit Debugger and use other programming tools with the board Insert your ICD programmer cable into connector CN8 as shown in images 6 and PIC PRO page 13 fo pes O On board mikroProg requires drivers in order to work Drivers can be found on the link below 7 When you locate the drivers please extract files from the ZIP archive Folder with extracted files contains sub folders with drivers for different operating systems Depending on which operating system you use choose adequate folder and open it kk http www mikroe com downloads get 1201 mikroprog_for_pic_drivers_v200 zip Vista 34bit Win Vista 64brt Win Win 98 2008 32 hit
15. 7 RGO 5 56 ee mm RG 55 am 75 Q5 SN 73 RCN H X UON MCLR Rc 52 RB6 Cl 22pF PINE goo RAN 18 87 22 PGC RB6 68 67 RG4 19 ae GND 1__66 9 65 RAO in TOFP OSC2 RAG xi 64 f 63 RAAN len p Q OSC1 RA7 9 BE E 16 62 c aa PGD RB7 m 58 57 RFO TLE Cc 15 ME 46 c2 22pF i Nez D3 18 4 HD3C RI 19 L 42 2 1 7 So RJ6 gt x J2 RF4 E RF4 DP vcc vcc vcc vcc DP 13 RES c3 c4 c5 E6 100nF 100nF 100nF 10uF ub i i m BH E E E EEEE E H HIH 38 MCLR 40 42 RF6 LH REIN Figure 4 2 Default MCU card schematics page 9 Q Before you plug the microcontroller card into the socket make sure that the power supply is turned off Images below show how to correctly plug the card First make sure that MCU card Orientation matches the silkscreen outline on the EasyPIC PRO v7 board MCU socket Place the MCU card over the socket so each male header encloses the right angle with the female socket as shown in Figure 4 2 Then put the MCU card slowly down until all the pins match the socket Check again if everything i
16. Default MCU card Supported microcontrollers 08 Programmer debugger On board 12 Installing programmer drivers 14 Programming software 15 mikrolCD In Circuit 16 Connectivity Input Output 18 MIKROBUS SOCKETS 20 Click Boards are plug el Communication UART via 5 232 2 Er UART 5 23 USB device 24 Ethernet 25 Displays LCD 2x16 characters eo GLCD 128 64 4 4 27 Touchpanel 28 Other modules DIIZZBI 29 051820 Digital Temperature Sensor 30 LM35 Analog Temperature 31 aer Lem 3c 33 Output 34 Additional 0 2 22 2222 35 Whats epee ies 36 page 3 Introduction For the first time in history we have managed to combine all the features of BIGPIC6 and LV18F v6 b
17. IP switches like SW3 on Figure 6 2 are used to enable 4K7 pull up or pull down resistor on any desired port pin Each of these switches has three DATA BUS states 1 middle position disables both pull up pull PORTC LED down feature from the PORT pin 2 Up position connects the resistor pull up state EMEN Figure 6 2 to the selected pin Tri state DIP 3 down position connects the resistor in pull down switch on state to the selected PORT pin Button press level tri state DIP switch is used to determine which logic level will be 0248 applied to port pins when buttons are pressed VCC BRD R83 BUTTON PRESS LEVEL Figure 6 3 Schematic of the single 1 0 group connected to microcontroller PORTC page 18 SY PIC PRO With enhanced connectivity as one of the key features of EasyPIC PRO v7 we have provided two connection headers for each PORT 1 0 PORT group contains one male IDC10 2x5 header like CN22 Figure 6 3 There is one more IDC10 header available on the right side of the board next to DIP switches These headers are all compatible with over 70 MikroElektronika accessory boards and enable simple connection Figure 6 4 IDC10 male headers enable easy connection with MikroElektronika accessory boards ER VCCGND Lo DA m PF m m PG u BUTTON PRESS LEVEL Figure 6 5 Button press level DIP switc
18. Installation in progress Step 6 Finish Installation EasyPIC PRO page 15 672 rO 672 mikrolCD In Circuit Debugger what is Debugging Every developer comes to a point where he has to monitor the code execution in order to find errors in the code or simply to see if everything is going as planed This hunt for bugs or errors in the code is called debugging There are two ways to do this one is the software simulation which enables you to simulate what is supposed to be happening on the microcontroller as your code lines are executed and the other most reliable one is monitoring the code execution on the chip itself And this latter one is called In Circuit debugging In Circuit means that it is the real deal code executes right on the target device What is mikroICD The on board mikroProg programmer supports mikrolCD a highly effective tool for a Real Time debugging on hardware level The mikrolCD debugger enables you to execute your program on the host PIC microcontroller and view variable values Special Function Registers SFR RAM CODE and EEPROM memory along with the mikrolCD code execution on hardware Whether you are a beginner or a professional this powerful tool with intuitive interface and convenient set of commands will enable you to track down bugs quickly mikrolCD is one of the fastest and most reliable debugging tools on the market Supported Compile
19. ND GHD Jt GND GND EasyPIC PRO v7 is a development board which supports mikroBUS with three on board sockets As you can see there are no additional DIP switches or jumper selections Everything is already routed to the most appropriate pins of the microcontroller sockets mikroBUS pinout explained AN Analog pin RST Reset pin CS SPI Chip Select line SCK SPI Clock line MISO SPI Slave Output line MOSI SPI Slave Input line 3 3V VCC 3 3V power line GND Reference Ground PWM PWM output line INT Hardware Interrupt line RX UART Receive line TX UART Transmit line SCL I2C Clock line SDA I2C Data line 5V VCC 5V power line GND Reference Ground mikroBUS host connector Each mikroBUS host connector consists of two 1x8 female headers containing pins that are most likely to be used in the target accessory board There are three groups of communication pins SPI UART and 2 communication There are also single pins for PWM Interrupt Analog input Reset and Chip Select Pinout contains two power groups 5V and GND on one header and 3 3V and GND on the other 1x8 header mikro mikro mikro BUS BUS BUS RAO 1 1 RAL 1 1 RC2 RA2 1 1 RGO wee Eee Kas GEM e a Re 31 E K m wisi RREA Fee ss ar A A Rea ex ag hor Vs F xm A Fe s x 87 RE s 8 x B 4 as 2a R
20. P modules which can be either SPI or 1 Package contains uis n Ime G jeri anor EE ass of DECR A LAIT M Damage resistant 0 EasyPIC v7 USB cable User Manuals and protective box board in antistatic bag Board schematics PIC PRO page Board contains switching power supply that creates stable voltage and Em ew current levels necessary for powering each part of the board Power supply section 28 7 1592706 contains two power regulators ACE 7 23V MC34063A which generates m ae VCC 5V and MC33269DT3 3 which Eg o Bn creates VCC 3 3V power supply thus making 3111 Boos the board capable of supporting both 5V and 3 3V R81 microcontrollers Power supply unit can be powered dt two different ways with USB power supply and using external adapters via adapter connector CN19 or additional screw terminals CN18 External adapter voltage levels must be in range of 9 32V DC and 7 23V Use jumper J2 to specify which power source you are using and jumper 1 to specifv whether vou are using 5V or 3 3V microcontroller Upon providing the power using either external adapter or USB power source vou can turn the board on using SWITCH 1 Figure 3 1 Figure 3 1 Dual power supply unit of EasyPIC PRO v7
21. TOP VIEW DS1820 ekeke 51 VCC BRD DATA BUS PIC PRO LM35 Analog Temperature Sensor obtain convenient Centigrade scaling The LM35 does not require any external calibration or trimming to provide typical accuracies of 7 at room temperature and 4 C over a full 55 to 150 C temperature range It has a linear 10 0 mV C scale factor and less than 60 pA current drain As it draws only 60 pA from its supply it The LM35 is a low cost precision integrated circuit temperature sensor whose output voltage 15 linearly proportional to the Celsius Centigrade temperature The LM35 thus has an advantage over linear temperature sensors calibrated in Kelvin as the user is not required to subtract a large constant voltage from its output to Re Enabling LM35 Sensor Figure 17 4 LM35 connected to Figure 17 1 LM35 not connected Figure 17 2 LM35 placed in socket Figure 17 3 LM35 connected to RF6 pin EasyPIC PRO v7 enables you to get analog readings from the LM35 sensor using RA3 or RF6 microcontroller pins The selection of either of those two lines is done using J4 jumper When placing the sensor in the socket make sure that half circle on the board s silkscreen markings matches the rounded part of the LM35 sensor If you accidently connect the sensor the other way it can be permanently damaged and you might need to replace it with another one During
22. arameter is resolution Resolution represents the number of discrete steps that supported voltage range can be divided into It determines the sensitivity of the A D converter Resolution is represented in maximum number of bits that resulting number occupies PIC18F87K22 microcontroller which comes on MCU card with the EasyPIC PRO v7 board has 12 bit resolution meaning that maximum value of conversion can be represented with 12 bits which converted to integer is 212 4096 This means that supported voltage range for example from 0 5V can be devided into 4096 discrete steps of about 1 22mV EasyPIC PRO v7 provides an interface in form of two potentiometers for simulating analog input voltages that can be routed to any of the 10 supported analog input pins DATA BUS Figure 18 2 Schematic of ADC input page 32 ADC inputs Enabling ADC inputs Figure 18 1 use 5 and 6 jumpers to connect analog input lines with potentiometers P2 and P3 In order to connect the output of the potentiometer P2 to RAO RA1 RA2 RA3 or RA5 analog microcontroller inputs you have to place the jumper in the desired position If you want to connect potentiometer P3 to any of the RF1 RF5 analog microcontroller inputs place jumper 6 in the desired position By moving the potentiometer knob you can create voltages in range from GND to VCC EEPROM Enabling EEPROM Figure 19 1 Activate SW5 7 and SW5 8 switches t
23. buzzer to the appropriate pin via SW4 4 microcontroller pin This is done using SW4 4 DIP SW4 switch Once the switch is in ON position it connects the buzzer driver to RB6 microcontroller pin i OE DU 3kHz How to make it sing Bex Freq 3kHz Duty Cycle 80 Freq 3kHz Duty Cycle 20 syPIC PRO Volume 50 Freq 3kHz Volume 80 Freq 3kHz Volume 20 Turn ON BCK PWM BUZZER READ X READ Y SW4 4 to connect Piezo buzzer driver to RB6 pin Buzzer starts singing when you provide PWM signal from the microcontroller to the buzzer driver The pitch of the sound is determined by the frequency DRIVEA and amplitude is determined bv the DRIVEB duty cycle of the PWM signal M TOUCHPANEL CONTROLLER page 29 N other modules DS1820 is a digital tempera ture sensor that uses 1 wire interface for it s operation It is capable of measuring temperatures within the range of 55 to 128 C and provides 0 5 C accuracy for temperatures within the range of 10 to 85 C It requires 3V to 5 5V power supply for stable operation It takes maximum pO fW i 2 I J gt i AT 1 DSIBeO psiBeo DSIB2O Figure 16 3 Figure 16 4 DS1820 DS1820 connected connected to RB7 pin to RE6 pin Figure 16 1 DS1820 not conn
24. ected Figure 16 2 DS1820 placed in socket EasyPIC PRO v7 enables you to establish 1 wire communication between 051820 and the microcontroller over RE6 or RB7 pins The selection of either of those two lines is done using J3 jumper When placing the sensor in the socket make sure that half circle on the board s silkscreen markings matches the rounded part of the 051820 sensor If you accidently connect the sensor the other way it may be permanently damaged and you might need to replace it with another one Make sure to disconnect other peripherals except 1 wire LEDs and additional pull up or pull down resistors from the interface lines in order not to interfere with signal data integrity page 30 of 750ms for the DS1820 to calculate temperature with 9 bit resolution 1 wire serial communication ena bles data to be transfered over a single communication line while the process itself is under the control of the master microcontroller The advantage of such communication is that only one microcontroller pin is used Multiple Temperature Sensor sensors can be connected on the same line All slave devices by default have a unique ID code which enables the master device to easily identify all devices sharing the same interface EasyPIC PRO v7 provides a separate so cket TS1 for the 051820 Communica tion line with the microcontroller is selected with a J3 jumper Figure 16 5 051820 connected to RB7 pin
25. eso safa 45 mso VS 6 7 MOSI SDA 7 7 MOSI SDA 7 7 SDA B 7 VCC 3 3V 8 3 3 1 5V E 8 VCC 5V VCC 3 3V 8 3 3V 5V l 8 VCC 5V VCC 3 3V 8 3 3 5v IB 8 VCC 5V GND GND IBI GND GND GND GND sna CE 63 je ANATEL 2787 10 25 00 FCC iD RITOLSE4O Ww E50 So JD Designed in Made im China IME 356308040476969 Model GL888 QUAD Fi 9 uU v T9JRN41 1 Fe CER RoHS compiiant M AMA 4 Mia d t camia Las e 1 Lj 5 Leve IH mma ME isi Eei zn RFID click BlueTooth lick _ GSM click ADC click RFID click BlueTooth click click GSM click MikroElektronika portfolio of over 200 accessory boards is now enriched hardware configuration Just plug and play Visit the Click boards webpage an additional set of mikroBUS compatible Click Boards Almost each month for the complete list of available boards several new Click boards are released It is our intention to provide the community with as much of these boards as possible so you will be able to ka http www mikroe com click expand your EasyPIC PRO v7 with additional functionality with literally zero AZ H LE io LIA 1 ai ao bal inf wz TI microSD em xd
26. generators called piezo buzzers Piezo buzzer is an electric component that comes in different shapes and Sizes which can be used to create sound waves when provided with analog electrical signal EasyPIC PRO v7 comes with piezo buzzer which can be connected to RB6 microcontroller pin Connection is established using SW4 4 DIP switch Buzzer is driven by transistor Q1 Figure 15 1 Microcontrollers can create sound by generating a PWM Pulse Width Modulated signal a Square wave Signal which is nothing more than a sequence of logic zeros SNd Figure 15 1 Piezo buzzer connected to RB6 microcontroller ES UO O he 1e ones Frequency of the square signal determines the pitch of the generated sound and duty cycle of the signal can be used to increase or decrease the volume in the range from 0 to 100 of the duty cycle You can generate PWM signal using hardware Capture compare module which is usually available in most microcontrollers or by writing a custom software which emulates the desired signal waveform Supported sound frequencies Piezo buzzer s resonant frequency where you can expect it s best performance is 3 8kHz but you can also use it to create sound in the range between 2KHz and 2 BUZZER PERSPECTIVE VIEW Enabling Piezo Buzzer In order to use the on board Piezo Buzzer in your application you first have to connect the transistor driver of piezo
27. h adapter or laboratory power supply When used with USB power supply it can give no more than 500mA Figure 20 2 Connecting power lines to 5V output Figure 20 3 Connecting power lines to 3 3V output Figure 20 1 Output voltage terminals Purpose of the output voltage terminals is not to be the main power source of big consumers but more a power source for remote small consumers EasyPIC PRO v7 contains three GND pins located in three different sections of the board which allow you to easily connect oscilloscope GND reference when you monitor signals on microcontroller pins or signals of on board modules GND is located next to the RS 232 connector GND is located right to the piezo buzzer next to PORTA header GND is located above PORT I O group next to PORTF header Figure 21 1 3 oscilloscope GND pins are conveniently positioned so each part of the board can be reached with an oscilloscope probe Whats Next You have now completed the journey through each and every feature of EasyPIC PRO v7 board You got to know it s modules organization supported microcontrollers programmer and debugger Now you are ready to start using your new board We are suggesting several steps which are probably the best way to begin We invite you to join thousands of users of EasyPIC brand You will find very useful projects and tutorials and get help from a large ecosystem of users Welcome
28. he programmer and PC software Figure 5 1 mikroProg block schematics compiler or mikroProg Suite for How do start In order to start using mikroProg and program your 1 Install the necessary software 2 Power up the board and you are ready to go microcontroller you just have to follow two simple Install USB drivers Plug in the programmer USB cable steps Install mikroProg Suite for PIC software LINK LED should light up page 12 PRO List of microcontrollers supported with mikroProg Here s the list of all microcontrollers which are supported with mikroProg programmer and debugger EasyPIC PRO v7 board The list may grow with each new release of mikroProg Suite for PIC software PIC18F83J90 PIC18F87J93 PIC18F8527 PIC18F8490 PIC18F65J15 PIC18F44J11 PIC18F84J90 PIC18F86J50 PIC18F6620 PIC18F8520 PIC18F66 10 PIC18F45 11 PIC18F85J90 PIC18F86 55 18 6 720 PIC18F8620 PIC18F66 15 PIC18F46 11 PIC18F83 11 PIC18F87J50 PIC18F6310 PIC18F8720 PIC18F67J10 PIC18F44J50 PIC18F84J11 PIC18F85J50 PIC18F6410 PIC18F8393 PIC18F66 11 PIC18F45 50 PIC18F85 11 PIC18F86 60 PIC18F6390 PIC18F8493 PIC18F66 16 PIC18F46 50 PIC18F85 10 PIC18F86J65 PIC18F6490 PIC18F63 90 PIC18F67 11 PIC18F67 60 PIC18F85 15 PIC18F87 60 PIC18F6585 PIC18F64 90 PIC18F65J50 PICI8LF43K22 PIC18F86J10 PIC18F96J60 PIC18F6680 PIC18F65J90 PIC18F66J55 8 46 22 PIC18F86 15 PIC18F96 65 PIC18F8310 PIC18F63 11 PIC18F67 50 8 45
29. hes tri state The logic state of all microcontroller digital inputs may be changed using push buttons Tri state DIP switch SW13 is available for selecting which logic state will be applied to corresponding MCU pin when button Is pressed for each 1 0 port separately If you for example place SW13 3 VCC position then pressing of any push button in PORTC 1 0 group will apply logical one to the appropriate microcontroller pin The same goes for GND If the DIP switch is in the middle position then all push buttons of the associated PORT will be disconnected from the microcontroller pin In the far upper right section of the board there is aRESET button which can be used to manually reset the microcontroller This button is directly connected to the microcontroller MCLR pin LED Light Emitting Diode highly efficient electronic PMOLED light source When connecting LEDs Microcontroller it IS neccessary SMD resistor to place a current limiting current limiting resistor through the LED series so that LEDs are provided with the current value specified by the manufacturer The current varies from 2 to 20 depending on the type of the LED and the manufacturer The EasyPIC PRO v7 board uses low current LEDs with typical current consumption of O 2mA or 0 depending of VCC voltage selection SW6 Board contains 69 LEDs which can be used for visual caa du
30. ies Er s2 28 Chal Het tn http www mikroe com downloads get 1201 mikroprog_suite_for_pic_v229 zip the pf the cerne Ei ra comet the terma Liner Agreement After downloading extract the package and double click the executable setup m Eau file to start installation Step 1 Start Installation mikraPrag Sata For PE E a Chases install locaton Lt a Pedder rata pkroProg val edeaiipo orem for geile koldar Ch kabli o uri INFO pm ERN Step 3 Install for All users MSSP 7 Bit Addr Mack Address Masking made EE HCLR Enable Bit MCLR Enabled 018 Tel Boreae d NN irat alan i Completing the AA ei Flames must raka pPrpg Soli dor FIC w 23 ig paing acad E e PIC 28 Setup Wizard toda kur Pags bern 56 pour Boot Block size 2kw boot block sie In Circuit Debugger abled 0 ID Locations umi FF FF FF FF FF FF FF FF ione Program Memory Size 128 KB Deos Tue DATA Sue 1024 Bytes Address Oh tronika Step 5
31. in NS i Fi ic g F LE T T t Figure 4 5 Standard 80 pin Figure 4 6 Standard Figure 4 7 Standard Figure 4 8 Ethernet MCU card with i 80 pin MCU card with 80 pin MCU card with 80 pin MCU card which supports USB with microcontroller with internal ethernet module xo a kyu OS aa On board programmer What is mikroProg mikroProg is a fast USB 2 0 programmer with mikrolCD hardware In Circuit Debugger Smart engineering allows mikroProg to support all nearly 100 PIC18 devices in a single programmer It also features a powerful mikrolCD debugger which will be of great help in your development Outstanding performance and easy operation are among it s top features VCC 3 3V VCC 3 3V VCC 5V LINK ACTIVE DATA VCC BRD VCC 33V VCC 5V Why SO many LE Ds i S 4 IU diu LD2C 2 LD3B LD4E VCC USB E mikroPro n R r USBDN CON VCC 1 LED DATA LED ACT USB 2 0 programmer debugger LED USB SB 2 USBDP CON C7 GND 4 IN CIRCUIT PROGRAMMER nw MCU VPP 7 MCLR RB6 PESE 887 N VCC BRD NP Three LEDs indicate specific programmer operation Link LED lights up when USB link is established with vour PC Active LED lights up when programmer is active Data is on when data is being transfered DATA BUS between t
32. k Next to procede erikeolekteonika US819F Device 454 Vista Patio Installer Congratulations You have finished drivers Instalation The drivers were installed on Unis compuler eur can new connect your device io this computer your device E came wilh nering clases reed them fing Daver Hama w to uma 4 once Step 4 Finish installation You will be informed if the dirvers are installed correctly Click on Finish button to end installation process EasyPIC PRO Programming software mikroProg Suite for PIC fo Installation wizard 6 simple steps On board mikroProg programmer requires special programming software called mikroProg Suite for PIC This software is used for programming all of p sete 228 Seto microcontroller families including PIC10 12 PIC16 PIC18 dsPIC30 33 PIC24 and PIC32 Software has intuitive interface and SingleClick programming technology Tha scar te yeu Rough Pa relatum af Sula te MP To begin first locate the installation archive our website Tyme s arpan of the sg namari welch renim en irte cur Took we abo r
33. ket for serial EEPROMs in DIP8 packaging SO you can easily exchange it with different memory size EEPROM EEPROM itself supports single byte or 16 byte page write and read operations Data rates are dependant of power supply voltage and go up to 1 MHz with 5V power supply and 400 kHz for 3 3V power supply What is I C I C 15 a multi master serial single ended bus that is used to attach low speed peripherals to computer or embedded systems 12 uses only two open drain lines Serial Data Line SDA and Serial Clock SCL pulled up with resistors SCL line is driven by a master while SDA is used as bidirectional line either by master or slave device Up to 112 slave devices can be connected to the same bus Each slave must have a unique address VCC BRD VCC BRD page 33 EasyPIC PRO v7 contains two additional pairs of screw terminals which can be used to get power supply output for your external devices There are two available output voltages 5V 3 3V Depending on which power source you use adapter laboratory power supply or USB maximum output currents can vary Power consumption of the on board modules can also affect maximum output power which can be drawn out of the screw terminals Big power consumers such as Ethernet or even GLCD with backlight can alone drastically reduce the maximum output power On board switching power supply can give maximum of 600mA of current if used wit
34. ncreases the number of for development and made a your custom electronics easier need it whether you are a supported MCUs It s like having pinout standard you will enjoy then ever before professional or a beginner two boards instead of one using DUAL POWER SUPPLY ENOL 2 RO page 4 its good to know PIC18F87K22 is the default microcontoller System Specification introduction PIC18F87K22 is the default chip of EasyPICPRO v7 Great choice for both beginners and power supply Featuring nanoWatt XLP technology it has 16 MIPS professionals 7 23 or 9 32V DC operation 128K bytes of linear program memory Rich with modules 5V or via USB cable 5V DC 3896 bytes of linear data memory and support for Comes with examples for mikroC ower consumption a wide range of power supply from 1 8V to 5V It s mikroBasic mikroPascal compilers a d 90mA at 5V when all peripheral loaded with great modules 69 General purpose CONSUMPTION modules disconnected pins 24 Analog Input pins AD internal Real time m clock and calendar RTCC support for Capacitive lt p d 395 gt gt board dimensions Touch Sensing using Charge Time Measurement Unit al 266 x 220 10 47 x 8 66 inch CTMU six 8 bit timers and five 16 bit timers It 1 also has ten CCP modules three Comparators and i weight 475g 1 0472 Ibs two MSS
35. o enable pull up resistors 2 lines of Serial EEPROM LUSB gt IRX f UART 17x 232 ETH LEDA ETH LEDB SCLi igc SDA EEPROM In order to connect 14 EEPROM to the microcontroller you must enable SW5 7 and SW5 8 switches as shown on Figure 19 1 4K7 pull up resistors necessary for communication are already provided on SDA and SCL lines once Switches are turned on Prior to using EEPROM in your application make sure to disconnect other peripherals LEDs and additional pull up or pull down resistors from the interface lines in order not to interfere with signal data integrity DATA BUS Figure 19 2 Schematic of 2 EEPROM module m ee 7 L C Y I ci Wm aw Y ES 2 UO O C EEPROM is short for Electrically Erasable Programmable Read Only Memory It is usually a secondary storage memory in devices containing data that is retained even if the device looses power supply EEPROMs come with parallel or serial interface to the master device Because of the ability to alter single bytes of data EEPROM devices are used to store personal preference and configuration data in a wide spectrum of consumer automotive telecommunication medical industrial and PC applications EasyPIC PRO v7 supports serial EEPROM which uses FC communication interface and has 1024 bytes of available memory Board contains soc
36. o receive notifications on their code www libstock com Support We all know how important it is that we can rely on someone in moments when we are stuck with our projects facing a deadline or when we just want to ask a simple basic question thats pulling us back for a while We do understand how important this is to people and therefore our Support Department is one of the pillars upon which our company is based MikroElektronika offers Free Tech Support to the end of product lifetime so if something goes wrong we are ready and willing to help www mikroe com support PIC PRO EasyPIC PRO page 37
37. oards which supported high pin count PICs into the unique EasyPIC PRO v7 Supporting microcontrollers in both 5V i Runs E introruction oss he and 3 3V power supply technology this board is truly fantastic tool for development We have put a lot of effort into board design making it easy to use and we have placed lots of modules that will help you in your work Newly redesigned MCU sockets are here to stay They are well organized and cover all high pin count PIC microcontrollers in packaging We carefully picked high quality components chose a 2 4mm PCB which makes this board especially durable We hope you will enjoy it as much as we do EasyPIC PRO v7 Development Team Two Connectors for each port Everything is already here 3 3V and 5V power supply For easier connections Amazing connectivity mikroProg on board Multimedia peripherals mikroBUS support EasyPIC PRO v7 is all about Powerful on board mikroProg EasyPIC PRO v7 is among few Just plug in your mikroBUS connectivity Having two programmer and In Circuit development boards which board and it s ready to work different connectors for debugger can program support both 3 3V and 5V We picked up a set of the each port you can connect and debug nearly 100 microcontrollers This feature most useful pins you need accessory boards sensors and microcontrollers You will greatly i
38. rs All MikroElektronika compilers mikroC mikroBasic mikroPascal for dsPIC and PIC32 natively support mikrolCD Specialized mikrolCD DLL module allows compilers to exploit the full potential of fast hardware debugging Along with compilers make sure to install the appropriate programmer drivers and mikroProg Suite for PIC programming software as described on pages 14 and 15 page 16 its hardw mikrolCD In E veh at PI ssi es with ICD Support mikrolCD in m debugger How do use the debugger When you build your project for debugging and program m 4 the microcontroller with this HEX file you can start the debugger using F9 command Compiler will change layout to debugging view and a blue line will mark where code execution is currently paused Use debugging toolbar in the Watch Window to guide the program execution and stop anytime Add the desired variables to Watch Window and monitor their values Complete guide to using mikrolCD with your compiler is provided with the EasyPIC PRO v7 package sn 20 My 09 ol ikrotlektronika Figure 5 2 mikrolCD manual explains debugging thoroughly opr Systems ed Binding ng euo fer we SS Charred Propet Zun Ioh PM ud Deus lacu Boe
39. ruction Low selection line N R W Determines whether display is in Read or Write mode E Display Enable line DO D7 Data lines RST Display reset line Vee Reference voltage for GLCD contrast potentiometer P3 LED Connection with the backlight LED anode LED Connection with the backlight LED cathode VCC BRD VCC 5V Il 9 CN16 P dll Standard PWM driven backlight As for LCD we have allowed GLCD backlight to be enabled in two different ways 1 It can be turned on with full brightness using 54 2 switch REAL ANEL HP 2 Brightness level can be determined with PWM signal from the microcontroller allowing you to write custom backlight controling DRIVEB software This backlight mode is enabled with SW4 3 switch IMPORTANT La X TOU In order to use PWM backlight both SW4 2 and SW4 3 switches must be enabled at the same time page 27 Touchpanel is a glass panel whose surface is covered touchpanel controller and connector for 4 wire resistive with two layers of resistive material When the screen touchpanels It can very accurately register pressure at a is pressed the outer layer is pushed onto the innerlayer specific point representing the touch coordinates in the form and appropriate controllers can measure that pressure of analog voltages which can then be easily converted to X and pinpoint it
40. s location This is how touchpanels can be and Y values Touchpanel is ment to be mounted onto the used as an input devices EasyPIC PRO v7 is equipped with GLCD display m 27 S E 3 afi lt lt p EN 4 Ss Em APR m Pa k E 5 lt 2 ERU lt Figure 14 1 Put Touch Panel flat cable in Figure 14 2 Use a tip of your finger Figure 14 3 Now place GLCD with the connector to push it inside Touch panel into GLCD socket Touchpanel is enabled using SW4 5 SW4 6 SW4 7 and SW4 8 switches They connect READ X and READ Y lines of the touchpanel with RF5 and RF2 analog inputs and DRIVEA and DRIVEB with RE4 and 5 digital outputs wm on microcontroller sockets Do not s connect additional boards or otherwise interfere with these lines while you use touchpanel because you may corrupt the Figure 14 5 Turn on switches results of the readings and getinacurate 5 through 8 on SW4 to enable Figure 14 4 Touch Panel touch coordinates Touch panel controller connection schematics CN16 GLCD SOCKET nj 28 TOUCHPANEL CONTROLLER Piezo Buzzer Piezoelectricity is the charge which accumulates in certain solid materials in response to mechanical pressure but also providing the charge to the piezoelectric material causes it to physically deform One of the most widely used applications of piezoelectricity is the production of sound
41. s placed correctly and press the MCU card until it is completely plugged into the socket as shown in Figure 4 3 done correctly all pins Should be fully inserted Only now you can turn on the power supply Figure 4 2 On board MCU socket has silksreen markings which will help you to correctly orient the MCU card before inserting Figure 4 3 Place the MCU card on the socket so the pins are aligned correctly Figure 4 4 Properly placed MCU card will have equally leveled pins MikroElektronika currently offers total of five populated MCU cards with different microcontrollers You can also purchase empty PCB cards that you Can populate on your own and solder any supported microcontroller you need in your development This way your EasyPIC PRO v7 board becomes truly flexible and reliable tool for almost any of your PIC projects MCU cards can also be used in your final devices For complete list of currently available MCU cards please visit the board webpage Besides default MCU card that comes with EasyPIC PRO v7 MikroElektronika offers three other standard 80 pin TQFP cards with 18 87 50 PIC18F8520 and PIC18F8722 microcontrollers Additional 80 pin TQFP Ethernet card with PIC18F87 60 enables you to utilize the ethernet connector and build ethernet applications easily ET PROM m mi 7 us p
42. sing out of the use of this manual or product even if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves the right to change information contained in this manual at any time without prior notice if necessary TRADEMARKS The MikroElektronika name and logo the MikroElektronika logo mikroC mikroBasic mikroPascal mikroProg EasyPIC EasyPIC PRO mikroBus and Click boards trademarks of MikroElektronika All other trademarks mentioned herein are property of their respective companies All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies and are only used for identification or explanation and to the owners benefit with no intent to infringe Copyright MikroElektronika 2013 All Rights Reserved DUAL POWER SUPPLY www mikroe com www mikroe com support office mikroe com EasyPIC PRO v7 Manual ver 1 01 100000 024812 0
43. tandard 45 connector which enables microcontrollers that support Ethernet communication to establish a connection with a computer router or other devices All four ethernet lines TPOUT TPIN and TPIN are routed to the MCU card socket Only microcontrollers containing embedded ethernet module soldered to 100 pin or 80 TQFP Ethernet MCU cards can use these lines and utilize ethernet connector Additional signalization LEDs are available on the board al 5 EEPROM In order to enable ethernet LEDs you must enable SW5 5 RAO SW5 6 RA1 DIP switches This connects the LEDA and LEDB lines to appropriate microcontroller pins RAO RA1 ETH LEDA ETH LEDB Figure 11 1 Ethernet connection schematics ETH LEDB LEDB ETHERNET CONNECTOR a rm J Liquid Crystal Displays or LCDs are cheap and popular way of representing information to the end user of some electronic device Character LCDs can be used to represent standard and custom characters in the predefined number of fields EasyPIC PRO v7 provides the connector and the necessary interface for supporting 2x16 character LCDs in 4 bit mode This type of display has two rows consisted of 16 character fields Each field is a 7 5 pixel matrix Communication with the display module is done through CN14 display connector Board is fitted with uniquely designed plastic display distancer which allows
44. the current program line then halts If the executed program line calls another routine the debugger will not step into it The whole routine will be executed and the debugger halts at the first instruction following the call Executes all remaining program lines within the subroutine The debugger halts immediately upon exiting the subroutine Executes the program until reaching the cursor position Toggle breakpoints option sets new breakpoints or removes those already set at the current cursor position Shows Hides window with all breakpoints Delete s selected breakpoints Opens window with available interrupts doesnt work in mikrolCD mode page 17 e Input Outpu m One of the most distinctive features of EasyPIC PRO v7 are it s Input Output PORT groups They DEAS Se add so much to the connectivity potential of the board Everything is groupped together It took us a while to realize that having PORT headers PORT buttons and Figure 6 1 1 0 group contains PORT headers tri state pull PORT LEDs next to each other and groupped together makes development up down DIP switch buttons and LEDs all in one place easier and the entire EasyPIC PRO v7 cleaner and well organized We have also provided an additional PORT headers on the right side of the board so you can access any pin you want from that side of the board too Tri state pull up down DIP switches Tri state D
45. the readings of the sensor make sure that no other device uses the selected analog line because it may interfere with the readings SyPIC PRO ES UO _ LG O has low self heating less than 0 1 C in still air EasyPIC PRO v7 provides Separate socket TS2 for the LM35 sensor in TO 92 plastic packaging Readings are done with microcontroller using single analog input line which is selected with J4 jumper Figure 17 5 LM35 connected to RA3 pin TOP VIEW VCC 5V GND DATA BUS VOUT page 31 1 P other modules Digital signals have two discrete states which are decoded N as high and low and interpreted as logic 1 and logic 0 X Analog signals on the other hand are continuous and can have any value within defined range A D converters are specialized circuits which can convert analog signals voltages into a digital representation usually in form of an integer E number The value of this number is lineary dependent on the input voltage value Most microcontrollers nowdays internally have A D converters connected to one or more input pins Some of the most important parameters of A D converters are conversion time and resolution Conversion time determines how fast can an analog voltage be represented in form of a digital number This is an important parameter if you need fast data acquisition The other p
46. value that provides clock frequency which can be used directly or with the PLL multipliers and dividers to create higher MCU clock value Some PIC18FK and all PIC18F microcontrollers have cores that work on 1 8V 2 5V voltage range and peripherals that work with 3 3V and 5V voltages Internally those microcontrollers have power regulators which adjust the core voltage levels In order for those devices to have a stable operation of the core manufacturer recommends that decoupling capacitive filters should be provided and connected between specific microcontroller pins designated with VCAP and GND This MCU card provides a VCAP jumper which is used for this purpose Jumper is removed by default These two jumpers when in USB position connect D and D lines of the on board USB connector with RF3 and RF4 microcontroller pins Since PIC18F87K22 doesn t support USB jumpers in 1 0 position For PIC18F8x 5x devices this jumper should be connected to VCC for enabling internal USB controller Since PIC18F87K22 doesn t support USB this jumper is in 1 0 position PIC18FJ and PICL8FK microcontrollers are using internal voltage regulator which is enabled by placing this jumper in VCC position Figure 4 1 Default MCU card with PIC18F87K22 VCC EasyPIC PRO N eo c o a e 0 RD6 16 RDO 18 RE6 RH2 1 60 RH3 2 ues 59 RE1 3 RBO 58 REO 4 RBI 5

Download Pdf Manuals

image

Related Search

Related Contents

Modelo 28811 Serie DECT 6.0 Sistema de Auricular Inalámbrico y  Operating Instructions - biovendis  Lamborghini - Xilo T 20 N MS  Un homme qui dort - CRDP de Paris  PocketPro USB  2 - Cristian Lay  Service Manual  DMC-1412/1414 User Manual  Casio Watch 438 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file