Cov txheej txheem:

Arduino 2.4inch Tft Display Testing: 4 Cov Kauj Ruam
Arduino 2.4inch Tft Display Testing: 4 Cov Kauj Ruam

Video: Arduino 2.4inch Tft Display Testing: 4 Cov Kauj Ruam

Video: Arduino 2.4inch Tft Display Testing: 4 Cov Kauj Ruam
Video: Connect an SPI TFT with Touchscreen to your Arduino - ILI9341 LCD with XPT2046 Touch screen 2024, Kaum ib hlis
Anonim
Arduino 2.4inch Tft Display Testing
Arduino 2.4inch Tft Display Testing
Arduino 2.4inch Tft Display Testing
Arduino 2.4inch Tft Display Testing

Nyob zoo sawv daws, Cov lus qhia no yog ua kom muaj lub ntsej muag ua haujlwm txuas rau koj cov arduino. Feem ntau nws tshwm sim zoo li thaum peb txuas cov arduino thiab sau qee qhov haujlwm nws tsuas yog qhia qee qhov tso tawm dawb dawb.

Yog li tsuas yog ua raws cov hauv paus thiab rub tawm ob peb lub tsev qiv ntawv peb yuav ua cov zaub tso tawm qee tus nqi lossis cov duab.

Khoom siv

Cov npe khoom xav tau-

  1. Arduino UAS.
  2. 2.4 nti TFT (touchscreen) arduino sib piv daim thaiv.
  3. Khoos phis tawj nrog Arduino IDE.
  4. Txuas usb cable.
  5. Kev sib txuas hauv Is Taws Nem (rau rub tawm cov tsev qiv ntawv)*

Kauj Ruam 1: Txuas Arduino Display Shield ntawm Arduino

Txuas Arduino Display Shield ntawm Arduino
Txuas Arduino Display Shield ntawm Arduino
Txuas Arduino Display Shield ntawm Arduino
Txuas Arduino Display Shield ntawm Arduino

Cov ntaub thaiv npog uas yuav tsum tau ua kom sib haum nrog arduino yog yuav tsum tau txheeb xyuas, txuas nrog & tso kom raug raws li arduino.

"2.4 Inch TFT Display Shield Touch Panel 240x320 rau Arduino Uno."

Kauj Ruam 2: Txhim Kho 2.4 TFT Display Libraries rau IDE

Txhim kho 2.4 TFT Display Libraries rau IDE
Txhim kho 2.4 TFT Display Libraries rau IDE

Ua raws cov kauj ruam.

  1. Mus rau 'Cov Cuab Yeej' hauv cov ntawv qhia zaub mov.
  2. Qhib Tus Thawj Saib Xyuas Tsev Qiv Ntawv
  3. Tshawb nrhiav "mcufriend" lub tsev qiv ntawv, uas yog lub tsev qiv ntawv tso saib TFT
  4. * cov kauj ruam xaiv tau* koj kuj tseem tuaj yeem rub lub tsev qiv ntawv "adafruit gfx" tab sis tsis tas yuav tsum tau ua.
  5. Nyem rau Nruab rau nruab ib lub tsev qiv ntawv tshwj xeeb.
  6. Rov pib dua koj li IDE.

Kauj Ruam 3: Kev Tshaj Tawm Txoj Haujlwm Los Ntawm Cov Tsev Qiv Ntawv (Kev Xeem Duab)

Kev Tshaj Tawm Txoj Haujlwm Los Ntawm Tsev Qiv Ntawv (Kev Xeem Duab)
Kev Tshaj Tawm Txoj Haujlwm Los Ntawm Tsev Qiv Ntawv (Kev Xeem Duab)

Cov kauj ruam tom ntej yog txuas Arduino Uno thiab rub cov program hauv qab no los ntawm mcufriend library.

Cov kauj ruam yog:-

  1. Mus rau Cov Ntaub Ntawv -> Piv txwv -> MCUFRIEND_kbv.
  2. Ntawm no koj yuav pom cov npe ntawm cov phiaj xwm npaj ua ntej los ntsuas cov zaub.
  3. Mus rau "graphictest_kbv" rau qhov ntsuas ntsuas.
  4. Sau cov program.
  5. Hloov nws mus rau Arduino Uno txuas nrog 240x360 TFT zaub thaiv npog.

Kauj Ruam 4: Xeem Txoj Haujlwm

Xeem Txoj Haujlwm
Xeem Txoj Haujlwm

Thaum kawg tom qab rub txuas txuas lub hwj chim lossis khiav hauv computer usb tsuas yog rub tawm cov program.

Qhov no yuav qhia qhov ua tau zoo thiab muaj peev xwm ntawm koj cov khoom tso tawm thiab hauv pes tsawg txoj hauv kev muaj tswv yim koj tuaj yeem tso nws rau hauv koj cov haujlwm tshwj xeeb.

Khaws mus sim lwm qhov piv txwv los ntawm cov tsev qiv ntawv ib yam. Muaj ntau qhov txias thiab.

Ua tsaug ntau rau kev nyeem qhov no. Nov yog kuv thawj zaug ntawm Kev Qhia, tawm tswv yim thiab lus yog tias koj pom qhov no muaj txiaj ntsig lossis xav muab koj cov lus qhia muaj txiaj ntsig. Tsaug Keep Rocking!: D

Pom zoo: