Cov txheej txheem:
- Kauj ruam 1: Rub tawm Cov Tsev Qiv Ntawv Yuav Tsum Tau
- Kauj Ruam 2: Txuas TFT 1.44 rau Arduino
- Kauj Ruam 3: Txoj Cai: Suav Suav
- Kauj ruam 4: Troubleshooting
Video: Siv TFT 1.44 Nrog Arduino Nano: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Hauv qhov kev qhia no peb yuav kawm paub yuav ua li cas txuas lub TFT 1.44 LCD npo uas los ntawm Robo-Geek Kits.
Cov ntxaij vab tshaus LCD me me no tau yooj yim thaum ua haujlwm nrog micro-robotics vim nws muab cov zaub yooj yim ntawm 128 x 128 pixels. Muaj 2 hom TFT 1.44, ib qho suav nrog SD daim npav thiab ib qho uas tsis muaj tus nqi $ 15 US thiab $ 5 US feem. Cov ntawv qhia no yuav npog TFT 1.44 uas tsis muaj daim npav SD.
Cov ntawv qhia no tau sim nrog Arduino Uno lossis Arduino Nano. Yog tias koj muaj lwm lub Rooj Tswjhwm Saib Arduino, thov tshuaj xyuas cov ntaub ntawv vim tus txheej txheem tus pin yuav txawv. Thaum kawg peb xav tias tus neeg siv muaj theem pib nkag siab yuav siv Arduino li cas thiab ua hluav taws xob sib txuas. Yog tias koj yog tus tshiab rau Arduino ntiaj teb, peb xav qhia kom txheeb xyuas cov lus qhia no:
www.instructables.com/id/Arduino-Nano/
Kauj ruam 1: Rub tawm Cov Tsev Qiv Ntawv Yuav Tsum Tau
Ntxiv cov tsev qiv ntawv hauv qab no rau Arduino:
github.com/adafruit/Adafruit-GFX-Library
github.com/adafruit/Adafruit-ST7735-Librar…
Yog tias koj tsis paub yuav ntxiv cov tsev qiv ntawv li cas, xa mus rau qhov no:
www.arduino.cc/en/Guide/Libraries
Kauj Ruam 2: Txuas TFT 1.44 rau Arduino
Nyob sab nraum qab ntawm TFT 1.44 LCD npo, peb tuaj yeem pom kev sib txuas los ntawm LED mus rau VCC. Peb hais kom sau nws rau hauv ib daim ntawv raws li qhia hauv daim duab nrog cov lus xiav.
TFT haum zoo thaum siv lub khob cij. Xyuas kom tseeb tias txhua tus pin nyob hauv tib kab thiab txhawm rau txhim kho nws maj mam li cov pins yog qhov muag. Txheeb daim duab kom pom tias qhov kev txuas zoo li cas.
Peb tau sim tshuaj ntsuam ob peb zaug thiab peb ntseeg tias qib hloov pauv yog xaiv tau, yog li peb yuav txuas ncaj qha los ntawm Arduino mus rau TFT 1.44 LCD npo.
Nrog kev hwm rau Arduino pins
LED rau 3.3 VSCK rau D13
SDA to CSY
A0 rau D8
TXC to D9
CSY to D10
GND to CSY
VCC rau 5.0 V.
Kauj Ruam 3: Txoj Cai: Suav Suav
Kev tshoov siab ntawm Short Circuit movie, cov cai no tsim tawm lub txee los qhia qhov peev xwm ntawm TFT 1.44 LCD npo. Txhawm rau pom qhov txiaj ntsig kawg, txheeb xyuas cov vis dis aus.
Kauj ruam 4: Troubleshooting
Yog tias koj muaj teeb meem khiav cov cai, peb hais kom ua cov hauv qab no:
1. Xyuas kom kev sib txuas tau ua tiav kom raug nrog lub voltmeter
2. Yog tias cov zaub raug teeb tsa nyob rau hauv txoj kab ntsug, ntxiv qhov sib txawv rau cov cai:
int yoffset = 32;
Tom qab ntawd ntxiv yoffset rau kos cov lus txib, piv txwv li:
tft.drawLine (10, 32 + yoffset, 10, 52 + yoffset, RED);
3. Yuav ua li cas yog tias Adafruit cov tsev qiv ntawv tsis pom nrog cov xim xav tau. Qhov no nyuaj me ntsis los daws. Peb cov lus pom zoo, tsim kom muaj nuj nqi me me uas tso saib txhua xim thiab cim tus lej. Cov khoom siv hluav taws xob pheej yig yuav tsum tau nyiag me ntsis ntxiv, qhov no yog txhua yam, nws yog ib feem ntawm kev lom zem. Txheeb xyuas cov xim hauv qab no ua ntej, thiab kho kom haum.
#define BLACK 0x0000
#define RED 0x001F
#define BLUE 0xF800
#define GREEN 0x07E0
#define YELLOW 0x07FF
#define PURPLE 0xF81F
#define CYAN 0xFFE0
#define WHITE 0xFFFF
Pom zoo:
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
Kev teeb tsa Matrix LED hauv Cov Khoom Siv Hluav Taws Xob qub - Yuav Tsum Tau Cov Khoom Siv: 3 Cov Kauj Ruam (nrog Duab)
Kev teeb tsa Matrix LED hauv Cov Khoom Siv Hluav Taws Xob qub - Yuav Tsum Tau Siv Cov Khoom Siv: Lub teeb pom kev zoo los ntawm lub Windows PC dhau Bluetooth thiab LED cov txheej txheem nthuav tawm Ib co piv txwv ntawm pixel kos duab thiab cov duab ua haujlwm khiav ntawm LED Cov Ntsiab Lus ntawm PIXEL Guts Kit Hauv Cov Lus Qhia no, peb ' yuav
FoldTronics: Tsim 3D Lub Hom Phiaj Nrog Cov Khoom Siv Hluav Taws Xob Siv Foldable HoneyComb Cov Qauv: 11 Cov Kauj Ruam
FoldTronics: Tsim 3D Lub Hom Phiaj Nrog Cov Khoom Siv Hluav Taws Xob Siv Foldable HoneyComb Cov Qauv: Hauv qhov kev qhia no, peb nthuav tawm FoldTronics, 2D-txiav raws li txheej txheem kev tsim khoom los ua ke cov khoom siv hluav taws xob rau hauv cov khoom 3D. Lub tswv yim tseem ceeb yog txhawm rau txiav thiab nthuav tawm daim ntawv 2D siv lub tshuab txiav txiav los ua kom nws tig tau mus rau hauv 3D honeycomb struc
Rov Qab Siv Cov Khoom Siv Laus qub los Tsim Cov Pheej Yig Portable System: 3 Cov Kauj Ruam (nrog Duab)
Rov Qab Siv Cov Khoom Siv Laus qub los tsim Cov Txheej Txheem Nqis Pheej Yig: Tsis ntev los no kuv lub Laptop qub tau tuag thiab kuv yuav tsum yuav ib qho tshiab, (RIP! 5520 koj yuav tsis nco). Lub khoos phis tawj niam niam lub rooj tuag tau tuag thiab qhov kev puas tsuaj tuaj yeem kho tau Txog thaum tsis ntev los no kuv coj Raspberry ncuav qab zib thiab pib tinkering nrog IOT sutff tab sis xav tau kev mob siab rau
Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Cov Neeg Siv Khoom Hloov: 8 Cov Kauj Ruam (nrog Duab)
Kev Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Kev Siv Hluav Taws Xob: Lub Arduino tuaj yeem siv los tswj cov cuab yeej los ntawm kev siv cov khoom siv yooj yim hloov pauv hloov chaw