background image

6inch e-Paper HAT User Manual 

   

 

 

 

 

18

  / 

19

 

100.

 

0xD8D8D8

,

 

0xD9D9D9

,

 

0xDADADA

,

 

0xDBDBDB

,

 

101.

 

0xDCDCDC

,

 

0xDDDDDD

,

 

0xDEDEDE

,

 

0xDFDFDF

,

 

102.

 

0xE0E0E0

,

 

0xE1E1E1

,

 

0xE2E2E2

,

 

0xE3E3E3

,

 

103.

 

0xE4E4E4

,

 

0xE5E5E5

,

 

0xE6E6E6

,

 

0xE7E7E7

,

 

104.

 

0xE8E8E8

,

 

0xE9E9E9

,

 

0xEAEAEA

,

 

0xEBEBEB

,

 

105.

 

0xECECEC

,

 

0xEDEDED

,

 

0xEEEEEE

,

 

0xEFEFEF

,

 

106.

 

0xF0F0F0

,

 

0xF1F1F1

,

 

0xF2F2F2

,

 

0xF3F3F3

,

 

107.

 

0xF4F4F4

,

 

0xF5F5F5

,

 

0xF6F6F6

,

 

0xF7F7F7

,

 

108.

 

0xF8F8F8

,

 

0xF9F9F9

,

 

0xFAFAFA

,

 

0xFBFBFB

,

 

109.

 

0xFCFCFC

,

 

0xFDFDFD

,

 

0xFEFEFE

,

 

0xFFFFFF

 

110.

 

};

 

111.

 

 

 

112.

 

static

 GUI_CONST_STORAGE GUI_LOGPALETTE 

_Palzoo_800_600

 

=

 

{

 

113.

 

256

,

 

// Number of entries

 

114.

 

0

,

 

// No transparency

 

115.

 

&

_Colorszoo_800_600

[

0

]

 

116.

 

};

 

117.

 

 

 

118.

 

GUI_CONST_STORAGE GUI_BITMAP bmzoo_800_600 

=

 

{

 

119.

 

800

,

 

// xSize

 

120.

 

600

,

 

// ySize

 

121.

 

800

,

 

// BytesPerLine

 

122.

 

8

,

 

// BitsPerPixel

 

123.

 

_aczoo_800_600

,

 

// Pointer to picture data (indices)

 

124.

 

&

_Palzoo_800_600

 

// Pointer to palette

 

125.

 

};

 

7) Modify the codes 

1.

 

static

 GUI_CONST_STORAGE 

unsigned

 

char

 _aczoo_800_600

[]

 

=

 

{

 

To (You can change the name of the array to every one you like) 

1.

 

const

 

unsigned

 

char

 zoo_800_600

[]

 

=

 

{

 

8

  modify the IT8951.c: 

1.

 

extern

 

const

 

unsigned

 

char

 zoo_800_600

[];

 

2.

 

void

 IT8951DisplayExample3

()

 

Содержание 6inch e-Paper HAT

Страница 1: ...ce for applications such as shelf label industrial instrument and so on FEATURES No backlight keeps displaying last content for a long time even when power down Low power consumption basically power i...

Страница 2: ...te Gray scale 2 16 1 4 bit Full refresh time 1s Total refresh power 0 6W typ Total standby power 0 3W typ Viewing angle 170 SPI PINOUTS SYMBOL DESCRIPTION 5V Power input GND Ground MISO SPI MISO pin M...

Страница 3: ...nual 3 19 CONTENT Overview 1 Features 1 Specifications 1 SPI Pinouts 2 Notes 4 How to use 5 Working protocol 5 With Windows PC 5 Working with Raspberry Pi 7 Working with STM32 Microprocessor 9 SPI 9 I...

Страница 4: ...for developing we recommend you reinforce the FPC with scotch tape when developing 2 Do Not hot plug the e Paper 3 There are two version one is raw panel and another is HAT version Driver board IT895...

Страница 5: ...ed color pigments are suspending in the transparent oil and would move depending on the electronic charge The E paper screen display patterns by reflecting the ambient light so it has no background li...

Страница 6: ...Paper HAT User Manual 6 19 3 Download and open E LINK TCOM DEMO1 test software 4 Click connect 5 Check Option AutoSet and click Open File to open one picture Click OK of Browse diagram 1 Can be found...

Страница 7: ...6inch e Paper HAT User Manual 7 19 6 Click Display to refresh e Paper WORKING WITH RASPBERRY PI 1 Connect e Paper to Driver board and inset the driver board to Raspberry Pi...

Страница 8: ...s below You can also following the instruction on its website above 1 tar zxvf bcm2835 1 xx tar gz 2 cd bcm2835 1 xx 3 configure 4 make 5 sudo make check 6 sudo make install 4 Download the demo codes...

Страница 9: ...elated VCOM value is 1500 WORKING WITH STM32 MICROPROCESSOR Because IT8951 will cost big size of RAM some of STM32 cannot support without external SDRAM device So we here use Open429I as test board Op...

Страница 10: ...Low active RST PC5 Reset Low for reset HRDY PA7 BUSY state output Low for busy 2 Set the DIP switch to SPI Mode 3 Download demo code from wiki Open the project with keil Open429I C IT8951 Demo Project...

Страница 11: ...nch e Paper HAT User Manual 11 19 below 115200 8N1 I80 1 Hardware connection IT8951 STM32 Description VCC 5V 5V Power input GND GND Ground DBUS0 DBUS15 PB0 PB15 Data pins HWE PC1 Write enable Low acti...

Страница 12: ...Reset Low for reset BUSY PA7 Busy state output Low for busy 2 Set the switch to I80 mode 3 Download the demo code from wiki Open project and change set the interface to I80 Modify the interface defini...

Страница 13: ...lay picture with data matrix instead of file system We should first convert BMP picture to data matrix arrays and use it in demo code 1 Prepare a BMP image resize the picture to 1200 825 the resolutio...

Страница 14: ...lick Image Convert to Gray256 8 BPP 4 Click File Save As Choose C bitmap file c input file name and click Save 5 Choose 8 bit per pixel click OK A C file will be saved to your PC 6 Add the C file to k...

Страница 15: ...Bitmap Converter for emWin V5 22 10 Compiled Jul 4 2013 12 18 24 11 c 1998 2013 Segger Microcontroller GmbH Co KG 12 13 14 15 Source file zoo_800_600 16 Dimensions 800 600 17 NumColors 256 18 19 20 2...

Страница 16: ...01 0x020202 0x030303 47 0x040404 0x050505 0x060606 0x070707 48 0x080808 0x090909 0x0A0A0A 0x0B0B0B 49 0x0C0C0C 0x0D0D0D 0x0E0E0E 0x0F0F0F 50 0x101010 0x111111 0x121212 0x131313 51 0x141414 0x151515 0x...

Страница 17: ...79 0x848484 0x858585 0x868686 0x878787 80 0x888888 0x898989 0x8A8A8A 0x8B8B8B 81 0x8C8C8C 0x8D8D8D 0x8E8E8E 0x8F8F8F 82 0x909090 0x919191 0x929292 0x939393 83 0x949494 0x959595 0x969696 0x979797 84 0...

Страница 18: ...xFFFFFF 110 111 112 static GUI_CONST_STORAGE GUI_LOGPALETTE _Palzoo_800_600 113 256 Number of entries 114 0 No transparency 115 _Colorszoo_800_600 0 116 117 118 GUI_CONST_STORAGE GUI_BITMAP bmzoo_800_...

Страница 19: ..._L_ENDIAN 20 stLdImgInfo usPixelFormat IT8951_8BPP 21 stLdImgInfo usRotate IT8951_ROTATE_0 22 stLdImgInfo ulImgBufBaseAddr gulImgBufAddr 23 Set Load Area 24 stAreaImgInfo usX 0 25 stAreaImgInfo usY 0...

Отзывы: