Cov txheej txheem:

Saib Xyuas Vaj: 3 Kauj Ruam
Saib Xyuas Vaj: 3 Kauj Ruam

Video: Saib Xyuas Vaj: 3 Kauj Ruam

Video: Saib Xyuas Vaj: 3 Kauj Ruam
Video: QHIA QHOV TSEEB - KUB VAJ LOOG TSUA NEW MUSIC VIDEO 2022 2024, Kaum ib hlis
Anonim
Saib Xyuas Vaj
Saib Xyuas Vaj
Saib Xyuas Vaj
Saib Xyuas Vaj

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

Breadboard thiab Xeem
Breadboard thiab 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

Circuit Board
Circuit Board
Circuit Board
Circuit Board
Circuit Board
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: