Cov txheej txheem:

Lub Tshuab Ntaus Ntawv - Tus Pabcuam Khoos Phis Tawj Khoos Phis Tawj: 7 Kauj Ruam (nrog Duab)
Lub Tshuab Ntaus Ntawv - Tus Pabcuam Khoos Phis Tawj Khoos Phis Tawj: 7 Kauj Ruam (nrog Duab)

Video: Lub Tshuab Ntaus Ntawv - Tus Pabcuam Khoos Phis Tawj Khoos Phis Tawj: 7 Kauj Ruam (nrog Duab)

Video: Lub Tshuab Ntaus Ntawv - Tus Pabcuam Khoos Phis Tawj Khoos Phis Tawj: 7 Kauj Ruam (nrog Duab)
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
Image
Image
Lub Tshuab Ntaus Ntawv - Tus Pabcuam Customizable Desktop Assistant
Lub Tshuab Ntaus Ntawv - Tus Pabcuam Customizable Desktop Assistant
Lub Tshuab Ntaus Ntawv - Tus Pabcuam Customizable Desktop Assistant
Lub Tshuab Ntaus Ntawv - Tus Pabcuam Customizable Desktop Assistant

Lub Tshuab Ntaus Ntawv yog tus pab me me ntawm tus kheej lub desktop uas tuaj yeem tso tawm ntau yam ntaub ntawv rub tawm los ntawm is taws nem. Cov cuab yeej no tau tsim thiab tsim los ntawm kuv rau CRT 420 - Chav Kawm Tshwj Xeeb Cov ntsiab lus ntawm Berry College uas yog tus thawj coj qhia Zane Cochran.

Cov lus qhia no yuav piav qhia ntxaws txog yuav tsim koj li cuab yeej li cas kom zoo ib yam. Hauv cov vis dis aus uas kuv txuas, cov vis dis aus txaus nyiam ntxiv nrog rau qee qib lus tawm tswv yim los ntawm kuv qhia cov txheej txheem ntawm lub cuab yeej raug tsim. Kuv kuj yog tus tshiab rau YouTube tab sis kuv tab tom sim ua qee qhov ntxim nyiam DIY / cov khoom siv hauv tsheb yog li xav tau los tshuaj xyuas nws thiab qhia rau kuv paub tias koj xav tias kuv tuaj yeem txhim kho! Tsis tas li yog tias koj xav tshuaj xyuas qee qhov ntawm kuv lwm Cov Ntawv Qhia, koj tuaj yeem ua li ntawd los ntawm txhaj rau kuv qhov profile.

Hauv qab no yog cov khoom thiab software uas tau siv los tsim lub khoos phis tawj desktop (Amazon txuas yog cov txuas txuas nrog uas txhawb nqa kuv thaum koj yuav khoom los ntawm lawv, tsis muaj nqi ntxiv rau koj)

Ntau yam zoo li SlouchyBoard (https://www.instructables.com/id/SlouchyBoard-an-A…), peb pib tawm los ntawm Breadboarding lub voj voog no kom ntseeg tau tias txhua yam ua haujlwm ua ntej peb muab nws tso rau hauv Printed Circuit Board (PCB). Cov no yog cov khoom ua khob cij uas kuv tau siv los xyuas kom txhua yam ua haujlwm.

$ 11 ESP32:

$ 7 Micro USB:

$ 17 Screen (HiLetgo 2.2 Zaub 240x320):

$ 6.50 Jumper Wires:

(Tsis xav tau, tab sis peb siv 10microFahrad Capacitor los ua kom lub vijtsam ua haujlwm tau zoo dua)

$ 15.50 Capacitor cov khoom siv:

10k Ohm resistors (Yog tias koj puas tau yuav ib qho khoom siv Arduino koj tej zaum twb muaj cov no lawm)

$ 9 Resistor Kit:

Khawm (ntxiv, tej zaum koj yuav muaj qee qhov, tsuas yog xyuas kom tseeb tias koj lub PCB muaj khawm raug!):

$ 17 Cov pob khoom (yog tias koj xav tau qee qhov kev xaiv khawm):

$ 10 Acrylic (Kuv siv qee qhov 1/16 acrylic ua rau kuv sawv, txawm li cas los xij, txhua yam tuaj yeem siv tau):

$ 12 Spacer screws (siv los txuas lub rooj tsavxwm rau rooj plaub):

Thaum xub thawj kuv xav kom 3D luam tawm rooj plaub tab sis tsis tas sijhawm. Hauv chav kuaj, peb siv XYZ 3D tshuab luam ntawv uas ua rau lub tshuab luam ntawv pib zoo:

Tom qab kuaj tag nrho cov khoom siv thiab ua qee qhov kev xeem yooj yim, peb tau mus rau EasyEDA (https://easyeda.com/) txhawm rau ua cov PCB kev cai. Thaum qhov ntawd ua tiav peb tau tshem tag nrho cov khoom siv no mus rau PCB thiab muab lawv tso rau hauv qhov chaw. Cov theem hauv qab no yuav piav qhia ntxaws rau kev tsim.

Tus nqi tag nrho ntawm txoj haujlwm no nyob ntawm ntau qhov koj txiav txim siab ua rau koj tus kheej, yam khoom twg koj twb muaj thiab/lossis xaiv los siv.

Kauj ruam 1: Breadboarding

Breadboarding
Breadboarding
Breadboarding
Breadboarding
Breadboarding
Breadboarding

Txhawm rau pib, koj xav pib los ntawm kev txuas tag nrho koj cov khoom siv hauv lub khob cij raws li cov phiaj xwm hluav taws xob raws li qhia. Koj yuav tsum xaim lub vijtsam raws nraim li qhia hauv kab ntawv raws li cov pins ua haujlwm nrog lub vijtsam tsev qiv ntawv, txawm li cas los xij, cov nyees khawm tsis muaj teeb meem ntau npaum li cas thiab koj tuaj yeem ua txhua yam koj xav tau. Koj tsis tas yuav siv 4 khawm lossis ib lub pob twg hlo li, koj tuaj yeem siv lub joystick yog tias koj xav tau tiag tiag. Hauv qab no yog cov pins uas kuv tau siv. Nco ntsoov tias cov no yog cov pins uas tau siv hauv kev tsim thiab tsis yog lub cev koob. Piv txwv li, tus lej CS txuas nrog tus pin 22, uas yog tus pin thib peb los ntawm sab xis saum toj thaum saib los ntawm cov phiaj xwm. Muaj ob peb qhov sib txawv ntawm ESP-32 tawm ntawd yog li qee cov pins yuav tsis zoo ib yam li tau qhia hauv qhov haujlwm no. Yog tias koj qhov sib txawv sim nrhiav daim duab pinout rau koj qhov version.

Screen Pins --------- ESP-32 pins

CS --------------------22

DC -------------------- 21

MOSI ----------------- 23

NCO ---------------------- 19

RST ---------------------- 18

MISO ---------------- 25

Nco ntsoov tias koj muaj txoj cai no thiab koj tau txuas ob lub VCC thiab Cov Pem Hauv Ntej ntawm lub vijtsam

Khawm 1 ------------ 35

Khawm 2 ------------ 34

Khawm 3 ------------ 33

Khawm 4 ------------ 32

Lub 10uF capacitor tau txuas rau EN tus pin ntawm ESP-32 thiab mus rau hauv av. Qhov kev taw qhia ntawm lub capacitor tsis muaj teeb meem.

Qhov kawg yog kom paub tseeb tias Esp-32's 5v tus pin thiab GND tus pin txuas nrog VCC thiab GND feem. Tom qab ntawd koj yuav tsum tuaj yeem ntsaws cov ntaub ntawv cable rau hauv ESP-32 thiab lub vijtsam yuav tsum qhib thiab dawb.

Kauj Ruam 2: Kev Xeem Qhov Kev Kawm Txuj Ci

Kev Xeem Txheej Txheem
Kev Xeem Txheej Txheem
Kev Xeem Txheej Txheem
Kev Xeem Txheej Txheem
Kev Xeem Txheej Txheem
Kev Xeem Txheej Txheem

Kuv yuav mus tom ntej thiab txuas qee cov lej pib uas yuav pab koj sim koj cov khoom thiab rub cov ntaub ntawv los ntawm API. Muaj 5 lub tsev qiv ntawv uas koj yuav tsum tau mus tom ntej thiab rub tawm sab hauv ntawm Arduino. Cov tsev qiv ntawv yog

WiFi.h ib

HTTPClient.h

SPI.h

Adafruit_GFX.h

Adafruit_ILI9341.h (ILI9341 yog lub vijtsam tshwj xeeb, qhov no yog lub tsev qiv ntawv rau lub vijtsam ntawd)

Txhawm rau ntxiv tsev qiv ntawv hauv Arduino mus rau Cov Cuab Yeej> Tswj Cov Tsev Qiv Ntawv thiab tom qab ntawd tshawb rau peb lub tsev qiv ntawv hais los saum no.

Tus lej pib uas kuv tau txuas nrog yuav tsum qhia lub voj voog me me uas tau kos rau txhua lub pob nyem. Thiab tus nqi ntawm Nike cov khoom lag luam yuav tsum tau kos ib qhov twg hauv nruab nrab ntawm lub vijtsam. Thaum khawm sib txawv raug nias lub voj voog tshiab yuav tsum tshwm sim.

Yog tias txhua yam no ua haujlwm, koj paub tias koj cov khoom ua haujlwm zoo li lawv yuav tsum tau ua.

Kauj Ruam 3: EasyEDA - Schematic

EasyEDA - Schematic
EasyEDA - Schematic
EasyEDA - Schematic
EasyEDA - Schematic
EasyEDA - Schematic
EasyEDA - Schematic

Tau mus rau https://easyeda.com/ los tsim tus as khauj dawb thiab ua txhua yam ntawd mumbo jumbo.

Thaum koj tau txais EasyEDA teeb tsa, pib los ntawm kev tsim txoj haujlwm tshiab thiab ua cov phiaj xwm tshiab. Koj xav kom ntseeg tau tias koj tso txhua ntu thiab txuas lawv raws li kuv tau qhia hauv cov phiaj xwm tshwj tsis yog tias koj xav ua koj li txawv li cas. Ntawm sab laug, koj tuaj yeem tshawb xyuas ntau lub tsev qiv ntawv rau cov khoom xav tau thiab tom qab ntawd muab tso rau hauv cov phiaj xwm.

Yog tias koj tshawb nrhiav cov lus hauv qab no, koj yuav tsum muaj peev xwm nrhiav tau txhua yam khoom siv. Cov no yog txhua yam khoom los ntawm cov npe daim duab tab sis kuv yuav mus tom ntej thiab ntaus lawv hauv qab no yog li koj tuaj yeem tsuas yog luam thiab muab tso rau lawv yog tias koj xav tau.

ESP32S Devkit - ADV (Mus rau "cov tsev qiv ntawv" ntawm sab laug thiab mus tshawb hauv qab cov neeg siv pab)

2.2 TFT LCD - ADV (Mus rau "cov tsev qiv ntawv" ntawm sab laug thiab mus tshawb hauv qab cov neeg siv pab)

C110153 (Mus rau "tsev qiv ntawv" ntawm sab laug thiab mus tshawb hauv qab LCSC)

C94705 (Mus rau "tsev qiv ntawv" ntawm sab laug thiab mus tshawb hauv qab LCSC)

C58673 (Mus rau "tsev qiv ntawv" ntawm sab laug thiab mus tshawb hauv qab LCSC)

Thaum koj muaj tag nrho cov khoom siv tso rau, txuas lawv rau tus pin raug nrog rau GDN thiab VCC kev sib txuas. Koj txuas lawv los ntawm kev siv cov cuab yeej thaiv thiab tso GND & VCC cov cim. Tom qab ntawd ib zaug koj tau txuas txhua lub xov hlau kom raug, koj tuaj yeem nyem qhov hloov pauv mus rau PCB khawm.

Kauj Ruam 4: EasyEDA - PCB Tsim

EasyEDA - PCB Tsim
EasyEDA - PCB Tsim
EasyEDA - PCB Tsim
EasyEDA - PCB Tsim
EasyEDA - PCB Tsim
EasyEDA - PCB Tsim

Thaum koj pib hauv PCB ib puag ncig, koj yuav pom pawg pawg thiab cov lej ntawm sab xis. Hloov koj cov chav rau millimeters lossis txhua yam uas koj xav siv thiab hloov qhov loj me me (qhov loj me me yog qhov pib ntawm qhov koj tuaj yeem tso cov khoom ntawm kab sib chaws) rau qee yam yooj yim. Kuv tau ua kuv li 10mm txij li kuv xav tau kuv cov phiaj xwm phiaj xwm ntawm 100mm x 100mm tab sis tom qab ntawd hloov nws mus rau 0.01mm thaum kuv pib tso kuv cov khoom.

Pib los ntawm kev kho cov txheej txheem txheej txheem txheej txheem (nyem cov xim thiab xaum yuav tsum tshwm) thiab tom qab ntawd kos koj daim phiaj xwm txheej, hauv kuv qhov xwm txheej, kuv lub rooj tsavxwm yog 100mmx100mm. Thaum koj muaj qhov no, kho koj txheej txheej saum toj kawg nkaus thiab pib tso cov khoom ntawm lub rooj tsavxwm seb koj xav tau lawv li cas los ntawm kev rub lawv mus rau hauv tus txheej txheem.

Tom qab ntawd ib zaug cov khoom tso rau, txuas txhua txoj kab xiav nrog cov cuab yeej xaim, tshwj tsis yog lawv txuas nrog GND lossis VCC. Kev sib txuas GND thiab VCC txuas ncaj qha rau lub rooj tsavxwm thiab tsis tas yuav raug cais tawm ntawm cov xov hlau. Thaum txhua qhov tsis-VCC thiab GND kev sib txuas tau txuas ua ke, koj tuaj yeem siv Cov cuab yeej tooj liab los ua qhov kev sib txuas zaum kawg. Ua qhov no ib zaug ntawm txheej txheej saum toj kawg nkaus thiab ib zaug ntawm txheej txheej hauv qab. Nco ntsoov tias koj hloov ib qho ntawm thaj chaw tooj liab mus rau VCC hauv cov khoom tab, Kuv feem ntau ua rau txheej sab saum toj GND thiab txheej hauv qab VCC.

Thaum koj tau ua tiav lawm, lub rooj tsavxwm yuav tsum ua tiav thiab koj tuaj yeem nthuav dav kom pom qhov twg GND txuas rau lub rooj tsavxwm. Txij ntawm no mus, koj xav tshuaj xyuas DRC Yuam Kev los ntawm kev rov kho DRC Yuam Kev hauv qab Tus Tsim Tus Qauv tab ntawm sab laug. Yog tias tsis muaj qhov yuam kev, koj zoo mus thiab xaj koj lub rooj tsav xwm. Txhawm rau xaj koj lub rooj tsavxwm, nyem lub pob nyob rau sab saud nrog G thiab sab xis tig xub xub xa koj cov ntaub ntawv Gerber. Qhov no yuav coj koj ncaj qha mus rau qhov koj yuav koj cov laug cam, muaj ntau txoj hauv kev xaiv rau cov xim sib txawv thiab ua tiav uas yuav cuam tshuam tus nqi ntawm lub rooj tsavxwm, rau PCB tuab, Kuv xav tias 1.6 yog qhov peb ib txwm ua.

Yog tias koj xav tshuaj xyuas ob zaug tias koj cov khoom haum, koj tuaj yeem xa daim duab-p.webp

Kauj ruam 5: Soldering

Image
Image
Soldering
Soldering

Soldering tag nrho koj cov khoom rau hauv pawg thawj coj yog txaus siab heev thiab muaj txiaj ntsig thaum txhua yam haum rau hauv qhov chaw. Tag nrho cov txheej txheem ntawm kev siv tshuaj yaj yeeb tuaj yeem pom hauv cov vis dis aus uas kuv tau ua.

Cov chaw siv tshuaj yaj yeeb uas peb siv hauv chav kuaj yog cov no: https://amzn.to/2K5c6EX thiab cov no yog tes pab peb siv: https://amzn.to/2JC1IpP. Tam sim no uas kuv kawm tiav thiab kuv yuav tsis muaj kev nkag ncaj qha rau lawv ntxiv lawm, Kuv yuav yuav qee yam rau kuv tus kheej sai li sai tau thaum kuv tau txais kuv tus kheej qhov chaw.

Kauj Ruam 6: Ntau Txoj Haujlwm

Ntau Programming!
Ntau Programming!

Kuv tsis xis nyob muab tag nrho kuv cov cai raws li nws tau ua tiav rau lub tsev kawm ntawv txoj haujlwm thiab koj yuav tsum sim ua kom muaj tswv yim nrog koj tus kheej lub cuab yeej thiab kom nws ua yam koj nyiam.

Txhawm rau pab nrog kev tshuaj ntsuam lub vijtsam, vam tias, kuv tus lej pib yuav pab tau tab sis qhov no kuj yog cov peev txheej zoo:

Yog xav paub ntau ntxiv txog kev siv nrog ESP32, Kuv pom blog zoo uas tau tshaj tawm tas li yam khoom (nws yog qhov uas kuv xav paub yuav ua li cas nkag ncaj qha rau Is Taws Nem nrog ESP32 tsis txhob siv server li peb tau ua hauv tsev kawm ntawv): https:// techtutorialsx.com/qeb/esp32/

Nov yog qhov txuas rau tus nqi tus nqi API's, kom tau txais cov khoom sib txawv tsuas yog hloov "NKE" nrog lwm cov khoom lag luam xws li "AMZN" lossis "AAPL":

Muaj ntau ntau qhov API nyob rau ntawd, txawm li cas los xij, qee qhov xav kom koj ua nyiaj xws li OpenWeather API.

Kauj ruam 7: Mus Sau npe rau Kuv Tus YouTube Channel

Mus Sau npe rau Kuv Tus YouTube Channel!
Mus Sau npe rau Kuv Tus YouTube Channel!
Mus Sau npe rau Kuv Tus YouTube Channel!
Mus Sau npe rau Kuv Tus YouTube Channel!

Yog tias koj xav tias cov lus qhia no yog qhov nthuav, xav tias dawb los saib cov vis dis aus uas kuv tau ua txog Tus Pabcuam Desktop thiab qee qhov ntawm kuv lwm cov yeeb yaj kiab.

Kuv tabtom sim ua kom kuv cov channel rau 1,000 tus neeg tso npe kom kuv tuaj yeem pib khwv nyiaj tau los ntawm kuv cov channel txhawm rau txhawm rau pab nyiaj rau yav tom ntej uas yog lub hom phiaj ntau dua thiab kim. Kuv tseem muaj ob peb lub tsev kawm ntawv cov haujlwm los ntawm lub semester no uas kuv yuav qhia thiab tom qab ntawd kuv yuav pib nkag mus rau yam tshiab. Cov haujlwm no suav nrog cov cuab yeej uas tso cai rau cov tub rog taug qab tus naj npawb ntawm cov mos txwv nyob hauv lawv cov ntawv xov xwm, Gameboy style gamepad uas khiav tawm ntawm Teensy thiab PCB YouTube khawm uas muaj LED ntau los tso saib cov teebmeem sib txawv. Yog tias cov suab zoo no thov txiav txim siab tso npe rau kuv tus YouTube channel lossis ntawm no rau kuv cov ntaub ntawv qhia paub.

Tsis tas li yog tias koj xav kom kuv ua cov lus qhia tshwj xeeb rau EasyEDA, Kuv tuaj yeem ua qhov ntawd thiab ua cov vis dis aus tag nrho ntawm nws. Kuv paub nws tuaj yeem ua rau tsis meej pem thaum koj pib nrog nws, Kuv sim ua kom zoo tab sis nws nyuaj thaum txhua yam kuv muaj yog ob peb daim duab thiab ntawv. Tawm lus tawm ntawm no lossis ntawm kuv tus YouTube channel yog li kuv paub!

Txuas rau kuv Channel:

Ua tsaug!

Pom zoo: