microcontrollers supported Supports 3.3V and 5V devices Easily add extra boards Four connectors for each port Fast USB 2.
To our 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 EasyPIC™ boards myself with my home soldering iron. EasyPIC PRO™ follows the same path.
Table of contents Introduction Communication Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 04 UART via RS-232 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 It's good to know . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 05 UART via USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 USB device communication . . . . . . . . . . . . . . . . . . . . . . . .
introruction Introduction For the first time in history we have managed to combine all the features of BIGPIC6 and LV18F v6 boards, which supported high pin count PICs into the unique EasyPIC™ PRO v7. Supporting microcontrollers in both 5V 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.
introduction It's good to know PIC18F87K22 is the default microcontoller! PIC18F87K22 is the default chip of EasyPIC PRO™ v7. Featuring nanoWatt XLP technology, it has 16 MIPS ™ System Specification - Great choice for both beginners and professionals operation, 128K bytes of linear program memory, - Rich with modules 3896 bytes of linear data memory, and support for - Comes with examples for mikroC, a wide range of power supply from 1.8V to 5V.
power supply Power supply Board contains switching power supply that creates stable voltage and current levels necessary for powering each part of the board. Power supply section contains two power regulators: MC34063A, which generates VCC-5V, and MC33269DT3.3 which creates VCC-3.3V power supply, thus making the board capable of supporting both 5V and 3.3V microcontrollers.
power supply Smart engineering of EasyPIC PRO™ v7 develop ment board allowed us to support both 3.3V and 5V microcontrollers on a single board, which is almost 100 high pin count PIC® devices. Power supply: via DC connector or screw terminals (7V to 23V AC or 9V to 32V DC), or via USB cable (5V DC) Power consumption: up to 600mA (depending on how many on-board modules are currently active) How to power the board? 1.
supported MCUs Default MCU card Microcontrollers are supported using specialized MCU cards containing 104 pins, which are placed into the on-board female MCU socket. Currently, there are three types of cards: Standard 80-pin TQFP, Ethernet 80-pin TQFP card and Ethernet 100-pin TQFP PF card. Standard card supports 80-pin PIC18Fxxxx, PIC18FxxJxx and PIC18FxxKxx microcontrollers, with or without USB support.
supported MCUs VCC RJ3 RB1 RB3 RB5 RB7 RC4 RC2 RJ6 VCC HD4D 103 101 99 97 95 93 91 89 87 85 83 81 79 GND 104 102 100 98 96 94 92 90 88 86 84 82 GND 80 RJ2 RB0 RB2 RB4 RB6 RC5 RC3 RJ7 VCC VCC E2 10uF VCC 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 RD1 RD2 RD3 RD4 RD5 RD6 RD7 RJ0 RJ1 RH1 RH0 RE2 RE3 RE4 RE5 RE6 RE7 RD0 E1 10uF RH1 RH0 RE2 RE3 RE4 RE5 RE6 RE7 RD0 VDD GND RD1 RD2 RD3 RD4 RD5 RD6 RD7 RJ0 RJ1 U1 GND VCC J1B E3 10uF HD1A J3 VCC RF4 RF4/DP DP RF3 RF3/DM DM J4
supported MCUs How to properly place your MCU card into the socket? 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 1 Figure 4-2: On-board MCU socket has silksreen markings which will help you to correctly orient the MCU card before inserting. EasyPIC PRO™ v7 board MCU socket.
supported MCUs Other supported MCU cards 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.
programming On-board programmer What is mikroProg™? mikroProg™ is a fast USB 2.0 programmer with mikroICD™ hardware In-Circuit Debugger. Smart engineering allows mikroProg™ to support all nearly 100 PIC18 devices in a single programmer. It also features a powerful mikroICD™ debugger which will be of great help in your development. Outstanding performance and easy operation are among it's top features.
Here's the list of all microcontrollers which are supported with mikroProg™ programmer and debugger on EasyPIC PRO™ v7 board. The list may grow with each new release of mikroProg Suite™ for PIC® software.
programming Installing programmer drivers On-board mikroProg™ requires drivers in order to work. Drivers can be found on the link below: http://www.mikroe.com/downloads/get/1201/ mikroprog_for_pic_drivers_v200.zip 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.
mikroProg Suite™ for PIC® On-board mikroProg™ programmer requires special programming software called mikroProg Suite™ for PIC®. This software is used for programming all of Microchip® microcontroller families, including PIC10, PIC12, PIC16, PIC18, dsPIC30/33, PIC24 and PIC32. Software has intuitive interface and SingleClick™ programming technology. To begin, first locate the installation archive on our website: programming Programming software Installation wizard - 6 simple steps http://www.mikroe.
programming mikroICD - 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.
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. Toolbar Icon Command Name Shortcut Description Start Debugger [F9] Starts Debugger. Run/Pause Debugger [F6] Run/Pause Debugger. Stop Debugger [Ctrl + F2] Stops Debugger. Step Into [F7] Executes the current program line, then halts.
connectivity Input/Output Group One of the most distinctive features of EasyPIC PRO™ v7 are it’s Input/Output PORT groups. They add so much to the connectivity potential of the board.
connectivity Headers Buttons LEDs With enhanced connectivity as one of the key features of EasyPIC PRO™ v7, we have provided two connection headers for each PORT. I/O 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.
connectivity mikroBUS sockets ™ Easier connectivity and 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.
connectivity ADC click™ RFiD click™ BlueTooth click™ MP3 click™ GSM click™ Click Boards are plug-n-play! ™ MikroElektronika portfolio of over 200 accessory boards is now enriched by an additional set of mikroBUS™ compatible Click Boards™. Almost each month several new Click boards™ are released.
communication UART via RS-232 Enabling RS-232 In order to enable RS-232 communication, you must push SW5.3 (RG1) and SW5.4 (RG2) to ON position. This connects the RX and TX lines to appropriate microcontroller pins and its second UART module. The UART (universal asynchronous receiver/ transmitter) is one of the most common ways of exchanging data between the MCU and peripheral components. It is a serial protocol with separate transmit and receive lines, and can be used for fullduplex communication.
Enabling USB-UART communication UART via USB 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.
communication USB device communication Enabling USB DATA BUS USB is the acronym for Universal Serial Bus. This 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).
communication 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 errorchecking data so that damaged data can be detected and re-transmitted.
displays LCD 2x16 characters 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 7x5 pixel matrix.
DATA BUS 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.
displays Touchpanel controller Touchpanel is a glass panel whose surface is covered with two layers of resistive material. When the screen is pressed, the outer layer is pushed onto the inner layer and appropriate controllers can measure that pressure and pinpoint its location. This is how touchpanels can be used as an input devices. EasyPIC PRO™ v7 is equipped with touchpanel controller and connector for 4-wire resistive touchpanels.
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 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.
other modules DS1820 - Digital Temperature Sensor DS1820 is a digital temperature 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 of 750ms for the DS1820 to calculate temperature with 9-bit resolution.
The LM35 is a low-cost precision integrated-circuit temperature sensor, whose output voltage is 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 obtain convenient Centigrade scaling.
other modules ADC inputs Digital signals have two discrete states, which are decoded as high and low, and interpreted as logic 1 and logic 0. 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 number. The value of this number is lineary dependent on the input voltage value.
I C EEPROM Enabling I2C EEPROM Figure 19-1: Activate SW5.7 and SW5.8 switches to enable pull-up resistors in I2C lines of Serial EEPROM. In order to connect I2C 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 I2C communication are already provided on SDA and SCL lines once switches are turned on.
other modules Output voltages 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 and 3.3V. Depending on which power source you use (adapter, laboratory power supply, or USB), maximum output currents can vary. Power consumption of the onboard modules can also affect maximum output power which can be drawn out of the screw terminals.
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. 1 GND is located next to the RS-232 connector. 2 GND is located right to the piezo buzzer, next to PORTA header. 3 GND is located above PORTJ I/O group, next to PORTF header.
What’s 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 can get help from a large ecosystem of users.
notes EasyPIC PRO v7 page 37
notes EasyPIC PRO v7 page 38
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.
If you want to learn more about our products, please visit our website at www.mikroe.com If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/support/ If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com EasyPIC PRO v7 Manual ver. 1.