Home

Ready for PIC Manual

image

Contents

1. 26 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 may 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 e
2. Settings Port Choose HEX file Baud rate Data bits Start bootloader Stop bits Parity Flow control No files opened Figure 2 3 Choosing COM port e Click the Change Settings button From the drop down list select appropriate COM port in this case it is COM3 Click OK step 2 Establishing connection Z mikroElektronika Bootloader v2 1 0 0 1 Setup COM Port COM3 Change port Baud Rate 115200 Settings Connect to MCU Connect 9 er Choose Browse HEX file for HEX Start Begin bootloader uploading Figure 2 4 Connecting with mikroBootloader 01 Press the Reset button on the Ready PIC board and click the Connect button within 5s otherwise the existing microcontroller program will run If connected the button s caption will be changed to Disconnect step 3 Browsing for HEX file mikroElektronika Bootloader v2 1 0 0 1 Setup COM Port COM3 Change port ud Rate 115200 Settings Ba Connect to MCU Disconnect Choose Browse HEX file for HEX Start Begin bootloader uploading Figure 2 5 Browse for HEX oD Click the Browse for HEX button and froma pop up window Figure 2 6 choose a HEX file to be uploaded to MCU memory step 4 Selecting HEX file k Computer New folder gt development E LED Blinking Organize v c Favorites Date modified Type RE Desktop Downloa
3. 07070 0000 00000000 02000000000 MikroElektronika DEVELOPMENT TOOLS COMPILERS I BOOKS Best solution for fast and simple development of applications using 40 pin MCUs Due to the special white plastic casing the Ready for PIC board can be quickly turned into a final product 0 91885110 want to express my thanks to you for being interested in our products and for having confidence in MikroElektronika The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs Nebojsa Matic General Manager The PIC and Windows logos and product names are trademarks of Microchip Technology and Microsoft in the U S A and other countries Table of contents Introduction Package contains Key features 1 Power supply 2 Programming with mikroBootloader mikroBootloader software Identifying device COM port step 1 Choosing COM port step 2 Establishing connection step 3 Browsing for HEX file step 4 Selecting HEX file ce cu 10 10 11 11 12 12 13 step 5 Uploading HEX file step 6 Progress bar step 7 Finishing upload 3 Programming with mikroProg programmer 4 USB UART 5 Prototyping area 6 Pin headers and connection pads 7 Reset button 8 Integrating with the casing 9 Dimensions 13 14 14 15 18 19 20 22 23 24 Ready for PIC Board is the best sol
4. 3 Change w Rx t cues Dm 4 Reset MCU Uploading program has finished Bootloading a progress bar Show Activity F LED Blinking LedBlinking hex Figure 2 9 Restarting MCU 01 Click OK after the uploading process is finished Press the Reset button on the Ready for PIC board and wait for 5 seconds Your program will run automatically kroProg 2 du ramming Pro The board is equipped with mikroProg connector pads which allow you to program the microcontroller using external mikroProg programmer Before attaching the programming connector it is necessary to make a few adjustments Page 16 Y Y t 1 Figure 3 mikroProg programmer Page 15 Figure 3 2 cutting copper Figure 3 3 placing 2x5 Figure 3 4 soldering 2x5 Figure 3 5 Connecting between pads male header male header on the pads mikroProg programmer First you need to cut the copper between pads for the external programmer Figure 3 2 By doing so pins RB6 RB7 and VCC on the MCU will be separated from the rest of the board After that it is time to place Figure 3 3 and solder Figure 3 4 a 2x5 male header on the pad CN5 Now attach the external mikroProg programmer connector on the 2x5 header Figure 3 5 After the programming process is finished you can remove the programmer connector and solder jumpers over pads in order to enable pins RB6 RB7 to be used as 1 0 pi
5. LED ON GREEN indicates the presence of a power supply Use only one of the suggested methods for powering the board If you use an MCU with a 5V power supply place jumper J1 in the 5V position Otherwise it should be placed in the 3 3V position VCC 5V REG1 VCC 5V VCCQ4USB GND 2 3 Vout VCC 3 3V R2 VCC 5V Vin 2K2 E2 MC33269DT3 3 10uF D1 El MBRS140T3 ERI T D POWER MU FERRITE 3 3V VOLTAGE REGULATOR 100nF VCC 3 3 2 5V ES VCC 5V 1N4007 D5 E5 330uF 35V D6 MBRS140T3 CN46 E4 1N4007 330uF 35V 5V SWITCHING POWER SUPPLY de Figure 1 4 Power supply schematic with mikroBootloader You can program the microcontroller with the bootloader that iS preprogrammed into the device by default To transfer hex file from a PC to the MCU you need the bootloader software mikroBootloader which can be downloaded from ka http www mikroe com eng downloads get 1808 ready_pic_mikrobootloader zip After the software is downloaded unzip it to the desired location and start mikroBootloader software ready_PIC_mikrobootloader WinRAR archive 7 97 MB li ready for PIC bootloader File folde 18 45 22 File folder Firmware d File folder picl8f45k22_bootloader_firmware h e 4 EX File Software Linux File folder Software Windows File folder mikroBootloader Bootloader tool for mikroElektron mikroElek
6. cific areas depending on the target application 9 Dimensions 100 mils 2 54 mm 100 mils 2 54 mm ady for PIC BOX version 000000000000 PROTO AREA 510 mils 1236 4 mils 12 95 mm 31 41 mm 360 mils 701 5 mils 914mm 17 81mm POWER m m D RC3 RC4 I a RB6 VCC RBS 3 39 RB4 HWREV 1 12 C10 SCK miso RE PORTC 4 5 6 7 9 RCS SI mim m B N RC4 mikroprog I Je RD2 CONNECTOR U HB m t ORDER TO USE MIKROPROG lt THE COPPER BETWEEN THE PADS n 9 Z AND SOLDER AN M2X5 CONNECTOR _ jud m m c 4881 9 mils 124 mm 1889 8 mils 48 mm 2598 4 mils 66 mm 3307 3 mils 84 01 mm 25
7. cification AC 7 23V DC 9 3ev N J CH CONSUMPTION power supply Via AC DC connector 7 23V AC or 9 32V DC power consumption 6 2mA in idle state when on board modules are off board dimensions 141 x 84mm 5 55 x 3 3 inch weight 60g 0 13 Ibs Power LED indicator UART communication LEDs RX TX FTDI chip USB UART connector Power supply select Power adapter connector Power screw terminals Male headers Reset button mikroProg connector PICL8F45K22 microcontroller Crystal oscillator Connection pads Prototyping area HELLEF dIHIOMDIW K uU PROTO AREA 5 C 8 nos A UMAN J9pegeollood DIGITAL 10 _ A ORDER TO USE MIKROPROG o O CU THE COPPER B TWEEN THE PADS 9 l 4 Z AND SOLDER AN 2 5 CONNECTOR 1 Power supply Figure 1 1 Figure 1 2 Figure 1 3 USB power supply AC DC adapter power supply screw terminals power supply Ready for PIC board can be powered in three different ways via USB connector CN1 via adapter connector using external adapters CN2 via additional screw terminals CN46 The USB connection can provide up to 500mA of current which is more than enough for the operation of every on board module and the microcontroller as well If you decide to use external power supply voltage values must be within 7 23V AC or 9 32V DC range Power
8. ds Recent Places Libraries B Documents 4 Music Pictures B Videos 48 Homegroup BR Computer File name LedBlinking hex Figure 2 6 Locating and selecting hex file Select the HEX file using the Open dialog win dow Click Open Page 13 step 5 Uploading HEX file EEN mikroBootloader Setup Port port Baud Rate 115200 Select MCU Change Conn Settings 9 Rx History Window Setup Port COM3 Waiting MCU response Connected Opened F LED Blinking LedBlinking hex Connect to MCU Disconnect for HEX Begin uploading Bootloading progressbar ______ ShemAetvity F LED Blinking LedBlinking hex Choose HEX file Start bootloader Figure 2 7 Begin uploading To start HEX file bootloading click the Begin uploading button Step 6 Progress bar Setup Port COM3 ESCAS Con Rx port Baud Rate 115200 gs o Connect History Window to MCU Setup Port COM3 Waiting MCU response Connected Choose Opened F V ED Blinking LedBlinking hex HEX file bootloader uploading Bootloading 2 8 progress Show Activity Uploading F LED Blinking LedBlinking hex Figure 2 8 Progress bar 01 You can monitor HEX file uploading via progress bar Page 14 step 7 Finishing upload 22 mikrotiektronika sss mikroBootloader PICS KA 1 Setup COM Port COM
9. l functionality It can be done by placing your additional components on the available prototyping area Pads are arranged in standard 100mils distance form factor There are 30 groups of 6 connected pads two groups of 13 1 Figure 5 connected power pads GND and VCC and 186 unconnected pads Proto area usage Page 19 6 Pin headers and connection pads Each microcontroller pin is available for further connections through four on board 2x5 connection headers and two 1x28 connection pads Pins are grouped in four PORT groups 2x5 male headers as well as per their functions 1x28 connection pads which makes development and connections much easier Everything is printed on the silkscreen so that there will be no need of using microcontroller data sheet while developing Before using the pins it is necessary to solder 2x5 male headers 1 4 on the board pads VCC 3 3 gt i VCC MCU 2 O gt Q O gt DIP 40 MCLR OSC1 o a AN D x OD N ral 5 SULIT Ph E Td oo N 2 G 5V Figure 6 1 Schematic of pin headers and connection pads 7 Reset button VCC 5V VCC MCU DIP 40 VCC MCU U1 MCLR 1 CR m ES UR _ NI VCC MCU VCC MCU 3 38 IR NI C4 C10 5 36 1 1 100nF 100nF 7 34 UR NI 8 33 8 9 32 UR 10
10. m CH 11 30 MCLR I 12 A osci 13 M 25 15 m 15 26 100nF MCLR 16 25 UR NI 17 24 OH oa e Figure 7 1 8 22pF E li Reset button OSC1 connection OSC2 X1 18 MHz schematic L 22pF Ready for PIC board has a specialized reset circuit with a high quality reset button which can be used to reset the program execution of the microcontroller If you want to reset the circuit press the on board RESET button It will generate a low voltage level on the microcontroller reset pin input In addition a reset can be externally generated through MCLR pin on 1x28 connection pads Page 22 lt lt Figure 8 1 Figure 8 2 Figure 8 3 Place the board into the bottom part of Wind screws into inner screw holes Place cover casing plastic and wind the casing Make sure that the connectors to fix the board with the bottom screws into outer screw holes to fix it are aligned with square openings plastic casing with bottom plastics casing Ready for PIC can easily be integrated into the specialized white plastic casing This feature is very convenient for turning the board into a final product The white plastic casing contains inner and outer screw holes Inner are used for fixing the board to the casing and outer are used for fixing the top part of the casing Casing comes with holes for USB and power adapter connector but you can customize it by drilling and cutting holes in spe
11. mployees 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 arising 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 mikroC mikroBasic mikroPascal mikroProg Ready mikroBUS EasyPIC click boards and mikromedia are 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 2014 MikroElektronika All Rights Reserved www mikroe com www mikroe com support Ready for PIC 40 Manual office mikroe com ver 1 12a 100000 A 1
12. ns and MCLR to be used as a reset vcc McU DID A0 vcc vcu MCLR MCU RB7 MCU RB6 MCU VCC MCU OSC1 Ext 0522 LI RBEMCU 5_ il ez 22pF MCLR MCU a EN mikroProg L VCC MCU VCC MCU CONNECTOR C4 C10 Figure 3 6 mikroProg programmer connection schematic 4 USB UART Fast on board FTDI chip allows Ready for to communicate with a PC or other UART devices using a USB UART connection USB B connector CN1 is used for connecting the USB cable RX receive and TX transmit LEDs will indicate communication status Before connecting the board to a PC make sure that you have the appropriate FTDI drivers installed on your operating system Drivers can be found at the following URL http www ftdichip com Drivers VCP htm VCC 1 2 J2 4 5 16 11 6 B FT232RL DATA BUS VCC R3 2K2 VCC R4 2K2 Figure 4 1 connected USB UART VCC 5V VCC USB VCC 1 26 LD2 LD3 B 4 2 MBRS140T3 RX LED D 3 22 TX LED 21 20 VCC FTDI 19 FERRITE 17 16 15 C8 C7 lc C6 E3 Figure 4 2 ui 100nF 100nF 10uF USB UART schematic DATA BUS 5 Prototyping area Figure 5 2 schematic of three LEDs connected to 1 5 ge cv 9 oe a in Figure 5 Ae 4 Proto area allows you to expand your Ready for PIC board with additiona
13. tronika Te f mikroBootloader software 01103 Before starting mikroBootloader connect Ready for PIC to a PC using the USB cable provided with the package Z mikroElektronika Bootloader v2 1 0 0 mikroBootloader Setup Port COM1 Change port Baud Rate 9600 Settings Connect to MCU Connect Choose Browse HEX file for HEX Start Begin bootloader uploading Show Activity Figure 2 1 mikroBootloader window When you start mikroBootloader a window as shown in Figure 2 1 should appear Identifying device COM port File Action View Help sz S 2 Res b dg Human Interface Devices gt IDE ATA ATAPI controllers gt lt 2 Keyboards gt D Mice and other pointing devices gt Mi Monitors 2 8 Network adapters gt A Other devices 9 Ports COM amp LPT i vy Communications Port COMI 9 Printer Port LPT1 4197 USB Serial Port COM3 gt n Processors gt ai Sound video and game controllers gt System devices p P Universal Serial Bus controllers Figure 2 2 Identifying COM port 0 Open Device Manager window and expand Ports section to see which COM port is assigned to Ready for PIC board in this case it is COM3 Page 11 step 1 Choosing COM port Sekine ae laa mikroBootloader 1 Setup Port 1 Change port Baud Rate 9600 Settings r r r 0 1 Connect to MCU
14. ution for fast and simple development of various microcontroller applications The board is equipped with the PIC18F45K22 MCU that is placed in a DIP 40 socket and contains male headers and connection pads for all available microcontroller ports Pace The pins are grouped according to their functions which is clearly indicated on the silkscreen The MCU comes preprogrammed with mikroBootloader but it can also be programmed with mikroProg programmer The board also contains USB UART module EEEE P prototyping area and a power supply circuit e NO SOLDER AN MaKe 12202243 Itis specially designed to fit into the special white plastic casing so that vou can turn your PIC project into a final product ie Ready for PIC BOX version POWER XX 519 9 66mm ks 2 2 57mm ef ET HW 1 12 RAO RAL RA2 RAZ RAS RAS ae e REI z 2 9 vec 5 Package contains Ready SCHEMATICS Best solution for fast and simple development of applications using 40 pin PIC MCUs Due to the special white plastic casing the Ready PIC board can be quickly tumed into a final product gt IC w DIP40 secket PIC deve t Lactually work MikroElektronika a Zeg BCOMPRERS 30045 5 User s guide and schematics Page 5 Ready for PIC board o USB cable one 2x5 header System spe

Download Pdf Manuals

image

Related Search

Related Contents

Insignia NS-PWLC563-C Tablet Accessory User Manual  2 - Sulky Burel  Franklin Rolodex RFNA-2 User's Manual  Philips DVP3360K/51 User's Manual  CATC USB Port Tester User`s Manual  SAVe TheSe inSTruCTionS iMPorTAnT SAFeTY inSTruCTionS  Programme-3eRVH (2 - Centre Hospitalier de Thiers    構成部品一覧 取扱説明書  Dataflex Universal LCD/Plasma Bracket 352  

Copyright © All rights reserved.
Failed to retrieve file