Cov txheej txheem:

Vaub Kib Pub Kev Ceeb Toom: 7 Kauj Ruam
Vaub Kib Pub Kev Ceeb Toom: 7 Kauj Ruam

Video: Vaub Kib Pub Kev Ceeb Toom: 7 Kauj Ruam

Video: Vaub Kib Pub Kev Ceeb Toom: 7 Kauj Ruam
Video: Nraug txuj kev hlub 2024, Kaum ib hlis
Anonim
Image
Image

Txoj haujlwm no hu ua Kev Tiv Thaiv Tus Me Nyuam Yaj.

Lub hom phiaj ntawm txoj haujlwm no yog kom nco kuv kom noj kuv cov vaub kib thaum kuv los txog tsev txhua hnub.

Vim li cas kuv thiaj ua qhov no:

Muaj ob lub vaub kib nyob ntawm kuv lub tsev, uas kuv yuav tsum tau pub lawv txhua hnub. Txawm li cas los xij, kuv ib txwm hnov qab vim kuv ib txwm hnov nkees thaum kuv los txog tsev. Yog li cov cuab yeej no tuaj yeem ceeb toom kuv kom nco nws txhua hnub.

Cov vis dis aus saum toj no qhia txog txoj hauv kev siv lub cuab yeej no. Yog tias nws tsis meej txaus, nqis mus rau ntu kawg los saib nws dua nrog cov lus piav qhia

Hauv cov theem hauv qab no, yuav muaj cov lus piav qhia ntxaws txog yuav ua li cas thiab nws ua haujlwm li cas, nrog rau txhua yam ntaub ntawv xav tau rau txoj haujlwm no.

Tam sim no cia pib!

Kauj ruam 1: Intro

Intro
Intro
Intro
Intro

Qhov tseem ceeb ntawm lub cuab yeej:

  • Photoresistance (paub lub teeb)
  • LEDs daj x3 (ceeb toom)
  • Dawb LED x1 (kho kom zoo nkauj)
  • Ntsuab LED x1 (qhov taw qhia ntawm lub raj mis)
  • Liab LED x1 (qhov taw qhia ntawm lub raj mis)

Nws ua haujlwm li cas:

Thaum kuv qhib lub teeb thaum kuv los txog tsev thaum hmo ntuj, daim duab tsis kam yuav pom lub teeb thiab teeb pom 3 LEDs daj raws li kev ceeb toom. Raws li kuv los ze, qhov ntsuas ntawm lub raj mis yog liab thaum pib txij li lub raj mis tsis tau nce thiab lub npib tau ua hluav taws xob. Liab LED yuav tig mus rau ntsuab thaum kuv nqa lub raj mis txij li nws tsis ua haujlwm ntxiv lawm, txhais tau tias kuv tau pub cov vaub kib. Tom qab ntawd, Kuv tuaj yeem tua lub teeb daj los ntawm kev npog daim duab tsis kam nrog daim ntawv, qhia tias kuv tau ua tiav pub kuv tus vaub kib rau hnub ntawd.

Kauj ruam 2: Cov ntaub ntawv

Khoom siv
Khoom siv
Khoom siv
Khoom siv

Nov yog cov ntaub ntawv xav tau rau txoj haujlwm no:

  • Arduino & Breadboard
  • 7x LEDs ntawm txhua yam thiab xim (Kuv siv 3x daj, 1x dawb, 1x ntsuab, 1x liab)
  • Photoresistance
  • 6 x xim av resistor
  • 2x xiav resistor
  • Qee cov xov hlau
  • Qee daim ntawv los ua lub thawv
  • Ib yam uas tuaj yeem ua hluav taws xob (piv txwv li npib)

Kauj Ruam 3: Ntu 1 - Kev Tiv Thaiv Duab + LED Daj

Ntu 1 - Kev Tiv Thaiv Duab + LEDs daj
Ntu 1 - Kev Tiv Thaiv Duab + LEDs daj
Ntu 1 - Kev Tiv Thaiv Duab + LEDs daj
Ntu 1 - Kev Tiv Thaiv Duab + LEDs daj
Ntu 1 - Kev Tiv Thaiv Duab + LEDs daj
Ntu 1 - Kev Tiv Thaiv Duab + LEDs daj

Tam sim no cia peb pib

Ntu 1: Kev tiv thaiv duab + 3 LEDs daj

1. Txuas lub Photoresistance mus rau A0 (raws li qhia hauv daim duab)

2. Txuas 3 LEDs daj rau D10, D9, thiab D5 (raws li qhia hauv daim duab)

3. Txuas lawv mus rau lub resistors thiab cov electrode zoo (+), tsis zoo electrode (-) raug

4. Txheeb xyuas cov duab ntawm daim ntawv qhia zaub mov kom paub tseeb tias nws yuav ua haujlwm

5. Nrog cov cai hauv ntu hauv qab no, lub teeb yuav tsum tua thaum koj npog lub teeb (2 daim duab kawg)

Tom qab ntawd koj tau ua tiav nrog thawj ntu!

Kauj Ruam 4: Ntu 2 - Khawm & LEDs + Vaub kib Kho Kom Zoo Nkauj

Ntu 2 - Khawm & LEDs + Vaub kib Kho Kom Zoo Nkauj
Ntu 2 - Khawm & LEDs + Vaub kib Kho Kom Zoo Nkauj
Ntu 2 - Khawm & LEDs + Vaub kib Kho Kom Zoo Nkauj
Ntu 2 - Khawm & LEDs + Vaub kib Kho Kom Zoo Nkauj
Ntu 2 - Khawm & LEDs + Vaub kib Kho Kom Zoo Nkauj
Ntu 2 - Khawm & LEDs + Vaub kib Kho Kom Zoo Nkauj
Ntu 2 - Khawm & LEDs + Vaub kib Kho Kom Zoo Nkauj
Ntu 2 - Khawm & LEDs + Vaub kib Kho Kom Zoo Nkauj

Ntu 2.1 - Khawm + Ntsuab & Liab LEDs

1. Txuas lub pob (lossis cov xov hlau) rau D2 (raws li qhia hauv daim duab thawj)

2. Txuas liab LED rau D12, ntsuab LED rau D13 (raws li qhia hauv daim duab thawj)

3. Txuas lawv mus rau lub resistors thiab cov electrode zoo (+), tsis zoo electrode (-) raug

4. Txheeb xyuas cov duab kom ntseeg tau tias nws yuav ua haujlwm

5. Nrog cov cai hauv ib feem hauv qab no, nws yuav tsum tig mus rau LED liab thaum koj txuas lawv nrog cov nyiaj npib txij li nws yog tus coj

Ntu 2.2 - Vaub kib Kho Kom Zoo Nkauj

Tsuas yog rau kev kho kom zoo nkauj, yog li nws yog nyob ntawm yeem, koj tuaj yeem xaiv seb koj puas xav ua lossis tsis ua

Cov kauj ruam yog ib qho yooj yim, tsuas yog txuas lub LED nrog cov xim uas koj nyiam rau D tus pin (D4), thiab rau tus tiv thaiv thiab cov hluav taws xob tsis zoo. Xyuas cov duab saum toj no

Kauj Ruam 5: Ntu 3 - Kawg + Sab Nrauv Box

Ntu 3 - Zaum Kawg + Txheej Ntim
Ntu 3 - Zaum Kawg + Txheej Ntim
Ntu 3 - Zaum Kawg + Txheej Ntim
Ntu 3 - Zaum Kawg + Txheej Ntim
Ntu 3 - Zaum Kawg + Txheej Txheej
Ntu 3 - Zaum Kawg + Txheej Txheej

Thawj daim duab yog daim duab kawg ntawm kev siv hluav taws xob (sib txuas ntu 1 & 2)

Daim duab thib ob yog qhov kuv daim ntawv qhia zaub mov zaum kawg zoo li cas (nws nyuab me ntsis vim kuv txuas cov xov hlau)

Tam sim no, cov kauj ruam kawg yog los tsim cov ntaub ntawv sab nrauv uas npog cov xov hlau thiab ua rau koj txoj haujlwm zoo dua!

Qhov ntev ntawm lub thawv tau qhia hauv cov duab:

11 x 19.5 x 6 (cm)

Khawb lub qhov nyob rau sab saud kom cov xov hlau hla dhau, tseem nco ntsoov khawb lwm lub qhov rau sab rau lub khob cij los txuas rau koj lub computer

Tom qab ntawd koj ua tiav!

Kauj ruam 6: Coding

Coding
Coding

Nov yog cov cai rau txoj haujlwm no:

create.arduino.cc/editor/rachelhsiao0821/791efe8a-55d4-4693-99f8-3bc401ca3fda/preview

Kauj Ruam 7: Xeem Nws

Image
Image
Kuaj Nws!
Kuaj Nws!
Kuaj Nws!
Kuaj Nws!
Kuaj Nws!
Kuaj Nws!

Nov yog daim vis dis aus nrog piav qhia

Sau tus lej thiab sim yog tias koj qhov haujlwm ua haujlwm!

Muaj qee cov duab ntxiv ntawm kuv qhov haujlwm saum toj no

Pom zoo: