Cov txheej txheem:

I2C / IIC LCD Zaub - Hloov SPI LCD rau I2C LCD Zaub: 5 Kauj Ruam
I2C / IIC LCD Zaub - Hloov SPI LCD rau I2C LCD Zaub: 5 Kauj Ruam

Video: I2C / IIC LCD Zaub - Hloov SPI LCD rau I2C LCD Zaub: 5 Kauj Ruam

Video: I2C / IIC LCD Zaub - Hloov SPI LCD rau I2C LCD Zaub: 5 Kauj Ruam
Video: #06 SI7021 ESP8266 Display (Schweizerdeutsch) 2024, Kaum ib hlis
Anonim

siv spi lcd zaub xav tau kev sib txuas ntau dhau los ua qhov uas nyuaj heev ua li ntawd kuv pom tus qauv uas tuaj yeem hloov pauv i2c lcd mus rau spi lcd yog li cia peb pib ua.

Kauj Ruam 1: Tau I2C LCD Module thiab Lwm Yam

Tau txais I2C LCD Module thiab Lwm Qhov
Tau txais I2C LCD Module thiab Lwm Qhov

YUAV TSUM MUAJ:>

MUAJ 1602 IIC zaub:

MUAJ 1602 SPI zaub:

www.utsource.net/itm/p/6466294.html

MUAJ digispark:

www.utsource.net/itm/p/8673532.html

///////////////////////////////////////////////////////////////////////////////////////////////////////

ua ntej tshaj txhua yam koj xav tau kom tau txais I2C module, LCD zaub thiab arduino Koj tuaj yeem tau txais txhua yam los ntawm qhov muab kev koom tes txuas-

LCD Zaub-https://www.banggood.com/1Pc-1602-Character-LCD-D…

rau Is Nrias teb-

Arduino Uno-

www.banggood.com/ATmega328P-Nano-V3-Contro…

(rau Is Nrias teb) -

www.amazon.in/gp/product/B015C7SC5U/ref=a…

I2C module rau LCD-https://www.banggood.com/IIC-I2C-TWI-SP-Serial-In…

rau india-

Jumper xov hlau-https://www.banggood.com/3-IN-1-120pcs-10cm-Male-…

rau india -

www.amazon.in/gp/product/B00ZYFX6A2/ref=a…

Digispark Attiny 85 Board-https://www.banggood.com/Digispark-Kickstarter-Mi…

rau Is Nrias teb -

Kauj Ruam 2: Txuas Tus Qauv rau Zaub

Txuas lub Module rau Zaub
Txuas lub Module rau Zaub

yog li ntsaws tus qauv nyob tom qab ntawm cov zaub raws li qhia hauv duab thiab kom paub meej dua lub tswv yim ntawm yuav ua li cas thov thov xa daim vis dis aus.

Kauj Ruam 3: Nruab Lub Tsev Qiv Ntawv

Nruab Lub Tsev Qiv Ntawv
Nruab Lub Tsev Qiv Ntawv

rau i2c lcd rub lub tsev qiv ntawv muab thiab muab tso rau hauv cov tsev qiv ntawv nplaub tshev ntawm arduino raws li qhia hauv duab

drive.google.com/file/d/1CTRETQsYqGYu9u5PA…

Kauj Ruam 4: Tau Txais Qhov Chaw Nyob ntawm I2c Zaub

Tau Qhov Chaw Nyob ntawm I2c Zaub
Tau Qhov Chaw Nyob ntawm I2c Zaub
Tau Qhov Chaw Nyob ntawm I2c Zaub
Tau Qhov Chaw Nyob ntawm I2c Zaub

Yog li kom tau txais i2c chaw nyob ntawm i2c zaub tsuas yog txuas lub lcd rau Arduino raws li muab -

Lcd. Arduino

SDA. >. A4 (sd)

SCL. >. A5 (hli)

Vcc. >. 5 V

Gnd >. Gnd

Tom qab ntawd xa cov cai i2c scanner mus rau arduino

drive.google.com/file/d/1d9pxFStZE8TeZavIZ…

tom qab ntawd qhib lub vijtsam txuas thiab koj yuav pom koj qhov chaw nyob i2c ntawm tus saib raws li kuv li yog 0x27

Kauj ruam 5: Upload Code

Rub tawm Txoj Cai
Rub tawm Txoj Cai
Rub tawm Txoj Cai
Rub tawm Txoj Cai

mus rau qhov piv txwv tom qab arduino kua siv lead ua i2c lub tsev qiv ntawv koj yuav pom nyob zoo lub ntiaj teb tus lej thiab tsuas yog hloov qhov i2c chaw nyob nrog qhov chaw nyob uas koj tau txais los ntawm i2c lub tshuab luam ntawv thiab xa cov lej thiab nyob zoo ntiaj teb yuav luam tawm ntawm lub vijtsam.

Yog tias muaj teeb meem xa video.

Ua tsaug koj

Pom zoo: