background image

Page 20

Page 21

Figure 6-3: microSD card slot connecting schematic

VCC

PIC18F8722

RH1

RH5 RH4 RF1 RF0 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

VCC

RF7

RF6

RF5

RF4

RF3

RF2

RH7

RH6

VCC

VCC

VCC

VCC

GLCD-D2
GLCD-D3

LED-B

DRIVEA

DRIVEB

mRST#

GLCD-D7
GLCD-D6

GLCD-D5

GLCD-D4

LEFT

BOT

TO

M

LED-

G

MMC-CS

#

UA

R

T-R

X

UA

R

T-TX

GLCD-RES#

GLCD-MD

GLCD-FS

LED-R

RC3-SCK

RC4-MISO

RC5-MOSI

PGD

PGC

MMC-CD#

GLCD-CE#

GLCD-WR#

GLCD-RD#

GLCD-CD

RD6-SCK

RD5-MIS

O

SPI-MOSI

GLCD-D

0

GLCD-D

1

VCC

1K

1K

R34

R23

GLCD-FS

GLCD-MD

D1

BAT43

R22

1K

VCC

C5

100nF

MMC-MISO-3.3

MMC-MISO-3.3

R8

1K

A

VCCB

B

DIR

VCCA

GND

U2

74LVC1T45

VCC

VCC

VCC-3.3

C13

C14

100nF

100nF

RC4-MISO

R29

2K2

R28

2K2

R27

2K2

R32

3K3

R33

1K

R31

3K3

R30

3K3

VCC-MMC

MMC-CS#

MMC-CD#

RC5-MOSI

RC3-SCK

CN5

microSD CARD

CD

CMD

VCC

CLK

GND

DAT0

G

VCC

C

100nF

12

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

Summary of Contents for SmartGLCD

Page 1: ...user s guide to SmartGLCD 240x128 Smart GLCD 240x128 represents development tool and final product specially designed for graphical applications which use PIC microcontroller PIC18F8722...

Page 2: ...is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs The Microchip Atmel NXP and CYPRESS name logo and product...

Page 3: ...oader 10 Identifying device COM port 11 step 1 Choosing COM port 11 step 2 Connecting with a PC 12 step 3 Browse for hex file 12 step 4 Select hex file 13 step 5 Uploading hex file 13 step 6 Progress...

Page 4: ...Graphical LCD display makes perfect tool for developing devices which can be used as control for home automation industrial equipment etc Microcontroller PIC18F8722 is a heart of the SmartGLCD It com...

Page 5: ...tic CD with documentation and examples USB cable schematic Compact development tool with on board peripherals for all round graphical development on PIC18F8722 SmartGLCD 240x128 user s guide to SmartG...

Page 6: ...7 08 09 10 11 GLCD 240x128 display RESET button Power supply pads I O pads Pads for mikroProg programmer USB connector Touch panel connector Microcontroler PIC18F8722 Contrast potentiometer mcroSD car...

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

Page 8: ...Page 8 Connect the development system to a PC via a USB cable Figure 1 1 The GLCD display will be automatically turned on 1 Connecting power supply Figure 1 1 Powering the development system...

Page 9: ...2 Microcontroller Key microcontroller features Up to 10 MIPS Operation 8 bit architecture 128KB of Flash memory 3 936 bytes of RAM memory 1024 bytes of EEPROM 80 pin TQFP 16 ch 10 bit ADC UART SPI etc...

Page 10: ...a PC to MCU you need bootloader software mikroBootloader which can be downloaded from After software is downloaded unzip it to desired location and start mikroBootloader software http www mikroe com...

Page 11: ...Choosing COM port Figure 3 3 Selecting COM port 02 03 04 01 Click on Change Settings button Select USB COM port in this case COM5 Set Baud rate to 115200 Click OK button In Device Manager you can see...

Page 12: ...ch will be uploaded to MCU memory step 2 Connecting with a PC step 3 Browse for hex file Figure 3 4 Connecting mikromedia with mikroBootloader 01 02 From drop down list Select MCU chose PIC18 Reset Sm...

Page 13: ...ure 3 7 Begin uploading step 4 Select hex file 01 Click on Begin uploading button to start hex file transfer from a PC to microcontroler 01 Select desired hex file Folder list Click on Open button 03...

Page 14: ...ading is finished 01 Click on OK button after uploading is finished Reset MCU and you can see product of your work 01 Figure 3 8 Bootloading progress bar step 6 Progress bar 01 Via progress bar you ca...

Page 15: ...s tab Click on Advanced button Set latency Timer to 1 or chose another value and click on OK button Tips and Tricks Speed up UART data transfer If hex file transfer from your PC to MCU is to slow you...

Page 16: ...to connect the external programmer to the development system it is necessary to provide a 1x5 header that should be soldered to pads CN3 If bootloader program is accidently erased you can upload it a...

Page 17: ...x5 header to pads CN3 This is ideal placment if you prefer using mikroProg instead of bootloader Figure 4 2 Connecting external programmer GLCD side IDC10 connector VCC MCU VCC MCU PGD MCU PGC MCU MCL...

Page 18: ...be entered and displayed at the same time The way of entering and displaying data depends on the program loaded into the microcontroller Resistive touch panel is suitable for usage with a plastic pen...

Page 19: ...ED G MMC CS UART RX UART TX GLCD RES GLCD MD GLCD FS LED R RC3 SCK RC4 MISO RC5 MOSI PGD PGC MMC CD GLCD CE GLCD WR GLCD RD GLCD CD RD6 SCK RD5 MISO SPI MOSI GLCD D0 GLCD D1 VCC 1K 1K R34 R23 GLCD FS...

Page 20: ...ment system It enables the system to additionally expand available memory space The Serial Peripheral Interface SPI is used for communication between the microcontroller and microSD card 6 microSD Car...

Page 21: ...D D7 GLCD D6 GLCD D5 GLCD D4 LEFT BOTTOM LED G MMC CS UART RX UART TX GLCD RES GLCD MD GLCD FS LED R RC3 SCK RC4 MISO RC5 MOSI PGD PGC MMC CD GLCD CE GLCD WR GLCD RD GLCD CD RD6 SCK RD5 MISO SPI MOSI...

Page 22: ...communicate with USB devices via USB UART module This module comes in form of FT232RL chip which is interface between serial UART on MCU and USB device Figure 7 1 Inserting the USB cable Figure 7 2 m...

Page 23: ...RST GLCD D7 GLCD D6 GLCD D5 GLCD D4 LEFT BOTTOM LED G MMC CS UART RX UART TX GLCD RES GLCD MD GLCD FS LED R RC3 SCK RC4 MISO RC5 MOSI PGD PGC MMC CD GLCD CE GLCD WR GLCD RD GLCD CD RD6 SCK RD5 MISO SP...

Page 24: ...3 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 RB...

Page 25: ...5 51 134mm 5 28 90mm 3 54 6 24mm 0 25 74mm 2 91 67 72mm 2 67 4 m m 0 1 5 7 83mm 3 27 2 54mm 0 10 1 6mm 0 06 Tolerance 0 3mm 14 3mm 0 52 9 7mm 0 44 30mm 1 18 15 61mm 0 61 128mm 5 04 7mm 0 28 12 57mm 0...

Page 26: ...Page 26 Notes...

Page 27: ...on 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 manufactured or intended for use or...

Page 28: ...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 en support If you have any questions comments or busi...

Reviews: