Cov txheej txheem:

Laser Security Tswb Project Siv Arduino: 5 Kauj Ruam
Laser Security Tswb Project Siv Arduino: 5 Kauj Ruam

Video: Laser Security Tswb Project Siv Arduino: 5 Kauj Ruam

Video: Laser Security Tswb Project Siv Arduino: 5 Kauj Ruam
Video: Cyber Monday means a lot of great laser deals! 2024, Hlis ntuj nqeg
Anonim
Laser Security Tswb Project Siv Arduino
Laser Security Tswb Project Siv Arduino

Lub tswb ntsuas kev nyab xeeb Laser tau dav siv rau kev lag luam thiab lwm yam kev lag luam. Qhov laj thawj tom qab no yog tias Laser tsis tshua raug cuam tshuam los ntawm ib puag ncig ib puag ncig ua rau nws ntseeg tau thiab ntseeg tau. Yog li hauv qhov haujlwm Arduino no kuv tau siv Laser ua lub hauv paus txhawm rau txheeb xyuas kev nkag mus thiab nce lub tswb thaum nkag mus.

Khoom siv

Keyes Laser module

Arduino Ib

SIB 556

Resistors

Capacitors

Keyes Relay module

Fais fab mov

Kauj Ruam 1: LASER THIAB LDR YUAV TSUM PAUB TXOG

Kev ua haujlwm ntawm txoj haujlwm no pib nrog Keyes laser module. Thaum ua haujlwm ntawm tus qauv no tso tawm Laser uas ua raws txoj hauv kev ncaj. Ntawm nws txoj kev LDR yog nyob rau lwm qhov kawg. Qhov Laser module thiab LDR no ua ke ua ntu kev saib xyuas ntawm cov qauv no. Laser module thiab LDR yuav tsum nyob rau hauv ib qho chaw zoo li txoj kev ntawm lub qhov rooj, qhov rais thiab lwm yam Thiab qhov no yog qhov uas thaum ib tus neeg nkag los lossis nkag mus yuav cuam tshuam txoj hauv kev ntawm Laser thiab txiav tawm lub nqaj los ntawm ntog hla LDR.

LDR (Lub teeb nyob ntawm tus tiv thaiv) yog ib feem uas cuam tshuam rau lub teeb. Kev tiv thaiv ntawm LDR yuav qis heev thaum Laser nqaj poob rau nws qhov nws qhov kev tiv thaiv yuav siab heev thaum Laser nqaj raug txiav tawm ntawm nws. LDR tau teeb tsa ua qhov faib hluav taws xob qhov kev hloov pauv hauv kev tiv thaiv yuav hloov qhov tso tawm qhov hluav taws xob ntawm qhov faib hluav taws xob no. Qhov faib hluav taws xob no yuav muab qhov hluav taws xob siab thaum Laser nqaj teeb meem ntawm LDR. Thiab thaum lub nqaj raug txiav tawm los ntawm tub sab nyiag lossis nkag mus rau qhov hluav taws xob tawm ntawm kev faib tawm yuav qis heev.

Kauj Ruam 2: SCHEMATIC DIAGRAM RAU LASER SECURITY ALARM

SCHEMATIC DIAGRAM rau LASER SECURITY ALARM
SCHEMATIC DIAGRAM rau LASER SECURITY ALARM

Cov duab kab duab saum toj no qhia txog kev sib txuas rau tag nrho txoj haujlwm no. Keyes relay module yuav tso tawm laser nqaj hla LDR. Qhov hluav taws xob tso tawm los ntawm kev faib hluav taws xob teeb tsa ntawm LDR thiab tus tiv thaiv nkag mus rau Analog tus lej pin ntawm A0 ntawm Arduino. Thiab qhov hloov pauv S1 yog xav kom tua lub tswb tom qab nws tau tshwm sim. Lub pob S1 yuav tsum nyob hauv kev tswj hwm ntawm cov neeg siv thiab yuav tsum tsis txhob nkag los ntawm cov neeg nkag. Arduino tus pin D3 tswj kev xa xov txuas nrog nws. Nrog rau kev xa rov qab qhov taw qhia LED nyob hauv Circuit kom qhia lub tswb yog ON. Lub relay qhib lub tswb hluav taws xob tsim nyob ib puag ncig IC 556. Kuv tau siv 8 tus neeg hais lus rau lub hom phiaj ua suab. Yog vim li cas peb siv kev rov qhib lub tswb yog vim tias Arduino tsis tuaj yeem muab tam sim no txaus los tsav tag nrho lub tswb ntawm nws tus kheej.

Kauj ruam 3: CODE

Kauj ruam 4: NCO TSEG

Kev sib dhos ntawm Laser module thiab LDR yog qhov tseem ceeb heev yog li teeb tsa hauv txoj kev nws saib xyuas koj lub qhov rooj thiab txhua tus neeg los ntawm qhov uas nkag mus rau ntawm lub nqaj

Koj tuaj yeem hloov pauv lub tswb ntu ntawm txoj haujlwm saum toj no nrog koj tus kheej lub tswb tab sis xyuas kom tseeb tias kev siv txuas yuav tuaj yeem ua raws qhov xav tau tam sim no ntawm koj lub tswb

Ntau txoj haujlwm zoo li kuv tuaj yeem pom ntawm Gadgetronicx…

Pom zoo: