Cov txheej txheem:

Yuav Siv Li Cas 20x4 I2C Cim LCD Zaub Nrog Arduino: 6 Kauj Ruam
Yuav Siv Li Cas 20x4 I2C Cim LCD Zaub Nrog Arduino: 6 Kauj Ruam

Video: Yuav Siv Li Cas 20x4 I2C Cim LCD Zaub Nrog Arduino: 6 Kauj Ruam

Video: Yuav Siv Li Cas 20x4 I2C Cim LCD Zaub Nrog Arduino: 6 Kauj Ruam
Video: Qhia siv line ປະຊຸມ yuav siv li cas...? 2024, Kaum ib hlis
Anonim

Hauv qhov kev qhia yooj yim no peb yuav kawm paub siv 20x4 I2C Character LCD zaub nrog Arduino Uno los tso saib cov ntawv yooj yim Nyob Zoo Ntiaj Teb.

Saib cov yees duab!

Kauj ruam 1: Yam Koj Yuav Tsum Tau

Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
  • 20x4 I2C Character LCD zaub
  • Jumper xov hlau
  • Arduino Uno lossis lwm lub Rooj Tswjhwm Saib Arduino
  • Visuino software: Rub tawm ntawm no

Kauj ruam 2: Circuit Court

Qhov Circuit
Qhov Circuit
  • Txuas LCD Zaub pin [VCC] rau Arduino tus pin [5V]
  • Txuas LCD Zaub pin [GND] rau Arduino tus pin [GND]
  • Txuas LCD Display pin [SDA] rau Arduino tus pin [SDA]
  • Txuas LCD Display pin [SCL] rau Arduino tus pin [SCL]

Nco tseg: Siv lub hwj chim ntsuas los kho qhov ci

Kauj Ruam 3: Pib Visuino, thiab Xaiv Arduino UNO Board Type

Pib Visuino, thiab Xaiv Arduino UNO Board Type
Pib Visuino, thiab Xaiv Arduino UNO Board Type
Pib Visuino, thiab Xaiv Arduino UNO Board Type
Pib Visuino, thiab Xaiv Arduino UNO Board Type

Visuino: https://www.visuino.eu tseem yuav tsum tau teeb tsa. Rub tawm Dawb version lossis sau npe rau Kev Sim Dawb.

Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2

Kauj Ruam 4: hauv Visuino Ntxiv, Teeb & Txuas Txuas

hauv Visuino Ntxiv, Teeb & Txuas Cov Khoom Siv
hauv Visuino Ntxiv, Teeb & Txuas Cov Khoom Siv
hauv Visuino Ntxiv, Teeb & Txuas Cov Khoom Siv
hauv Visuino Ntxiv, Teeb & Txuas Cov Khoom Siv
hauv Visuino Ntxiv, Teeb & Txuas Cov Khoom Siv
hauv Visuino Ntxiv, Teeb & Txuas Cov Khoom Siv
  • Ntxiv "Liquid Crystal Display (LCD) - I2C" tivthaiv
  • Xaiv "LiquidCrystalDisplay1" thiab hauv lub qhov rai khoom teeb tsa Kab rau 4 thiab kab rau 20
  • Ob npaug nias rau ntawm "LiquidCrystalDisplay1" thiab hauv Elements window drag "Text Field" mus rau sab laug, tom qab ntawd hauv cov khoom vaj khoom tsev teeb tsa cov ntawv rau "HELLO WORLD" thiab dav txog 20
  • Kaw lub Elements window
  • Txuas "LiquidCrystalDisplay1" tus pin I2C Tawm rau Arduino I2C Hauv

Kauj Ruam 5: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code

Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso Tawm Arduino Code

Hauv Visuino, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.

Kauj ruam 6: Ua si

Yog tias koj ua lub zog Arduino UNO module, LCD Zaub yuav pib qhia cov lus "Nyob Zoo Ntiaj Teb". Nyob rau hauv rooj plaub koj tsis pom cov ntawv nyeem kom ntseeg tau tias koj kho qhov ci ci siv lub zog ntsuas.

Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub nws thiab qhib nws hauv Visuino:

Pom zoo: