mikroElektronika Mikromedia MIKROE-608 Manual

mikroElektronika Mikromedia MIKROE-608 Manual

Mikromedia for pic24

Advertisement

Quick Links

mikromedia
for PIC24
®
Compact development system rich with on-board peripherals for all-round
multimedia development on PIC24FJ256GB110 device.
PIC24

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Mikromedia MIKROE-608 and is the answer not in the manual?

Questions and answers

Summary of Contents for mikroElektronika Mikromedia MIKROE-608

  • Page 1 mikromedia ™ for PIC24 ® Compact development system rich with on-board peripherals for all-round multimedia development on PIC24FJ256GB110 device. PIC24...
  • 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.
  • Page 3: Table Of Contents

    Table of Contents Introduction to mikromedia for PIC24 Programming with mikroProg programmer ® ™ Package Contains mikroProg Suite for PIC Software ™ ® Key Features ICD2 or ICD3 programmer ® ® System Specification 4. Reset Buttons 1. Power supply 5. Crystal Oscillator Battery power supply 6.
  • Page 4: Introduction To Mikromedia For Pic24

    Introduction to mikromedia for PIC24 ® mikromedia for PIC24 is a compact ® development system with lots of on-board peripherals which allow development of devices with multimedia contents. The central part of the system is a 16-bit PIC24FJ256GB110 microcontroller. The mikromedia for PIC24 features integrated modules such as stereo MP3 codec, TFT 320x240 touch screen...
  • Page 5: Package Contains

    Package Contains Damage resistant mikromedia for PIC24 Two 1x26 male headers ® protective box development system and one 1x5 header 5V power supply Reset pin Reference Ground Reference Ground left ch. audio out right ch. Analog Lines PWM lines RF13 Interrupt Lines RD12 RD13...
  • Page 6: Key Features

    Key Features Connection Pads TFT 320x240 display USB MINI-B connector CHARGE indication LED LI-Polymer battery connector 3.5mm headphone connector Power supply regulator Serial Flash memory RESET button VS1053 Stereo mp3 coder/decoder PIC24FJ256GB110 microcontroller Accelerometer Crystal oscillator Power indication LED microSD Card Slot ICD2/3 connector mikroProg connector Page 6...
  • Page 7: System Specification

    System Specification power supply Via USB cable (5V DC) power consumption 56 mA with erased MCU (when back-light is ON) board dimensions 81.2 x 60.5 mm (3.19 x 2.38 inch) weight ~50g (0.11lbs) 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.
  • Page 8: Power Supply

    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 of the board. Power LED (GREEN) will indicate the presence of power supply.
  • Page 9 VCC-SYS VCC-SYS VCC-USB HDR1 HDR2 PMEG3010ER FERRITE VBUS DMP2160UW 10nF VCC-BAT USB MINIB BATT CONN VCC-3.3 VCC-1.8 VCC-BAT VCC-1.8 VREF-1.8 VCC-1.8 10uF 2.2uF Vout VSENSE 220K FERRITE VCC-3.3 VCC-3.3 10uF MIC5205-ADJ M1X26 M1X26 100K VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-BAT VCC-SYS VCC-SYS VCC-3.3 CHARGE...
  • Page 10: Pic24Fj256Gb110 Microcontroller

    2. PIC24FJ256GB110 microcontroller mikromedia for PIC24 development system comes with the ® PIC24FJ256GB110 microcontroller. This high-performance 16-bit microcontroller with its integrated modules and in combination with other on-board modules is ideal for multimedia applications. Key microcontroller features 16 MIPS - Up to Operation;...
  • Page 11: Programming The Microcontroller

    3. Programming the microcontroller Figure 3-1: PIC24FJ256GB110 microcontroller The microcontroller can be programmed in three ways: Over USB HID mikroBootloader Using mikroProg external programmer ™ Using ICD2/3 external programmer Page 11...
  • Page 12: Programming With Mikrobootloader

    Programming with mikroBootloader step 1 – Connecting mikromedia You can program the microcontroller with bootloader which is preprogrammed into the device by default. To transfer .hex file from a PC to MCU you need bootloader software (mikroBootloader USB HID) which can be downloaded from: http://www.mikroe.com/downloads/get/1704/mikro- bootloader_pic24_usbhid_v210.zip Upon download, unzip it to desired location and start the...
  • Page 13: Step 2 - Browsing For .Hex File

    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.
  • Page 14: Step 4 - Uploading .Hex File

    step 4 – Uploading .HEX file Figure 3-5: Begin uploading Figure 3-6: Progress bar To start .HEX file boot loading click the .HEX file uploading can be monitored via progress bar. Begin uploading button. Page 14...
  • Page 15: Step 5 - Finish Upload

    step 5 – Finish upload Figure 3-7: Restarting MCU Figure 3-8: mikroBootloader ready for next job Click the button after uploading is finished and wait for 5 seconds. Board will automatically reset and your new program will execute. Page 15...
  • Page 16: Programming With Mikroprog Programmer

    Programming 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 USB 2.0 programmer with mikroICD hardware...
  • Page 17: Mikroprog Suite ™ For Pic ® Software

    mikroProg Suite for PIC Software ™ ® PIC24 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 ®...
  • Page 18: Icd2 ® Or Icd3 ® Programmer

    Programming with ICD2 or ICD3 programmer ® ® The microcontroller can be also programmed with ICD2 ® or ICD3 programmer. These programmers connects ® ICD2 CONNECTOR BOARD. with mikromedia board via Figure 3-12: Connecting ICD2 ® or ICD3 programmer ® In order to enable the ICD2 and ICD3 programmers to be connected to the...
  • Page 19 10uF VCC-3.3 PGC2 VCC-3.3 PGD2 MCLR# M1X5 22pF RG15 SOSCO SOSCO/RC14 SOSCI 32.768KHz SOSCI/RC13 RD11 RD10 22pF SDA1/RA15 SCL1/RA14 22pF CLKO CLKO/RC15 MCLR# PIC24FJ256GB110 PT 8MHz CLKI MCLR CLKI/RC12 22pF SDA2/RA3 SCL2/RA2 D+/RG2 D-/RG3 VCC-3.3 Vusb Vbus MCLR# USBID/RF3 PGD2 PGC2 M1X6 VCC-3.3...
  • Page 20: Reset Buttons

    4. Reset Buttons 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).
  • Page 21 VCC-3.3 HDR2 10uF VCC-3.3 100nF 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 22pF SDA1/RA15 SCL1/RA14 22pF CLKO CLKO/RC15 8MHz PIC24FJ256GB110 PT CLKI VCC-3.3 MCLR CLKI/RC12 M1X26 22pF SDA2/RA3 SCL2/RA2 D+/RG2 D-/RG3 Vusb Vbus VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 USBID/RF3 10uF...
  • Page 22: Crystal Oscillator

    5. Crystal Oscillator Figure 5-1: Crystal oscillator module (X1) 8MHz crystal oscillator Board is equipped with (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.
  • Page 23 VCC-3.3 10uF 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 22pF SDA1/RA15 SCL1/RA14 22pF CLKO CLKO/RC15 PIC24FJ256GB110 PT 8MHz CLKI MCLR CLKI/RC12 22pF SDA2/RA3 SCL2/RA2 D+/RG2 D-/RG3 Vusb Vbus VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 USBID/RF3 10uF 100nF 100nF 100nF 100nF 100nF...
  • Page 24: Microsd Card Slot

    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. Page 24...
  • Page 25 10uF VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 10uF 100nF 100nF 100nF 100nF 100nF decoupling capacitors 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 VCC-MMC VCC-3.3 RD11 RD10 22pF FERRITE SDA1/RA15 SCK2-RG6 SCL1/RA14 10uF 100nF MISO2-RG7 22pF MOSI2-RG8 CLKO CLKO/RC15 PIC24FJ256GB110 PT 8MHz CLKI MCLR...
  • Page 26: Touch Screen

    7. 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.
  • Page 27 10uF VCC-3.3 VCC-SYS TFT1 BC846 L ED- K VCC-3.3 L ED- A1 L ED- A2 VCC-SYS L ED- A3 L ED- A4 LCD-BLED BAT43 BC846 LCD-RST RESET VSYNC 22pF RG15 SOSCO BC846 HSYNC SOSCO/RC14 32.768KHz DOTCL K PMD5 SOSCI SOSCI/RC13 PMD6 PMD7 DB17...
  • Page 28: Audio Module

    8. Audio Module The mikromedia for dsPIC33 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). Figure 8-1: On-board VS1053 MP3 codec...
  • Page 29 VCC-1.8 VCC-1.8 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-1.8 VCC-1.8 10uF 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF VCC-3.3 decoupling capacitors RG15 22pF SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 22pF VCC-1.8 VCC-3.3 10uF SDA1/RA15 SCK2-RG6 SCL1/RA14 MISO2-RG7 22pF 100K MOSI2-RG8 CLKO...
  • Page 30: Usb Connection

    9. USB connection Figure 9-1: Connecting USB cable to MINI-B USB connector PIC24FJ256GB110 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...
  • Page 31 VCC-3.3 10uF VCC-3.3 VCC-3.3 VCC-3.3 RG15 22pF SOSCO SOSCO/RC14 10uF 100nF 100nF 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 VCC-3.3 VCC-3.3 VCC-3.3 22pF SDA1/RA15 SCL1/RA14 100nF 100nF 100nF 22pF CLKO CLKO/RC15 8MHz PIC24FJ256GB110 PT CLKI MCLR CLKI/RC12 decoupling capacitors 22pF SDA2/RA3 SCL2/RA2 USBDP D+/RG2 USBDM...
  • Page 32: Accelerometer

    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 I 2 C microcontroller is performed via the interface.
  • Page 33 VCC-3.3 10uF VCC-3.3 VCC-3.3 22pF RG15 SOSCO SCL2-RA2 SOSCO/RC14 SOSCI 32.768KHz SOSCI/RC13 SDA2-RA3 RD11 ACC ADDRESS RD10 22pF VCC-3.3 SDA1/RA15 INT2 SCL1/RA14 INT1 22pF CLKO CLKO/RC15 ADXL345 PIC24FJ256GB110 PT 8MHz CLKI MCLR CLKI/RC12 VCC-3.3 VCC-3.3 SDA2-RA3 22pF SDA2/RA3 SCL2-RA2 100nF 100nF SCL2/RA2 D+/RG2...
  • Page 34: Flash Memory

    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.
  • Page 35 10uF VCC-3.3 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 FLASH-CS# 22pF VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 SDA1/RA15 SCK2-RG6 SCL1/RA14 MISO2-RG7 22pF MOSI2-RG8 CLKO CLKO/RC15 10uF 100nF 100nF 100nF 100nF 100nF PIC24FJ256GB110 PT 8MHz CLKI MCLR CLKI/RC12 decoupling capacitors 22pF SDA2/RA3 SCL2/RA2...
  • Page 36: Pads

    12. Pads 10uF VCC-3.3 VCC-SYS HDR2 HDR1 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 MOSI1-RD0 RD11 RD11 SCK1-RD10 RD10 22pF MISO1-RC4 SDA1-RA15 SDA1/RA15 SCK2-RG6 SCL1-RA14 RF13 SCL1/RA14 MISO2-RG7 22pF MOSI2-RG8 CLKO RD12 CLKO/RC15 PIC24FJ256GB110 PT CLKI 8MHz RD13 MCLR CLKI/RC12 SCL1-RA14 SDA1-RA15 RD11...
  • Page 37: Pinout

    13. Pinout 5V power supply Reset pin Reference Ground Reference Ground left ch. audio out right ch. Analog Lines PWM lines RF13 Interrupt Lines RD12 RD13 RA14 Digital I/O lines RA15 RD10 RD11 Digital I/O lines RB14 RG13 RG14 UART SCK2 SDI2 SPI2...
  • Page 38: Dimensions

    14. Dimensions 81.15 3195 73.66 2900 63.5 2500 2.54 Legend 2.67 57.6 2268 69.3 2728 Page 38...
  • Page 39: Mikromedia Accessories

    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.
  • Page 40: What's Next

    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 41 Notes: Page 41...
  • Page 42 Notes: Page 42...
  • 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 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, mikromedia for PIC24 ®...

This manual is also suitable for:

8606015071688

Table of Contents