Cov txheej txheem:
- Kauj Ruam 1: Cov Ntaub Ntawv Xav Tau
- Kauj ruam 2: Txheej txheem
- Kauj Ruam 3: Txoj Cai Txheej Txheem
- Kauj Ruam 4: Cov Khoom Kawg
Video: RPI Kev Ruaj Ntseg: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Muaj nuj nqi ntawm RPI Security Tswb
Hauv cov lus qhia no koj yuav kawm paub yuav ua li cas thiaj ua haujlwm hmo ntuj lub tswb nrov. Yog tias lub kaw lus pom tus neeg nkag mus nws yuav sau tam sim ntawd "INTRUDER" ntawm koj lub monitor nrog rau ua suab nrov nrov los ntawm lub tswb. Cov leds tseem yuav nyem rau hauv tus qauv nrog rau lub tswb.
Kauj Ruam 1: Cov Ntaub Ntawv Xav Tau
Cov Ntaub Ntawv Xav Tau:
- Led cov xim twg (4 pom zoo)
- Jumper xov hlau
- Buzzer
- 330 resistors (tib yam li leds)
- Tsab ntawv tsa suab sensor
- 3 txiv neej rau poj niam cov xov hlau
- Lub Teeb Ntsuas Tus Kheej
- Capacitor
- Pawg Mov Ci
- T-Cobbler
Kauj ruam 2: Txheej txheem
Txheej txheem:
- Thawj qhov chaw muaj hwj chim thiab tsaws koj ob txoj kab
- Muab koj 330 tus tiv thaiv rau hauv qab ntawm lub rooj mov ci pib ntawm txoj kev tsheb nqaj hlau mus rau ib txoj kev tsheb nqaj hlau ntawm lub rooj mov ci
- Tom qab ntawd tso koj cov leds ib sab ntawm koj tus tiv thaiv. Cov ceg luv mus ncaj qha rau sab xis ntawm tus tiv thaiv yog tias koj cov resistors tau muab tso rau sab laug ntawm lub rooj mov ci.
- Cov ceg ntev ntawm coj mus rau txhua qhov chaw koj xav tau tab sis xyuas kom muaj txhua yam nyob hauv txoj kab sib txawv
- Txuas cov xov hlau jumper mus rau qhov ntev coj ntawm koj coj
- Txuas cov xov hlau txuas mus rau txhua tus gpio pins
- Tso lub buzzer saum cov resistors nrog cov ceg luv mus rau hauv cov tsheb nqaj hlau hauv av
- Txuas lub xov hlau txuas mus rau lub suab nrov thiab tom qab ntawd nkag mus rau tus pin gpio
- Tam sim no txuas lub ldr rau hauv txoj kab hluav taws xob thiab txoj kev tsheb nqaj hlau ntawm lub rooj noj mov
- Txuas luv luv ceg ntawm lub tshuab hluav taws xob mus rau txoj kev tsheb nqaj hlau thiab txhais ceg ntev mus rau sab xis ntawm ldr
- Txuas lub jumper hlau mus rau sab laug ntawm ldr thiab tom qab ntawd mus rau hauv gpio ping
- Thaum kawg txuas peb tus txiv neej rau poj niam cov xov hlau mus rau lub suab txav
- Txuas txhua tus txiv neej rau poj niam cov xov hlau rau hauv av, 5v thiab gpio feem ua kom ntseeg tau tias txhua tus tau txuas nrog rau qhov kawg ntawm lub suab tsa suab
Kauj Ruam 3: Txoj Cai Txheej Txheem
Txoj Cai Txheej Txheem
Nco ntsoov tias koj tab tom siv nab hab sej 3 vim tias txoj cai no yuav tsis ua haujlwm ntawm lwm cov software.
Ua ntej peb yuav tsum ntshuam yam raug
los ntawm gpiozero ntshuam LED, Buzzer, LightSensor, MotionSensor, los ntawm lub sijhawm ntshuam pw
Tam sim no peb yuav tsum txheeb xyuas peb cov khoom siv hluav taws xob. Tus lej ntawm qhov kawg yuav tsum yog tus naj npawb ntawm qhov chaw nres nkoj gpio koj txuas nrog koj lub xaim jumper. Txog cov cai hauv qab no koj yuav tsum hloov tus lej nrog koj qhov chaw nres nkoj gpio.
Teeb 1 = LED (21)
Teeb 2 = LED (20)
Lub teeb 3 = LED (12)
Teeb4 = LED (16)
tswb = Buzzer (19)
ldr = LightSensor (13, 5, 1, 0.1)
pir = MotionSensor (24)
Tam sim no nws yog lub sijhawm los kho qhov muaj kua ntawm cov cai.
thaum Muaj Tseeb:
yog ldr.light_detected thiab pir.motion_detected:
print ("muaj kev nyab xeeb")
lub teeb1.off ()
lub teeb2.off ()
lub teeb3.off ()
lub teeb4.off ()
lwm tus:
ldr.when_dark thiab pir.motion_detected
print ("INTRUDER INTRUDER INTRUDER INTRUDER")
tswb.on ()
lub teeb 1.on ()
tsaug zog (0.1)
lub teeb1.off ()
lub teeb2.on ()
tsaug zog (0.1)
lub teeb2.off ()
lub teeb 3.on ()
tsaug zog (0.1)
lub teeb3.off ()
teeb4.on ()
tsaug zog (0.1)
lub teeb4.off ()
Nov yog qhov chaws yuav zoo li ua tiav
los ntawm gpiozero ntshuam LED, Buzzer, LightSensor, MotionSensor, los ntawm lub sijhawm ntshuam pw
teeb 1 = LED (21)
teeb2 = LED (20)
lub teeb 3 = LED (12)
teeb4 = LED (16)
tswb = Buzzer (19)
ldr = LightSensor (13, 5, 1, 0.1)
pir = MotionSensor (24)
thaum Muaj Tseeb:
yog ldr.light_detected thiab pir.motion_detected:
print ("muaj kev nyab xeeb")
lub teeb1.off ()
lub teeb2.off ()
lub teeb3.off ()
lub teeb4.off ()
lwm tus:
ldr.when_dark thiab pir.motion_detected
print ("INTRUDER INTRUDER INTRUDER INTRUDER")
tswb.on ()
lub teeb 1.on ()
tsaug zog (0.1)
lub teeb1.off ()
lub teeb2.on ()
tsaug zog (0.1)
lub teeb2.off ()
lub teeb 3.on ()
tsaug zog (0.1)
lub teeb3.off ()
teeb4.on ()
tsaug zog (0.1)
lub teeb4.off ()
Tam sim no khiav cov cai thiab tus qauv yuav pom koj cov ntawv
Kauj Ruam 4: Cov Khoom Kawg
Thaum kawg, qhov no yog qhov system yuav tsum zoo li ua tiav:
Pom zoo:
IOT Kev Ruaj Ntseg Tsev Ruaj Ntseg: 3 Kauj Ruam
IOT Kev Ruaj Ntseg Hauv Tsev: Ib qho ntawm cov ntawv thov IoT uas muaj txiaj ntsig tshaj plaws yog kev nyab xeeb hauv tsev. Xav txog ib tus tub sab txiav koj lub koob yees duab kev ruaj ntseg xaim thaum sim tsoo rau hauv koj lub tsev, qhov no yuav tsis tshwm sim yog tias koj lub kaw lus kev nyab xeeb mus wireless thiab ntse
Kev Ruaj Ntseg Ruaj Ntseg RFID: 3 Kauj Ruam
Kev Ruaj Ntseg Ruaj Ntseg RFID: Qhov no tsuas yog ntsuas yog tias daim npav rfid ua haujlwm rau thawj lub sijhawm
DIY Cheep/Cov Dej Ruaj Ruaj Ruaj Ruaj Ruaj Ruaj Ruaj Ruaj Zoo rau Tsiaj: 7 Kauj Ruam
DIY Cheep/Cov Dej Rhaub Dej Zoo rau Cov Tsiaj Tsiaj: Yog li koj tab tom khaws aub/luav/miv/… sab nraum thiab lawv cov dej ua kom khov thaum lub caij ntuj no. Tam sim no ib txwm koj yuav coj lawv mus sab hauv lossis yuav cov tais diav ua kom sov, tab sis cov tsiaj no tej zaum muaj ntxhiab tsw, koj tsis muaj chav nyob, thiab koj tsis tuaj yeem them $ 4
Nab hab sej Kev Ruaj Ntseg Kev Ruaj Ntseg/Kev Txiav Txim Siab Software: 3 Kauj Ruam
Python Kev Nyab Xeeb Kev Nyab Xeeb/Kev Nyab Xeeb Kev Nyab Xeeb Software: Hauv Cov Lus Qhia Kuv yuav qhia koj li cas nrog qee qhov Python yooj yim, koj tuaj yeem khaws koj cov ntaub ntawv ruaj ntseg siv kev lag luam tus qauv AES.Requirements:- Python 3.7- PyAesCrypt library- hashlib libraryIf koj tsis muaj cov tsev qiv ntawv no, koj tuaj yeem teeb tsa tau yooj yim los ntawm
Tsho Ruaj Ntseg Ruaj Ntseg: Kev Ruaj Ntseg Ris Tsho LED Tsho: 11 Cov Kauj Ruam (nrog Duab)
Ris tsho Ruaj Ntseg Ruaj Ntseg: Kev Ruaj Ntseg Zoo LED Jacket: Txhim kho lub teeb yuag thiab siv tau cov khoom siv hluav taws xob tau qhib qhov muaj peev xwm tshiab rau kev siv thev naus laus zis mus rau hauv lub tebchaws thiab siv nws los ua kom muaj kev nyab xeeb ntawm cov neeg tshawb nrhiav. Txog rau qhov haujlwm no, Kuv kos kuv tus kheej kev paub nrog kev tawm sab nraud