Cov txheej txheem:

Pi Lub Koob Yees Duab: 6 Kauj Ruam (nrog Duab)
Pi Lub Koob Yees Duab: 6 Kauj Ruam (nrog Duab)

Video: Pi Lub Koob Yees Duab: 6 Kauj Ruam (nrog Duab)

Video: Pi Lub Koob Yees Duab: 6 Kauj Ruam (nrog Duab)
Video: Nus Ham - Ntsuj Plig Tu Siab ❤️❤️(Nkauj Tawm Tshiab 2023)[Official MV] 2024, Kaum ib hlis
Anonim
Image
Image
Pi Lub Koob Yees Duab
Pi Lub Koob Yees Duab
Pi Lub Koob Yees Duab
Pi Lub Koob Yees Duab

Qhov no yog qhov haujlwm zoo kawg lis xaus ua haujlwm siv Raspberry Pi thiab Pi Camera module, uas tseem yuav ua ob zaug ua lub koob yees duab ruaj ntseg rau koj chav nyob lossis chav kawm. Kuj xav hais txog qhov kev tshoov siab rau txoj haujlwm no yog kev qhia hu ua Hidden GoPro Security Camera, uas siv GoPro lub koob yees duab tsis yog Raspberry Pi Lub Koob Yees Duab.

Hauv kuv qhov xwm txheej kuv tab tom siv tus tuav lub phiaj xwm qub uas kuv tsis siv ntxiv lawm, tab sis koj tuaj yeem ua raws nrog phau ntawv qub raws li koj pom hauv qhov qhia qhia zais GoPro Security Camera.

Txog rau software ntawm Raspberry Pi Zero W, Kuv tab tom siv motionEyeOS uas tig koj Pi mus rau hauv lub cuab yeej saib xyuas, thiab koj tseem tuaj yeem ua lwm yam hauv koj lub tsev zoo li tus hais lus lossis teeb kom ntshai tus neeg nkag. Hauv kuv qhov xwm txheej Kuv siv IFTTT qhib kuv lub Phillips HUE teeb nyob hauv tsev thiab xa kuv tus kheej email.

Kauj Ruam 1: Yam Koj Yuav Tsum Tau

Yam Koj Yuav Tsum Tau
Yam Koj Yuav Tsum Tau
Yam Koj Yuav Tsum Tau
Yam Koj Yuav Tsum Tau

Nov yog cov npe khoom siv hluav taws xob thiab Cov Cuab Yeej uas koj yuav xav tau ntxiv rau tus tuav lub phiaj xwm qub lossis phau ntawv qub.

  • Raspberry Pi Lub Koob Yees Duab
  • Raspberry Pi, hauv kuv qhov xwm txheej kuv siv Raspberry Pi Zero tab sis koj tuaj yeem siv ib qho version ntawm Pi B+ lossis siab dua. -Raspberry Pi Lub Koob Yees Duab cable, qhov no yuav vam khom qhov twg ntawm Pi uas koj npaj yuav siv. Ntawm no kuv tau txuas Pi Zero txuas cable uas txawv thaum piv rau lwm tus Raspberry Pi
  • SD daim npav
  • USB mini cable thiab xov tooj ntawm tes fais fab phab ntsa qhov hluav taws xob.

Ib qho ntxiv, koj yuav xav tau qee yam los tuav Pi Lub Koob Yees Duab thiab Pi, yog tias koj muaj lub tshuab luam ntawv 3D yooj yim koj tuaj yeem siv STL cov ntaub ntawv hauv qib hauv qab no, lossis siv cov ntaub ntawv raug cai Raspberry Pi xoom.

Thiab koj tseem yuav xav tau qee cov kua nplaum los yog rab phom kub kub.

Kauj Ruam 2: 3D Luam cov STL Cov Ntaub Ntawv Txuas nrog (Yog tias Koj Muaj Teeb Meem)

3D Luam STL Cov Ntaub Ntawv Txuas nrog (Yeem Tau Yog Koj Muaj Teeb Meem)
3D Luam STL Cov Ntaub Ntawv Txuas nrog (Yeem Tau Yog Koj Muaj Teeb Meem)
3D Luam STL Cov Ntaub Ntawv Txuas nrog (Yeem Tau Yog Koj Muaj Teeb Meem)
3D Luam STL Cov Ntaub Ntawv Txuas nrog (Yeem Tau Yog Koj Muaj Teeb Meem)
3D Luam STL Cov Ntaub Ntawv Txuas nrog (Yeem Tau Yog Koj Muaj Teeb Meem)
3D Luam STL Cov Ntaub Ntawv Txuas nrog (Yeem Tau Yog Koj Muaj Teeb Meem)

Nov yog cov kauj ruam xaiv tau, yog tias koj muaj lub tshuab luam ntawv 3D yooj yim. Rub tawm STL cov ntawv txuas nrog thiab ntxiv lawv rau koj lub tshuab txiav thiab 3D luam cov ntawv. Hauv kuv qhov xwm txheej, Kuv tab tom siv Hatchbox xim av PLA + yam twg zoo ib yam rau qhov phiaj xwm phiaj xwm.

Rau kev hlais kuv tab tom siv Slic3r nrog -

  • Txheej qhov siab li 0.3 hli
  • Sau qhov ntom ntom mus rau 15 %.
  • Kub 205 C Luam cov ntaub ntawv yuav siv sijhawm li 30-40 feeb, nyob ntawm koj lub tshuab luam ntawv teeb tsa.

Kauj Ruam 3: Teeb MotionEye ntawm Raspberry Pi

Teeb MotionEye ntawm Raspberry Pi
Teeb MotionEye ntawm Raspberry Pi

Txhawm rau tshaj tawm cov vis dis aus ntawm Pi lub koob yees duab koj muaj ntau txoj kev xaiv los ntawm kev siv pob yooj yim li mjpg-streamer rau qee yam nyuaj dua thiab koom nrog xws li OpenCV. Hauv kuv qhov xwm txheej Kuv tab tom siv MotionEyeOS vim nws yooj yim rau teeb tsa thiab muab kev ncaj ncees me ntsis ntawm cov teeb tsa teeb tsa koj tuaj yeem ua si nrog uas kuv yuav tham txog hauv cov kauj ruam tom ntej. Nov yog cov kauj ruam koj yuav tau mus dhau los teeb tsa Raspbian ntawm Pi.

Rub tawm qhov tseeb ntawm tsab ntawv tsa suab motionEyeOS los ntawm -https://github.com/ccrisan/motioneyeos/releases

Pib los ntawm kev ua cov lus txib hauv qab no los sau daim npav SD

wget

sudo./writeimage.sh -d/dev/mmcblk0 -i "/path/motioneyeos-raspberrypi-20171008.img" -n 'yourWiFiRouterName: yourWiFiRouterPassowrd'

Raws li ib feem ntawm cov lus txib no, yog tias koj siv Raspberry Pi zero W koj tuaj yeem hloov kho cov lus txib saum toj no kom suav nrog koj li WiFi router lub npe siv lossis tus password.

Hauv kuv qhov xwm txheej, kuv tab tom siv Ubuntu 16.04 raws li kuv tus tswv haujlwm ua haujlwm los sau 16 GB SD card, tab sis yog tias koj siv lub qhov rais koj tuaj yeem siv cov cuab yeej zoo li lwm yam lossis siv lub davhlau ya nyob twg app yog tias koj siv Mac.

Yog xav paub ntxiv tshawb xyuas qhov motionEyeOS wiki.

Kauj Ruam 4: Gluing Pi Camera thiab Pi Zero rau Qhov Project Folder

Gluing Pi Camera thiab Pi Zero rau Qhov Project Folder
Gluing Pi Camera thiab Pi Zero rau Qhov Project Folder
Gluing Pi Camera thiab Pi Zero rau Qhov Project Folder
Gluing Pi Camera thiab Pi Zero rau Qhov Project Folder
Gluing Pi Camera thiab Pi Zero rau Qhov Project Folder
Gluing Pi Camera thiab Pi Zero rau Qhov Project Folder
Gluing Pi Camera thiab Pi Zero rau Qhov Project Folder
Gluing Pi Camera thiab Pi Zero rau Qhov Project Folder

Thaum koj tau sim cov vis dis aus los ntawm Pi Lub Koob Yees Duab siv lub browser zoo li Chrome ntawm koj lub khoos phis tawj/lub xov tooj ntawm tes, tam sim no yog lub sijhawm ntxiv txhua yam rau koj cov phiaj xwm phiaj xwm lossis phau ntawv.

Hauv kuv qhov xwm txheej kuv yuav tsum txiav tawm txog 4 lub tes tsho los ntawm daim nplaub tshev, thiab tom qab ntawd tho qhov rau qhov kawg raws li qhia hauv cov duab saum toj no. Tom qab ntawd kuv siv cov kua nplaum kub txhawm rau txhawm rau txhim kho 3D luam tawm rau hauv daim nplaub tshev.

Thaum kawg ntxiv qhov project nplaub tshev rau koj lub txee rau ntawv, thiab ntsaws rau hauv USB cable rau koj lub xov tooj ntawm tes phab ntsa fais fab adapter

Kauj Ruam 5: Kho MotionEye

Kev teeb tsa MotionEye
Kev teeb tsa MotionEye
Kev teeb tsa MotionEye
Kev teeb tsa MotionEye
Kev teeb tsa MotionEye
Kev teeb tsa MotionEye

MotionEye muaj lub vev xaib zoo nkauj UI thiab pawg ntawm cov txheej txheem teeb tsa rau tshuaj xyuas cov lus tsa suab, thaij duab, yees duab, xa email thaum pom cov lus tsa suab thiab ntau ntxiv raws li koj pom hauv cov duab saum toj no.

Thaum koj nkag mus thawj zaug siv tus thawj tswj hwm thiab koj yuav tsum hloov kho tus thawj tswj hwm thiab tus lej siv ntawm lub vev xaib UI thiab rov pib dua koj Pi.

Tam sim no txij li qhov no tau zais lub cam koj yuav xav mus rau kev teeb tsa ua ntej thiab tig ntawm "Pab CSI lub koob yees duab coj" raws li koj pom hauv thawj lub screenshot saum toj no. Thiab koj tseem tuaj yeem hloov kho lub sijhawm ua haujlwm uas yog lub sijhawm pib thaum nruab hnub thaum koj nyob tom tsev kawm ntawv lossis ua haujlwm.

Txog kev tshawb nrhiav lub suab thiab nyob ntawm qhov chaw koj teeb lub koob yees duab zais hauv chav koj yuav xav hloov Tus ncej hloov pauv pib kom pom kev txav chaw thiab tiv thaiv qhov tsis zoo.

Kauj Ruam 6: Teeb Teeb Hawj Teeb Siv IFTTT kom Ntshai Tus Ua Phem

Teeb Teeb Hawj Teeb Siv IFTTT txhawm rau ua kom ntshai tus nkag
Teeb Teeb Hawj Teeb Siv IFTTT txhawm rau ua kom ntshai tus nkag
Teeb Teeb Hawj Teeb Siv IFTTT txhawm rau ua kom ntshai tus nkag
Teeb Teeb Hawj Teeb Siv IFTTT txhawm rau ua kom ntshai tus nkag
Teem Teeb Hawj Teeb Siv IFTTT txhawm rau Tsum Tus Neeg Raug Txom Nyem
Teem Teeb Hawj Teeb Siv IFTTT txhawm rau Tsum Tus Neeg Raug Txom Nyem

Qhov no yog kauj ruam xaiv tau, tab sis yog qhov zoo ntxiv rau kev ntshai tus neeg nkag. Raws li ib feem ntawm kuv teeb tsa kuv siv IFTTT daim ntawv qhia kom qhib txhua lub Phillips Hawj teeb nyob hauv tsev thaum pom cov lus tsa suab.

Txhawm rau teeb tsa daim ntawv qhia zaub mov mus rau ifttt.com, tsim ib tus as khauj thiab nyem rau ntawm daim ntawv thov tshiab. Ntawm IF sab ntawm applet xaiv tus tsim webhook thiab tsim qhov tshwm sim hu ua "HUE_on" thiab nyob rau sab ntawd ntawm applet xaiv Phillps HUE thiab xaiv lub teeb uas koj xav qhib los ntawm qhov poob qis, hauv kuv qhov xwm txheej kuv xaiv qhib txhua lub teeb nyob hauv tsev. Koj kuj tseem yuav tsum teeb tsa Phillps HUE channel ua ntej los ntawm kev nkag mus rau hauv koj tus lej HUE.

Thaum koj ua tiav ua daim ntawv ntawm koj lub webhook teeb tsa qhov tseem ceeb uas koj yuav pom ntawm qhov txuas no. Tom qab ntawd hloov kho qhov URL hauv qab no nrog YOURKEY thiab ntxiv nws mus rau hauv web Hook URL hauv motionEye raws li pom hauv thawj daim duab saum toj no.

maker.ifttt.com/trigger/HUE_on/with/key/YO…

Tam sim no khiav qhov ntsuas nrawm thiab hloov kho Tus Qauv Hloov pauv qhov chaw pib nyob rau hauv ntu kev tshawb nrhiav cov lus pom yog xav tau.

IFTTT yog qhov txaus!, Yog li sim tsim koj tus kheej daim ntawv qhia ua kom muaj xov tooj xa xov rau koj tus kheej lossis muaj koj li Amazon Alexa Echo ntaus ntaus nkauj.

Pom zoo: