Page 1
PIC18FK Compact development system rich with on-board peripherals for all-round multimedia development on PIC18F67K40 device.
Page 2
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.
Table of Contents Introduction to mikromedia for PIC18FK Programing with mikroProg programmer Package Contains mikroProg Suite for PIC Software ® Key Features Programing with ICD2 or ICD3 programmer ® ® System Specification 4. Reset Button 1. Power supply 5. microSD Card Slot Battery power supply 6.
Introduction to mikromedia for PIC18FK Mikromedia for PIC18FK is a compact smart display and development platform with the PIC18F67K40 microcontroller from Microchip. The large 320x240 TFT color display will allow you to build multimedia applications with speed and ease. You can use it for development and as a final product.
Package Contains Damage resistant mikromedia for PIC18FK protective box development system Two 1x26 male headers and USB cable one 1x5 header Page 5...
System Specification power supply Via USB cable (5V DC) power consumption 52 mA with erased MCU (when back-light is ON) board dimensions 81.2 x 60.5 mm (3.19 x 2.38 inch) weight ~45.5g (0.10lbs) class B product Product complies with the Class B limit of EN 55022 and can be used in the domestic, residential, commercial and industrial environments.
1. Power supply USB power supply USB power supply - You can apply power supply to the board using micro USB cable provided with the board. On-board voltage regulators provide the appropriate voltage levels to each component on the board. Power LED (green) will indicate the presence of power supply.
2. PIC18F67K40 microcontroller PIC18F67K40 is a 64-Pin, low-power, high performance microcontroller with XLP technology. equipped with a 10-bit ADC with Computation (ADCC) automating Capacitive Voltage Divider (CVD) techniques for advanced touch sensing, averaging, filtering, oversampling and performing automatic threshold comparisons. Key MCU features - 128K bytes Program Flash - 3568 Bytes Data SRAM...
3. Programming the microcontroller Figure 3-1: PIC18F67K40 microcontroller The microcontroller can be programmed in three ways: Via USB UART mikroBootloader Using mikroProg external programmer Using ICD2/3 external programmer ® Page 10...
Firmware To start, connect the USB cable, or if already connected press File folder the Reset button on your clicker 2 for PIC18FK. Click the Connect PIC18F67K40_Bootloader_Firmware_v100.hex button within 5s to enter the bootloader mode, otherwise existing HEX File microcontroller program will execute.
step 2 – Browsing for .HEX file step 3 – Selecting .HEX file Figure 3-3: Browse for HEX Figure 3-4: Selecting HEX Click the Browse for HEX button and from a Select .HEX file using open dialog window. Click the Open button. pop-up window (Figure 3-4) choose the .HEX file which will be uploaded to MCU memory.
step 4 – Uploading .HEX file Figure 3-5: Begin uploading Figure 3-6: Progress bar To start .HEX file bootloading click the Progress bar enables you to monitor .HEX file uploading. Begin uploading button. Page 13...
Figure 3-7: Restarting MCU Figure 3-8: mikroBootloader ready for next job Click OK button after the uploading process is finished. Press Reset button on clicker 2 for PIC18FK board and wait for 5 seconds. Your program will run automatically. Page 14...
Programing with mikroProg programmer The microcontroller can be programmed with mikroProg programmer mikroProg Suite for PIC software. ® The mikroProg programmer is connected to the development system via the CN6 connector, Figure 3-9. mikroProg is a fast USB 2.0 programmer with mikroICD hardware In-Circuit ™...
mikroProg Suite for PIC software mikroProg programmer requires special programming software called mikroProg Suite for PIC. This software is used for programming of ALL Microchip microcontroller ® families, including PIC10 , PIC12 ® ® PIC16 , PIC18 , dsPIC30/33 , PIC24 ®...
Page 17
Programing with ICD2 or ICD3 programmer ® ® The microcontroller can be also programmed with ICD2 or ICD3 programmer. These ® ® programmers connects with mikromedia board via ICD2 CONNECTOR BOARD. In order to enable the ICD2® and ICD3® programmers to be connected to the development system, it is necessary to provide the appropriate connector such as the ICD2 CONNECTOR BOARD.
4. Reset Button Board is equipped with reset button, which is located at the top of the front side (Figure 4-2). If you want to reset the circuit, press the reset button. It will generate low voltage level on microcontroller reset pin (input). In addition, a reset can be externally provided through pin 27 on side headers (Figure 4-3).
5. microSD Card Slot Figure 6-1: microSD card slot Board contains microSD card slot for using microSD cards in your projects. It enables you to store large amounts of data externally, thus saving microcontroller memory. microSD cards use Serial Peripheral Interface (SPI) communication with the microcontroller.
6. Crystal oscillator Figure 5-1: Crystal oscillator module Board is equipped with 16MHz crystal oscillator (Y1) circuit that provides external clock waveform to the microcontroller CLKO and CLKI pins. This base frequency is suitable for further clock multipliers and ideal for generation of necessary USB clock, which ensures proper operation of bootloader and your custom USB-based applications.
7. Audio Module The mikromedia for PIC18FK features stereo audio codec VS1053. This module enables audio reproduction by using stereo headphones connected to the system via a 3.5mm connector CN2. All functions of this module are controlled by the microcontroller over Serial Peripheral Interface (SPI).
8. Touch Screen The development system features a TFT 320x240 display covered with a resistive touch panel. Together they form a functional unit called a touch screen. It enables data to be entered and displayed at the same time. The TFT display is capable of showing graphics in 262.144 diffe rent colors.
9. Accelerometer Figure 10-1: Accelerometer module On board ADXL345 accelerometer is used to measure acceleration in three axis: x, y and z. The accelerometer function is defined by the user in the program loaded into the microcontroller. Communication between the accelerometer and the microcontroller is performed via interface.
10. USB connection Figure 9-1: Connecting USB cable to Micro USB connector PIC18F67K40 microcontroller has an integrated USB module, which enables you to implement USB communication functionality to your mikromedia board. Connection with target USB host is done over micro USB connector which is positioned next to the battery connector. Page 24...
11. Flash Memory Figure 11-1: Flash memory module Since multimedia applications are getting increasingly demanding, it is necessary to provide additional memory space to be used for storing more data. The flash memory module enables the microcontroller to use additional 8Mbit flash memory.
15. Mikromedia accessories We have prepared a set of extension boards pin-compatible with your mikromedia, which enable you to easily expand your board basic functionality. We call them mikromedia shields. But we also offer other accessories, such as Li-polymer battery, stacking headers, wire jumpers and more.
What’s next? You have now completed the journey through each and every feature of mikromedia for PIC18FK board. You got to know it’s modules and organization. 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 the users of mikromedia brand.
Page 35
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.
Page 36
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 www.mikroe.com/support If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com...
Need help?
Do you have a question about the PIC18FK and is the answer not in the manual?
Questions and answers