background image

Distributor of MikroElektronika: Excellent Integrated System Limited

Datasheet of MIKROE-766 - BOARD DEVELOPMENT READY PIC 
Contact us: [email protected] Website: www.integrated-circuit.com

Page 10

2. Programming with mikroBootloader

After the software is downloaded unzip it to the desired location 
and start mikroBootloader software.

note

Figure 2-1: mikroBootloader window

mikroBootloader software

01

When you start mikroBootloader, a window as shown 
in Figure 2-1 should appear.

Before starting mikroBootloader, connect Ready for PIC

®

 to a 

PC using the USB cable provided with the package

http://www.mikroe.com/eng/downloads/get/1808/

ready_pic_mikrobootloader.zip

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: 

                            11 / 29

                            11 / 29

Summary of Contents for Ready for PIC

Page 1: ...mited Excellent Integrated System Limited Stocking Distributor Stocking Distributor Click to view price real time Inventory Delivery Lifecycle Information Click to view price real time Inventory Delivery Lifecycle Information MikroElektronika MikroElektronika MIKROE 766 MIKROE 766 For any questions you can email us directly For any questions you can email us directly sales integrated circuit com s...

Page 2: ... READY PIC Contact us sales integrated circuit com Website www integrated circuit com Readyfor PIC PIC socket with DIP40 Best solution for fast and simple development of applications using 40 pin PIC MCUs Due to the special white plastic casing the Ready for PIC board can be quickly turned into a final product ...

Page 3: ...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 TO OUR VALUED CUSTOMERS Nebojsa Matic General Manager The PIC and Windows logos and product names are trademarks of Microchip Technology and Micros...

Page 4: ...ith mikroBootloader 10 mikroBootloader software 10 Identifying device COM port 11 step 1 Choosing COM port 11 step 2 Establishing connection 12 step 3 Browsing for HEX file 12 step 4 Selecting HEX file 13 step 5 Uploading HEX file 13 step 6 Progress bar 14 step 7 Finishing upload 14 3 Programming with mikroProg programmer 15 4 USB UART 18 5 Prototyping area 19 6 Pin headers and connection pads 20 ...

Page 5: ...h the PIC18F45K22 MCU that is placed in a DIP 40 socket and contains male headers and connection pads for all available microcontroller ports 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 prototyping area a...

Page 6: ... Datasheet of MIKROE 766 BOARD DEVELOPMENT READY PIC Contact us sales integrated circuit com Website www integrated circuit com Page 5 Package contains 01 Damage resistant protective box 02 Ready for PIC board 03 User s guide and schematics 04 USB cable one 2x5 header ...

Page 7: ...D 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 PIC18F45K22 microcontroller Crystal oscillator Connection pads Prototyping area System specification power supply Via AC DC connector 7 23V AC or 9 32V DC board dimensions 141 x 84mm 5 55 x 3 3 inch weight 60g 0 13 lb...

Page 8: ...ika Excellent Integrated System Limited Datasheet of MIKROE 766 BOARD DEVELOPMENT READY PIC Contact us sales integrated circuit com Website www integrated circuit com Page 7 01 02 03 14 04 02 06 11 13 12 05 07 08 08 10 09 13 08 08 ...

Page 9: ...nnection 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 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 ...

Page 10: ...out Vin REG1 MC33269DT3 3 E2 10uF 3 3V VOLTAGE REGULATOR VCC 3 3V E1 10uF D3 1N4007 D5 1N4007 D2 1N4007 D4 1N4007 CN2 CN46 VCC 5V POWER R2 2K2 LD1 E4 330uF 35V E5 330uF 35V SWC SWE CT GND DRVC IPK VIN CMPR U2 MC34063A R10 0 22 R7 3K C9 220pF D6 MBRS140T3 L1 220uH VCC EXT R8 1K 5V SWITCHING POWER SUPPLY VCC 5V VCC VCC 5V VCC 3 3 J1 1 2 3 4 VCC GND D D CN1 USB B VCC 5V VCC USB D1 MBRS140T3 FP1 FERRI...

Page 11: ... Figure 2 1 mikroBootloader window mikroBootloader software 01 When you start mikroBootloader a window as shown in Figure 2 1 should appear Before starting mikroBootloader connect Ready for PIC to a PC using the USB cable provided with the package http www mikroe com eng downloads get 1808 ready_pic_mikrobootloader zip You can program the microcontroller with the bootloader that is preprogrammed i...

Page 12: ...Page 11 step 1 Choosing COM port Figure 2 3 Choosing COM port 01 01 Identifying device COM port Figure 2 2 Identifying COM port 01 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 01 02 03 Click the Change Settings button From the drop down list select appropriate COM port in this case it is COM3 Click OK 03 02 ...

Page 13: ... step 3 Browsing for HEX file 01 01 Figure 2 4 Connecting with mikroBootloader Figure 2 5 Browse for HEX 01 01 Press the Reset button on the Ready for 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 Click the Browse for HEX button and from a pop up window Figure 2 6 choose a HEX...

Page 14: ...ales integrated circuit com Website www integrated circuit com Page 13 step 4 Selecting HEX file step 5 Uploading HEX file Figure 2 6 Locating and selecting hex file Figure 2 7 Begin uploading 01 01 02 Select the HEX file using the Open dialog win dow Click Open To start HEX file bootloading click the Begin uploading button 01 02 01 ...

Page 15: ...Website www integrated circuit com Page 14 step 7 Finishing upload 01 Figure 2 8 Progress bar Figure 2 9 Restarting MCU 01 01 02 You can monitor HEX file uploading via progress bar 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 step 6 Progress bar 01 ...

Page 16: ...rcuit com Website www integrated circuit com Page 15 Figure 3 1 mikroProg programmer 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 3 Programming with mikroProg programmer ...

Page 17: ...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 I O pins and MCLR to be used as a reset pin ...

Page 18: ... com Page 17 VCC MCU VCC mikroProg CONNECTOR VCC MCU RB7 MCU RB6 MCU MCLR MCU RB7 RB6 MCLR VCC MCU 6 8 10 9 7 5 1 2 3 4 CN5 X1 8 MHz C4 100nF C10 100nF C1 22pF C2 22pF RB7 MCU RB6 MCU MCLR MCU OSC1 OSC2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 U1 VCC MCU VCC MCU DIP 40 Figure 3 6 mikroProg programmer connection schematic ...

Page 19: ...USB B USBDM USBDP VCC 5V VCC USB VCC FTDI VCC VCC RX LED TX LED LD2 LD3 VCC J3 J2 C8 100nF D1 MBRS140T3 FP1 FERRITE C7 100nF R3 2K2 R4 2K2 C5 100nF C6 100nF E3 10uF DATA BUS 4 USB UART Figure 4 2 USB UART schematic http www ftdichip com Drivers VCP htm Fast on board FTDI chip allows Ready for PIC to communicate with a PC or other UART devices using a USB UART connection USB B connector CN1 is used...

Page 20: ...th additional 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 connected power pads GND and VCC and 186 unconnected pads Figure 5 1 Proto area usage LD1 GREEN LD2 RED LD3 YELLOW R1 R2 R3 RA0 RA1 RA2 DATA BUS Figure 5 2 schematic of ...

Page 21: ...r 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 i...

Page 22: ... 100nF C10 100nF RD0 RD1 RD7 RD6 RD5 RD4 RD3 RD2 RA0 RA1 RA2 RA3 RA4 RA5 RE0 RE1 RE2 RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 RC0 RC1 RC2 RC7 RX RC6 TX RC3 SCK RC5 SDO RC4 SDI MCLR RD0 RD1 RD7 RD6 RD5 RD4 RD3 RD2 RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 VCC 3 3 VCC 5V OSC1 OSC2 RA0 RA1 RA2 RA3 RA4 RA5 RE0 RE1 RE2 RC0 RC1 RC2 RD0 RD1 RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 RD7 RD6 RD5 RD4 RC7 RX RC6 TX RC4 SDI RD3 RD2 MCLR ...

Page 23: ...12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 U1 VCC MCU VCC MCU DIP 40 7 Reset button 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 microc...

Page 24: ...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 specific areas depending on the target application Figure 8 1 Place the board into the bottom part of the casing Make sure that the connectors are aligne...

Page 25: ... READY PIC Contact us sales integrated circuit com Website www integrated circuit com Page 24 100 mils 360 mils 701 5 mils 1236 4 mils 510 mils 4881 9 mils 5551 2 mils 100 mils 2 54 mm 48 mm 1889 8 mils 66 mm 2598 4 mils 84 01 mm 3307 3 mils 124 mm 141 mm 2 54 mm 12 95 mm 31 41 mm 9 14 mm 17 81 mm 9 Dimensions ...

Page 26: ...tributor of MikroElektronika Excellent Integrated System Limited Datasheet of MIKROE 766 BOARD DEVELOPMENT READY PIC Contact us sales integrated circuit com Website www integrated circuit com Page 25 Notes ...

Page 27: ...tributor of MikroElektronika Excellent Integrated System Limited Datasheet of MIKROE 766 BOARD DEVELOPMENT READY PIC Contact us sales integrated circuit com Website www integrated circuit com Page 26 Notes ...

Page 28: ...ess 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 mik...

Page 29: ...r 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 Ready for PIC DIP40 Manual ver 1 12a 0 100000 026311 PIC Powered by TCPDF www tcpdf org ...

Reviews: