Cov txheej txheem:

LED Tsho Tsho: 15 Kauj Ruam (nrog Duab)
LED Tsho Tsho: 15 Kauj Ruam (nrog Duab)

Video: LED Tsho Tsho: 15 Kauj Ruam (nrog Duab)

Video: LED Tsho Tsho: 15 Kauj Ruam (nrog Duab)
Video: Tseem Ev Lub Kawm - Koos Loos 2024, Kaum ib hlis
Anonim

New York City thaum kawg tshem tawm nws txoj cai Cabaret dhau los.

Yog li cia peb seev cev.

Koj yuav xav tau cov khaub ncaws zoo rau lub sijhawm.

Lub tsho tiv no yog cov khaub ncaws hnav uas tsis muaj peev xwm ua tau: nws teeb raws li lub teeb pom kev ib puag ncig. Zoo li tus tsiaj uas muaj lub ntsej muag zoo nkauj, ib tug hma, lossis ib tus neeg niaj hnub tawm hauv lawv qhov chaw ua haujlwm rau ib tog twg, lub tsho tiv no siv tus cwj pwm tshiab txij hnub ib hmo.

Cov khoom siv hluav taws xob siv lub tshuab ntsuas hluav taws xob (photoreceptor input sensor) (LDR), uas sib txuas lus ob lo lus yooj yim rau Huzzah board-nws tsaus ntuj thiab nws lub teeb tawm. Yog tias nws tsaus ntuj, cov sequin LEDs yuav ua rau pom kev zoo nkauj

Kuv zoo siab qhia qhov project no nrog koj. Kuv yog tus tshiab Arduino-siv thiab thawj zaug siv hluav taws xob-muag khoom, yog li kuv ntseeg tias txhua tus tuaj yeem rov ua qhov no!

Muaj plaub qhov tseem ceeb los ua kom tiav txoj haujlwm no:

1. Xaws (lossis yuav) lub tsho loj

2. Tsim tassels

3. Tsim cov khoom siv hluav taws xob & LED thaiv

4. Sib sau tassels, LEDs thiab Circuitry ntawm lub tsho loj

Kauj Ruam 1: Sau Cov Khoom Xaws & Cov Cuab Yeej

Sau Cov Khoom Xaws & Cov Cuab Yeej
Sau Cov Khoom Xaws & Cov Cuab Yeej

(Sab laug mus rau sab xis)

-Xov uas phim lub tsho xim

-Tus Pin

-Saib ripper

-Noob

-Tshuab xaws (tsis muaj duab)

Kauj Ruam 2: Sau Tassel Cov Khoom & Cov Cuab Yeej

Sau Tassel Cov Khoom & Cov Cuab Yeej
Sau Tassel Cov Khoom & Cov Cuab Yeej

(Sab laug mus rau sab xis)

-Txoj hlau ua rau ci ci ci (Kuv yuav qhov no los ntawm Michael's)

-3 txog 5 xim ntawm cov xov paj (cov xov paj zoo li no zoo nkauj)

-Wooden boards, lossis qee yam zoo li qhwv cov xov paj ib ncig. Cov laug cam no yog 3.5 "thiab 4" hla.

-Txais

Kauj Ruam 3: Sau Cov Khoom Siv Hluav Taws Xob & Cov Cuab Yeej

Sau Cov Khoom Siv Hluav Taws Xob & Cov Cuab Yeej
Sau Cov Khoom Siv Hluav Taws Xob & Cov Cuab Yeej

(Sab laug mus rau sab xis)

-USB kab

-Solderless breadboard thiab Arduino (rau kev xeem khiav nkaus xwb)

-Lithium ion polymer polymer roj teeb, 3.7v 1200mAh

-Adafruit Feather Huzzah ESP8266

-Photocell (aka LDR lub teeb pom kev zoo)

-Transistor

-Diode chaw

-Resistors (x2) Tsawg dua 10 ohms

-Qhov LEDs (12) Kuv xaiv emerald, tab sis muaj ob peb xim

-Silicon npog npog cov xov hlau-tib xim lossis zoo ib yam rau lub tsho xim-6 meters yam tsawg kawg nkaus

-Mini USB cable (tsis muaj duab)

-Cov khoom siv muag khoom (tsis muaj duab)

-Qhov cua (tsis muaj duab)

-Pab txhais tes rau cov laug (tsis muaj duab)

Kauj Ruam 4: Tsim (lossis Qhov Chaw) Tsho tiv no

Tsim (lossis Source) Tsho tiv no
Tsim (lossis Source) Tsho tiv no

Puas muaj leej twg muaj lub tsho hnav khaub ncaws kawm tiav zaum hauv lawv lub txee dai khaub ncaws? Tam sim no yog lub sijhawm los hloov lub tsho tsis zoo no rau hauv lub tsho zoo nkauj tog.

Koj tseem tuaj yeem siv lwm lub tsho loj, lub cape lossis blazer ua lub hauv paus.

Yog tias koj rov siv qee yam lossis yuav qee yam uas tau npaj yuav mus-tsis txhob hla cov kauj ruam hauv qab no!

Kauj ruam 5: Kho lub tsho loj

Kho lub tsho loj
Kho lub tsho loj
Kho lub tsho loj
Kho lub tsho loj
Kho lub tsho loj
Kho lub tsho loj

-Sim hnav lub tsho thiab txiav txim siab seb qhov ntev zoo rau koj

-Txhais kab ncaj ntawm qhov xav tau ntev

Txhawm rau tsim lub hem raws txoj kab uas nyoos, quav cov ntug ntawm cov ntaub ob zaug thiab hlau rau hauv qhov chaw

-Saib raws txoj kab hlau

-Kho lub tes tsho kom dav los ntawm kev xaws-nyob sab hauv, tom qab kab dotted hauv daim duab

*Txuag cov ntaub qhwv rau tom qab. Tom qab koj muab cov xov hluav taws xob txuas rau sab hauv ntawm lub tsho, koj yuav xav npog nws nrog cov ntaub sib xws.

Kauj Ruam 6: Ua Tassels

Koj yuav xav ua yam tsawg 50 tassels los npog koj lub tsho loj.

Lub tsho tiv no tshwj xeeb tau siv kwv yees li 100.

Xav tias dawb los ua koj tus kheej qhov sib txawv ntawm no: ua si nrog qhov ntev ntawm tassels, xim, khoom siv, thiab lwm yam!

Kuv muab 2 xim ntawm cov xov paj ua ke los tsim cov paj ntaub ntau xim.

Kauj Ruam 7: Ua Ntau Tassels

Ua Ntau Tassels
Ua Ntau Tassels
Ua Ntau Tassels
Ua Ntau Tassels

Lub tsho yuav zoo dua nrog cov tassels ntau dua, yog li mus tom ntej thiab ua nees nkaum ntxiv.

Kauj Ruam 8: Txuas Tassels

Txuas Tassels
Txuas Tassels
Txuas Tassels
Txuas Tassels

Plooj rau pem hauv ntej ntawm lub tsho loj, pib los ntawm hauv qab.

Khaws ob peb ntiv tes ntawm cov tassels-lawv yuav dhau los sai sai thaum koj txheej lawv

Kauj Ruam 9: Tsim Circuit Court

Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court
Tsim Circuit Court

Plug rau hauv koj cov hlau txuas thiab lub tshuab tso pa kom nyab xeeb, nws yog lub sijhawm los tsim qhov Circuit Court no!

Tshiab rau soldering? Txheeb tawm qhov kev qhia zoo no.

-Ua raws daim duab saum toj no, ua kom sov rau txhua qhov kev sib txuas. Txij li cov khoom siv hluav taws xob no yuav hnav ze rau lub cev, qhov no yog kauj ruam tseem ceeb.

-Muag cov LEDs ua ke ua ke, ua kom ntseeg tau tias cov koob tau zoo ib yam nrog + ntawm ib sab thiab - ntawm lwm qhov.

*Ntev npaum li cas cov xov hlau yuav tsum nyob nruab nrab ntawm LEDs? Txij li thaum LEDs tau mus rau saum cov tassels ci, qhov kev ncua deb ntawm LEDs yuav sib txawv. Ntsuas qhov nrug nruab nrab ntawm txhua tus tassel shimmery thiab txiav cov xov hlau kom phim qhov ntev.

Kauj Ruam 10: Tsim Circuit Court, Txuas Ntxiv

Tsim Circuit Court, Txuas Ntxiv
Tsim Circuit Court, Txuas Ntxiv
Tsim Circuit Court, Txuas Ntxiv
Tsim Circuit Court, Txuas Ntxiv
Tsim Circuit Court, Txuas Ntxiv
Tsim Circuit Court, Txuas Ntxiv

Siv cov duab no los siv raws li koj xaim txhua lub ntsiab lus ua ke thiab txuas lawv mus rau Pawg Huzzah.

Kauj ruam 11: Upload Code & Test

Upload Code & Xeem
Upload Code & Xeem

Txhawm rau kom tau koj Feather Huzzah ESP8266 board nce & khiav, koj yuav xav ua raws cov kauj ruam hauv Tshooj 1 & 2 kom ua ke koj lub rooj tsavxwm thiab nws cov tsev qiv ntawv hauv Arduino.

-Xeem cov kev sib txuas LED nrog lub roj teeb coincell kom ntseeg tau tias koj cov kev sib txuas tau ruaj khov.

-Xeem cov cai thiab cov xov tooj cua.

-Siv koj lub sijhawm los daws teeb meem. Txheeb xyuas tias cov kev sib txuas uas siv tas lawm muaj kev nyab xeeb. Txheeb xyuas tias koj cov LEDs txuas nrog ua ke (+ rau + … thiab … - rau -)

Kauj Ruam 12: Txuas Sequin LEDs rau Tsho

Txuas Sequin LEDs rau Tsho
Txuas Sequin LEDs rau Tsho

Plooj cov LEDs ntawm lub ntsej muag ntawm cov paj ntaub ci.

Khiav qhov ntev ntawm cov hlau hauv qab cov tassels thiab xaws hauv qhov chaw. Xyuas kom tseeb tias cov xaim raug muab tso kom lwm cov tassels npog nws.

(Tej zaum koj yuav ntse txaus los yuav cov hlau uas phim cov xim ntawm koj lub tsho, yog li koj yuav muaj sijhawm yooj yim zais cov xov hlau ntau dua li kuv tau ua!)

Kauj Ruam 13: Txuas Circuitry rau lub tsho loj

Txuas Circuitry rau tsho loj
Txuas Circuitry rau tsho loj

-Siv lub Huzzah board thiab nws cov kev sib txuas rau sab hauv sab hauv ntawm lub tsho loj.

-Qhov lub qhov me me nyob rau ntawm lub hauv ntej ntawm lub tsho loj thiab nthuav daim ntawv luam tawm los ntawm lub qhov kom nws lo rau ntawm lub hauv ntej ntawm lub tsho loj.

*Qhov kev tso kawm: xyuas kom lub photocell tsis nyob ze rau ib qho LED (lub teeb los ntawm LED tuaj yeem cuam tshuam rau lub teeb/tsaus teeb liab mus txog lub photocell.) Kuj tseem nco ntsoov tias lub photocell tsis nyob hauv qab ib rab phom.

Kauj Ruam 14: Upload Code rau Huzzah

Upload Code rau Huzzah
Upload Code rau Huzzah

Txheeb ob zaug tias koj qhov kev sib txuas thiab cov lej txuas mus ntxiv.

Txhua yam zoo? Zoo heev!

Yuav tsum daws teeb meem? Kuv tau ua ib yam. Siv koj lub sijhawm.

Kauj Ruam 15: Xaws Hnab Rau Roj Teeb thiab Huzzah

Sew Hnab Rau Roj Teeb thiab Huzzah
Sew Hnab Rau Roj Teeb thiab Huzzah
Sew Hnab Rau Roj Teeb thiab Huzzah
Sew Hnab Rau Roj Teeb thiab Huzzah

Nov yog kauj ruam tseem ceeb! Txij li cov khoom siv hluav taws xob no nyob ze rau lub cev, koj yuav xav tsim qhov teeb meem me me rau kev nyab xeeb.

Xaws ib daim ntaub ntawm lub roj teeb thiab Huzzah board thiab nws cov kev sib txuas. Koj yuav pom hauv cov duab uas kuv tau siv daim ntaub dawb, tab sis koj yuav muaj daim ntaub dub ntxiv los ntawm qib 4 kom npog koj cov khoom siv hluav taws xob.

Pom zoo: