Cov txheej txheem:

Raspberry Pi Motion Sensing Camera in Floodlight Housing: 3 Kauj Ruam
Raspberry Pi Motion Sensing Camera in Floodlight Housing: 3 Kauj Ruam

Video: Raspberry Pi Motion Sensing Camera in Floodlight Housing: 3 Kauj Ruam

Video: Raspberry Pi Motion Sensing Camera in Floodlight Housing: 3 Kauj Ruam
Video: This device DESTROYS your Security Cameras! 2024, Hlis ntuj nqeg
Anonim
Raspberry Pi Motion Sensing Camera in Floodlight Housing
Raspberry Pi Motion Sensing Camera in Floodlight Housing

Kuv tau tinkering nrog Raspberry Pi ib pliag tam sim no siv lawv rau ntau yam me me tab sis feem ntau yog lub koob yees duab CCTV txhawm rau saib xyuas kuv lub tsev thaum nyob deb nrog kev ua haujlwm kom pom kev nyob deb tab sis tseem tau txais email ntawm cov duab snapshots thaum cov lus tsa suab kuaj pom.

Ib pliag kuv tau xav muab ib lub koob yees duab no tso rau sab nraud thiab hais ncaj qha rau kuv lub qhov rooj, tab sis qhov teeb meem rau kuv ib txwm yog tus tiv thaiv txhua qhov ntawm huab cua, tshwj xeeb tshaj yog kom nws tsis muaj dej. Tom qab me ntsis xav txog nws thiab saib lub teeb dej nyab kuv tau tso ib puag ncig Kuv txiav txim siab tias qhov no yuav yog lub tsev zoo tshaj plaws los siv raws li lawv yog IP44 tus nqi.

Yog li ntawm no, piav qhia hauv kuv thawj Kev Qhia, yog cov kauj ruam uas kuv tau coj los tsim lub koob yees duab teeb tsa no.:-)

Khoom siv

Qhov koj yuav xav tau:

  • Raspberry Pi Zero W.
  • USB-A rau micro-USB cable
  • IP44 ntsuas cov teeb hluav taws xob halogen
  • PIR sensor rau Raspberry Pi
  • Raspberry Pi lub koob yees duab module. Raws li Pi Zero lub rooj tsav xwm muaj qhov chaw me me CSI txuas, lub koob yees duab cable uas hloov kho los ntawm tus qauv mus rau tus pinout me me yog xav tau (lossis koj tuaj yeem siv qhov twb tau tsim Pi Zero lub koob yees duab module)
  • Cov ntawv yas qub ntim cov khoom, lossis qee yam uas tsis yog-coj ua uas koj tuaj yeem teeb lub koob yees duab kom ruaj ntseg nyob hauv tsev
  • Cov yas dawb ua daim npav
  • motionEyeOS
  • Ceev thiab ntsia hlau (Kuv siv 6 tus ntsia hlau thiab 14 txiv ntseej) - cov no kuv tau khaws los ntawm lwm rooj plaub Pi

Cov cuab yeej koj yuav xav tau:

  • Soldering hlau thiab xaim
  • Hlau cutters/stripper
  • Hluav taws xob kais
  • Ntsia Hlau
  • Scalpel thiab txiab
  • Laum cov khoom (1 qhov loj me ntawm cov ntsia hlau rau lub koob yees duab thiab PIR sensor thiab lwm yam rau lub koob yees duab lens nws tus kheej)

Kauj ruam 1: Npaj Pi thiab OS

Npaj Pi thiab OS
Npaj Pi thiab OS
Npaj Pi thiab OS
Npaj Pi thiab OS
Npaj Pi thiab OS
Npaj Pi thiab OS

Ua ntej tshaj, peb yuav tsum npaj tawm Raspberry Pi thiab motioEyeOS.

Raws li txoj haujlwm no cuam tshuam ntau ntxiv kev tsim vaj tsev rau Pi, lub koob yees duab thiab PIR sensor. thiab vim tias teeb tsa ntawm motionEyeOS ntawm Raspberry Pi tau npog me ntsis ntawm cov rooj sib tham muaj nuj nqis thiab tej zaum txawm tias ntawm Cov Lus Qhia, Kuv tau txiav txim siab tsis mus rau hauv kev nthuav dav ntawm qhov no.

Essentiall Kuv tau teeb tsa motionEyeOS rau hauv kuv daim npav nco, teeb tsa kuv li WiFi network thiab ib zaug nws tau online, kho qhov teeb tsa hauv motioEyeOS rau lub ntsuas thiab tus cwj pwm lub koob yees duab.

Kauj Ruam 2: Npaj Tshooj (i) - Vaj Tsev thiab USB Fais Fab Cable

Sau cov ntu ua ke thiab pib los ntawm:

  1. Tshem tawm sab hauv ntawm lub teeb dej nyab. Kuv tsis muaj duab ntawm ib feem ntawm cov txheej txheem hmoov tsis zoo li kuv tsis tau xav txog kev tsim Cov Lus Qhia no nyob rau theem ntawd, tab sis qhov tseeb, siv koj lub taub hau ntswj qhib lub qhov hluav taws xob nyob tom qab ntawm lub teeb thiab txuas tag nrho cov xov hlau uas twb muaj lawm. Peb yuav tsis xav tau ib qho ntawm no yog li lawv tuaj yeem muab pov tseg. Qhib pem hauv ntej ntawm lub teeb thiab tshem lub teeb (yog tias muaj ib qho), ntswj ntsia hlau/tshem tawm daim phiaj tiv thaiv rov qab, tom qab ntawd lub qhov muag teeb. Ib zaug ntxiv, cov no tuaj yeem muab pov tseg.

  2. Tom ntej no, siv peb lub tshuab txiav hlau, peb yuav tsum txiav lub microUSB kawg ntawm USB cable, qhov no yog li nws tuaj yeem pub los ntawm cov kab uas twb muaj lawm ntawm lub teeb. Kuv kwv yees kwv yees li 15-20cm los ntawm qhov kawg ntawm kab ntawv tso cai rau chav txaus rau ua si, txawm li cas los xij kuv xav tias 15cm yuav txaus.
  3. Maj mam tshem tawm qhov kawg kom nthuav tawm cov kab hluav taws xob ib leeg, saib xyuas kom cov ntawv ci thaiv kom zoo thiab siv cov xov tooj hluav taws xob strippers nthuav tawm qhov kawg.
  4. Tom qab ntawd peb yuav tsum tau pub lub xovtooj ntev mus rau tag nrho hauv lub qhov hluav taws xob, siv tagnrho thiab cov foob muab, ua raws li qhov luv luv peb txiav tawm ua ntej dhau los ntawm tag nrho hauv lub teeb uas nws muaj hluav taws xob.
  5. Thaum kuv muaj cov xaim hluav taws xob nyob hauv qhov chaw, Kuv rov koom nrog cov hluav taws xob txuas ntxiv los ntawm kev sib ntswg lawv ua ke thiab tom qab ntawd siv cov hlau txuas ntxiv rau ntawm cov laug kom ua kom muaj kev sib txuas zoo. Kuv mam li qhwv txhua qhov kawg hauv daim kab xev hluav taws xob thaum kawg ua ke lawv txhua tus ua ke thiab kaw lawv. Saib xyuas kom ntseeg tau tias tsis muaj ib tus neeg tooj liab/nyiaj ntawm cov xov hlau raug nthuav tawm.

  6. Thaum kawg ntswj kom nruj lub qhov hluav taws xob rov qab ua ke.

Kauj Ruam 3: Npaj Tshooj (ii) - Pi Board, Lub Koob Yees Duab thiab PIR Sensor Mounting

Npaj Ntu (ii) - Pi Board, Lub Koob Yees Duab thiab PIR Sensor Mounting
Npaj Ntu (ii) - Pi Board, Lub Koob Yees Duab thiab PIR Sensor Mounting
Npaj Ntu (ii) - Pi Board, Lub Koob Yees Duab thiab PIR Sensor Mounting
Npaj Ntu (ii) - Pi Board, Lub Koob Yees Duab thiab PIR Sensor Mounting
Npaj Ntu (ii) - Pi Board, Lub Koob Yees Duab thiab PIR Sensor Mounting
Npaj Ntu (ii) - Pi Board, Lub Koob Yees Duab thiab PIR Sensor Mounting
Npaj Ntu (ii) - Pi Board, Lub Koob Yees Duab thiab PIR Sensor Mounting
Npaj Ntu (ii) - Pi Board, Lub Koob Yees Duab thiab PIR Sensor Mounting
  1. Tom ntej no kuv pib teeb tsa lub koob yees duab kom nce mus rau sab hauv lub teeb. Txog qhov no kuv siv daim qub ntawv ntim cov ntawv uas kuv lub lauj kaub tshiab tau los thiab siv txiab thiab taub hau taub hau txiav tawm ib ntu uas yuav haum zoo nyob hauv qhov pom kev. Kuv kuj tau tsim ib tsob ntoo los xaub Pi board rau hauv (raws li daim ntawv uas kuv siv yog L-puab. Kuv muaj peev xwm tsuas yog "ncua" Pi board nyob hauv nruab nrab ntawm txoj hauv kev no.
  2. Hauv theem no kuv tseem txuas ib kawg ntawm PIR thiab lub koob yees duab txuas mus rau lub rooj tsavxwm.
  3. Siv cov yas yas tawv tawv kuv tau pw ib ncig ntawm qee qhov haujlwm kuv ua tib zoo ntsuas tawm qhov twg kuv yuav tso lub koob yees duab thiab lub ntsuas qhov ntsuas thiab cim tawm cov ntsia hlau qhov nrog rau lub qhov rau lub lens thiab rau PIR sensor. Kuv kuj txiav nws kom me me kom kuv tuaj yeem txiav nws mus rau hauv lub teeb txaus kom tso cai rau lub qhov rais iav ntawm lub teeb dej nyab lub tsev kaw kom raug.
  4. Siv lub taub hau taub hau Kuv txiav tawm lub xwmfab rau PIR sensor.
  5. Siv cov khoom siv laum kuv ua lub qhov ntsia hlau thiab lub qhov muag lub koob yees duab.
  6. Tom qab ntawd kuv tau teeb tsa ob lub koob yees duab thiab PIR, ntswj lawv kom nyab xeeb hauv qhov chaw siv cov ntsia hlau thiab cov txiv ntoo.
  7. Tom qab ntawd kuv txuas cov kab txuas rau PIR thiab lub koob yees duab thiab txuas lub USB fais fab coj mus rau Pi board.
  8. Qhov kawg yog tom qab ntawd tsuas yog muab cov yas yas tso rau hauv qhov chaw thiab kaw lub teeb.

Kuv tseem tsis tau ua tiav qhov teeb tsa sab nraud tab sis sai li sai tau kuv tau ua li ntawd, Kuv yuav hloov kho Cov Lus Qhia no nrog qhov ntawd:-)

Ua tsaug rau kev nyeem ntawv.

-James

Pom zoo: