Amazingly compact, all-on-single-pcb development board carring 4.3 inch tft touch screen and lots of multimedia peripherals, all driven by powerful pic32mx795f512l microcontroller. (56 pages)
Compact development system rich with on-board peripherals for all-round multimedia development on dspic33fj256gp710a device (45 pages)
Summary of Contents for mikroElektronika mikromedia PIC18FJ
Page 1
mikromedia ™ for PIC18FJ ® Compact development system rich with on-board peripherals for all-round multimedia development on PIC18F87J50 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 PIC18FJ 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.
Introduction to mikromedia for PIC18FJ ™ ® mikromedia for PIC18FJ is a compact ™ ® development system with lots of on-board peripherals which allow development devices with multimedia contents. The central part of the system is a 8-bit PIC18F87J50 microcontroller. The mikromedia for PIC18FJ ™...
Package Contains Damage resistant mikromedia for PIC18FJ Two 1x26 male headers ™ ® protective box development system and one 1x5 header Reset pin 5V power supply VSYS Reference Ground Reference Ground left ch. audio out right ch. Analog Lines PWM lines Interrupt Lines Digital I/O lines Digital I/O lines...
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 You can apply power supply to the board using MINI-B 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. PIC18F87J50 microcontroller The mikromedia for PIC18FJ development system comes with ™ ® PIC18F87J50 microcontroller. This high-performance 8-bit microcontroller with its integrated modules and in combination with other on-board modules is ideal for multimedia applications. Key microcontroller features - Up to 12 MIPS Operation; - 8-bit architecture;...
3. Programming the microcontroller Figure 3-1: PIC18F87J50 microcontroller The microcontroller can be programmed in three ways: Via USB HID mikroBootloader Using mikroProg external programmer ™ Using ICD2/3 external programmer ® Page 11...
Programming with mikroBootloader step 1 – Connecting mikromedia Microcontroller is preprogrammed with USB HID Bootloader, which can be used to upload new device firmware. To transfer firmware .HEX file from a PC to MCU you need to use mikroBootloader USB HID application, which can be downloaded from: http://www.mikroe.com/downloads/get/1682/ mikrobootloader_pic18f87j50_v210.zip...
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. pop-up window (Figure 3.4) choose the .HEX file Click the Open button.
step 4 – Uploading .HEX file Figure 3-5: Begin uploading Figure 3-6: Progress bar In order to upload .HEX file click the .HEX file uploading can be monitored via progress bar. Begin uploading button. Page 14...
step 5 – Finish upload Figure 3-7: Restarting MCU Figure 3-8: mikroBootloader ready for next job Click the button after uploading is finished. The board will be automatically reset and after 5 seconds your new program will be executed. Page 15...
Programing with mikroProg ™ programmer mikroProg The microcontroller can be programmed with ™ 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 ™...
mikroProg Suite for PIC Software ™ ® mikroProg programmer requires ™ special programming software called mikroProg Suite for PIC . This ™ ® software is used for programming Microchip microcontroller ® families, including PIC10 PIC12 ® ® PIC16 , PIC18 , dsPIC30/33 , PIC24 ®...
Programing with ICD2 or ICD3 programmer ® ® The microcontroller can be also ICD2 or ICD3 programmed with ® ® programmer. These programmers connects with mikromedia board ICD2 CONNECTOR BOARD. Figure 3-11: Connecting ICD2 ® or ICD3 programmer ® In order to enable the ICD2 and ICD3 programmers to be connected to the development system, it is ®...
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. Crystal oscillator Figure 5-1: Crystal oscillator module Board is equipped with 8MHz crystal oscillator (X1) 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.
6. microSD Card Slot Figure 6-1: microSD card slot microSD card slot Board contains 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) for communication with the microcontroller.
7. Touch Screen The development system features a 320x240 display covered with a resistive touch panel. Together they form a functional touch screen. unit called a It enables data to be entered and displayed at the same time. The TFT display is capable of showing 262.144 diffe rent colors.
Page 27
TFT1 VCC-SYS VCC-3.3 L ED- K VCC-SYS BC846 L ED- A1 L ED- A2 L ED- A3 L ED- A4 LCD-BLED BAT43 BC846 VCC-3.3 LCD-RST RESET VSYNC HSYNC DOTCL K BC846 T-D7 DB17 T-D6 DB16 PMWR T-D2-RJ2 T-D5-RJ5 DB15 T-D3-RJ3 T-D4-RJ4 DB14 T-D3-RJ3...
8. Audio Module The mikromedia for PIC18FJ features stereo audio codec VS1053. This ™ ® module enables audio reproduction by using stereo headphones connected 3.5mm to the system via a connector CN2. All functions of this module are controlled by the microcontroller over Serial Peripheral Interface (SPI). Figure 8-1: On-board VS1053 MP3 codec Figure 8-2: 3.5mm...
Page 29
VCC-3.3 VCC-3.3 VCC-1.8 VCC-3.3 10uF 100K 3.3nF MP3-CS# MP3-RST# 10uF 3.3nF 100K MP3-BSYNC XDCS/BSYNC IOVDD1 AGND3 LEFT LEFT LEFT DGND1 AVDD2 XTALO RCAP RIGHT MP3-CS# VS1053 XTALI AVDD1 GBUF IOVDD2 GBUF MP3-BSYNC DGND2 AGND2 PHONEJACK DGND3 AGND1 MCLR PIC18F87J50 RIGHT DGND4 RIGHT MP3-CS#...
9. USB connection Figure 9-1: Connecting USB cable to MINI-B USB connector PIC18F87J50 microcontroller has integrated USB module, which enables you to implement USB communication functionality to your mikromedia board. Connection with target USB host is done over MINI-B USB connector which is positioned next to the battery connector. Page 30...
10. Accelerometer Figure 10-1: Accelerometer module ADXL345 On board 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 the interface.
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.
13. Pinout Reset pin 5V power supply VSYS Reference Ground Reference Ground left ch. audio out right ch. Analog Lines PWM lines Interrupt Lines Digital I/O lines Digital I/O lines UART SCK2 SCL2 SPI2 SDI2 SDA2 SDO2 3.3V power supply 3.3V 3.3V power supply 3.3V...
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. call them mikromedia shields. But we also offer other accessories, such as Li-polymer battery, stacking headers, wire jumpers and more.
™ your GUI. It will automatically create necessary code which is compatible with mikroElektronika compilers. Visual TFT ™ is rich with examples, which are an excellent starting point for your future projects. Just load the example, read well commented code, and see how it works on hardware.
Page 43
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 44
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/support If you have any questions, comments or business proposals, mikromedia for PIC18FJ Manual ver.
Need help?
Do you have a question about the mikromedia PIC18FJ and is the answer not in the manual?
Questions and answers