Cov txheej txheem:
Video: Saib Xyuas Vaj: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nov yog qhov tshiab tshaj plaws thiab ua tiav ntawm kuv lub vaj saib, kuv tau ua yav dhau los nrog kev siv sib txawv, zoo li ib qho nrog LCD thiab lwm qhov nrog ESP8266. Txawm li cas los xij kuv tau sau cov ntawv no zoo dua yog li tau txiav txim siab rub nws mus.
Thaum ua tiav nws yuav saib xyuas cov av noo, Kub, Vaum thiab Luminosity, uas tom qab ntawd nkag mus rau hauv daim npav SD hauv daim ntawv.csv. Kuv tau xaiv cov ntawv CSV raws li kuv npaj siab siv nab nab los ua qhov kev tshuaj xyuas. Lub voj voog tau siv los ntawm 9V roj teeb, txawm li cas los xij yav tom ntej Kuv vam tias yuav ua Li-ion hnub ci Circuit Court kom muaj zog lossis ntxiv hom pw tsaug zog kom txo qis kev siv zog thiab ua lub neej ntev. Tus nqi ntawm cov ntaub ntawv khaws tseg tuaj yeem hloov pauv los ntawm kev kho ib qho ntawm kab kawg.
koj yuav xav tau:
- Arduino nano 328P (xav tau lub cim xeeb loj dua rau qhov program)
- DHT 11 sensor module
- Av noo noo sensor
- GY-30 lub teeb pom kev zoo
- SD daim npav module
- LED
- 220 ohm resistor
- 9V roj teeb thiab clip
- Poj niam thiab txiv neej GPIO headers
- GPIO Jumper Cov
thiab ntawm chav kawm soldering hlau, xaim, solder thiab arduino IDE thiab cov tsev qiv ntawv.
Kauj Ruam 1: Breadboard thiab Kev Xeem
Ua ntej tshaj plaws kuv tau tsim thiab ntsuas qhov Circuit Court ntawm daim ntawv qhia zaub mov. Nco tseg qhov tsim qauv qub tsis muaj LED, kuv txiav txim siab ntxiv qhov no tom qab xav tias nws yuav yog qhov zoo los qhia thaum txiav cov ntaub ntawv. Kuv pom zoo kom ntsuas qhov Circuit Court ntawm lub khob cij ua ntej koj pib soldering, vim tias ntau yam khoom siv yuav muaj cov pins hloov puag ncig lossis xav tau qhov sib txawv hluav taws xob piv txwv.
Kuv tsis tau muaj peev xwm tsim qhov muag pom online ntawm lub Circuit Court tab sis qhov no yog tus pin txuas:
9V roj teeb:
cov dav hlau zoo >> VIN
Lub dav hlau tsis zoo >> GND
HLB 11:
tsis zoo >> GND
cov ntaub ntawv >> D5
zoo >> 5V
Hws noo sensor:
tsis zoo >> GND
zoo >> 5V
pin pin >> A0
lub teeb sensor:
zoo >> 3.3V
SCL >> A5
SCA >> A4
UA >> A3
tsis zoo >> GND
SD daim npav:
CS >> D5
NPE >> D13
MOSI >> D11
MISO >> D12
zoo >> 5V
tsis zoo >> GND
LED:
tsis zoo >> GND
zoo >> D8 txog 220 ohm resistor
Koj tuaj yeem sim yog tias cov khoom ua haujlwm thiab cov tsev qiv ntawv ua haujlwm siv Arduino cov ntaub ntawv thiab nyeem cov ntawv tso tawm.
Yog tias koj tsis muaj lub tsev qiv ntawv xav tau ntxiv lawv los ntawm kev luam lub tsev qiv ntawv lub npe thaum pib ntawm txoj cai ces cov cuab yeej> tswj cov tsev qiv ntawv> tshawb nrhiav> nruab
Nco tseg: Koj yuav tsum tsim ib daim ntawv.csv rau daim npav SD, ua qhov no siv phau ntawv sau tseg thiab txuag ua ".csv" thiab txhua cov ntaub ntawv tsis yog ".txt". Tsis tas li LED tsis nyob hauv cov ntawv xeem tab sis tsuas yog siv piv txwv kos duab "ntsais" thiab hloov tus pin rau 8
Kauj Ruam 2: Circuit Board
Tom qab ua tiav kev ua haujlwm ntawm Circuit thiab tshawb xyuas cov khoom sib hloov hloov qhov no mus rau lub rooj tsavxwm raws li qhov xav tau. Kuv txiav txim siab tsis txuas SD tus qauv rau lub rooj tsavxwm thiab siv GPIO ua rau yog li thaum kuv ua lub thawv ntawv kuv tuaj yeem txuas nws cais hauv qhov chaw nkag tau yooj yim. Ntawm lub rooj tsavxwm kuv txiav txim siab siv tus txiv neej 2 tus pin thiab tus jumper los ua tus hloov pauv ntawm 9V roj teeb thiab VIN raws li kuv xav tias nws zoo li zoo dua qub thiab qhov tseeb koj yuav tsis hloov nws thiab tsis tu ncua. Tsis tas li kuv tau txiav txim siab ncaj qha nce lub ntsuas dej noo thiab ntxiv 2 tus pin txuas txuas sojntsuam mus rau lub rooj tsavxwm. Thaum kuv ua qhov no kuv muaj teeb meem, raws li kuv yuav tsum tau desolder tus pin ntawm cov modules thiab resolder ntsug sawv daws thiaj li lub rooj tsavxwm tiaj tus, yog li ntawd kuv pom zoo yuav cov qauv nrog pins cais kom txuag sijhawm thiab siv zog.
Txhua tus uas koj tau ua hauv Circuit Kuv tau txuas 3 qhov sib txawv ntawm cov cai.
V1.0 - muaj cov lej tso tawm nrog rau cov lej saib. 5 thib ob voj voog
V1.1 - tsis muaj cov lus tawm suab thiab tsis muaj LED. 5 thib ob cav cav.
V1.2 - tsis muaj cov ntawv tso tawm tab sis muaj LED thiab saib cov cai. 1 teev cav cav
Kauj ruam 3: Txheeb xyuas
Kuv txaus siab heev nrog txoj haujlwm vim kuv ntseeg tias nws ua haujlwm tau zoo thiab haum rau lub hom phiaj. Kuv cia siab tias yuav tsim cov ntaub ntawv thiab 3D luam tawm nws thiab tej zaum hloov pauv lub hwj chim los txhim kho kev tsim. Raws li tau hais yav tas los Kuv tau ua lwm cov ntawv zoo li no ua ntej yog tias leej twg xav pom kuv upload lawv lossis muaj kev txhim kho lossis hloov pauv lawv yuav ua thov tawm tswv yim hauv qab no.
Vam tias koj txaus siab rau qhov tsim thiab thov tawm qhov nyiam!
Pom zoo:
Saib Lub Cev Uas Muaj peev xwm Saib Xyuas Kab Mob Loj Hlob: 14 Kauj Ruam
Saib Lub Cev Uas Tuaj Saib Xyuas Kev Loj Hlob Ntawm Kab Mob: Cov kab mob ua lub luag haujlwm tseem ceeb hauv peb lub neej. Lawv tuaj yeem muaj txiaj ntsig zoo thiab muab tshuaj rau peb, npias, khoom noj khoom haus thiab lwm yam. Kev saib xyuas tas li ntawm theem kev loj hlob thiab kev mob siab rau ntawm cov kab mob hauv lub cev yog txheej txheem tseem ceeb. Nov yog ib qho tseem ceeb ntawm
ESP32 Raws M5Stack M5stick C Huab Cua Saib Nrog DHT11 - Saib Xyuas Qhov Kub Kub & Qhov Kub Kub ntawm M5stick-C Nrog DHT11: 6 Cov Kauj Ruam
ESP32 Raws M5Stack M5stick C Huab Cua Saib Nrog DHT11 | Saib Xyuas Qhov Kub thiab Qhov Ntsuas Kub ntawm M5stick-C Nrog DHT11: Nyob zoo cov neeg, hauv cov lus qhia no peb yuav kawm paub yuav ua li cas cuam tshuam DHT11 ntsuas kub nrog m5stick-C (pawg tswj hwm kev txhim kho los ntawm m5stack) thiab tso tawm ntawm cov zaub ntawm m5stick-C. Yog li hauv qhov kev qhia no peb yuav nyeem qhov ntsuas kub, av noo & heat kuv
Kev Saib Xyuas Tus Kheej Ntiag Tug Hacked Los Ntawm Cov Laus LCD Saib: 7 Kauj Ruam (nrog Duab)
Kev Saib Xyuas Tus Kheej Ntiag Tug Los Ntawm Lub Luag Qub LCD: Thaum kawg koj tuaj yeem ua qee yam nrog lub qub LCD saib uas koj muaj hauv lub nkas -las. Koj tuaj yeem tig nws mus ua tus saib xyuas ntiag tug! Nws zoo nkaus li dawb rau txhua tus neeg tshwj tsis yog koj, vim tias koj hnav "khawv koob" tsom iav! Txhua yam koj yuav tsum muaj yog pa
Kev Nyuaj Siab: Kev Saib Xyuas thiab Saib Xyuas Ntxiv rau Kev Teeb Meem: 9 Cov Kauj Ruam
Hard Drive: Kev Saib Xyuas thiab Kev Saib Xyuas Ntxiv Teeb Meem: Daim duab saum toj no yog Hard Drive ib txwm muaj. Cov no yog cov tsav tsheb feem ntau siv niaj hnub no, tab sis tsis tas yuav nrawm tshaj. Tib neeg siv tus tsav no rau nws tus nqi qis dua gigabyte thiab lub neej ntev dua. Phau ntawv qhia no yuav qhia koj txog qhov sib txawv
Saib xyuas koj lub vaj: 16 Kauj Ruam (nrog Duab)
Saib xyuas koj lub vaj: Saib xyuas koj lub vaj los ntawm txhua qhov chaw, siv cov duab hauv cheeb tsam los saib xyuas cov av hauv ib cheeb tsam lossis siv Mobile los saib xyuas los ntawm tej thaj chaw deb. Lub Circuit Court siv av noo sensor, ua ke nrog qhov kub thiab txias kom paub txog av ib puag ncig zoo