Cov txheej txheem:
- Kauj Ruam 1: Raspberry Pi ntes cov duab thiab xa lawv mus rau Lub Vev Xaib
- Kauj Ruam 2: Lub Koob Yees Duab hauv Cov Dej Tsis Muaj Dej Pelican
- Kauj Ruam 3: Teeb Ntiaj Teb Tiag
Video: Waterproof Raspberry Pi Powered Wifi DSLR Webcam rau Lub Sijhawm Lapses: 3 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Kuv yog tus nqus rau saib hnub poob los ntawm tsev. Ntau npaum li ntawd kuv tau txais me ntsis ntawm FOMO thaum muaj hnub poob zoo thiab kuv tsis nyob hauv tsev kom pom nws. IP webcams tau ua rau cov duab tsis zoo. Kuv pib nrhiav txoj hauv kev rov ua dua kuv thawj DSLR: xyoo 2007 Canon Rebel XTi uas tseem siv cov duab zoo. Cov lus qhia no suav nrog lub tsev:
- tsis muaj dej Pelican Case enclosure
- Raspberry Pi lub koob yees duab txhais thiab wifi uploader
- yooj yim web server kom nkag tau cov duab los ntawm lub vev xaib
Muaj ntau phau ntawv qhia uas twb muaj lawm uas qhia yuav ua li cas txhawm rau tsim lub thawv thaiv dej rau lub sijhawm dhau mus, tab sis lawv zoo li tsom mus rau qhov teeb tsa uas tuaj yeem muaj sia nyob Hauv Cov Tsiaj Qus rau 3-4 lub hlis. Vim tias txoj haujlwm no nyob ntawm kuv lub tsev, qhov ntsuas sib txawv me ntsis: lub zog thiab wifi muaj ob qho tib si. Tsis tas yuav txhawj xeeb txog lub zog tso kuv lub sijhawm kom mob siab rau siv lub wifi txhawm rau rub daim duab tshiab rau hauv lub vev xaib txhua feeb tsis txhob rub lawv tawm ntawm daim npav tus kheej (zoo ib yam nyob rau ntau qhov kev teeb tsa timelapse ntev).
Nco tseg: txoj haujlwm no tau tsim thaum lub Cuaj Hlis 2017, thiab Cov Lus Qhia Qhia sai sai tom qab. Lub koob yees duab tau ua haujlwm ruaj khov 4 lub hlis kom txog thaum lub zog hluav taws kub tau hlawv Pi. Kuv pom daim ntawv sau hnub no thiab xav tias nws tseem yuav yog qhov lom zem nyeem rau tib neeg.
Kauj Ruam 1: Raspberry Pi ntes cov duab thiab xa lawv mus rau Lub Vev Xaib
Qhov no muaj qhov tsis paub tshaj plaws rau kuv, yog li kuv pib nrog ntawm no.
Thaum xub thawj, kuv txuas kuv li Rebel ntawm USB mus rau lub khoos phis tawj ntxiv thiab siv gphoto2 txhawm rau ntes cov duab ua haujlwm. gphoto2 tso cai rau koj ntes cov duab hauv JPEG lossis RAW thiab xa lawv tam sim ntawd mus rau lub khoos phis tawj tom qab ntes, uas yog qhov tseem ceeb kom nrawm xa daim duab mus rau lub vev xaib.
Kuv qhov pov thawj ntawm lub tswv yim yog cov ntawv nodejs yooj yim rau kuv Mac Mini uas tau ntes cov duab ib pliag ib pliag thiab xa lawv mus rau Amazon S3. Txhawm rau mus txog sab nraum zoov los ntawm Mini, Kuv yuav lub USB ntev tshaj plaws uas kuv tuaj yeem pom-tab sis nws ua tsis tau. Thaum kuv tau hnov tias Raspberry Pi yuav muaj txiaj ntsig zoo rau qee yam zoo li no, Kuv tsis muaj kev paub ntau dhau los siv lawv. Kuv nruab Raspbian thiab hla kuv cov ntiv tes thiab tshawb xyuas ntawm gphoto2 kev txhawb nqa rau Raspberry Pi - txhawb nqa tag nrho!
Kev rov ua dua tom ntej hu rau wifi-ua haujlwm Raspberry Pi los hloov Mac Mini tag. Hauv cov cwj nrag dav:
- Rub tawm qhov tseeb Raspbian duab
- Ntxig daim npav micro SD thiab unmount nws (`diskutil unmountDisk /dev /disk2`)
- Siv `dd` cov kab hais kom ua hluav taws xob sau cov duab rau daim npav (` sudo dd yog = 2017-09-07-raspbian-stretch.img ntawm =/dev/disk2 bs = 4m`-siv 30-60min)
- Kov ` / ssh` ntawm cov kab ke ua haujlwm kom qhib SSH ntawm khau raj (qhia ntxaws qhia rau SSH / Wifi)
- Nruab gphoto2 siv Raspberry Pi nruab tsab ntawv (siv 60-90 feeb)
- Teeb tsa txoj haujlwm cron kom khiav ib pliag ib pliag thiab siv gphoto2 txhawm rau thaij duab
- Siv cov curl hauv tib txoj haujlwm cron kom rub daim duab mus rau lub server yooj yim khiav ntawm Heroku
Cron teeb tsa yog yooj yim heev:
# m h dom mon dow hais kom ua
* * * * * bash /home/pi/capture-upload.sh 2 & 1 >> /home/pi/cron.log
#!/bin/tsoo
# capture-upload.sh teeb tsa -e gphoto2 --auto-detect --capture-image-and-download --force-overwrite curl -F "[email protected]" https:// user: pass@potrerohillcam. herokuapp.com/upload
Thaum thawj qhov pov thawj ntawm lub tswv yim daws kev xa mus rau S3, Kuv txiav txim siab nws yooj yim dua* txhawm rau ua kom yooj yim dab tsi Raspberry Pi tau saib xyuas thiab ncaws S3 thiab tom qab ua cov kauj ruam rau lub vev xaib yooj yim khiav ntawm Heroku. Qhov kev hais kom ua curl no siv cov duab ntes thiab tshaj tawm nws rau tus neeg rau zaub mov ntawd.
* los ntawm qhov yooj yim dua, Kuv txhais tau tias kuv mob ntawm kev tos pob khoom los sau ua ke ntawm Pi.
Kauj Ruam 2: Lub Koob Yees Duab hauv Cov Dej Tsis Muaj Dej Pelican
Tam sim no lub koob yees duab/RPi daws tau ntseeg tau tias muaj peev xwm thaij duab thiab tso lawv, Kuv pib ua haujlwm ntawm rooj plaub uas yuav ua rau txhua yam khoom siv hluav taws xob nyab xeeb thaum los nag.
Thauj cov duab ib-rau-ib thiab hover hla lub npov dawb teev rau kev piav qhia ntawm ib feem/kauj ruam.
Kauj Ruam 3: Teeb Ntiaj Teb Tiag
Kauj ruam kawg yog teeb tsa Pelican rooj plaub ntawm kuv nraub qaum thiab txheeb xyuas tias txhua yam ua haujlwm.
Pom zoo:
WiFi Lub Sijhawm, Lub Sijhawm & Chaw Huab Cua, Blynk Tswj: 5 Cov Kauj Ruam (nrog Duab)
WiFi Clock, Timer & Weather Station, Blynk Tswj: Qhov no yog Morphing digital moos (ua tsaug rau Hari Wiguna rau lub tswvyim thiab hloov pauv tus lej), nws tseem yog lub moos sib piv, chaw qhia huab cua thiab lub sijhawm ua noj. Blynk app ntawm koj lub smartphone los ntawm WiFi. Lub app tso cai rau koj
Lub Sijhawm Teem Sijhawm Teem Sijhawm ntawm RaspberryPi-4: 6 Cov Kauj Ruam (nrog Duab)
Lub Sijhawm Teem Sijhawm Teem Sijhawm ntawm RaspberryPi-4: Hauv Cov Lus Qhia no peb yuav ua lub ntsej muag-paub lub sijhawm tiag tiag ntawm Raspberry Pi 4 nrog Shunya O/S siv Shunyaface Library. Koj tuaj yeem ua tiav qhov ntsuas pom ntawm 15-17 ntawm RaspberryPi-4 los ntawm kev ua raws cov lus qhia no
Yias thiab Tilt Mechanism rau DSLR Lub Sijhawm Lapses: 7 Cov Kauj Ruam (nrog Duab)
Yias thiab Tilt Mechanism rau DSLR Lub Sijhawm Lapses: Kuv muaj ob peb lub cav qis qis nyob ib puag ncig thiab xav xav siv lawv los ua qee yam txias. Kuv txiav txim siab tias kuv yuav ua Pan thiab Tilt system rau kuv lub koob yees duab DSLR kom kuv tuaj yeem tsim lub sijhawm txias. Cov khoom koj yuav xav tau: 2x stepper motors -htt
Lub Teeb Pom Paj Ntoo Lub Caij Nplooj Ntoos Hlav Rau Lub Caij Ntuj Sov Music Festivals, Kab tshoob Kev Kos, Tshwj Xeeb Lub Sijhawm: 8 Kauj Ruam (nrog Duab)
Lub Teeb Pom Paj Ntoo Lub Caij Nplooj Ntoos Hlav rau Lub Caij Ntuj Sov Music Festivals, Kab tshoob Kev Ua Haujlwm, Tshwj Xeeb Sijhawm: Teeb hmo ntuj nrog paj paj zoo nkauj paj taub hau zoo nkauj! Zoo meej rau txhua kab tshoob kev kos, kev ua yeeb yaj kiab lom zem, proms, khaub ncaws thiab sijhawm tshwj xeeb! Cov khoom siv nrog txhua yam koj xav tau los ua koj tus kheej lub teeb taub hau tam sim no muaj nyob hauv Wearables Rhiav sto
Lub Koob Yees Duab rau Lub Sijhawm Lapse Cov Duab Ua Yooj Yim: 22 Kauj Ruam (nrog Duab)
Lub Koob Yees Duab rau Lub Sijhawm Lapse Duab Ua Yooj Yim.: Kuv tau tshawb xyuas ib qho ntawm lwm Cov Lus Qhia txog kev ua yeeb yaj kiab sijhawm. Nws zoo nkauj tau npog qhov ua yeeb yaj kiab. Nws hais txog software dawb uas koj tuaj yeem rub tawm los ua cov yeeb yaj kiab. Kuv hais rau kuv tus kheej, Kuv xav tias kuv yuav pom yog tias kuv tuaj yeem