Cov txheej txheem:

TFT Shield Tutorial: 4 Kauj Ruam
TFT Shield Tutorial: 4 Kauj Ruam

Video: TFT Shield Tutorial: 4 Kauj Ruam

Video: TFT Shield Tutorial: 4 Kauj Ruam
Video: 2.4'' TFT LCD Shield Menu Option Arduino 2024, Kaum ib hlis
Anonim
TFT Shield Tutorial
TFT Shield Tutorial
TFT Shield Tutorial
TFT Shield Tutorial

Hnub no, koj yuav kawm paub tias koj tuaj yeem tsim thiab siv cov nyees khawm hauv koj li Arduino TFT Touchscreen cov haujlwm. Kuv tab tom siv Kuman 2.8 TFT Shield ua ke nrog Kuman's Arduino UNO. Bonus: TFT Shield los ntawm Kuman los nrog Stylus dawb uas koj tuaj yeem siv rau kev nias meej dua!

Kauj ruam 1: Teeb

Teeb
Teeb
Teeb
Teeb

Clip hauv daim ntaub thaiv mus rau koj lub Arduino board. Nco ntsoov tias nws tsis yog txoj kev tsis raug! Koj tuaj yeem siv cov duab saum toj no rau kev siv. Txuas koj lub Arduino board rau koj lub PC thiab dhia mus rau hauv Arduino Software.

Allchips yog cov khoom siv hluav taws xob hauv online pabcuam platform, koj tuaj yeem yuav txhua yam khoom siv los ntawm lawv

Kauj ruam 2: Tsev qiv ntawv

Tsev qiv ntawv
Tsev qiv ntawv

Ua ntej rub tawm cov cai, koj yuav tsum rub tawm cov tsev qiv ntawv no:

  • Adafruit TFT LCD
  • Adafruit GFX
  • Adafruit Touchscreen

Tom qab rub tawm ZIP cov ntaub ntawv, suav nrog lawv rau hauv Arduino IDE los ntawm kev mus rau hauv "Sketch - Xws li Lub Tsev Qiv Ntawv - Ntxiv. ZIP Cov Tsev Qhua …"

Kauj Ruam 3: Ua tiav

Kawg
Kawg

Rau qhov piv txwv uas kuv tau npaj, koj tuaj yeem siv cov cai uas koj tuaj yeem pom ntawm no. Kuv tau ntxiv qee cov lus pom, kom ua kom pom tseeb dua. Tom qab rub tawm, koj tuaj yeem tshawb xyuas yog tias cov zaub ua haujlwm raug los ntawm nias lub pob. Yog tias yog, lub vijtsam yuav hloov pauv thiab cov ntawv yuav tshwm sim.

Kauj ruam 4: Troubleshooting

Yog tias koj cov nias tseem tsis tau lees paub, koj tuaj yeem ntsuas cov zaub los ntawm kev hloov qhov txiaj ntsig nyob rau sab saum toj ntawm cov cai (TS_MINX, TS_MAXX, TS_MINY thiab TS_MAXY). Lub pob ua haujlwm los ntawm kev tshuaj xyuas qhov twg lub vijtsam raug nias thiab yog tias nws nyob hauv kev tswj hwm ntawm lub pob nws tus kheej, nyem tau sau npe. Yog tias cov txiaj ntsig saum toj no tsis raug, qhov nyem-sau npe yuav raug kaw

Pom zoo: