Cov txheej txheem:
- Kauj Ruam 1: Cheeb Tsam Koj Xav Tau
- Kauj ruam 2: Ntxiv SD Function
- Kauj Ruam 3: Ua PCB
- Kauj Ruam 4: Qauv Qauv
Video: ILI9341 Kov Shield rau Wemos D1 Mini: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Nyob Zoo Makers!
Kuv ua ILI9341 daim thaiv rau Wemos D1 mini series. Siv daim ntaub thaiv no kuv tuaj yeem siv txhua txoj haujlwm ntawm 2.8 TFT. Nws ua haujlwm raws li lub vijtsam (tau kawg), ntxiv rau kuv tuaj yeem siv txoj haujlwm kov thiab lub qhov (socket) SD.
Cov lus qhia no tau tshoov siab los ntawm tsab cai no ntawm Nailbuster Inc.
Hauv cov theem tom ntej no kuv yuav qhia koj li cas tuaj yeem ua koj tus kheej daim thaiv.
Kauj Ruam 1: Cheeb Tsam Koj Xav Tau
- ILI9341 2.8 "tft nrog kov nti
- Wemos D1 mini (lossis mini Pro)
- pawg thawj coj saib xyuas (min. 36colsx35rows)
- L7805 tus tswj hluav taws xob IC + heatsink
- 5.5x2.1 lub qhov hluav taws xob
- 330nF capacitor
- 100 nF capacitor
- puv daim npav SD (lossis micro SD nrog lub adapter)
- ib kab txiv neej thiab poj niam header
- xov hlau
- micro USB cable rau program rub tawm
- 6-12V fais fab mov (xaiv tau)
Yog tias koj xav siv qhov kov tau ntawm TFT, koj yuav tsum yuav ib qho nrog kov nti.
Kauj ruam 2: Ntxiv SD Function
Raws li koj tuaj yeem pom Nailbuster's Circuit txiav txim siab qhov tseem ceeb ntawm tus pin txuas. Peb tsuas muaj ib yam ua, txuas SD tus pin rau MCU.
Txhua feem ntawm TFT sib tham nrog MCU los ntawm SPI npav. Yog li peb yuav tsum txuas peb SD tus pin rau SPI ntau zaus.
- SD_MOSI rau MOSI tus pin ntawm MCU
- SD_MISO rau MISO tus pin ntawm MCU
- SD_SCK rau SCK tus pin ntawm MCU.
Tsuas yog SD_CS (qhev xaiv lossis SS) yuav tsum muaj qhov tshwj xeeb. Kuv siv tus pin D3 ua SD_CS.
Tau kawg koj yuav tsum muab plaub tus pin ntev txiv neej tus pin txuas rau SD txuas.
Xav paub ntau ntxiv txog lub tsheb npav SPI ntawm Wikipedia.
Kauj Ruam 3: Ua PCB
- PCB dimension kuv siv yog 36 colons los ntawm 35 kab. Thaum xub thawj kuv tso cov khoom tseem ceeb thiab txheeb xyuas qhov kawg ntawm PCB. Tom qab ntawd kuv txiav nws mus rau qhov ntev kawg.
- Ua plaub lub qhov rau hauv plaub lub ces kaum uas koj tuaj yeem txhim kho PCB.
- Nthuav lub qhov los ntawm qhov uas koj tuaj yeem ntxig lub qhov hluav taws xob.
-
Txiav cov poj niam lub taub hau thiab muab lawv tso rau hauv PCB. Koj xav tau
- 8 tus pin ntev x2 rau Wemos board
- 14 pin ntev x1 thiab
- 4 tus pin ntev x1 rau TFT
-
Solder
- lub qhov hluav taws xob
- cov capacitors
- tus tswj hluav taws xob
- cov xov hlau.
- Tom qab ntawd koj yuav tsum txiav qee daim ntawm PCB kom tshem tawm cov luv. (Saib daim duab saum toj no.)
- Hauv cov kauj ruam tom ntej no kuv qhia kom siv lub multimeter thiab tshawb xyuas cov kev sib txuas. Ua cov kauj ruam no koj tuaj yeem tshem tawm qee cov pa luam yeeb thiab cov khoom hlawv.:-)
- Thaum kawg ntxig rau Wemos board thiab TFT rau hauv daim ntaub thaiv.
Txhawm rau txiav cov kab ntawv PCB muaj txoj hauv kev yooj yim heev. Siv lub laum me me nrog txoj kab uas hla 3.5 hli. Teem nws mus rau hauv lub qhov thiab tig nws nruab nrab ntawm koj cov ntiv tes.
Txhawm rau txuag koj lub Circuit Court los ntawm kev luv luv koj tuaj yeem sib sau ua ke ntawm daim ntawv yas uas siv qee qhov txuas thiab ntsia hlau.
Kauj Ruam 4: Qauv Qauv
Thaum xub thawj koj yuav tsum rub tawm thiab teeb tsa cov tsev qiv ntawv tom ntej:
- Adafruit GFX lub tsev qiv ntawv duab duab nraaj thiab
- Arduino tsev qiv ntawv rau XPT2046 los ntawm Github.
Tom qab ntawd rub tawm daim duab plaub txuas nrog.
- Ua "khawm_SD_test_03" nplaub tshev thiab muab plaub cov ntaub ntawv tso rau hauv.
- Qhib "button_SD_test_03.ino" los ntawm Arduino IDE thiab xa qhov program mus rau MCU.
Hauv cov phiaj xwm txuas nrog koj yuav pom cov qauv uas yuav coj koj mus siv daim ntaub thaiv.
Raws li koj yuav pom lub vijtsam ntsuas ntawm lub vijtsam portrait tsis zoo li. Yog tias koj muaj qhov ntsuas tau zoo dua thov qhia lawv rau peb.
Muaj qee cov pins uas tseem tshuav uas tuaj yeem siv los txuas koj daim thaiv npog rau cov ntsuas lossis lwm yam khoom siv.
- D0 - digital I/O lossis SS ib qho cuab yeej SPI ntxiv
- A0 - phau ntawv qhia tswv yim
- RST
- TX, RX - kev sib txuas lus hauv xov tooj cua, I2C lossis SS cov cuab yeej SPI ntxiv
Tau kawg koj tuaj yeem sib txuas lus nrog lwm cov khoom siv lossis khaws cov ntaub ntawv los ntawm Is Taws Nem los ntawm WiFi thiab. Txhawm rau ua nws pom kuv cov lus qhia yav dhau los.
- Kev sib txuas WiFi ntawm ESP8266 MCUs los ntawm lub tsev router
- Accesspoint -Station kev sib txuas lus ntawm ob ESP8266 MCUs.
Pom zoo:
Kov Tsawg Kov Hloov: 11 Kauj Ruam
Kov Tsawg Kawg Hloov Hloov: Hauv qhov xwm txheej COVID-19 thoob plaws, qhia txog kev siv tsis siv neeg sib cuam tshuam rau cov tshuab pej xeem kom tsis txhob muaj kev sib kis hauv zej zog sib kis
Yuav Ua Li Cas Kov ON/OFF Hloov rau Cov Khoom Siv Hauv Tsev: 4 Cov Kauj Ruam
Yuav Ua Li Cas Kov ON/OFF Hloov rau Cov Khoom Siv Hauv Tsev: Qhov No Yog Kov ON/OFF Hloov Tsis Muaj Ib Lub Microcontroller. Koj Puas Tuaj Yeem Koj Tus ntiv tes? Thawj Zaug Ntawm Cov Phaj Hlau Tom Qab Lub Teeb? ON Thiab Tom Qab Tshem Ntiv Tes Teeb? Nyob twj ywm. Koj Puas Tuaj Yeem Koj Tus ntiv tes? Lub Sijhawm Thib Ob ntawm Cov Phaj Hlau Tom Qab Lub Teeb?
Peb Kov Sensor Cov Hluav Taws Xob + Kov Timer Circuit: 4 Cov Kauj Ruam
Peb Kov Sensor Cov Hluav Taws Xob + Kov Timer Circuit: Kov Sensor yog lub voj voog uas tig rau thaum nws pom qhov kov ntawm Kov Pins. Nws ua haujlwm nyob rau ib ntus piv txwv li lub nra yuav ON tsuas yog rau lub sijhawm kov tau ua rau ntawm tus pin. Ntawm no, kuv yuav qhia koj peb txoj hauv kev sib txawv los ua kov sen
Txhim Kho Cov Hloov Pauv Hloov Rau Hauv Ntse Kov Hloov Nrog Temp Monitoring: 4 Cov Kauj Ruam
Txhim Kho Qhov Hloov Pauv Hloov Mus Rau Ntse Kov Hloov Nrog Lub Sijhawm Saib Xyuas: Kuv paub txhua tus ntawm koj ntsib qhov teeb meem no tsawg kawg ib qho hauv koj lub neej lub rooj hloov pauv tau tawg los ntawm kev siv tas mus li. ntau lub sijhawm yog lub caij nplooj ntoo hlav sab hauv hloov pauv los yog m
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rov Ua Rau Lawv rau 12V.: 3 Cov Kauj Ruam
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rewiring Lawv rau 12V: Kuv txoj kev npaj tau yooj yim. Kuv xav txiav cov phab ntsa uas siv hluav taws xob LED teeb ua ib daim ces rov txuas nws kom khiav tawm 12 volts. Lwm txoj hauv kev yog siv lub zog hloov pauv, tab sis peb txhua tus paub tias lawv tsis muaj txiaj ntsig zoo, puas yog? Txoj cai? Los yog lawv?