Cov txheej txheem:

Lub Teeb Ua Khoom Plig Valentine: 8 Kauj Ruam (nrog Duab)
Lub Teeb Ua Khoom Plig Valentine: 8 Kauj Ruam (nrog Duab)

Video: Lub Teeb Ua Khoom Plig Valentine: 8 Kauj Ruam (nrog Duab)

Video: Lub Teeb Ua Khoom Plig Valentine: 8 Kauj Ruam (nrog Duab)
Video: tuav wb lub neej kom ruaj khov - Mang Vang ft. Christina Xyooj [Official Audio] 2021-22 2024, Kaum ib hlis
Anonim
Lub Teeb Ua Khoom Plig Valentine
Lub Teeb Ua Khoom Plig Valentine

Nrog Valentine hnub tsuas yog nyob ib ncig ntawm lub ces kaum, Kuv tau tshoov siab kom ntxiv qee yam ntxiv los ua qhov khoom plig tshwj xeeb ntxiv. Kuv tab tom sim Mini player nrog Arduino, thiab xav tsis thoob tias kuv puas tuaj yeem ntxiv lub teeb pom kev kom nws ua nkauj rau kuv Mrs thaum nws qhib khoom plig. Yog li qhov no tau yug los.

Kauj Ruam 1: Yuav Khoom Plig Zoo

Zoo, kuv tsis tuaj yeem pab koj nrog qhov no, tsuas yog khoom plig nrog lub thawv loj txaus los tso rau hauv Circuit Court hauv qab yuav ua.

Kauj ruam 2: Sau tag nrho cov Cheebtsam

Sau tag nrho cov Cheebtsam
Sau tag nrho cov Cheebtsam
Sau tag nrho cov Cheebtsam
Sau tag nrho cov Cheebtsam
Sau tag nrho cov Cheebtsam
Sau tag nrho cov Cheebtsam
Sau tag nrho cov Cheebtsam
Sau tag nrho cov Cheebtsam

Txog rau qhov ua tiav Circuit koj yuav xav tau cov hauv qab no, tsuas yog kev tsis lees paub, qhov txuas yog kev koom nrog txuas, yog li yog tias koj tsis xav nyem koj tuaj yeem tshawb nws ncaj qha los ntawm lub vev xaib banggood lossis aliexpress.

- Arduino Nano/Uno (Kuv nyiam Nano vim qhov loj me me)

- Cov neeg ua si me me + 2x 1K Resistor

- SDcard

LDR + 10k Resistor

- Tus hais lus (Kuv tau txais kuv los ntawm kev rov ua dua lwm yam khoom ua si)

- Luam Circuit Board

- LED (Tsis teb los tau)

Prototyping board (Tsis teb los tau)

Kauj ruam 3: Npaj SD Card

Npaj SD Card
Npaj SD Card

Nrhiav koj cov nkauj uas koj nyiam tshaj thiab luam nws rau SD daim npav.

Hauv qhov ua piv txwv no, kuv theej cov nkauj (001.mp3) thiab muab tso rau hauv daim nplaub tshev hu ua 006. Qhov laj thawj kuv ua qhov no yog vim kuv muaj lwm daim nplaub tshev hauv SD card thiab kuv xav khaws nws li ntawd rau lwm txoj haujlwm. Yog li hauv qhov no kuv cov ntaub ntawv mp3 nyob hauv sd: //006/001.mp3

Kauj Ruam 4: Npaj Mini DF Player

Npaj Mini DF Player
Npaj Mini DF Player
Npaj Mini DF Player
Npaj Mini DF Player
Npaj Mini DF Player
Npaj Mini DF Player

Muab lub Mini DF player tso rau hauv pawg thawj coj. Koj yuav tsum txuas tus 1K ohm resistor rau RX thiab TX ceg ntawm DF player.

- Txuas RX tus pin ntawm DF player rau ib kawg ntawm 1K tus tiv thaiv thiab lwm qhov kawg ntawm tus tiv thaiv rau tus pin D11 ntawm Arduino.

- Txuas TX tus pin ntawm DF player rau ib kawg ntawm thib ob 1K tus tiv thaiv thiab lwm qhov kawg ntawm tus tiv thaiv rau tus pin D10 ntawm Arduino

- Txuas VCC ntawm DF player rau +5V

- Txuas GND ntawm DF player rau GND

- Txuas SPK_1 thiab SPK2 rau tus hais lus

Thauj qhov program pom ntawm no rau Arduino los sim. Koj yuav tsum muaj peev xwm hnov zaj nkauj ntawm tus hais lus.

Kauj Ruam 5: Txuas LDR

Txuas LDR
Txuas LDR
Txuas LDR
Txuas LDR
Txuas LDR
Txuas LDR

Txuas ib ceg ntawm LDR rau 5V, thiab lwm ceg mus rau 10K resistor.

Txuas lwm qhov kawg ntawm tus tiv thaiv rau GND.

Txuas cov ceg uas koom nrog LDR thiab 10K resistor rau Pin A0 lossis Arduino, Pin A0 lossis Arduino yog cov lus sib piv uas yuav nyeem qhov hluav taws xob tuaj thaum lub teeb ci los ntawm LDR.

Txuas LED mus rau Pin 13 ntawm Arduino (Cov kauj ruam xaiv tau), yog tias koj xav tau qhov no, kos daim duab thib ob.

Kauj Ruam 6: Kuaj Koj Li Circuit Court

Ntsuam Xyuas Koj Lub Hauv Paus
Ntsuam Xyuas Koj Lub Hauv Paus

Txuas lub Circuit Court kawg rau kev sim. Yog tias koj tsis muaj DFPlayer lub tsev qiv ntawv, kuv tau suav nrog qhov no ua cov ntawv txuas.

Kauj Ruam 7: Ntxiv Lub Hwj Chim thiab Txo Qhov Loj Siv Arduino Nano

Image
Image

Hauv qhov no kuv tab tom siv roj teeb nrog 4x AAA roj teeb. Rov qab kho qhov program rau Arduino Nano, koj tsis xav tau LED, raws li Arduino Nano los nrog LED txuas nrog tus pin 13.

Koj tuaj yeem pom qhov tshwm sim hauv cov vis dis aus hauv qab no.

www.youtube.com/watch?v=OzCQ2H-N3ds

Kauj Ruam 8: Muab Txhua Yam Khoom Plig thiab Txaus Siab

Image
Image

Tam sim no nws yog lub sijhawm los nyem txhua yam hauv lub thawv khoom plig, ua kom ntseeg tau tias LDR tau qhia los kom ntseeg tau tias muaj lub teeb txaus los thaum qhib qhov khoom plig. Thiab txaus siab rau kev zoo siab thaum qhov no tau qhib los ntawm koj tus hlub. Kuv vam tias koj tau txais txiaj ntsig zoo nrog kev zoo siab rau kev mob siab rau me me.

Kev tsis lees paub: Kuv tsis koom nrog Swarovski lossis tsis pom zoo rau lawv cov hniav nyiaj hniav kub, kev siv tsuas yog xwm txheej rau qhov khoom plig uas kuv tau yuav rau kuv Mrs.

Thov tawm kuv cov lus thiab sau npe yog tias koj nyiam qhov no.

Pom zoo: