Cov txheej txheem:

Kev Ruaj Ntseg Hauv Tsev Nrog Hauv Qhov System: 12 Cov Kauj Ruam (nrog Duab)
Kev Ruaj Ntseg Hauv Tsev Nrog Hauv Qhov System: 12 Cov Kauj Ruam (nrog Duab)

Video: Kev Ruaj Ntseg Hauv Tsev Nrog Hauv Qhov System: 12 Cov Kauj Ruam (nrog Duab)

Video: Kev Ruaj Ntseg Hauv Tsev Nrog Hauv Qhov System: 12 Cov Kauj Ruam (nrog Duab)
Video: Tswv Yexus lub neej thaum pib txug thaum xaus 2024, Hlis ntuj nqeg
Anonim
Kev Ruaj Ntseg Hauv Tsev Nrog Hauv Qhov System
Kev Ruaj Ntseg Hauv Tsev Nrog Hauv Qhov System

Nyob zoo Readers, Nov yog Cov Lus Qhia rau kev tsim Lub Tsev Ruaj Ntseg Hauv Tsev tsis zoo li txhua lwm qhov kev ruaj ntseg. Cov kab ke no muaj qhov ua kom zoo dua TRAP thiab PANIC Hom Txuas Cov Neeg Raug Tsim Txom hauv tsev tus tswv, neeg nyob sib ze thiab Tub Ceev Xwm chaw nres tsheb hla network Hauv qhov haujlwm no kuv tab tom qhia tag nrho txoj haujlwm hla Intranet (Kaw cheeb tsam Network) tsis nyob hauv Is Taws Nem nws qhov koj xav tau yog tias koj xav ua tib yam hauv Internet..

PANIC MODE: (Qhov System Uas Muaj) Thaum nkag mus nkag tau pom los ntawm Ultrasonic Sensor. lub teeb ntawm lub tsev thiab lub suab nrov yuav tawg ua rau cov neeg nkag nkag tsis txaus siab thiab xa SMS ceeb toom rau Tus Neeg Raug Tsev tus neeg raug tsim txom thiab nws tus neeg nyob ze thiab lub Vev Xaib Ib ntus yuav tuav uas muaj cov ntaub ntawv hais txog kev ua txhaum xws li thaum twg intruder trespassed, Lub sij hawm elapsed tom qab trespass thiab ib input teb. Qhov twg tus tswv tsev tuaj yeem nkag tus lej PIN kom ua rau lub tswb nrov thiab teeb lub tsev nyob deb.

TRAP MODE: (Pom Zoo Qhov System) Thaum Tus Neeg Raug Rho Tawm raug tshawb pom Buzzer thiab Teeb yuav tsis tawg zoo li cov kab ke uas twb muaj lawm. tau txais cov ntaub ntawv zoo li Lub Sijhawm Trespass, Lub Sijhawm dhau los ntawm kev ua txhaum cai thiab chaw nyob ntawm tus neeg raug tsim txom hauv tsev thiab cov duab qhia chaw hauv Google zoo li qub los ntawm tub ceev xwm chaw nres tsheb mus rau cov neeg raug tsim txom hauv tsev. Thiab xa SMS ceeb toom rau tus neeg nyob ze thiab tus tswv tsev yuav raug xa mus.

Yam koj xav tau los tsim

Software Yuav Tsum Tau

  1. Rub tawm Arduino IDE IDE Rub tawm nplooj ntawv
  2. Rub lub tsev qiv ntawv DS3231 Rub lub tsev qiv ntawv
  3. Download Choj cov ntaub ntawv Rub tawm cov ntawv
  4. Download Tau qhov chaws Download Tau qhov chaws

Yuav Tsum Tau Kho Vajtse

  1. Arduino Uno Mega ATmega1280
  2. Ethernet ntaub thaiv npog
  3. Pawg mov ci
  4. LCD 16 x 2
  5. Yooj yim Servo
  6. Jumper hlau Txiv neej rau Txiv neej 30 txog 35
  7. Jumper hlau Poj niam rau Poj Niam 20 txog 25
  8. Jumper hlau Poj niam rau Txiv neej 10-15
  9. 4x4 keypad matrix
  10. Ultrasonic Sensor - HC -SR04
  11. Lub buzzer piezo
  12. LED teeb 2
  13. LAN Cable
  14. Arduino board fais fab cable
  15. RTC ds3231 tus qauv

Yuav tsum tau daim ntawv pov thawj

Txhawm rau Tau Txais SMS ceeb toom los ntawm kho vajtse:

  1. Account SID los ntawm Twilio API
  2. Auth Token los ntawm Twilio API
  3. Temboo App qhov tseem ceeb los ntawm Temboo API
  4. Tus lej xa los ntawm Twilio API

Ua ntej tshaj tag nrho koj li Ethernet Shield nrog Arduino Uno Mega raws li qhia hauv daim duab.

Cov kauj ruam ntawm 1 txog 5 yuav piav qhia sib cais sib txuas ntawm cov qauv nrog lub ntsiab arduino board.and thaum kawg koj pawg thawj coj saib yuav zoo li txhua txoj haujlwm raws li qhia saum toj no.

Kauj Ruam 1: Kab Up LCD 16x2 Nrog Arduino Board

Kab Up LCD 16x2 nrog Arduino Board
Kab Up LCD 16x2 nrog Arduino Board
Kab Up LCD 16x2 nrog Arduino Board
Kab Up LCD 16x2 nrog Arduino Board

Yuav tsum ua kom tiav cov kauj ruam no

  1. Arduino Mega Cov
  2. Ethernet ntaub thaiv npog
  3. LCD 16 x 2
  4. Jumper Wires Txiv neej rau Txiv neej

Cov LCD 16x2 no muaj 16 tus pin hauv nws. ua raws li daim duab thiab Txuas LCD nrog arduino board.you yuav xav tau qee tus txiv neej rau txiv neej jumper xov hlau kom ua tiav cov kauj ruam no

Kauj Ruam 2: Kab Kab Ultrasonic Sensor - HC -SR04 Nrog Arduino Board

Kab Kab Ultrasonic Sensor - HC -SR04 Nrog Arduino Board
Kab Kab Ultrasonic Sensor - HC -SR04 Nrog Arduino Board
Kab Kab Ultrasonic Sensor - HC -SR04 Nrog Arduino Board
Kab Kab Ultrasonic Sensor - HC -SR04 Nrog Arduino Board
Kab Kab Ultrasonic Sensor - HC -SR04 Nrog Arduino Board
Kab Kab Ultrasonic Sensor - HC -SR04 Nrog Arduino Board
Kab Kab Ultrasonic Sensor - HC -SR04 Nrog Arduino Board
Kab Kab Ultrasonic Sensor - HC -SR04 Nrog Arduino Board

Yuav tsum ua kom tiav cov kauj ruam no

  1. Pawg Arduino
  2. Ethernet ntaub thaiv npog
  3. Ultrasonic Sensor - HC -SR04
  4. Jumper xov hlau Txiv neej rau Poj Niam

Ib qho Ultrasonic sensor yog lub cuab yeej uas tuaj yeem ntsuas qhov deb mus rau ib qho khoom siv los ntawm kev siv lub suab nthwv dej. Nws ntsuas qhov deb los ntawm kev xa tawm lub suab nthwv dej ntawm qhov tshwj xeeb tshwj xeeb thiab mloog rau lub suab nthwv dej kom thim rov qab thiab peb siv Lub Suab Suab thev naus laus zis no ua lub tswb ntes.

Txhawm rau npog thaj tsam feem ntau nrog Sensor rau kev nyab xeeb thiab txo tus nqi ntawm kev txhim kho cov kab ke no hauv ntiaj teb tiag. Ultrasonic sensor tau tsau rau ntawm Basic Servo uas tig 180 degree thiab npog thaj tsam ntau tshaj plaws.

Kauj Ruam 3 qhia Kab ntawm Basic servo thiab sib txuas Ultrasonic sensor thiab Basic Servo ua ke hauv daim duab

Kauj Ruam 3: Kab Ua Ntej Ua Ntej Ua Haujlwm Nrog Arduino Board

Kab Tawm rau Kev Pabcuam Yooj Yim Nrog Arduino Board
Kab Tawm rau Kev Pabcuam Yooj Yim Nrog Arduino Board
Kab Tawm rau Kev Pabcuam Yooj Yim Nrog Arduino Board
Kab Tawm rau Kev Pabcuam Yooj Yim Nrog Arduino Board
Kab Tawm rau Kev Pabcuam Yooj Yim Nrog Arduino Board
Kab Tawm rau Kev Pabcuam Yooj Yim Nrog Arduino Board
Kab Tawm rau Kev Pabcuam Yooj Yim Nrog Arduino Board
Kab Tawm rau Kev Pabcuam Yooj Yim Nrog Arduino Board

Yuav tsum ua kom tiav cov kauj ruam no

  1. Pawg Arduino
  2. Ethernet ntaub thaiv npog
  3. Yooj yim Servo
  4. Jumper xov hlau

Qhov Kev Pabcuam Yooj Yim no yog siv rau kev hloov lub UltraSonic Sensor hauv 180 degree kom npog thaj tsam siab tshaj plaws rau kev nyab xeeb. thiab tom qab ntawd kuv tau txuas Ultrasonic Sensor saum toj no raws li pom hauv daim duab

Kauj Ruam 4: Kab Kab rau 4x4 Keypad Matrix, LED thiab Buzzer Nrog Arduino Board

Kab Rau 4x4 Keypad Matrix, LED thiab Buzzer Nrog Arduino Board
Kab Rau 4x4 Keypad Matrix, LED thiab Buzzer Nrog Arduino Board
Kab Rau 4x4 Keypad Matrix, LED thiab Buzzer Nrog Arduino Board
Kab Rau 4x4 Keypad Matrix, LED thiab Buzzer Nrog Arduino Board
Kab Rau 4x4 Keypad Matrix, LED thiab Buzzer Nrog Arduino Board
Kab Rau 4x4 Keypad Matrix, LED thiab Buzzer Nrog Arduino Board
Kab Rau 4x4 Keypad Matrix, LED thiab Buzzer Nrog Arduino Board
Kab Rau 4x4 Keypad Matrix, LED thiab Buzzer Nrog Arduino Board

Yuav tsum ua kom tiav cov kauj ruam no

  1. Pawg Arduino
  2. Ethernet ntaub thaiv npog
  3. 4x4 Keypad Matrix
  4. LED
  5. Lub buzzer piezo

Nco tseg: 4x4 keypad matrix muaj 8 tus pin pib ntawm sab xis mus rau sab laug khawm, Buzzer tsuas yog siv thaum Kev Ruaj Ntseg ua haujlwm nyob rau hauv Panic hom, thiab ntawm no peb xav tias LED yog lub teeb ntawm lub tsev nws tseem siv thaum lub kaw lus ruaj ntseg yog khiav hauv Panic hom txhawm rau ua kom nkag mus rau Panic..

Kauj Ruam 5: Kab Rau RTC DS3231 Nrog Arduino Board

Kab Rau RTC DS3231 Nrog Arduino Board
Kab Rau RTC DS3231 Nrog Arduino Board
Kab Rau RTC DS3231 Nrog Arduino Board
Kab Rau RTC DS3231 Nrog Arduino Board

Yuav tsum ua kom tiav cov kauj ruam no

  1. Pawg Arduino
  2. Ethernet ntaub thaiv npog
  3. TSO DS3231
  4. Jumper xov hlau Txiv neej rau Txiv neej

Nco tseg: RTC (Lub Sijhawm Sijhawm) tus qauv saib xyuas lub sijhawm zoo ib yam li peb lub khoos phis tawj lossis lub khoos phis tawj saib xyuas lub sijhawm txawm tias thaum koj lub khoos phis tawj tawm ib ntus.

Ib yam nkaus li RTC module ua haujlwm. Yog li kom pib nrog RTC module thawj zaug koj yuav tsum teeb tsa lub sijhawm thaum pib. Kuv yuav qhia cov vis dis aus txog kev teeb tsa Lub Sijhawm hauv koj li RTC module thiab ib zaug los teeb tsa lub sijhawm uas koj xav tau tsis tas yuav tsum tau ua dua thiab rov pib dua nrog DS3231 RTC Module.

Kauj Ruam 6: Cia Configure Software Ib puag ncig

Cia Configure Software Ib puag ncig
Cia Configure Software Ib puag ncig
Cia Configure Software Ib puag ncig
Cia Configure Software Ib puag ncig

Raws li Cov Kev Xav Tau tau tham hauv kev qhia koj yuav tsum rub tawm Arduino IDE, ds3231 lub tsev qiv ntawv, cov ntawv ua pawg thiab rub tawm qhov chaws.

  1. Tom qab rub tawm Arduino IDE tso nws. Nyem kos duab> suav nrog tsev qiv ntawv> Tswj Tsev Qiv Ntawv> Tshawb nrhiav "Keypad" tom qab ntawv xaiv "Keypad los ntawm Mark Stanley" thiab nyem Nruab
  2. Ib zaug ntxiv Nyem> kos duab> suav nrog tsev qiv ntawv> Ntxiv. ZIP tsev qiv ntawv> Xaiv rau ds3231 Zip cov ntaub ntawv thiab ntshuam nws.

Kauj Ruam 7: Cia Tau Txais Daim Ntawv Pov Thawj Yuav Tsum Tau Ua

Cia Tau Txais Daim Ntawv Pov Thawj Yuav Tsum Tau Ua
Cia Tau Txais Daim Ntawv Pov Thawj Yuav Tsum Tau Ua

Raws li tau hais hauv Kev Taw Qhia koj xav tau koj tus kheej daim ntawv pov thawj los ua txoj haujlwm, zoo li

  • Twilio Account SID
  • Twilio Auth Token
  • Temboo app tseem ceeb thiab
  • Tus lej xa los ntawm Twilio.
  1. Nkag mus rau hauv Twilio lub vev xaib Twilio Qhov Chaw koj yuav pom koj tus lej SID thiab Tus lej Sau Npe ntawm koj nplooj ntawv console.
  2. tom qab ntawd mus rau programmable SMS> nyem rau tsim thiab kawm nyem rau "Tau Txais Tus lej" qhov twg koj tuaj yeem tau txais koj tus lej tshwj xeeb Tus xa thiab los ntawm tus lej Sender tshwj xeeb no koj yuav tau txais SMS ceeb toom thaum nkag mus nkag.
  3. Tom qab ntawd koj yuav tsum sau npe koj li SMS tau txais tus lej xov tooj hauv Twilio rau qhov nyem "Tus lej Xov Tooj"> nyem Pov Thawj Tus Hu Xov Tooj ID> nyem ntxiv khawm kom ntxiv koj tus lej xov tooj kom tau txais SMS ceeb toom.
  4. Luam qhov ntawv pov thawj no thiab tom qab ntawv nkag mus rau Temboo API lub vev xaib Temboo API site. Nyob rau sab laug sab tes hauv Choreos nyem rau Twilio> nyem SMS lus> nyem SendSMS. Tom qab ntawd koj yuav pom cov lus teb rau tus account SID, Tus lej cim npe, Lub cev, Los ntawm thiab Rau.
  5. Nkag mus rau tag nrho cov ntawv pov thawj tam sim ntawd thiab sau tus lej Sender tshwj xeeb hauv "LOS NTAWM" teb
  6. Nyem "Khiav Tam Sim No"

Koj yuav tau txais kev ceeb toom.

NCO TSEG: Koj yuav tsum tau txais "LOS NTAWM" tus lej Sender tshwj xeeb thiab "TO" sau koj tus lej xov tooj kom tau txais SMS ceeb toom.

Kauj Ruam 8: Kab ntawm Txoj Cai Koj Yuav Tsum Tau Sau Koj Cov Ntawv Pov Thawj

Kab ntawm Txoj Cai Qhov Twg Koj Yuav Xav Tau Sau Koj Cov Ntawv Pov Thawj
Kab ntawm Txoj Cai Qhov Twg Koj Yuav Xav Tau Sau Koj Cov Ntawv Pov Thawj

Ntawm no kuv yuav hais txog kab uas koj xav tau nkag mus rau koj daim ntawv pov thawj sab hauv qhov chaws.

  1. Hauv tsib qhov chaw koj yuav tsum tau hloov koj li "Tus lej SID tus lej" (Kab tsis muaj: 440, 467, 495, 525, 554)
  2. Hauv tsib qhov chaw koj yuav tsum tau hloov koj tus "Auth Token key" (Kab tsis muaj: 432, 459, 487, 517, 546)
  3. Hauv tsib qhov chaw koj yuav tsum tau hloov koj tus "TO" tus lej (Kab tsis muaj: 434, 461, 489, 519, 548) Muab koj tus lej xov tooj uas yuav tsum tau sau npe hauv "Tus ID nkag mus pov thawj"
  4. Hauv Tsib qhov chaw koj yuav tsum tau hloov koj tus "LOS NTAWM" tus lej (Kab tsis muaj: 436, 463, 491, 521, 550) Muab tshuaj txhuam tus lej tshwj xeeb uas koj tau txais los ntawm twilio.
  5. Hauv TembooAccount.h cov ntawv #define TEMBOO_APP_KEY "#Muab koj tus lej App tso rau ntawm no#" Koj tuaj yeem tau txais koj tus lej yuam sij los ntawm koj tus lej Temboo

Thaum koj tau dhau koj daim ntawv pov thawj hauv LOC muab (kab ntawm cov lej) koj yog qhov zoo los ua koj li kev cai.

Kauj Ruam 9: Kev Sib Txuas Choj

Kev Sib Txuas Choj
Kev Sib Txuas Choj
Kev Sib Txuas Choj
Kev Sib Txuas Choj

Tam sim no Xaiv LAN adapter thiab lub hauv paus ntawm internet nyem tam sim ntawd nyem txuas txuas. Qhov no yuav txuas Intranet kev sib txuas ntawm koj lub khoos phis tawj thiab Ethernet daim thaiv ua lub network kaw (Intranet)

Tom qab txuas kev sib txuas koj yuav tsum qhib thiab kaw Batch cov ntaub ntawv uas koj rub tawm ntawm KAUJ RUAM 1.

Kauj Ruam 10: Cov Lus Qhia Kawg

Cov Lus Qhia Kawg
Cov Lus Qhia Kawg
Cov Lus Qhia Kawg
Cov Lus Qhia Kawg

ntsaws koj lub zog txuas Arduino nrog koj lub khoos phis tawj thiab LAN cable los ntawm koj lub laptop LAN chaw nres nkoj mus rau Ethernet ntaub thaiv npog LAN chaw nres nkoj thiab tom qab ntawd Nyem "upload" nws yuav siv sijhawm 5 feeb kom tau rub tawm.

Thaum nws tau tshaj tawm txoj haujlwm yuav pib ua tiav DHCP IP chaw nyob yuav tau txais tom qab ntawd nws yuav thov tus PIN nkag mus

  1. CUAB QAUV PIN "A33333"
  2. PANIC MODE PIN "B66666"
  3. DEACTIVATE PIN "D00000"

Raws li tus lej PIN nkag mus rau hauv kab ke yuav pib ua haujlwm.

Koj tuaj yeem hloov tus lej PIN raws li qhov koj xav tau los ntawm kev kho qhov chaws.

Kauj Ruam 11: Panic Mode Results

Ntshai hom kev tshwm sim
Ntshai hom kev tshwm sim
Ntshai hom kev tshwm sim
Ntshai hom kev tshwm sim
Ntshai hom kev tshwm sim
Ntshai hom kev tshwm sim

Thaum tus neeg nkag nkag tau tshawb pom Buzzer thiab LED (zoo li lub teeb hauv tsev) yuav tawg thiab SMS ceeb toom yuav xa mus rau tus nyob ze thiab tus tswv tsev raws li qhia hauv daim duab, thiab lub vev xaib ib ntus yuav tsuas yog rau tus tswv tsev, Qhov chaw nyob ntawm lub vev xaib yuav yuav xa mus rau tus tswv tsev ntawm SMS ceeb toom

Screenshots ntawm lub vev xaib tau tshaj tawm saum toj no.

Kauj Ruam 12: Ntsuam Xyuas Cov Ntsiab Lus

Trap Mode Results
Trap Mode Results
Trap Mode Results
Trap Mode Results
Trap Mode Results
Trap Mode Results
Trap Mode Results
Trap Mode Results

Thaum pom tus neeg nkag tsis pom Buzzer thiab lub teeb yuav tawg es tsis siv SMS ceeb toom yuav xa mus rau tus nyob ze, Tus tswv tsev thiab Tub Ceev Xwm tus tub ceev xwm raws li pom hauv daim duab, thiab lub vev xaib ib ntus yuav tsuas yog siv rau tus tswv tsev thiab tub ceev xwm cov ntaub ntawv uas lub vev xaib tuav tau tshaj tawm saum toj no raws li daim duab thiab tseem piav qhia ib feem, Qhov chaw nyob ntawm lub vev xaib yuav raug xa mus rau tus tswv tsev thiab tub ceev xwm ntawm SMS ceeb toom.

SMS ceeb toom tuav cov ntaub ntawv zoo li

  1. Chaw nyob ntawm nplooj ntawv webpage
  2. Google daim ntawv qhia kev taw qhia txuas los ntawm chaw nres tsheb tub ceev xwm mus rau tsev neeg raug tsim txom

Screenshots ntawm lub vev xaib tau tshaj tawm saum toj no.

Qhov Zoo ntawm Qhov System

  1. Txoj hauv kev tshiab kom ruaj ntseg koj lub tsev, nyob deb nrog kev ua tub ceev xwm tam sim thiab koj cov neeg nyob ze
  2. Tsawg dua kev siv tus nqi
  3. Txhawb Kev Nyab Xeeb Kev Nyab Xeeb
  4. Tsis muaj kev zam txim rau Tub Ceev Xwm vim tsis ua raws li kev ua tub sab vim tias cov ntaub ntawv ntawm kev ua tub sab yog digitally ceeb toom rau ntawm qhov chaw.
  5. Txo tus nqi ntawm kev ua tub sab.

Pom zoo: