PICMZ A compact starter kit with your favorite microcontroller and a mikrobus socket.
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 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. Key features. What is PICMZ clicker? 5.. PICMZ clicker schematic 6. Power supply 7. PICMZ microcontroller 8 5. Programming the microcontroller 9 Programming with mikrobootloader 0 step Connecting PICMZ clicker 0 step Browsing for.hex file step Selecting.HEX file step Uploading.HEX file step 5 Finish upload Programming with mikroprog Programmer 7. mikroprog Suite for PIC Software 5 7.. Software Installation Wizard 6 8. click boards are plug and play! 7 9. Dimensions 9 Page
. Key features 0 0 06 07 0 0 05 08 0 Micro USB connector 0 PICMZ MCU 0 0 Expansion header MHz crystal oscillator 05 mikrobus socket 06 mikroprog connector 07.768 KHz crystal oscillator 08 Power indication LED 09 Additional LEDs 09 PICMZ clicker Page
. What is PICMZ clicker? PICMZ clicker PICMZ clicker is an amazingly compact starter development kit which brings innovative mikrobus host socket to your favorite microcontroller. It features PICMZ -bit microcontroller, two indication LEDs, two general purpose buttons, micro USB connector and a single mikrobus host socket. mikroprog connector and pads for interfacing with external electronics are provided as well. mikrobus host connector consists of two x8 female headers with SPI, IC, UART, RST, PWM, Analog and Interrupt lines as well as.v, 5V and power lines. Page 5
Page 6 T T R0 0k R9 0k AN RST CS SCK MISO MOSI.V PWM INT RX TX SCL SDA 5V MIKROBUS MIKROBUS HOST CONN R8 k R7 k LD LD R8 70 PWR IN OUT 5 EN ADJ U SPX89M5 R 7k R7 7k R0 k C 0µF R 0k C5 0µF VCC-5V 5 6 7 8 9 0 HD HD C C6 RE5 RE6 RE7 RG6 RG7 5 RG8 6 7 VDD 8 MCLR 9 RG9 0 RB5 RB RB RB RB 5 RB0 6 RB6 7 RB7 8 AVDD 9 A 0 RB8 RB9 RB0 RB 5 VDD 6 RB 7 RB 8 RB 9 RB5 0 RC RC5 VBUS VUSBV 5 D- 6 D+ 7 RF 8 VDD 9 0 RF RF5 RD9 RD0 RD 5 RD0 6 RC 7 RC 8 RD 9 RD 50 RD 5 RD 5 RD5 5 VDD 5 55 RF0 56 RF 57 RE0 58 59 VDD 60 RE 6 RE 6 RE 6 RE 6 65 U PICMZ0EFH06-I/MR R 7k T TASTER -PIN D_N D_P USBD_P USBD_N C5 R k VBUS R 7 R6 7 FB FERRITE TVS TVS R M 5 ID D+ D- VBUS CN ZX6-AB-5PA() STAND-BY OUT VCC Y.768kHz C STANDBY OUT VCC Y MHz C C 0µF C 0µF C8 C9 C0 C C7 PGED/PB7 PGEC/PB6 5 J MX5 PGEC/PB6 PGED/PB7 #MCLR #MCLR FB AVDD USBD_P USBD_N VBUS CLK_IN SCLK_IN VCC-5V VCC-5V VCC-5V SDA/RD9 SCL/RD0 SCL5/RF5 SDA5/RF AN AN AN AN SDA SCL RX TX SCL5/RF5 SDA5/RF AN7/RB AN8/RB AN9/RB AN0/RB5 AN8/RE AN7/RB AN8/RB AN9/RB AN0/RB5 URX/RD UTX/RPB URX/RPB0 OC/RB INT/RB5 INT/RB5 OC/RB AN8/RE SS/RG9 SDO/RG8 SDI/RG7 SCK/RG6 SCK/RG6 SDI/RG7 SDO/RG8 SS/RG9 #MCLR RE5 RE5 C 000pF SCL/RD0 SDA/RD9 UTX/RD URX/RD UTX/RD UTX/RPB URX/RPB0 RB8 RB9 RB0 RB RB RB0 RB9 RB8 T T R0 0k R9 0k AN RST CS SCK MISO MOSI.V PWM INT RX TX SCL SDA 5V MIKROBUS MIKROBUS HOST CONN R8 k R7 k LD LD R8 70 PWR IN OUT 5 EN ADJ U SPX89M5 R 7k R7 7k R0 k C 0µF R 0k C5 0µF VCC-5V 5 6 7 8 9 0 HD HD C C6 RE5 RE6 RE7 RG6 RG7 5 RG8 6 7 VDD 8 MCLR 9 RG9 0 RB5 RB RB RB RB 5 RB0 6 RB6 7 RB7 8 AVDD 9 A 0 RB8 RB9 RB0 RB 5 VDD 6 RB 7 RB 8 RB 9 RB5 0 RC RC5 VBUS VUSBV 5 D- 6 D+ 7 RF 8 VDD 9 0 RF RF5 RD9 RD0 RD 5 RD0 6 RC 7 RC 8 RD 9 RD 50 RD 5 RD 5 RD5 5 VDD 5 55 RF0 56 RF 57 RE0 58 59 VDD 60 RE 6 RE 6 RE 6 RE 6 65 U PICMZ0EFH06-I/MR R 7k T TASTER -PIN D_N D_P USBD_P USBD_N C5 R k VBUS R 7 R6 7 FB FERRITE TVS TVS R M 5 ID D+ D- VBUS CN ZX6-AB-5PA() STAND-BY OUT VCC Y.768kHz C STANDBY OUT VCC Y MHz C C 0µF C 0µF C8 C9 C0 C C7 PGED/PB7 PGEC/PB6 5 J MX5 PGEC/PB6 PGED/PB7 #MCLR #MCLR FB AVDD USBD_P USBD_N VBUS CLK_IN SCLK_IN VCC-5V VCC-5V VCC-5V SDA/RD9 SCL/RD0 SCL5/RF5 SDA5/RF AN AN AN AN SDA SCL RX TX SCL5/RF5 SDA5/RF AN7/RB AN8/RB AN9/RB AN0/RB5 AN8/RE AN7/RB AN8/RB AN9/RB AN0/RB5 URX/RD UTX/RPB URX/RPB0 OC/RB INT/RB5 INT/RB5 OC/RB AN8/RE SS/RG9 SDO/RG8 SDI/RG7 SCK/RG6 SCK/RG6 SDI/RG7 SDO/RG8 SS/RG9 #MCLR RE5 RE5 C 000pF SCL/RD0 SDA/RD9 UTX/RD URX/RD UTX/RD UTX/RPB URX/RPB0 RB8 RB9 RB0 RB RB RB0 RB9 RB8 PICMZ clicker schematic
. Power supply connecting USB power supply through CN connector When the board is powered up the power indication LED will be automatically turned on. The USB connection can provide up to 500mA of current which is more than enough for the operation of all on-board and additional modules. Page 7
5. PICMZ microcontroller The PICMZ clicker development tool comes with the PICMZ microcontroller. This -bit (up to MB Live-Update Flash and 5 KB SRAM) microcontroller with FPU is rich with on-chip peripherals. Key microcontroller features Timers/ One-Wire UART 0/ SD Host Watchdog Debug I/F 0-bit DAC 0/ 0-bit ADC /7 PWM/PCM RTC System -Bit I/O Bus 56kB Flash memory Control Logic Debugger Core with Security 56kB Program SRAM 6kb Data memory FT Core Interrupt - MB of Live-Update flash - Core: 00MHz - Nine 6-bit or up to four -bit timers/counters - 5V-tolerant pins with up to ma source/sink CAN 0/ SPI Master Ethernet SPI 0/ Slave(s) USB Host IS Master /Slave USB peripheral EFUSE BCD BCD IC Master /Slave(s) Camera Page 8
6. Programming the microcontroller PICMZ microcontroller The microcontroller can be programmed in two ways: 0 0 Using USB HID mikrobootloader, Using external mikroprog for PIC, dspic, PIC programmer. Page 9
Programming with mikrobootloader You can program the microcontroller with bootloader which is preprogrammed by default. To transfer.hex file from a PC to MCU you need bootloader software (mikrobootloader USB HID) which can be downloaded from: step Connecting PICMZ clicker download.mikroe.com/examples/starter-boards/clicker/ picmz/picmz-clicker-bootloader.zip After the mikrobootloader software is downloaded, unzip it to desired location and start it. 0 PICMZ clicker Bootloader WinRAR ZIP archive PICMZ clicker Bootloader File folder Software File folder mikrobootloader USB HID.exe Bootloader tool for mikroelektron... mikroelektronika Firmware File folder PICMZ Clicker USB HID Bootloader v.0.hex HEX File 0 USB HID mikrobootloader window To start, connect the USB cable, or if already connected press the Reset button on your PICMZ clicker. Click the Connect button within 5s to enter the bootloader mode, otherwise existing microcontroller program will execute. Page 0
step Browsing for.hex file step Selecting.HEX file 0 0 0 Browse for HEX Selecting HEX 0 Click the Browse for HEX button and from a 0 pop-up window choose the.hex file which will be uploaded to MCU memory. 0 Select.HEX file using open dialog window. Click the Open button. Page
step Uploading.HEX file 0 0 Begin uploading Progress bar 0 To start.hex file bootloading click the 0 Begin uploading button. Progress bar enables you to monitor.hex file uploading. Page
step 5 Finish upload 0 Restarting MCU mikrobootloader ready for next job 0 Click OK button after the uploading process is finished. 0 Press Reset button on PICMZ clicker board and wait for 5 seconds. Your program will run automatically. Page
Programming with mikroprog programmer mikroprog connector The microcontroller can be programmed with external mikroprog for PIC, dspic and PIC programmer and mikroprog Suite for PIC software. The external programmer is connected to the development system via x5 mikroprog connector. mikroprog is a fast USB.0 programmer with hardware debugger support. It supports PIC0, PIC, PIC6, PIC8, dspic0/, PIC and PIC devices from Microchip. Outstanding performance, easy operation and elegant design are its key features. Page
7. mikroprog Suite for PIC Software The mikroprog programmer requires special programming software called mikroprog Suite for PIC. It can be used for programming all Microchip microcontroller families, including PIC0, PIC, PIC6, PIC8, dspic0/, PIC and PIC. The software has intuitive interface and SingleClick programming technology. Just download the latest version of mikroprog Suite and your programmer is ready to program new devices. mikroprog Suite is updated regularly, at least four times a year, so your programmer will be more and more powerful with each new release. Main window of mikroprog Suite for PIC programming software Page 5
Software Installation Wizard 0 Start Installation 0 Accept EULA and continue 0 Install for all users 0 Choose destination folder 05 Installation in progress 06 Finish installation Page 6
8. click boards are plug and play! Up to now, MikroElektronika has released more than 00 mikrobus compatible click boards. On the average, we make one click per day. It is our intention to provide you with as many add-on boards as possible, so you will be able to expand your development board with additional functionality. Each board comes with a set of working example codes. Please visit the click boards webpage for the complete list of currently available boards: PICMZ clicker driving FRAM click board shop.mikroe.com/click Page 7
RFid click Relay click 8x8 click FM click Bluetooth click Thunder click USB SPI click BarGraph click 7seg click THERMO click Gyro click EEPROM click LightHz click Pressure click Page 8
9. Dimensions 75.6 979 7.6 89.7 500.5 00 6.7 659 8 5.6 6 Legend mm mils Mounting hole size Ø Ø 79 PICMZ NC PGC PGD V RST 7. 5. 679 000 59 Page 9
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, mikroc, mikrobasic, mikropascal, Visual TFT, Visual GLCD, mikroprog, Ready, MINI, mikrobus, EasyPIC, EasyAVR, Easy805, 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 07 MikroElektronika. All Rights Reserved. Page 0
If you want to learn more about our products, please visit our web site 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 helpdesk.mikroe.com If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com