background image

Page 27

R23

1K

VCC-SYS

LCD-RST

LCD-RS
LCD-CS#

LCD-YU

LCD-XL

LCD-YD

LCD-XR

VCC-3.3

E13

10uF

R25
10K

VCC-3.3

R24
10K

LCD-RST
LCD-CS#

VCC-3.3

T-D6

T-D7

LCD-BLED

R42
300K

VCC-3.3

R41

300K

LCD-YU

LCD-XL

VCC-3.3

Q1

BC846

R40
12

VCC-SYS

Q2

BC846

Q3

BC846

PMRD
PMWR

C21

47nF

C22

47nF

T-D4-RJ4
T-D3-RJ3
T-D2-RJ2
T-D1-RJ1
T-D0-RJ0

T-D5-RJ5

D2

BAT43

2

15

12

35

11

36

3
4
5
6

14

7
8
9

13

43

33

10

37
38
39
40

44
45
46

34

1

47

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

41
42

VCC-3.3

E9

10uF

LCD-RST

LCD-RS

LCD-CS#

LCD-YU

LCD-XL

LCD-YD

LCD-XR

T-D6

T-D7

PMRD

PMWR

LCD-BLED

T-D4-RJ4

T-D3-RJ3

T-D2-RJ2

T-D1-RJ1

T-D0-RJ0

T-D5-RJ5

RA0/AN0

30

RA1

29

RA2

28

RA3

27

RA4

34

RA5

33

RB0

58

RB1

57

RB2

56

RB3

55

RB4

54

RB5

53

RB6

52

RB7

47

RC0

36

RC1

35

RC2

43

RC3

44

RC4

45

RC5

46

RC6

37

RC7

38

MCLR

9

OSC1

49

OSC2

50

GND

11

VCCcore/Vcap

12

VCC

32

RD0

72

RD1

69

RD2

68

RD3

67

RD4

66

RD5

65

RD6

64

RD7

63

RE0

4

RE1

3

RE2

78

RE3

77

ENVREG

24

VUSB

23

RF2

18

RF3/D-

17

RF4/D+

16

RF5

15

RF6

14

RF7

13

RG0

5

RG1

6

RG2

7

RG3

8

RG4

10

RH0

79

RH1

80

RH2

1

RH3

2

RH4

22

RH5

21

RH6

20

RH7

19

RJ0

62

RJ1

61

RJ2

60

RJ3

59

RJ4

39

RJ5

40

RJ6

41

RJ7

42

VCC

48

VCC

71

GND

31

GND

51

GND

70

AGND

26

AVCC

25

RE4

76

RE5

75

RE6

74

RE7

73

U1

PIC18F87J50

VCC-3.3

Vcap

Vcap

X1

8MHz

C2 22pF

C1 22pF

CLKO

CLKI

TFT1

MI 0283QT-9A

L ED- A1

DB17

HSYNC

RD

VSYNC

WR(D/C)

L ED- A2

L ED- A3

L ED- A4

IM0

DE

IM3

IM2

IM1

DOTCL K

GND

SDO

RESET

D/C(SCL)

CS

TE

VDDI

X+(R)

Y+(D)

X- (L )

SDI

L ED- K

Y- (U)

DB16

DB15

DB14

DB13

DB12

DB11

DB10

DB9

DB8

DB7

DB6

DB5

DB4

DB3

DB2

DB1

DB0

VCI

VCI

Figure 7-2: Touch Screen connection schematic

Содержание mikromedia PIC18FJ

Страница 1: ...Compact development system rich with on board peripherals for all round multimedia development on PIC18F87J50 device for PIC18FJ mikromedia...

Страница 2: ...mpany 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 Manag...

Страница 3: ...ting mikromedia 12 step 2 Browsing for HEX file 13 step 3 Selecting HEX file 13 step 4 Uploading HEX file 14 step 5 Finish upload 15 Programing with mikroProg programmer 16 mikroProg Suite for PIC Sof...

Страница 4: ...mikromedia for PIC18FJ features integrated modules such as stereo MP3 codec TFT 320x240 touch screen display accelerometer USB connector audio connector MMC SD card slot 8 Mbit flash memory 2x26 conne...

Страница 5: ...5V power supply Reference Ground Reference Ground left ch right ch 3 3V power supply 3 3V power supply Reference Ground Reference Ground Pin functions Pin functions audio out UART I2 C SPI2 SCK2 SDI2...

Страница 6: ...NI 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 PIC18F87J50 microcon...

Страница 7: ...sed MCU when back light is ON CAUTION Electrostatic Sensitive Device Permanent damage may occur on devices subjected to high energy electrostatic discharges which readily accumulate on the human body...

Страница 8: ...he presence of power supply You can also power the board using Li Polymer battery via on board battery connector On board battery charger circuit MCP73832 enables you to charge the battery over USB co...

Страница 9: ...4 Vin GND EN ADJ Vout U3 MIC5250 ADJ R49 4K7 3 1 2 GND Vin Vout REG1 LD29080DT33 VCC BAT LD1 GREEN LD2 RED 1 2 CN1 BATT CONN 2 3 5 4 1 STAT VSS VBAT VDD PROG U5 MCP73832 Q4 BC846 Q5 BC846 D1 PMEG3010...

Страница 10: ...ultimedia applications Key microcontroller features Up to 12 MIPS Operation 8 bit architecture 128KB of program memory 3 904 bytes of RAM 65 I O pins Internal Oscillator 8 MHz 32 kHz 2 UART 2 SPI 2 I2...

Страница 11: ...ntroller can be programmed in three ways 3 Programming the microcontroller 01 02 03 Via USB HID mikroBootloader Using mikroProg external programmer Using ICD2 3 external programmer Figure 3 1 PIC18F87...

Страница 12: ...e bootloader mode otherwise the existing microcontroller program will be executed Microcontroller is preprogrammed with USB HID Bootloader which can be used to upload new device firmware To transfer f...

Страница 13: ...le Figure 3 3 Browse for HEX Figure 3 4 Selecting HEX 01 02 01 01 02 01 Click the Browse for HEX button and from a pop up window Figure 3 4 choose the HEX file which will be uploaded to MCU memory Sel...

Страница 14: ...14 step 4 Uploading HEX file Figure 3 5 Begin uploading Figure 3 6 Progress bar 01 01 01 01 In order to upload HEX file click the Begin uploading button HEX file uploading can be monitored via progres...

Страница 15: ...pload Figure 3 7 Restarting MCU Figure 3 8 mikroBootloader ready for next job 01 01 Click the OK button after uploading is finished The board will be automatically reset and after 5 seconds your new p...

Страница 16: ...g is a fast USB2 0programmerwith mikroICD hardware In Circuit Debugger Smart engineering allows mikroProg to support PIC10 PIC12 PIC16 PIC18 dsPIC30 33 PIC24 and PIC32 devices in a single programmer I...

Страница 17: ...ing of ALL Microchip microcontroller families including PIC10 PIC12 PIC16 PIC18 dsPIC30 33 PIC24 and PIC32 Software has intuitive interface and SingleClick programming technology Just by downloading t...

Страница 18: ...or ICD3 programmer In order to enable the ICD2 and ICD3 programmers to be connected to the development system it is necessary to provide the appropriate connector such as the ICD2 CONNECTOR BOARD Thi...

Страница 19: ...2 VCC 32 RD0 72 RD1 69 RD2 68 RD3 67 RD4 66 RD5 65 RD6 64 RD7 63 RE0 4 RE1 3 RE2 78 RE3 77 ENVREG 24 VUSB 23 RF2 18 RF3 D 17 RF4 D 16 RF5 15 RF6 14 RF7 13 RG0 5 RG1 6 RG2 7 RG3 8 RG4 10 RH0 79 RH1 80...

Страница 20: ...ll generate low voltage level on microcontroller reset pin input In addition a reset can be externally provided through pin 27 on side headers Figure 4 3 4 Reset Button Figure 4 2 Frontal reset button...

Страница 21: ...4 66 RD5 65 RD6 64 RD7 63 RE0 4 RE1 3 RE2 78 RE3 77 ENVREG 24 VUSB 23 RF2 18 RF3 D 17 RF4 D 16 RF5 15 RF6 14 RF7 13 RG0 5 RG1 6 RG2 7 RG3 8 RG4 10 RH0 79 RH1 80 RH2 1 RH3 2 RH4 22 RH5 21 RH6 20 RH7 19...

Страница 22: ...ncy 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 The use of crystal in...

Страница 23: ...12 VCC 32 RD0 72 RD1 69 RD2 68 RD3 67 RD4 66 RD5 65 RD6 64 RD7 63 RE0 4 RE1 3 RE2 78 RE3 77 ENVREG 24 VUSB 23 RF2 18 RF3 D 17 RF4 D 16 RF5 15 RF6 14 RF7 13 RG0 5 RG1 6 RG2 7 RG3 8 RG4 10 RH0 79 RH1 8...

Страница 24: ...ot 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 communicat...

Страница 25: ...6 RF5 15 RF6 14 RF7 13 RG0 5 RG1 6 RG2 7 RG3 8 RG4 10 RH0 79 RH1 80 RH2 1 RH3 2 RH4 22 RH5 21 RH6 20 RH7 19 RJ0 62 RJ1 61 RJ2 60 RJ3 59 RJ4 39 RJ5 40 RJ6 41 RJ7 42 VCC 48 VCC 71 GND 31 GND 51 GND 70 A...

Страница 26: ...ed 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 i...

Страница 27: ...57 RB2 56 RB3 55 RB4 54 RB5 53 RB6 52 RB7 47 RC0 36 RC1 35 RC2 43 RC3 44 RC4 45 RC5 46 RC6 37 RC7 38 MCLR 9 OSC1 49 OSC2 50 GND 11 VCCcore Vcap 12 VCC 32 RD0 72 RD1 69 RD2 68 RD3 67 RD4 66 RD5 65 RD6...

Страница 28: ...io 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 o...

Страница 29: ...1 1 IOVDD2 19 GPIO2 9 GPIO3 10 TX 27 RX 26 DGND2 20 SCLK 28 SI 29 SO 30 CVDD3 31 XTEST 32 GPIO0 33 GPIO1 34 GND 35 GPIO4 36 AGND0 37 AVDD0 38 RIGHT 39 AGND1 40 AGND2 41 GBUF 42 AVDD1 43 RCAP 44 AVDD2...

Страница 30: ...nables 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 9 U...

Страница 31: ...VCC 32 RD0 72 RD1 69 RD2 68 RD3 67 RD4 66 RD5 65 RD6 64 RD7 63 RE0 4 RE1 3 RE2 78 RE3 77 ENVREG 24 VUSB 23 RF2 18 RF3 D 17 RF4 D 16 RF5 15 RF6 14 RF7 13 RG0 5 RG1 6 RG2 7 RG3 8 RG4 10 RH0 79 RH1 80 R...

Страница 32: ...the user in the program loaded into the microcontroller Communication between the accelerometer and the microcontroller is performed via the I 2 C interface Figure 10 1 Accelerometer module Youcansett...

Страница 33: ...RB1 57 RB2 56 RB3 55 RB4 54 RB5 53 RB6 52 RB7 47 RC0 36 RC1 35 RC2 43 RC3 44 RC4 45 RC5 46 RC6 37 RC7 38 MCLR 9 OSC1 49 OSC2 50 GND 11 VCCcore Vcap 12 VCC 32 RD0 72 RD1 69 RD2 68 RD3 67 RD4 66 RD5 65...

Страница 34: ...ng 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 It is connected to the m...

Страница 35: ...RF3 D 17 RF4 D 16 RF5 15 RF6 14 RF7 13 RG0 5 RG1 6 RG2 7 RG3 8 RG4 10 RH0 79 RH1 80 RH2 1 RH3 2 RH4 22 RH5 21 RH6 20 RH7 19 RJ0 62 RJ1 61 RJ2 60 RJ3 59 RJ4 39 RJ5 40 RJ6 41 RJ7 42 VCC 48 VCC 71 GND 31...

Страница 36: ...RF7 13 RG0 5 RG1 6 RG2 7 RG3 8 RG4 10 RH0 79 RH1 80 RH2 1 RH3 2 RH4 22 RH5 21 RH6 20 RH7 19 RJ0 62 RJ1 61 RJ2 60 RJ3 59 RJ4 39 RJ5 40 RJ6 41 RJ7 42 VCC 48 VCC 71 GND 31 GND 51 GND 70 AGND 26 AVCC 25...

Страница 37: ...3 3V 3 3V GND GND SPI Lines Interrupt Lines Analog Lines Digital lines I2C Lines UART lines PWM lines Reset pin 5V power supply Reference Ground Reference Ground left ch right ch 3 3V power supply 3 3...

Страница 38: ...ge 38 73 66 81 15 63 5 2 67 2 54 36 58 55 88 60 45 1 6 63 2 03 3195 2900 4 157 7 276 2380 2200 50 2 1976 2500 1440 105 100 80 8 89 350 7 62 300 3 2 126 57 6 2268 69 3 2728 43 2 1700 Legend 14 Dimensio...

Страница 39: ...ble you to easily expand your board basic functionality We call them mikromedia shields But we also offer other accessories such as Li polymer battery stacking headers wire jumpers and more 04 01 02 0...

Страница 40: ...ika 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 TFT...

Страница 41: ...Page 41 Notes...

Страница 42: ...Page 42 Notes...

Страница 43: ...roElektronika 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 TRADE...

Страница 44: ...periencing 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 do not...

Страница 45: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information MikroElektronika MIKROE 607...

Отзывы: