Home
mikromedia™
Contents
1. C Project TFT hex Figure 4 5 Begin uploading Figure 4 6 Progress bar To start hex file uploading click Begin uploading You can monitor file uploading progress bar button Page 14 step 5 Finish upload mikroElektronika USB HID Bootloadervi4 0 0 Cc mikroBootloader mikroBootloader Wait for Wait for USB link e USB link e MCU Type MCU Type PIC1SFJ Connect History Window to MCU Connected Opened CA Project TFT hex Uploading Choose Browse Flash Erase HEX file for HEX Flash Write Completed successfully Disconnected bootloader uploading Bootloading progressbar C o j Z J ZJ E RWRIBJhV Restarting MCU Uploading program completed successfully Show details Bootloading progress bar hex Figure 4 7 Restarting MCU Figure 4 8 mikroBootloader ready for next job To finish uploading click on OK button Page 15 Figure 4 9 Connecting mikroProg to mikromedia microcontroller can be programmed with mikroProg UE programmer and mikroProg Suite fo PIC software The mikroProg programmer is connected to the development system via the CN6 connector Figure 4 9 mikroProg is fast USB 2 0 programmer with mikrolCD hardware In
2. _ Date modified Type Wait for Libraries UE ick e MCUType Connect History Window Pictures to MCU Attach USB HID device or reset if attached Videos Waiting MCU response Connected No preview available Choose Browse 3 Homegroup HEX file _ for HEX m 784 Computer Start Begin _ amp Local Disk C bootloader uploading Local Disk D MikroE Adam E Bootloading File name TFT hex v HEX files progress bar No files opened Figure 4 3 Browse for HEX Figure 4 4 Selecting HEX Click Browse HEX button Select file open window 002 Click Open button Page 13 step 4 hex uploading mikroBootloader mikroBootloader Wait for USB link e Wait for USB link e Connect History Window History Window Attach USB HID device or reset if attached Attach USB HID device or reset if attached Waiting MCU response Waiting MCU response Connected Connected Choose Browse Opened TFT hex Choose Opened C Project TFT hex HEX file for HEX HEX file or Uploading Flash Erase Flash Write Start Begin Start bootloader uploading bootloader uploading Bootloading Bootloading MCU MCU
3. 3 3V power supply Reference Ground PWM lines Comparator lines imensions 14 D z z z zz or oz D o 2 0 o oc 4 o o Qs o o 80 90 3 18 69 85 mm 2 75 73 01 mm 2 87 86 T 2 05 8T 2 55 8 2 9409 131 I e e 0 9 c c c c oce c e 4m 020 80 5 2 77 0 11 2 54 mm 0 107 4 45 mm 0 17 15 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 cal them mikromedia shields But we also offer other accessories such as Li polymer battery stacking headers wire jumpers and more Connect shield 1010135 Li am hs 3 d h i T FUIDTT 230213 f BatteryBoost shield 2 Gaming shield 5 Li Polimer battery Wire Jumpers B PROTO shield Stacking headers What s next You have now completed the journey through each and every feature of mikromedia for PIC18FJ board You got to know it s modules and organization Now you are ready to start using your new board We are suggesting several
4. 18 87 50 Microcontroller The microcontroller can be programmed in three ways Via USB HID mikroBootloader Using mikroProg external programmer Using ICD2 38 external programmer You can program the microcontroller with bootloader which is preprogrammed into the device by default To transfer file from PC to MCU you need bootloader software mikroBootloader USB HID which can be downloaded from After software is downloaded unzip it to desired location and start mikroBootloader USB HID software mikrobootloader pic18f87j50 v150 WinRAR ZIP archive 854 KB mikroBootloader USB HID k PIC18F87J50 File folder Firmware p File folder pic18f87j50 bootloader firmware hex HEX File Software Windows File folder mikroBootloader USB HID v1 50 Bootloader tool for mikroElektron mikroElektronika Page 12 mikroBootloader prin e e Connect to MCU Connect Choose Browse HEX file for HEX Start Begin bootloader uploading Bootloading progress bar No files opened Figure 4 2 mikroBootloader USB HID Connect mikromedia board with a PC USB cable and USB icon will turn red Click the Connect button within 5s otherwise existing microcontroller program will execute step 2 Browsing for hex step 3 Select hex file EIN m Local Disk Project X Search Project mikroBootloader
5. 216 MHz 2 under software control puen oc s aways enabled 4 J an Hw Enabled Walley Disabled Le 1 32768 enabled in hardware SWD 4 bit is V Ji iL CLR Enabled RE3 Disabled P2B is on RD2 T3CKI is on RCO LETTE ar ibru ia nat dalmad FE FF FF Program Memory Size 32 DATA Size 256 Bytes Device Status Idle Address DEVELOPMENT TOOLS 1 COMPILERS BOOKS 7 MikroHektronika wakhina it 24141444 m Code 00800 01FFF Table Write Protect m Data EEPROM Code 04000 05 som gle Code 00000 007FF Code 02000 03 Code 04000 05FFF Code 06000 074 Code 00000 007FF Code 00800 01FFF Code 02000 03FFF Code 06000 07FFF Table Read Protect Code 00000 007FF Type Revision Figure 4 10 Main Window of mikroProg Suite for PIC programming software Page 17 microcontroller can be also programmed with These programmers connect with mikromedia board via Figure 4 12 Connecting ICD29 or ICD39 programmer Figure 4 11 In order to enable the ICD29 and ICD39 programmers to be connected to the Placing 2 development system it is necessary to provide the appropriate connector such as the connector This connector should be first soldered on the CN5 co
6. Connection Pads TFT 320x240 display USB MINI B connector LI Polymer battery connector 3 bmm headphone connector Power supply regulator Serial Flash memory VS1053 Stereo mp3 coder decoder RESET button PIC18F87 50 microcontroller Accelerometer Crystal oscillator Power indicator LED microSD Card Slot ICD2 39 connector mikroProg connector USB DEVICE 19 29 3 5 5 du s 108 1 2 38 EL 5 T Over USB cable 5V DC 53 mA with erased MCU when on board modules are inactive 2 ann _ _ po Rond e one s aes Figure 1 1 Powering your mikromedia board with USB cable You can apply power supply to the board using MINI B USB cable provided with the board On board voltage regulators will make sure to regulate the appropriate voltage levels to each part of the board Power LED will indicate the presence of power supply Page 8 VCC 3 3 R39 4K7 LD2B N RED DATA BUS VCC 3 3 R35 10K STAT VCC BAT R6 4K7 R49 4K7 VSENSE R34 4K7 VCC 3 3 1 2 VCC 3 3 VCC BAT 236 10K rn mE R37 R38 1K 10K 10K STAT E5 2 2 05 10uF BC846 VCC SYS VCC 3 3 4 VCC SYS 4 MCP73832 Charging Current approx 250mA LD29080DT
7. Connection with target USB host is done over MINI B USB connector which is positioned next to the battery connector Figure 9 1 Connecting USB cable c VCC 3 3 x1 8MHz RG1 602 PIC18F87J50 T VCCcore Vcap RF6 RF5 RF4 D RF3 D RF2 RH7 C2 22 o JO JOIN ID O1 N TT AT TY k ja i ENVREG FP2 VCC USB FERRITE USB MINIB Figure 9 2 USB module connection schematic Page 27 On board accelerometer is used to measure acceleration in three axis x y and 2 he accelerometer function is defined by the user in the program loaded into the microcontroller Communication between the accelerometer and the microcontroller is performed over the interface SDA2 RD5 3 3 VCC 3 3 R1 10K 10 SCL2 RD6 eo oj oj r doj to s lt 0 9 5t N o o o 13 SDAZRD5 j 12 ACC ADDRESS Or on 9 1 E l J Figure 10 1 Ll m Accelerometer scs ES Les NR PIC18F87J50 1 module VCCcore Vcap a laz N RF7 9 RF6 RF5 H gt A5 44 zx zx RF4 D E l You the accelerometer
8. E9 10uF lt j 85 o J J 9 J 9 NINI N N oO e e VCC 3 3 R19 10K MP3 CS MP3 RST R2 10K 55 54 Hs 1 50 1 LL 49 x2 48 C19 12 288MHz 220 47 22 22 46 MOSI1 RC5 45 MISO1 RC4 44 SCK1 RC3 43 R5 56 VCC 1 8 VCC 1 8 VCC 1 8 VCC 1 8 NU ll L l 4 29 C10 C11 100nF _ 100nF 400nF 100 VCC 33 VCC 3 3 VCC 33 VCC 3 3 V 2 2 1 J ae 1 27 100 23 24 C26 100nF 100nF 100nF C12 100nF VCC 1 8 MP3 DREQ MP3 RST 1 7 5 4 3 2 1 7 GPIO6 10 GPIO3 GPIO2 DREQ CVDD1 IOVDDO DGNDO XRESET 9 DCS BSYNC IOVDD1 VCO DGND1 XTALO XTALI DGND2 DGND3 DGND4 XCS VDD2 MCP LN1 o2 VS 10953 VCC 3 3 LEFT AVDD2 AVDD1 GBUF AVDDO 37 AGNDO MOSI1 RC5 Figure 8 3 Audio module connection schematic Page 25 PHONEJACK R27 10 C14 IR47 220K R46 100K R50 5 microcontroller has integrated USB 6 module which enables you to implement USB communication functionality of your mikromedia board
9. 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 15 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 TRADEMARKS The MikroElektronika name and logo the MikroElektronika logo mikroC mikroBasic mikroPascal mikroProg EasyPIC EasyPIC PRO Visual TFT and mikromedia are
10. address or 1 by re soldering the SMD jumper zero ohm resistor to the appropriate position Jumper is placed in address 1 position by default Figure 10 2 Accelerometer connection schematic 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 flash memory It is connected to the microcontroller via the Serial Peripheral Interface SPI Figure 11 1 Flash memory module connection schematic 1 RGO 8MHz RG1 C2 22pF RG3 PIC18F87J50 T RG4 99 C1 22 VCCcore Vcap a FLASH CS RE RF6 R4 56 RFS RF4 D VCC 3 3 MOSH RC5 33 MISO1 RC4 SCK1 RC3 R48 vee 10K R5 56 100 FLASH CS MISO1 RC4 HOLD SCK E SDI 6 SCK1 RC3 M25P80 Figure 11 2 Flash memory module M nn III pejn JE EN 0000608 88 N 9 N 9 gt PIC18F87J50 oR cese B Nar Tan an N NT m T D4 RJ4 Pads HDR2 Pads H
11. steps which are probably the best way to begin We invite you to join the users of mikromedia brand You will find very useful projects and tutorials and can get help from a large ecosystem of users Welcome Compiler You still don t have an appropriate compiler Locate PIC compiler that suits you best on the mikroC Product DVD provided with the package PRO for PIC DVD download eng software compilers COMPILER Choose between mikroC mikroBasic and mikroPascal and download fully functional demo version So you can begin building your first applications COMPILER mirut PRO foo PAL VISUAL TFT Projects GUI design made easy Once you have chosen your compiler and since you already got the board you are ready to start writing your first projects Visual TFT software for rapid development of graphical user interfaces enables you to quickly create 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 Visual is also available on the Product DVD SOFTWARE SOFTWARE 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
12. 33 VCC USB M1 DMP2160UW D1 010 VCC SYS TET RO EEE g m m m Rm POM a TEV YE w Pie ra Ba 2 3 e f il ar nnum t d ceri E Yal Figure 2 1 Connecting Li polymer battery to mikromedia board You can also power the board using Li Polymer battery via on board battery connector On board battery charger circuit 73832 enables you to charge the battery over USB connection Charging current is 25 and charging voltage is 4 2V DC Figure 2 2 Battery charger and power management connection schematic mikromedia for PIC18FJ development system comes with 12 MIPS 8 bit Core microcontroller This high performance 8 bit NanoWatt the microcontroller with its integrated modules and in combination with other on board modules is ideal for multimedia applications Data imm Decode USB V2 0 Compliant SIE Rav t f in P to 128KB nm Up to 3 9KB vrec ERE r Two External Clock modes up to 48 MHz Internal 31 kHz Oscillator Tunable Internal Oscillator 1 31 kHz to 8 MHz 10 Bit up to 12 Channel Analog to Digital A D Address Capability of up to 2 Mbytes 8 Bit or 16 Bit Interface 12 Bit 16 Bit and 20 Bit Addressing modes etc Page 10 Figure 4 1
13. 47 300K LCD XL LCD YU VCC SYS VCC 3 3 Figure 7 2 Touch Screen connection schematic Page 23 LED K LED A1 C 602 6 4 Ms IM1 9 IM2 LCD RST iig RESET VSYNC HSYNC DOTCLK T D7 15 ENABLE 2 8 imm nov T D5 RJ5 17 DB45 T D4 RJ4 18 14 s 0810 089 088 087 086 085 084 DB3 DB2 DB1 33 DBO 34 SDO D WR SCL 38 RS CS RO A S R TTK O N MI0283QT2 Figure 8 2 Inserting 3 5 headphones jack intrat p Figure 8 1 On board VS1053 MP3 codec The mikromedia for features codec audio controller This module enables audio reproduction by using stereo headphones connected to the system via a connector CN2 functions of this module controlled by the microcontroller over Serial Peripheral Interface SPI N o o 5 Jw N a fo fo Joa WIN Jo ajo aja EN EN gt MP3 RST RG3 MCLR RG4 GND VCCcore Vcap RF7 RF6 RF5 RF4 D RF3 D RF2 PIC18F87J50 20 41 RH6 E er 2 28596
14. Circuit Debugger Smart engineering allows mikroProg to support PIC10 PIC12 16 PIC18 dsPIC30 33 24 PIC32 devices in a single programmer It supports over 570 microcontrollers from Microchip Outstanding performance easy operation and elegant design are it s key features mikroProeg for PIC Software mikroProg programmer requires special programming software called mikroProg Suite for PIC This software is used for programming ALL of Microchip microcontroller families including PIC10 PIC12 PIC16 PIC18 dsPIC30 33 PIC24 and PIC32 Software has intuitive interface and SingleClick programming technology Just by downloading the latest version of mikroProg Suite 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 HEX Fle Optons Load Save V Load Save CODE V Load Save DATA CODE DATA pues ie Options Progress CONFIG 4x PLL enable primary Clock Enable Bit Fail safe CLK Mon EXT Switch over 0 Brown Out Voltage Brown Out Detect Power Up Timer Watchdog Postscale Watchdog Timer MCLR Enable Bit CCP2 B Output MUX bit T3CMX ME fect ID Locations FF FF FF FE osctator high power 7 4x PAL gt Primary
15. DR1 Figure 12 1 Pads connecting schematic Most microcontroller pins are available for further connectivity via two 1x26 rows of connection pads on both sides of the mikromedia board They are designed to match additional shields such as Battery Boost shield Gaming PROTO shield and others Pads with underlined silkscreen markings have multiple functions see the complete schematic for more information 21 SCK SDI 24 SDO 11 he am cr uie lt RA L E en RC4 SDI 2 System power supply Reference Ground AN2 VREF AN4 7 10 11 12 AN14 P1C FLTO T gt m 2 2 mim I R 00 8 e CE 11050 13 SCK1 SDI1 5001 3 3V power supply Reference Ground Programing lines Analog Lines VSYS GND RA2 RAS RF2 RF5 RF6 RH4 RH6 RBO RB1 RB2 RB3 RJO RJ1 RJ2 RJ3 RJ4 RJ5 RCO RA4 RC3 RC4 RC5 3 3V GND 5 E La A bet Interrupt Lines SPI Lines l2C Lines B UART lines Reset pin Reference Ground audio out ECCP2 T10OSI ECCP3 4 5 AN3 VREF AD9 AD10 AD11 P3C REFO AD12 AD13 AD14 AD15 RX2 DT2 TX2 CK2 RX1 DT1 TX1 CK1 AD6 AD5
16. e SPI for communication with the microcontroller NWR 9 WIN P VCC MMC VCC MMC FERRITE E6_10uF C38 100nF 5 MOSI1 RC5 6 MOSI1 RC5 o MISO1 RC4 SCK1 RC3 ajo oo SCK1 RC3 R5 56 MISO1 RC4 Figure 6 1 microSD card slot Figure 6 2 microSD Card Slot module connection schematic Figure 6 3 microSD card 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 data in 262 000 different colors 3000 Figure 7 1 Touch Screen RG3 t PIC18F87J50 RF6 RF5 RF4 D RF3 D RF2 RH7 O O O O ORROT 9 Q1 VCC SYS 1K LCD BLED 4 02 02 BAT43 BC846 X1 8MHz C2 22pF 3 3 VCC 3 3 R24 R25 ji alz 10K LCD RST LCD CS LCD BLED VCC 3 3 VCC 3 3 R41 ee R42 47nF 300K
17. mikromedia for A e Compact development system rich with on board peripherals for all round multimedia development on PIC18F87 50 device Ti 4 MikroElektronika DEVELOPMENT TOOLS COMPILERS 1 BOOKS CUSTOMERS 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 dsPIC PIC24 PIC32 and Windows logos and product names are trademarks of Microchip Technology and Microsoft in the U S A and other countries Table of Contents Introduction to mikromedia for PIC18FJ Package Contains Key Features System Specification 1 USB power supply Battery power supply 3 Microcontroller PIC18F87 50 Key microcontroller features 4 Programming the microcontroller Programming with mikroBootloader step 1 Connecting mikromedia step 2 Browsing for hex file step 3 Select hex file step 4 hex file uploading step 5 Finish upload NOUA 10 10 11 12 12 13 13 14 15 Programing with mikroProg programmer mikroProg Suite for PIC Software Programing with ICD29 or ICD39 programmer 5 Crystal oscillator 6 microSD Card Slot 7 T
18. nnector Figure 4 12 Then you should plug the ICD29 ICD39 programmer into it Figure 4 11 Page 18 RH2 RH3 RE1 REO RGO RG1 RG2 RG3 MCLR RG4 VCCcore Vcap RF4 D RF3 D RF2 PIC18F87J50 o ra gt 2 TI MCLR PGD1 er 287 gt R14 100 RB6 GC1 VCC 3 VCC 3 X1 8MHz C2 22 22 Figure 4 13 mikroProg and ICD2 ICD3 programmer connection schematic Page 19 3 CN5 M1X6 3 CN6 M1X5 gt 2 3 mikroProg Board is equipped with circuit that provides external clock to the microcontroller OSC 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 VCC 3 3 Figure 5 1 Crystal oscillator schematic RH2 RH3 RE1 REO x1 RGO 8MHz c2 22pF Figure 5 2 PIC18F87J50 5 Crystal oscillator module CLKO CLKI C1 22pF T VCCcore Vcap RF7 a RF6 5 RF4 D The use of crystal in all other schematics 15 implied even if it is purposely left out because of the schematics clarity 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 Interfac
19. ouch Screen 8 Audio Module 9 USB connection 10 Accelerometer 11 Flash Memory 12 Pads 13 Pinout 14 Dimensions 15 mikromedia Accessories 16 What s Next 16 17 18 20 21 22 24 26 28 29 30 31 33 34 Introduction for 18 mikromedia for PIC18FJ9 is a compact development system with lots of on board peripherals which allow gt development of devices with multimedia contents The central part of the system is a 8 bit PIC18F87 50 microcontroller The mikromedia for PIC18FJ6 features integrated modules such as stereo MP3 codec TFT 320x240 touch screen display accelerometer USB connector MMC SD card slot and other It comes pre programmed with USB bootloader but can also be programmed with external programmers such as mikroProg or ICD2 3 Mikromedia is compact and slim and perfectly fits in the palm of the hand which makes it convenient platform for mobile devices BOOTLOADER TOUCH SCREEN RESISTIVE a Package Contains PRODUCT DVD COMPILERS EXAMPLES SCHEMATICS DRIVERS MANUALS E 19122011 3 doses Damage resistant mikromedia PIC18FJ9 DVD with documentation protective box development system and examples a mikromedie mikromedia T nn for PIC18F 2 mikromedia for PIC18FJ 5 mikromedia for PIC18FJ user s guide schematic Page 5
20. 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 MikroElektronika 2012 All Rights Reserved If you want 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 esupport If you have any questions comments or business proposals do not hesitate to contact us at office mikroe com JE 07100000 019443
Download Pdf Manuals
Related Search
mikromedia mikromedia mikromedia 7 for stm32f7 mikromedia 7 mikromedia for stm32 mikromedia 7 capacitive mikromedia druki micromedia zabrze mikromedia 7 for stm32f4 mikromedia 7 for stm32f407zgt6 mikromedia 7 resistive fpi example
Related Contents
Fiche technique Insecticide DK CSEE Installation Manual Updated Part 3 TC 270 - Domyos クリーンロボット MANUALE D`USO SUPER VEGA CARRELLATO REV.0 View this Manual - Neopost Technologies Ltd Proficient Brochure Copyright © All rights reserved.
Failed to retrieve file