Cov txheej txheem:

Cov Ntes Hluav Taws Xob: 13 Kauj Ruam
Cov Ntes Hluav Taws Xob: 13 Kauj Ruam

Video: Cov Ntes Hluav Taws Xob: 13 Kauj Ruam

Video: Cov Ntes Hluav Taws Xob: 13 Kauj Ruam
Video: icu qaug beer lom zem tiag2 official mv 2020 2024, Hlis ntuj nqeg
Anonim
Cov pa luam yeeb
Cov pa luam yeeb

Nyob zoo cov phooj ywg hnub no cia saib txog cov pa luam yeeb Coob leej ntawm koj mus hauv cov khw hauv khw feem ntau koj tuaj yeem pom cov cuab yeej no hu ua lub tshuab nqus pa nws yuav kuaj pom cov pa luam yeeb thiab tig lub taub dej tso thiab tso tseg qhov hluav taws. coj lub teeb thiab piezo yuav ua haujlwm. Txawm saib yuav ua li cas thiaj ua tau lub ntsuas pa.

Khoom siv:

ArduinoJumper WireGas sensorThree LEDsOne piezo andBread board

Kauj Ruam 1: Ntes Tus Kheej

Cov pa luam yeeb
Cov pa luam yeeb

Lub tshuab ntsuas pa yog ib lub cuab yeej uas hnov cov pa luam yeeb, feem ntau yog qhov qhia tias muaj hluav taws. Cov cuab yeej ruaj ntseg lag luam muab teeb liab mus rau lub tswb ceeb toom tswj hluav taws raws li ib feem ntawm lub tswb hluav taws, thaum tsev ntsuas cov pa pa taws, tseem hu ua tswb pa, feem ntau teeb tsa lub suab nrov hauv lub nroog lossis lub tswb pom los ntawm lub ntsuas nws tus kheej lossis ntau lub ntsuas yog tias muaj ntau cov pa luam yeeb sib cuam tshuam

Kauj ruam 2: Arduino

Arduino
Arduino

Arduino yog lub platform siv hluav taws xob qhib raws qhov yooj yim-rau-siv-kho vajtse thiab software. Cov laug cam Arduino tuaj yeem nyeem cov tswv yim - teeb ntawm lub ntsuas pa, ntiv tes ntawm lub pob, lossis Twitter lus - thiab tig nws mus rau hauv cov zis - qhib lub tshuab, qhib lub LED, tshaj tawm qee yam online. Koj tuaj yeem qhia koj pawg thawj coj ua dab tsi los ntawm kev xa cov txheej txheem qhia rau microcontroller ntawm lub rooj tsavxwm. Txhawm rau ua li ntawd koj siv Arduino cov lus programming (raws li thaiv), thiab Arduino Software (IDE), raws li Kev Ua Haujlwm.

Kauj Ruam 3: Roj Sensor

Roj Sensor
Roj Sensor

Cov pa roj carbon monoxide yog lub cuab yeej uas kuaj pom tias muaj lossis muaj cov pa nkev hauv qhov chaw. Raws li qhov ntsuas ntawm cov pa roj sensor ua rau muaj peev xwm sib txawv los ntawm kev hloov qhov tsis kam ntawm cov khoom hauv lub sensor, uas tuaj yeem ntsuas raws li qhov hluav taws xob tso tawm.

Kauj Ruam 4: Pawg Mov Ci

Pawg Mov Ci
Pawg Mov Ci

Lub khob cij yog lub hauv paus tsim rau kev tsim qauv hluav taws xob. Keeb kwm lo lus xa mus rau lub rooj mov ci ci, yog ib daim ntoo uas siv los hlais qhob cij. Hauv xyoo 1970s lub khob cij tsis muaj kab laug sab (aka plugboard, lub davhlau ya nyob twg pawg thawj coj saib) tau dhau los thiab niaj hnub no lo lus "breadboard" feem ntau siv los hais txog cov no.

Kauj ruam 5: Piezo

Piezo
Piezo

Hauv cov lus yooj yim tshaj plaws, piezo buzzer yog hom khoom siv hluav taws xob uas siv los tsim suab nrov, tswb lossis suab. Nws yog qhov hnyav nrog kev tsim kho yooj yim, thiab nws ib txwm yog cov khoom lag luam qis.

Kauj Ruam 6: Jumper Wires

Jumper Hlau
Jumper Hlau

Ib txoj hlua dhia (tseem hu ua jumper hlau, lossis jumper) yog cov xaim hluav taws xob, lossis pab pawg ntawm lawv hauv kab, nrog txuas lossis tus pin ntawm txhua qhov kawg (lossis qee zaum tsis muaj lawv - yooj yim "tinned"), uas ib txwm siv txhawm rau txuas cov khoom sib txuas ntawm lub khob cij los yog lwm daim ntawv pov thawj lossis sim hauv Circuit Court, sab hauv lossis nrog lwm yam khoom siv lossis cov khoom siv, tsis tas yuav siv cov laug.

Kauj Ruam 7: LEDs

LEDs
LEDs

Lub teeb-emitting diode (LED) yog cov khoom siv hluav taws xob hluav taws xob uas tso tawm lub teeb thaum cov dej ntws ntws los ntawm nws. Cov hluav taws xob hauv cov khoom siv hluav taws xob rov ua dua tshiab nrog cov tshuab hluav taws xob, tso lub zog nyob hauv daim ntawv ntawm photons. Cov xim ntawm lub teeb (sib raug rau lub zog ntawm cov photons) yog txiav txim siab los ntawm lub zog xav tau rau cov hluav taws xob kom hla cov kab sib txawv ntawm cov khoom siv hluav taws xob. Qhov lub teeb dawb tau txais los ntawm kev siv ntau lub semiconductors lossis txheej ntawm lub teeb-emitting phosphor ntawm lub semiconductor ntaus ntawv

Kauj Ruam 8: Cia Peb Sib Sau

Sau txhua yam uas peb pom txog tam sim no

Kauj Ruam 9: Muab Arduino thiab Pawg Mov Ci

Muab tso rau Arduino thiab Mov ci Board
Muab tso rau Arduino thiab Mov ci Board

Khaws Arduino txhua qhov chaw koj xav tau thiab tso lub khob cij board ze rau nws thiab txuas tus nqi zoo ntawm 5 v thiab tus nqi tsis zoo ntawm gnd (hauv av) mus rau qhov zoo thiab qhov tsis zoo ntawm lub khob cij.

Kauj Ruam 10: Tso cov LEDs thiab Piezo dhau

Tso cov LEDs thiab Piezo Ib yam nkaus
Tso cov LEDs thiab Piezo Ib yam nkaus

Muab lub piezo thiab peb LEDs tso rau hauv lub khob cij mov raws li qhia hauv daim duab. Txhua txuas lub davhlau ya nyob twg zoo (anode) ntawm txhua lub LEDs thiab piezo mus rau tus lej digital ntawm Arduino. hauv daim duab

Kauj Ruam 11: Txuas Gas Sensor

Txuas lub Gas Sensor
Txuas lub Gas Sensor

Cov pa roj carbon monoxide tseem ceeb heev hauv qhov no koj yuav tsum tso nws nyob qhov twg nyob ze ntawm Arduino. Connect lub a1, h1, a2 davhlau ya nyob twg ntawm cov pa sensor mus rau lub rooj noj mov thiab H2 ntawm lub ntsuas pa nrog lub khob cij lub rooj tsis zoo. tseem txuas lub b1 davhlau ya nyob twg ntawm lub ntsuas pa mus rau ib qho ntawm tus lej sib piv ntawm Arduino.

Kauj Ruam 12: Cia Txoj Cai

Cia Code
Cia Code
Cia Code
Cia Code

Qhov ntawd yog txhua qhov qauv cia peb dhia mus rau hauv qhov program. First peb tau hais tias lub kaw lus luam tawm cov ntawv nyeem los ntawm cov pa roj hauv lub ntsuas saib. Nws qhia txog kev nyab xeeb Yog tias cov pa luam yeeb nyob nruab nrab nyob ze txhais tau tias lub teeb daj yuav ntsais thiab piezo yuav muab lub suab me ntsis Peb xav hais tias yog tias cov pa luam yeeb ze dua lub suab yuav tsum tau siab heev thiab liab liab yuav tsum ntsais.

Kauj Ruam 13: Tso Tawm

Tso zis
Tso zis
Tso zis
Tso zis
Tso zis
Tso zis
Tso zis
Tso zis

Cia peb pom qhov tawm nyuaj peb ua tiav ntau lub sijhawm.kuv vam tias txhua tus neeg zoo li no ua tsaug rau koj cov phooj ywg

Pom zoo: