Cov txheej txheem:

Tswb Hluav Taws: 3 Kauj Ruam
Tswb Hluav Taws: 3 Kauj Ruam

Video: Tswb Hluav Taws: 3 Kauj Ruam

Video: Tswb Hluav Taws: 3 Kauj Ruam
Video: Tus Neeg Ruam - R-Lin Thoj | New Song [ Official MV ] Nkauj Tawm Tshiab 2023 Hmong Song 2023 2024, Kaum ib hlis
Anonim
Tswb Hluav Taws
Tswb Hluav Taws

Qhov no tsis yog kev xyaum! Vim tias nws yog hluav taws (kom muaj qhov tshwj xeeb, nplaim taws) tswb.

Tsis muaj leej twg mob siab txog tswb hluav taws (lossis ib lub tswb) ntxiv lawm. Yepp, yam tsis txaus siab cuam tshuam peb kev ua noj, lossis tus neeg nyob ze lub tsheb raug nyiag? Txhua yam peb hnov yog beep-beep-beep, thiab peb tsuas yog tsis quav ntsej nws. (thiab ua siab ncaj, nws tu siab heev)

Cia peb ua lub tswb hluav taws qhov twg tsis yog tso rau qhov ceeb toom hluav taws tiag! Nov yog txoj haujlwm lom zem, Tsis RISK TUS NEEG NYOB HAUV LUB NEEJ!

Tab sis ntxiv qhov sib tw me ntsis, puas yog? Yog lawm, peb tsuas tuaj yeem beep, tab sis ua rau nws tsuas yog me ntsis ntxiv dag zog thiab lom zem.

Khoom siv

Arduino

DF Player mini + hais lus

khawm

nplaim taws sensor

LEDs + resistor

passive lub suab

Kauj ruam 1: Circuit Court

Qhov Circuit
Qhov Circuit

Dab tsi yog qhov tsis tuaj yeem pom: DF Player xav tau qee lub zog los ua suab, yog li sim siv lub zog USB sab nraud! (Kuv tsis tuaj yeem pom lub cim tsim nyog hauv Fritzing, thov txim)

Peb muaj 2 LEDs rau kev ceeb toom pom, ib lub pob txhawm rau lees paub lub tswb thiab nkag mus rau hauv kev sim hom, ib lub tshuab ntaus nkauj thiab ib lub suab nrov. Ntawm sab xis koj tuaj yeem pom cov nplaim hluav taws xob - txawm tias tau txais tus qauv lossis ua nrog LED + 100k resistor los ntawm koj tus kheej.

Txij li lub ntsuas hluav taws xob tsim cov teeb liab sib xws, kev ntsuas kom raug yog qhov yuav tsum tau ua! Tsis tas li nws tsis nkag siab txhua qhov kev qhia, nws muaj ~ 30 ° lub khob uas nws ua haujlwm. Nws hnov lub tswm ciab los ntawm 3-4 meters.

Kauj ruam 2: Txoj Cai

Txoj Cai
Txoj Cai

Internet muab peb qhov chaw muaj txiaj ntsig uas peb tuaj yeem faib peb cov cai. Lub sijhawm no nws tsis yog GitHub.

Kuv tau ua txoj haujlwm no nrog cov menyuam yaus nyob rau lub caij ntuj sov, yog li peb yuav tsum tau tawm tswv yim me ntsis. Ua ntej tshaj plaws, lub tswb hluav taws kom raug yuav tsum tsis txhob ntsiag to yog tias muaj hluav taws - yog tias lub nplaim taws hnov qhov hluav taws kub, nws yuav nrov nrov, tsis hais koj nyuab nyuab npaum li cas.

Lwm lub tswv yim yog hom kev sim - thawb lub pob 3 feeb ntev thiab nws yuav ua lub tswb ntsuas. Tsis tso nws yuav ua rau muaj suab nrov tsis tu ncua - vim tias khawm tawg yog qhov ua yuam kev ib yam!

Lwm qhov kev ntsuas kev nyab xeeb zoo li kev ntsuas tus kheej ploj lawm - nws yog txoj haujlwm lom zem, tsis yog lub tswb hluav taws tshaj lij! (huag, thaum koj pom nplaim taws, nws lig dhau lawm, tswb ceeb toom yog ib yam uas yog vim li cas)

Kauj ruam 3: Hluav Taws

DF Player xav tau cov ntaub ntawv 0001.mp3 hauv daim npav microSD lub hauv paus. Thiab daim ntawv ntawd yuav tsum yog dab tsi? Saib cov yees duab! (thiab ntawm chav kawm, vim yog kev cai lij choj, kuv tsis raug tso cai muab lub pov haum)

Kuv vam tias nws ua rau koj tsawg kawg yog luag. Txoj haujlwm no yog kev ceeb toom zoo: tsis yog txhua yam yuav tsum yog qhov loj, muaj kev lom zem qee zaum! Ua tsaug rau kev nyeem ntawv!

Pom zoo: