background image

240

x

128

Smart

GLCD

Summary of Contents for SmartGLCD 240x128

Page 1: ...240x128 SmartGLCD ...

Page 2: ...ompany is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs TO OUR VALUED CUSTOMERS 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 ...

Page 3: ...Choosing COM port 13 step 2 Establishing Connection 14 step 3 Browsing for HEX file 14 step 4 Selecting hex file 15 step 5 Uploading hex file 15 step 6 Progress bar 16 step 7 Finishing upload 16 Tips and Tricks Speed up UART data transfer 17 6 Programming with mikroProg programmer 18 7 mikroProg Suite for PIC Software 20 8 microSD Card Slot 22 9 Touch Screen 24 10 RGB backlight 26 11 Contrast pote...

Page 4: ...ht which can greatly improve user experience but can also be used as a signaling feature The heart of the board is PIC18F87K22 an 8 bit microcontroller delivering 12MIPS of processing power Other modules like USB UART piezo buzzer microSD slot and connection pads can be found on board as well The board is preprogrammed with UART bootloader We have also provided a nice example which will give you a...

Page 5: ... 02 04 05 03 06 Damage resistant protective box SmartGLCD 240x128 development board SmartGLCD 240x128 user s guide SmartGLCD 240x128 schematic and pinout DVD with documentation and examples USB cable 240x128 SmartGLCD SCHEMATICS We present you with a complete color schematics for SmartGLCD 240x128 development board We want you to know what your board is consisted of and how it actually works 240x1...

Page 6: ...9 10 11 12 GLCD 240x128 display RESET button Power supply pads I O pads Pads for mikroProg programmer USB connector Touch panel connector PIC18F87K22 microcontroler Contrast potentiometer microSD card slot USB UART module Buzzer 1 Key Features ...

Page 7: ...Page 7 power supply Via USB cable 5V DC weight 210g 0 46 lbs board dimensions 140x90cm 5 51x3 24 power consumption 350mA in idle state backlight is ON 06 07 04 05 12 System Specification 11 08 09 10 ...

Page 8: ...he board is powered up the GLCD display will be automatically turned on The USB connection can provide up to 500mA of current which is more than enough for the operation of all on board modules and the microcontroller as well 2 Power supply Figure 2 1 connecting USB power supply through CN1 connector Figure 2 2 connecting external 5V power supply through CN2 connector Figure 2 3 connecting externa...

Page 9: ...Page 9 Figure 2 4 Power supply schematic FB1 FERRITE BEAD VCC VCC 3 3 VCC MMC VIN VOUT REG1 MC33269DT 3 3 1 3 2 E1 E2 E3 10uF 10uF 47uF C10 C11 100nF 100nF CN1 USB MINI B VCC VCC VCC VCC 3 3 CN2 CN4 ...

Page 10: ...g graphical applications Key microcontroller features Up to 12 MIPS Operation 8 bit architecture 128KB of Flash memory 3 862 bytes of RAM 1024 bytes of EEPROM 80 pin TQFP 24 ch 12 bit ADC UART SPI I2 C etc Data Memory Bus Data Bus PIC18F 16 MIPS 8 bit Core nanoWatt Up to 64MHz 31 Level Stack Program Counter Instruction Data I O Timers Comparators ADC 12 Bit USART CCP MSSP Flash Up to 128KB RAM Up ...

Page 11: ...02 Using USB UART mikroBootloader Using external mikroProg for PIC dsPIC PIC32 programmer Figure 4 1 PIC18F87K22 microcontroller The microcontroller can be programmed in two ways 4 Programming the microcontroller ...

Page 12: ... UART application which can be downloaded from Upon download unzip it to desired location and start the mikroBootloader application http www mikroe com smartglcd note Figure 5 1 mikroBootloader window mikroBootloader software 01 When you start mikroBootloader software a window should appear as shown in the image above Before starting mikroBootloader software connect SmartGLCD to a PC using a USB c...

Page 13: ...n Device Manager window and expand Ports COM LPT section to check which COM port is assigned to SmartGLCD board in this case it is COM18 Figure 5 3 Choosing COM port 01 02 03 Click the Change Settings button From the drop down list select appropriate Port in this case it is COM18 and Baud rate 115200 Click OK ...

Page 14: ...oard and click Connect within 5s otherwise the existing microcontroller program will run If connected the button s caption will be changed to Disconnect Click the Browse for HEX button and from a pop up window Figure 5 6 choose a HEX file to be uploaded in MCU memory step 2 Establishing Connection step 3 Browsing for HEX file ...

Page 15: ...tep 4 Selecting hex file step 5 Uploading hex file 01 02 01 Figure 5 6 Locating and selecting hex file 01 02 Select HEX file from the Open dialog window Click the Open button 01 In order to upload HEX file click the Begin uploading button ...

Page 16: ... 5 8 Progress bar Figure 5 9 Restarting MCU 01 01 02 Progress bar enables you to monitor HEX file uploading Click OK button after the uploading process has been finished Press Reset button on SmartGLCD board and wait for 5 seconds Your program will run automatically ...

Page 17: ...t Settings tab Click the Advanced button Set Latency Timer to 1 and click OK Tips and Tricks Speed up UART data transfer If HEX file transfer from your PC to MCU is too slow it s possible to speed up data transfer by setting latency time of COM port to 1 ms This is done in Device Manager 02 03 04 01 note ...

Page 18: ...ecting it The microcontroller can be programmed with the external mikroProg programmer which can be connected to the board via CN3 connector Before establishing this connection it is necessary to solder 1x5 male header to CN3 connection pads This can be done in both ways on the bottom or the top side as shown in Figures 6 1 and 6 2 If bootloader program is accidently erased you can upload it again...

Page 19: ...1 RA0 GND VCC RA5 RA4 RC1 RC0 RC6 RC7 RJ4 RJ5 RH0 RE2 RE3 RE4 RE5 RE6 RE7 RD0 VCC GND RD1 RD2 RD3 RD4 RD5 RD6 RD7 RJ0 RJ1 RH2 RJ2 RJ3 RB0 RB1 RB2 RB3 RB4 RB5 RB6 GND OSC2 OSC1 VCC RB7 RC5 RC4 RC3 RC2 RJ7 RJ6 RH3 RE1 RE0 RG0 RG1 RG2 RG3 MCLR RG4 GND VDDcore Vcap RF7 RF6 RF5 RF4 RF3 RF2 RH7 RH6 VCC VCC VCC D1 BAT43 R22 1K VCC C5 100nF E5 10uF VCC PGC PGD CN3 mRST PGD PGC mRST Figure 6 3 mikroProg co...

Page 20: ...IC16 PIC18 dsPIC30 33 PIC24 and PIC32 The software has intuitive interface and SingleClick programming technology Just down load the latest version of mikroProg Suite and 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 Figure 7 1 Main window of mikroProg Suite for...

Page 21: ...Page 21 01 04 02 05 03 06 Start Installation Choose destination folder Accept EULA and continue Installation in progress Install for all users Finish installation Software Installation Wizard ...

Page 22: ...ided on board It enables the expansion of available memory space using microSD cards Communication between the microcontroller and the card is done through Serial Peripheral Interface SPI 8 microSD Card Slot Figure 8 1 microSD card slot Page 22 ...

Page 23: ...3 1 3 2 E1 E2 E3 10uF 10uF 47uF C10 C11 100nF 100nF VCC PIC18F87K22 RH1 RH5 RH4 RF1 ENVREG AVCC AGND RA3 RA2 RA1 RA0 GND VCC RA5 RA4 RC1 RC0 RC6 RC7 RJ4 RJ5 RH0 RE2 RE3 RE4 RE5 RE6 RE7 RD0 VCC GND RD1 RD2 RD3 RD4 RD5 RD6 RD7 RJ0 RJ1 RH2 RJ2 RJ3 RB0 RB1 RB2 RB3 RB4 RB5 RB6 GND OSC2 OSC1 VCC RB7 RC5 RC4 RC3 RC2 RJ7 RJ6 RH3 RE1 RE0 RG0 RG1 RG2 RG3 MCLR RG4 GND VDDcore Vcap RF7 RF6 RF5 RF4 RF3 RF2 RH7...

Page 24: ...velopment system features a Graphical LCD in 240x128 pixel resolution Display is covered with a 4 wire resistive touch panel Together they form a functional unit called a touch screen Figure 9 1 It enables data to be entered and displayed at the same time ...

Page 25: ... D GLCD FS GLCD CONTROLLER RA6963 VCC PIC18F87K22 RH1 RH5 RH4 RF1 ENVREG AVCC AGND RA3 RA2 RA1 RA0 GND VCC RA5 RA4 RC1 RC0 RC6 RC7 RJ4 RJ5 RH0 RE2 RE3 RE4 RE5 RE6 RE7 RD0 VCC GND RD1 RD2 RD3 RD4 RD5 RD6 RD7 RJ0 RJ1 RH2 RJ2 RJ3 RB0 RB1 RB2 RB3 RB4 RB5 RB6 GND OSC2 OSC1 VCC RB7 RC5 RC4 RC3 RC2 RJ7 RJ6 RH3 RE1 RE0 RG0 RG1 RG2 RG3 MCLR RG4 GND VDDcore Vcap RF7 RF6 RF5 RF4 RF3 RF2 RH7 RH6 VCC VCC VCC G...

Page 26: ... can give your graphical user interfaces an astonishing look Display s backlight module consists of three LEDs red green and blue which can shine simoutaneously LED can be driven by PWM signals coming from three separate microcontroller pins Duty ratio of the PWM signal determines the intensity of color or brightness of each LED Combined together they can create more than 16 milion different backl...

Page 27: ...e backside of the board there is a small potentiometer which can be used to change contrast of the GLCD The brighter the backlight the less contrast you will need to properly display the graphical content Figure 11 1 Constrast potentiometer ...

Page 28: ...red with the board package Plug it in as shown in Figure 12 1 Figure 12 1 Connecting USB cable to SmartGLCD board DVD download eng software development tools universal ftdi vcp_drivers zip 19122011 www mikroe com Copyright 2011 Mikroelektronika All rights reserved Mikroelektronika Mikroelektronika logo and other Mikroelektronika trademarks are the property of Mikroelektronika All other tradmarks a...

Page 29: ...SBDM USBDP USB MINI B VCC E4 10uF VCC 3 3 VCC VCC R9 4K7 R10 10K VC PIC18F87K22 RH1 RH5 RH4 RF1 ENVREG AVCC AGND RA3 RA2 RA1 RA0 GND VCC RA5 RA4 RC1 RC0 RC6 RC7 RJ4 RJ5 RH0 RE2 RE3 RE4 RE5 RE6 RE7 RD0 VCC GND RD1 RD2 RD3 RD4 RD5 RD6 RD7 RJ0 RJ1 RH2 RJ2 RJ3 RB0 RB1 RB2 RB3 RB4 RB5 RB6 GND OSC2 OSC1 VCC RB7 RC5 RC4 RC3 RC2 RJ7 RJ6 RH3 RE1 RE0 RG0 RG1 RG2 RG3 MCLR RG4 GND VDDcore Vcap RF7 RF6 RF5 RF4...

Page 30: ...und when provided with electrical signal This is usually a PWM signal coming from a microcontroller pin Before entering the buzzer itself the signal is amplified by the on board buzzer driver circuit Frequency of the signal determines the pitch of the sound and duty cycle of the signal can be used to increase or decrease the volume Page 30 ...

Page 31: ... RA3 RA2 RA1 RA0 GND VCC RA5 RA4 RC1 RC0 RC6 RC7 RJ4 RJ5 RH0 RE2 RE3 RE4 RE5 RE6 RE7 RD0 VCC GND RD1 RD2 RD3 RD4 RD5 RD6 RD7 RJ0 RJ1 RH2 RJ2 RJ3 RB0 RB1 RB2 RB3 RB4 RB5 RB6 GND OSC2 OSC1 VCC RB7 RC5 RC4 RC3 RC2 RJ7 RJ6 RH3 RE1 RE0 RG0 RG1 RG2 RG3 MCLR RG4 GND VDDcore Vcap RF7 RF6 RF5 RF4 RF3 RF2 RH7 RH6 VCC VCC VCC C5 100nF E5 10uF ...

Page 32: ...N3 Digital I O Digital I O Digital I O Digital I O AN4 SCK1 SCL1 SDI1 SDA1 SDO1 SDO2 SDI2 SDA2 SCK2 SCL2 RX 5V power supply Ground Ground 3 3V power supply output 5V power supply RA2 RA3 RA4 RA5 RB0 RB1 RB2 RB3 RB4 RC3 RC4 RC5 RD0 RD1 RD2 RD3 RD4 RD5 RD6 RD7 RE0 RE1 RE2 RE3 RE4 RE5 RE6 RE7 NC RF1 RF2 RF3 RF4 RF5 RF6 RF7 GND RG1 RST RG2 PGD GND PGC 5V 5V ...

Page 33: ... 457 7 77 306 14 73 580 12 7 500 12 7 4000 11 56 455 30 1181 128 5040 7 276 2 79 12 57 500 13 12 516 4 8 190 Legend Pad hole size Mounting hole size 45 mils ø 1 14 mm ø ø 157 mils ø 4 mm 107 5 4232 114 4488 display margin display active surface 57 5 2264 64 2520 74 2913 1 6 63 16 3 642 ...

Page 34: ...e necessary code which is compatible with mikroElektronika compilers Visual GLCD 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 GLCD is also available on the Product DVD Your journey through each and every feature of SmartGLCD board ends here You got to know it s modules and...

Page 35: ...roduct 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 mikroBUS Click Boards EasyPIC and mikromedia are trademarks of MikroElektro...

Page 36: ...e 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 SmartGLCD 240x128 Manual ver 1 51 0 100000 024430 ...

Page 37: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information MikroElektronika MIKROE 762 ...

Reviews: