user's guide to Ready for PIC BOX edition Best solution for fast and simple development of applications using 28- and 40-pin PIC devices.
TO OUR VALUED CUSTOMERS I 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 Microchip, Atmel, NXP and CYPRESS name, logo and products names are trademarks of Microchip, Atmel, NXP and CYPRESS Inc. in the U.S.A. and other countries. Page 2
Table of Contents Introduction to Ready for PIC 4 Key features 4 System Specification 5 1. Power Supply 6 Voltage supply selector 7 2. Programming MCU 8 3. USB UART module 10 4. Board schematic 11 5. Board dimensions 12 Page 3
Introduction to Ready for PIC Ready for PIC is a compact development tool for device development based on PIC microcontrollers. Board is equipped with PIC16F887 MCU that is placed in DIP40 socket. Instead of DIP40 socket you can solder one for microcontrollers in DIP28 package. To program PIC16F887 MCU you can use preinstaled bootloader or external programmer (mikroprog for PIC, dspic and PIC32). For easy access to MCU pins there are four 2x5 male headers that are marked with name of the MCU pin for which they are attached. 03 04 05 Key features 01 06 01 02 03 2x5 male header PROTO board section USB UART module 02 07 04 05 06 USB connector AC/DC connector Power supply selector 07 PIC16F887 in DIP40 socket 08 2x5 male header for mikroprog 09 RESET button 08 09 Page 4
System Specification power supply Via AC/DC connector 7-23V AC or 9-32V DC power consumption ~25mA (depends of placed MCU and attached devices) board dimensions 140 x 82mm (5.51 x 3.22 ) weight ~67g (0.15 lbs) Page 5
1. Power Supply To power up Ready for PIC board connect it with power supply source via AC/DC connector or via screw terminal, Figure 1-2. Power supply voltage can vary from 7 to 23V AC or 9 to 32V DC. There s no need for voltage polarity orientation because Ready for PIC has diode bridge rectifier on-board. Figure 1-1: Connecting power supply via AC/DC connector Figure 1-2: Power supply screw terminal Page 6
Voltage supply selector Place jumper in 5V position in order to use MCU that use 5V power supply Place jumper in 3.3V position in order to use MCU that use 3.3V power supply Figure 1-3: 5V power supply Figure 1-4: 3.3V power supply To use MCUs with different power supply voltages it is necessary to place jumper marked with SUPPLY SELECT (J1) in correct position. If you use MCU with a 5V power supply place jumper J1 in 5V position. Otherwise, for 3.3V MCU place it in 3.3V position. Page 7
2. Programming MCU If you want to use external programer prior to bootloader on PIC16F887 (or any other MCU) you need to make few adjustments. First you need to cut copper between pads for the external programmer, Figure 2-1. By doing so it will be made separation between pins RB6, RB7, MCLR and on MCU and from rest of the board. After cut is made it s time to solder the 2x5 male header to the pads CN5, Figure 2-2. Now it s time to place external programer s ICD10 connector on 2x5 male header, Figure 2-3. After programming process is finished remove programer s connector and place jumpers over pins on 2x5 male header in order to use pins RB6, RB7 and MCLR on rest of the board. Figure 2-1: Make a cut before 2x5 header is placed Figure 2-2: Solder 2x5 male header Page 8
When soldering process is finished you can use external programer (mikroprog for PIC, dspic, and PIC32) for MCU programing. To place mikroprog s IDC10 connector properly make sure that knob and incision are placed towards inner side of the board, Figure 4-3. Figure 2-3: Connecting external programmer Page 9
3. USB UART module Development tool can communicate with USB devices via USB UART module. This module comes in form of FT232RL chip which is interface between serial UART on MCU and USB device. Figure 3-1: Connecting USB cable with USB UART module When data transfer via USB UART module is active a LEDs marked with Rx and Tx will flicker Page 10
4. Board schematic REG1-3.3 VIN -5V 3 VOUT 2 E1 1 E2 MC33269DT3.3 10uF 10uF AC/DC CN2 D4 D5 J1-5V -3.3 D2 D3 4x1N4007 CN46-5V E4 330uF R2 2K2 LD1 C9 220pF -FTDI C5 100nF U2 SWC SWE CT GND -FTDI R10 0.22 MC34063A E3 10uF DRVC IPK Vin CMPR R8 1K C6 100nF R7 3K -FTDI CN1 -USB D- D+ GND USB B L1 220uH -5V E5 330uF D6 MBRS140T3 D1 MBRS140T3 FP1 FERRITE C7 100nF -5V USBDM USBDP U3 TXD DTR# RTS# IO RXD RI# GND NC DSR# DCD# CTS# CBUS4 3V3OUT CBUS2 USBDM CBUS3 USBDP FT232RL OSCO OSCI TEST AGND NC CBUS0 CBUS1 GND RESET# GND RX-LED TX-LED C8 100nF LD2 LD3 -FTDI T1 J2 0 0 J3 R3 2K2 R4 2K2 RESET RC7-RX RC6-TX R1 10K MCLR C3 100nF -3.3 HDR2 1 2 RA0 3 RA1 4 RA2 5 RA3 6 RA5 7 RE0 8 RE1 9 RE2 10 RD0 11 RD1 12 RD2 13 RD3 14 RD4 15 RD5 16 RD6 17 RD7 18 RA4 19 RD0 20 RD1 21 RD2 22 RD3 23 RD4 24 RD5 25 RD6 26 RD7 27 28 5 HDR1 1 2 RB0 3 RB1 4 RB2 5 RB3 6 RB4 7 RB5 8 RB6 9 RB7 10 RC0 11 RC1 12 RC2 13 RC3-SCK 14 RC4-SDI 15 RC5-SDO 16 RC6-TX 17 RC7-RX 18 MCLR 19 RB0 20 RB1 21 RB2 22 RB3 23 RB4 24 RB5 25 RB6 26 RB7 27 28 PORTA/E RA0 RA1 RA2 RA3 RA4 RA5 RE0 RE1 CN36 PORTD RD0 RD1 RD2 RD3 RD4 RD5 RD6 RD7 CN39 RC5-SDO RC3-SKC R5 R6 27 27 RC5-MCU RC3-MCU MCLR-MCU 1 RA0 2 RA1 3 RA2 4 RA3 5 RA4 6 RA5 7 RE0 8 RE1 9 RE2 10 11 -MCU 12 OSC1 13 OSC2 14 RC0 15 RC1 16 RC2 17 RC3-MCU 18 RD0 19 RD1 20 U1 DIP40 DIP28 40 RB7-MCU MCLR-MCU 1 39 RB6-MCU RA0 2 38 RB5 RA1 3 37 RB4 RA2 4 -MCU 36 RB3 RA3 5 C10 35 RB2 RA4 6 100nF 34 RB1 RA5 7 33 RB0 8 32 OSC1 9 -MCU 31 OSC2 10 30 RD7 RC0 11 -MCU 29 RD6 RC1 12 C4 28 RD5 RC2 13 100nF 27 RD4 RC3-MCU 14 26 RC7-RX 25 RC6-TX 24 RC5-MCU 23 RC4-SDI OSC1 U4 X1 11.0592MHz 22 RD3 C1 C2 21 RD2 22pF 22pF OSC2 PORTB 28 RB7-MCU RB0 RB1 RB2 RB3 27 RB6-MCU RB4 RB5 26 RB5 RB6 RB7 25 RB4 24 RB3 CN37 23 RB2 22 RB1 PORTC 21 RB0 RC0 RC1 20 RC2 RC3-SCK -MCU RC4-SDI RC5-SDO 19 RC6-TX RC7-RX 18 RC7-RX 17 RC6-TX CN38 16 RC5-MCU 15 RC4-SDI -MCU mikroprog CONNECTOR RB6-MCU RB6 RB7-MCU RB7 MCLR-MCU MCLR CN5 Page 11
5. Board dimensions 8.12mm (0.32") Tolerance +/- 0.3mm PROTO area raster 2.54mm (0.10") 88.13mm (3.47") 48mm (1.89") 12.95mm (0.51") 66mm (2.59") 82mm (3.22") 4.31mm (0.17") 9.14mm (0.36") 17.27mm (0.68") 8.12mm (0.32") 9mm (0.35") 124mm (4.88") 140mm (5.51") Page 12
Notes: Page 13
Notes: Page 14
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, 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) 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. HIGH RISK ACTIVITIES The products of MikroElektronika are not fault tolerant nor designed, manufactured or intended for use or resale as on line control equipment in hazardous environments requiring fail safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or environmental damage ( High Risk Activities ). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities. TRADEMARKS The Mikroelektronika name and logo, the Mikroelektronika logo, mikroc, mikroc PRO, mikrobasic, mikrobasic PRO, mikropascal, mikropascal PRO, AVRflash, PICflash, dspicprog, 18FJprog, PSOCprog, AVRprog, 8051prog, ARMflash, EasyPIC5, EasyPIC6, BigPIC5, BigPIC6, dspic PRO4, Easy8051B, EasyARM, EasyAVR5, EasyAVR6, BigAVR2, EasydsPIC4A, EasyPSoC4, EasyAVR Stamp LV18FJ, LV24-33A, LV32MX, PIC32MX4 MultiMedia Board, PICPLC16, PICPLC8 PICPLC4, SmartGSM/GPRS, UNI-DS 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. Mikroelektronika, 2011, All Rights Reserved. Page 15
Ready for PIC BOX edition 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/en/support If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com