Mundarija:
Video: I2C / IIC LCD displeyi - LCD displeyini I2C LCD displeyiga aylantirish: 5 qadam
2025 Muallif: John Day | [email protected]. Oxirgi o'zgartirilgan: 2025-01-13 06:58
spi -lcd displeyidan foydalanish juda ko'p ulanishni talab qiladi, buni amalga oshirish juda qiyin, shuning uchun i2c lcd -ni spi -lcd -ga aylantira oladigan modul topdim.
1 -qadam: I2C LCD modulini va boshqa qismlarini oling
QISMLARNI SOTING:>
1602 IIC displeyini sotib oling:
1602 SPI displeyini sotib oling:
www.utsource.net/itm/p/6466294.html
Digispark sotib oling:
www.utsource.net/itm/p/8673532.html
///////////////////////////////////////////////////////////////////////////////////////////////////////
birinchi navbatda siz I2C modulini, LCD displeyini va arduino-ni olishingiz kerak. Hammasini berilgan sheriklik havolalaridan olishingiz mumkin.
LCD displey-https://www.banggood.com/1Pc-1602-Character-LCD-D…
Hindiston uchun-
Arduino Uno-https://www.banggood.com/UNO-R3-ATmega328P-Develo…
www.banggood.com/ATmega328P-Nano-V3-Contro…
(Hindiston uchun) -
www.amazon.in/gp/product/B015C7SC5U/ref=a…
LCD uchun I2C moduli-https://www.banggood.com/IIC-I2C-TWI-SP-Serial-In…
Hindiston uchun-
Jumper simlari-https://www.banggood.com/3-IN-1-120pcs-10cm-Male-…
Hindiston uchun -
www.amazon.in/gp/product/B00ZYFX6A2/ref=a…
Digispark Attiny 85 taxtasi-https://www.banggood.com/Digispark-Kickstarter-Mi…
Hindiston uchun -
2 -qadam: Modulni ekranga ulang
Modulni displeyning orqa qismidagi rasmda ko'rsatilgandek ulang va buni qanday qilish haqida aniqroq tasavvurga ega bo'lsangiz, videoga qarang.
3 -qadam: kutubxonalarni o'rnating
i2c lcd uchun ushbu kutubxonani yuklab oling va rasmda ko'rsatilgandek arduino kutubxonalariga joylashtiring
drive.google.com/file/d/1CTRETQsYqGYu9u5PA…
4 -qadam: I2c displeyining manzilini oling
I2c displeyining i2c manzilini olish uchun LCD ni Arduino -ga ulanganidek ulang -
Lcd. Arduino
SDA. >. A4 (sda)
SCL. >. A5 (scl)
Vcc. >. 5V
Gnd. >. Gnd
Keyin i2c skaner kodini arduino -ga yuklang
drive.google.com/file/d/1d9pxFStZE8TeZavIZ…
keyin ketma -ket monitorni oching va siz i2c manzilingizni ketma -ket monitorda topasiz, chunki meniki 0x27
5 -qadam: Kodni yuklang
misollarga o'ting, keyin arduino suyuq kristalli i2c kutubxonasi ostida siz salom dunyo kodini topasiz va i2c manzilini i2c skanerida olgan manzilingiz bilan o'zgartirasiz va kodni yuklaysiz va ekranda salom olami bosiladi.
Muammo bo'lsa, videoga qarang.
Rahmat.