background image

www.joy

-

it.net

 

Pascalstr. 8 47506 Neukirchen

-

Vluyn

 

 

 

2.  USAGE WITH THE NODEMCU

 

1. Connection

 

2. Code example

 

The SBC

-

LCD01 has a logic level of 3.3V, making a NodeMCU recom-

mended for this application. To use a NodeMCU with the Arduino IDE, 

you  must  first  add  the  board.  To  do  this  click  on 

File 

→ 

 

Preferences

.  There  you  add  the  following  link   

Additional  board 

 

administrator URLs

.

 

Now you can download the library in the Arduino IDE. There you go to the

 

 

library manager

, which you can find under 

Sketch 

→ 

Include library 

 

→ 

Manage  libraries 

. There you install 

Adafruit  ST7735  and  ST7789 

Library 

and the 

Adafruit GFX Library 

using the search bar. Now you can 

download  a  sample  code 

here

,  where  an  image  is  displayed  on  the 

screen.

 

Make  sure  that  you  select  the  NodeMCU  as 

board 

also  under 

Tools

, as 

well as the correct 

port

.

 

 

Please  note,  if  you  want  to  upload  the  code,  you  have  to  keep  the 

flash button pressed!

 

NodeMCU

 

LCD

 

D1

 

(GPIO 5)

 

DC

 

D2

 

(GPIO 4)

 

RES

 

D5

 

(SCLK)

 

SCL

 

D7

 

(MOSI)

 

SDA

 

G

 

GND

 

3V

 

VCC

 

http://arduino.esp8266.com/stable/package_esp8266com_index.json

 

 

Содержание SBC-LCD01

Страница 1: ...ENERAL INFORMATION Dear customer thank you for choosing our product In the following we will show you how to use this device Should you encounter any unexpected problems during use please do not hesit...

Страница 2: ...uino IDE There you go to the library manager which you can find under Sketch Include library Manage libraries There you install Adafruit ST7735 and ST7789 Library and the Adafruit GFX Library using th...

Страница 3: ...laration of Data Command Pin define RST 4 Declaration of RESET Pin Initialize display Adafruit_ST7789 lcd Adafruit_ST7789 CS DC RST void setup void lcd init 240 240 SPI_MODE2 lcd setRotation 1 delay 5...

Страница 4: ...ES Pin 23 SCLK SCL Pin 19 MOSI SDA GND GND 3 3 V VCC Pin 12 GPIO 18 BLK 2 Code example with SPI We offer you two sample codes for the Raspberry Pi One is a control via SPI and the other one via a fram...

Страница 5: ...e library You can download the sample code here or use the following command to download it di rectly to your Raspberry Pi wget https joy it net files files Produkte SBC LCD01 SBC LCD01 Python zip You...

Страница 6: ...41 by executing the following commands one after the other sudo apt get install cmake cd git clone clone https github com juj fbcp ili9341 git cd fbcp ili3941 mkdir build You must edit the display h b...

Страница 7: ...ew product in normal household quantities Possibility of restitution at our company location during our opening hours Simac GmbH Pascalstr 8 D 47506 Neukirchen Vluyn Possibility of restitution nearby...

Отзывы: