Cov txheej txheem:

Kev Ceeb Toom Hluav Taws Xob Siv Arduino [Hauv Qhov Yooj Yim Yooj Yim Yooj Yim]: 3 Kauj Ruam
Kev Ceeb Toom Hluav Taws Xob Siv Arduino [Hauv Qhov Yooj Yim Yooj Yim Yooj Yim]: 3 Kauj Ruam

Video: Kev Ceeb Toom Hluav Taws Xob Siv Arduino [Hauv Qhov Yooj Yim Yooj Yim Yooj Yim]: 3 Kauj Ruam

Video: Kev Ceeb Toom Hluav Taws Xob Siv Arduino [Hauv Qhov Yooj Yim Yooj Yim Yooj Yim]: 3 Kauj Ruam
Video: HMONG World Mosquito Destroyer 2024, Hlis ntuj nqeg
Anonim
Hluav Taws Tswb Tswb Siv Arduino [Hauv Ob Qes Yooj Yim Yooj Yim]
Hluav Taws Tswb Tswb Siv Arduino [Hauv Ob Qes Yooj Yim Yooj Yim]

Puas yog koj tab tom nrhiav kom ua txoj haujlwm yooj yim thiab nthuav nrog Arduino uas tib lub sijhawm tuaj yeem muaj txiaj ntsig tiag tiag thiab muaj peev xwm cawm tau txoj sia?

Yog tias yog, koj tau los ntawm qhov chaw raug los kawm qee yam tshiab thiab tshiab. Hauv kab ntawv no peb yuav kawm paub yuav ua li cas thiaj tsim lub tswb hluav taws uas siv Arduino uas muab lub suab nrov nrov thiab LED tau teeb kom ceeb toom tib neeg txog qhov muaj peev xwm tua hluav taws nyob ib puag ncig. Txoj haujlwm ua haujlwm ntawm lub hauv paus ntsiab lus ntawm kev pom lub teeb liab liab los ntawm photodiode ntawm lub ntsuas qhov ntsuas, Op-Amp yog siv los tshuaj xyuas qhov hloov pauv ntawm qhov hluav taws xob hla IR tus txais.

Kauj Ruam 1: Cov Khoom Yuav Tsum Tau

Yam Khoom Yuav Tsum Tau
Yam Khoom Yuav Tsum Tau
Yam Khoom Yuav Tsum Tau
Yam Khoom Yuav Tsum Tau
Yam Khoom Yuav Tsum Tau
Yam Khoom Yuav Tsum Tau

Peb pom zoo kom siv cov khoom hauv qab no tsuas yog ua kom txoj haujlwm ua tiav.

Arduino Uno (ib qho Arduino board tuaj yeem siv tau):

Nplaim sensor:

LED:

Buzzer:

Cov hlau txuas:

220K ohm resistor:

Jumper xov hlau:

Breadboard:

Kauj Ruam 2: Lub Tswb Hluav Taws Xob Ua Haujlwm Li Cas?

Lub kaw lus ua haujlwm ntawm cov hauv paus ntsiab lus yooj yim, los ntawm kev kuaj pom lub teeb liab liab los ntawm photodiode ntawm lub ntsuas qhov ntsuas nws muab logic 1 raws li tso tawm yog tias nplaim taws tau pom lwm tus nws muab 0 raws li cov zis. Arduino uas tab tom saib xyuas cov txiaj ntsig ntawm cov qauv ua tau zoo ntxiv xws li qhib lub tswb thiab LED, xa xov ceeb toom.

Tam sim no cia peb kawm yuav ua li cas tso txhua yam ua ke.

Kauj Ruam 3: Cov Kauj Ruam Ua Raws:

Cov Kauj Ruam Ua Raws
Cov Kauj Ruam Ua Raws
Cov Kauj Ruam Ua Raws
Cov Kauj Ruam Ua Raws
  • Ua ntej cia peb cuam tshuam cov nplaim hluav taws xob kuaj pom raws li qhia hauv daim duab. Nco ntsoov ua raws daim duab qhia meej ntawm lub voj voog thiab ua tib zoo saib xyuas thaum koj tsis siv lub khob cij!
  • Tam sim no cia peb cuam tshuam lub suab nrov nrog rau lub teeb ci LED raws li qhia hauv daim duab kos duab.
  • Tshaj tawm cov cai Arduino uas tau tsim los rau txoj haujlwm no. Koj tuaj yeem pom cov cai ntawm no:
  • Bingo! koj tau npaj los ntsuas koj lub tswb ceeb toom hluav taws!

Pom zoo: