Home

SmartGLCD 240x128 User Manual

image

Contents

1. SmartGLCD 240x128 usermanual All MikroElektronika s development systems represent irreplaceable tools for programming and developing microcontroller based devices Carefully chosen components and the use of machines of the last generation for mounting and testing thereof are the best guarantee of high reliability of our devices Due to simple design a large number of add on modules and ready to use examples all our users regardless of their experience have the possibility to develop their project in a fast and efficient way Development system EJ MikroElektronika SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD making ib simple TO OUR VALUED CUSTOMERS l 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 Microchip name logo and products names are trademarks of Microchip Inc in the U S A and other countries SmartGLCD 240x128 TABLE OF CONTENTS Bae AA 4 2 PIC 8F8952T microcontrollef nn ri kame dna NANG kn PN GANGNAM ANA NAA 5 3 Programming the microcontroller Aa aaa AA kl kalkil ata 6 A OS KONNE Ea 11 5 Settings page 1 General information SmartGLCD 240x128 The SmartGLCD 240x128 development system is a unique pla
2. WOO B01YILU 9I1YHO je sn JOEJUOJ O 9jejiseu jou op sjesodoJd ssauisng Jo S USWLUOD suoi senb Aue oney no ji 5 noddis uejuioo sou MMM a bd WOT SOI MAM Je 9JISq9M INO JISIA as ajd sionpoud DES 9100 uJeo CE NOA JI CO IdOM G30A34WA YOJ SNOLLNTOS JIVMAJVH ANY 34VMLIOS E 5E E m
3. Port COME Waiting MCU response 22s Connected Choose Browse Opened HEX file for HEX CriCustom 240x128 GLCDTouchPanel he x Uploading Start mu bootloader uploading Bootloading progress bar Pon Custom 240x128 GLEDITouchPanel hex STEP 8 Finishuploading 8 Finish uploading Cann Rx Tx Setup COM Port COME port Baud Rate 256000 Change Settings Signal Connect with MCU Choose Browse HEX file for HEX Start B egin bootloader uploading C Custom 240x126 GLED TouchPanel hex Disconnect SUCCESS Waiting MCL response Connected Opened C Custom_240x128_GLCDNTouchP ang Reset MCU Uploading program has Finished w Show details x Uploading Finishing Completed successfully After uploading program has finished RESET microcontroller In order to RESET the microcontroller place a jumper between the RST and GND pins 7 and 9 on the CN1 connector Keep the jumper in this position for a few seconds then remove it As an alternative just unplug power supply and plug it in after a few seconds MikroElektronika SmartGLCD 240x128 Figure 1 Programming via USB UART additional board 10 SmartGLCD 240x128 s S In addition to the programming via bootloader the microcontroller can also be programmed with the PICFLASH programmer In this case it is necessary to solder a 2x5 mail header on the CN1 connector o
4. al 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 manufa
5. ctured 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 the Mikroelektronika logo mikroC mikroC PRO mikroBasic mikro Basic PRO mikroPascal mikroPascal PRO AVRflash PICflash dsPICprog 18FJprog PSOCprog AVR prog 8051prog ARMilash EasyPIC5 EasyPIC6 BigPIC5 BigPIC6 dsPIC PRO4 Easy8051B EasyARM EasyAVR5 EasyAVR6 BigAVR2 EasydsPIC4A EasyPSoC4 EasyVR Stamp LV18FJ LV24 33A LV32MX PIC32MX4 MultiMedia Board PICPLC16 PICPLC8 PICPLC4 SmartGSM GPRS UNI DS 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 Mikroelektronika 2003 2011 All Rights Reserved
6. er is connected via its I O pins to GLCD display s controller I O pins of the ports PORTE and PORTF can be easily accessed by the user via connectors CN10 and CN11 MikroElektronika SmartGLCD 240x128 3 Programming the microcontroller SmartGLCD 240x128 comes with a bootloader which means that no external programmer is required You just need an RS 232 interface USB UART MAX2322 etc between the development system and PC The mikroBootloader application is used to transfer a HEX code from the PC to the microcontroller Follow steps for programming procedure via mikroBootloader application Download the mikroElektronika Bootloader program from the following link http www mikroe com eng downloads get 1562 smartglcd 240x128 boot zip mikroBootloader Unzip content to your desktop and start application with double click on pm a For mikroElektr STEP t ComectUSBUART 1 Connect USB UART EITITITESTALL s te Connect USB UART to PC via USB cable ktsititk Ek mb mikroElektronika Bootloader v2 0 0 0 mikroBootloader Setup TOM Port COM1 Change port Baud Rate 9600 settings Cann Rx Tx Signals wi Setup COM Port COMI Change m port Baud Rate 9600 Settings Connect kosa Setu with MCU Coone p Settings m From drop down list select COM port WERTE zabici se which is connected with USB UART Baud rate Data bits From drop down list set baud Start Begin bootloader upload
7. ing ine rate to 256000 LO Flow control Uk bare Click on OK button Mo Files opened MikroElektronika SmartGLCD 240x128 STEP 4 Connect Setup COM Port COME Change port Baud Rate 256000 Settings Connect USB UART to SmartGLCD 240x128 and within 5sec click on Connect nsi History Wim Connect in bootloader application miu Setup Port COM Chonse Browse A HEX file for HEX Bsec connection A Start Beg in unless dna STEP 5 Browse for hex file Connect OG History Window 3 Disconnect with MCU Pm Setup Port COME Waiting MCL response 1 ch B Connected DOSE Browse HEX file for HEX Click on Browse for HEX button Start B egin bootloader uploading STEP 6 Open hex file Look in C9 Custom 240x128 GLCD odo Chose hex file from pop up window My Recent Documents ja File name TouchPanel v My Network Files of type HEX files v Click on Open fi MikroElektronika page rd SmartGLCD 240x128 STEP 7 Startupload 7 Start upload Connect 5 Disconnect with MCU Setup Port COME Waiting MELI response m ERR Connected Choose Browse Opened HEX file LOC HEK a CriCustom 240x128 GLCDI TouchPanel he Start Begin After hex file is opened click bootloader uploading on Begin uploading button Connect 8 Disconnect with MCU Setup
8. n the components side of the development board After that the IDC10 connector of the programmer should be connected to the 2x5 connector CN1 figure 2 wcu vcc MikroElektronika aj avi i x PGC LSB SYSTEM PROGRAMMER LITH ICD L cal EE iki 5 MEL MCLR f aai GHD 1 m EITT o coh pins a enn H niin Hi fee oe E eases 72 demi doom E E A it m HAE LULA at MEDI ZALANIA zel Awe aha Figure 2 Programming with PICFLASH programmer MikroElektronika SmartGLCD 240x128 4 Connectors The SmartGLCD 240x128 development system features connectors pads used to access the microcontroller pins These connectors also enable the development system to be connected to other devices 7 ai lw 01 U v inc amp inimi ZA JD aco li pn co JULII WU v ba f EREN p IRR o i iiiiiii JWI a Iz Panig ya CIE M ji qu ud es cr a aj u8 c EEKE EEE EELKE LI il E El MR e AS aiia Figure 1 Each connector has its designation The function of connectors CN1 connector enables connection with the PICFLASH programmer Pins PGC PGD and RST are used for programming The VCC pin is used for power supply whereas the GND pin is connected to ground CN2 connector enables an external controller to be connected to the touch panel CN3 First six pins of this connector are used for SPI communicati
9. on whereas pins 7 and 8 are used for RS 232 communication via UART CN4 connector enables an external controller to be connected to the GLCD display CN5 connector enables an external controller to be connected to the touch panel CN8 First six pins of this connector are used for SPI communication whereas pins 7 and 8 are used for RS 232 communication via UART CN9 connector is used to power the GLCD display backlight Depending on the display color the 5V positive voltage will be supplied on one of the following pins A RED A GREEN or A BLUE pin Ground GND is connected to the K COMMON pin The positive voltage may be supplied on two or three pins at the same time thus providing the backlight with new colors such as yellow purple etc MikroElektronika 11 CN13 SmartGLCD 240x128 O port PORTE USB UART is used for connection of USB UART borad for programming MCU via bootloader O port PORTF connector enables the use of mikroSD memory card This card provides additional memory space that the microcontroller can use to store data Communication between memory card and the microcontroller is performed via the Serial Peripheral Interface SPI connector is used to provide the system with the 5V power supply voltage The VCC pin is supplied with the positive voltage whereas the GND pin is connected to ground The parallel interface enables the GLCD display to be used without the microcontroller supplied on the de
10. tform for designing and developing devices that use GLCD display with touch panel This development system can also be used as a stand alone device System specification Power supply 5V DC via CN13 connector Power consumption 60mA 380mA backlight ON Dimensions 160 x 90cm 6 29 x 3 54inch Weight 200g 0 44lbs Connector specification ONT CN2 CN3 CN4 CN5 CN8 CNO CN10 CN11 CN13 CN14 PICFLASH programmer interface Touch panel interface SPI RS 232 interface Parallel interface to GLCD display s pins Touch panel interface SPI RS 232 interface Interface to backlight s RGB LED I O port PORTE I O port PORTF Power supply USB UART Connector for external USB UART board MikroElektronika A full featured development system for PIC microcontroller based devices MMC SD microSD card reader STORAGE GRAPHIC LCD CONNECTOR Graphic LCD display with LED RGB backlight ON BOARD A Integrated touch panel TOUCH SCREEN SmartGLCD 240x128 2 PIC18F8527 microcontroller The SmartGLCD 240x128 features the PIC18F8527 microcontroller in 80 pin TOFP package Some of its key features are CPU Speed MIPS 10 RAM Bytes 3 936 Data EEPROM bytes 1024 Program Memory Type Flash Program Memory KB 48 ijijiji i i m E iiti FE HAAN m m E m m imm b ou mk men a iii m li i The PIC18F8527 microcontroll
11. velopment system Due to this possibility the SmartGLCD 240x128 development system can be built into a device that requires GLCD display only The touch panel interface enables the touch panel s external controller to be connected MikroElektronika SmartGLCD 240x128 5 Settings All the necessary settings on the development system are performed by using DIP switch SW8 or potentiometer P1 1 DIP Switch SW8 is used for SmartGLCD 240x128 configuration serial communication backlight and display contrast and 2 Potentiometer P1 adjusts GLCD contrast In order to enable GLCD display it is necessary to set switch 4 ON BRD CONTRAST on the DIP switch SW8 to the ON position To enable backlight it is necessary to set switch 8 ENABLE RGB BCK to the ON position The color of the backlight can be set by switches or via user program through MOSFET transistors Red switch 5 TURN ON RED BCK Green switch 6 TURN ON GREEN BCK or Blue switch 7 TURN ON BLUE BCK In order to enable parallel interface it is necessary to set switch 1 PARALLEL INTERFACE on the DIP switch SW8 to the ON position Switch 2 SPI RS232 SEL can be used to select SPI or RS 232 communication The user choose the type of communication when writing a program to be loaded into the microcontroller Switch 3 is not used SmartGLCD 240x128 MikroElektronika DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and internation

Download Pdf Manuals

image

Related Search

Related Contents

ion Flow Controller 取扱説明書      Microphone DM90    PDFファイル  Training Notes    scott 2011 bike owners manual general info  

Copyright © All rights reserved.
Failed to retrieve file