Cov txheej txheem:

High Resolution Webcam: 9 Kauj Ruam (nrog Duab)
High Resolution Webcam: 9 Kauj Ruam (nrog Duab)

Video: High Resolution Webcam: 9 Kauj Ruam (nrog Duab)

Video: High Resolution Webcam: 9 Kauj Ruam (nrog Duab)
Video: Lub Zog Nruab Nrog (Hmong Dubbed) 2024, Kaum ib hlis
Anonim
High Resolution Webcam
High Resolution Webcam

Rau qee xyoo kuv siv RPi raws lub vev xaib (nrog PiCam module). Cov duab tsim tawm tau zoo tab sis tom qab ntawd, muaj lub sijhawm uas kuv tsis txaus siab nrog qhov zoo ntxiv. Kuv txiav txim siab ua qhov Webcam daws teeb meem siab.

Cov hauv qab no tau siv:

Khoom siv

- 1 RPi 3, Qauv B, V1.2 (yuav hauv zos ~ 30 $)- 1 Canon Powershot S5 (yuav ntawm lub platform online thib ob rau ib puag ncig 20 $)- 1 Lub zog hla Ethernet Splitter: PoE rau 12V/9V/5V: (TL-POE10R: PoE Splitter), ca. 12 $- 2 Cov kauj ruam-nqis hloov pauv 1.5..35V rau 1.5.. 35V: (DSN6000AUD), 2x 3.5 $

Kauj Ruam 1: Npaj RPi

Npaj RPi
Npaj RPi

Kuv yuav tsis piav qhia txog kev npaj RPi. Tej zaum muaj ntau txhiab tus Ntawv Qhia thiab yuav ua li cas qhia cov kauj ruam no. Yog li ntawd, koj tau npaj RPi nrog raspbian ntawm qhov tam sim no.

Kauj Ruam 2: RPi tus kheej

Personalize RPi
Personalize RPi

Tam sim no rau cov kauj ruam txaus nyiam. Qhov tswv yim tom qab tag nrho kev tawm dag zog yog: thaij duab txhua 10 feeb, khaws cia rau hauv lub network txuas nrog cia (Synology NAS), luam hnub thiab sijhawm ntawm daim duab thiab, voilà.

Cov duab tam sim no muaj nyob thoob lub vev xaib raws li daim nplaub tshev ntawm NAS yog qhov uas nkag tau los ntawm internet.

Ua ntej RPi yuav tsum nce qhov sib koom muaj nyob ntawm NAS qhov twg daim duab yuav tsum khaws cia. Yog li ntawv /etc /fstab yuav tsum raug yoog thiab kab hauv qab no tau ntxiv:

# mount NAS192.168.1.2:/volume1/web/mnt/nas2/web/nfs vers = 3, rw, mos, intr 0 0

Yog tias koj mus rau qhov kev qhia ntawd, siv koj tus kheej qhov chaw nyob ntawm NAS. Ua lwm txoj hauv kev, koj kuj tseem tuaj yeem khaws cov ntawv hauv zos ntawm RPi thiab nkag mus ncaj qha. Hauv qhov xwm txheej tsis nco qab qhov kev hloov pauv ntawm /etc /fstab.

Txog kev thaij duab kuv siv gphoto2 thiab cov ntawv yooj yim hauv qab no:

#!/bin/sh

#tua ib qho txheej txheem ghoto2 uas muaj peev xwm nkag mus rau lub npav USB

pib gphoto2

#tus duab nrog gphoto2

gphoto2 --capture-duab-thiab-download -force-overwrite --filename /mnt/nas2/web/test.jpg

#sau hnub tim thiab sijhawm rau hauv daim duab

TEXT = `hnub +"%F%H:%M "`

hloov -font helvetica -fill dawb -pointsize 70 -draw "ntawv 20, 2350 '$ TEXT'" /mnt/nas2/web/test.jpg /mnt/nas2/web/test.jpg

Tsab ntawv no tau muab khaws cia ua

/home/pi/take-picture.sh

ua nws executable los ntawm

chmod a+x /home/pi/take-picture.sh

Tam sim no txuas lub koob yees duab nrog USB cable thiab txuas lub koob yees duab.

Yog tias lub koob yees duab cia tau teeb tsa ncaj qha, koj yuav tsum txwv qhov ntawd raws li gphoto2 tuaj yeem nkag mus rau lub koob yees duab yog tias nws nyob hauv qhov hu ua PTP hom. Koj tuaj yeem tiv thaiv tus lej hauv lub desktop ntawm RPi.

Ua tsab ntawv thiab lub koob yees duab yuav tsum thaij duab.

Koj yuav tau txais cov lus teb zoo li:

pi@picam2-walensee: ~ $./take-picture.sh

Neue Datei ist in/store_00010001/DCIM/100CANON/IMG_0163-j.webp

Raws li, hauv kuv qhov xwm txheej, daim duab tam sim no raug coj, khaws thiab sau nrog hnub tim thiab sijhawm, Kuv tuaj yeem nkag mus rau nws hla lub vev xaib.

Txhawm rau ua kom coj mus rau -picture.sh tsab ntawv txhua 10 feeb, Kuv ntxiv qhov nkag rau hauv crontab:

sudo crontab -e

ntxiv cov kab hauv qab no:

# thaij duab txhua 10 feeb */10 * * * * /home/pi/take-picture.sh

Qhov no yuav ua kom tiav tsab ntawv/home /pi/take -picture.sh txhua 10 feeb (thawj */10). Raws li peb tau kho qhov crontab nrog "sudo", crontab tau ua rau tus superuser thiab tsab ntawv tau ua tiav nrog txoj cai ntawm superuser. Qhov no kuj tseem tuaj yeem ua tiav raws li tus neeg siv 'pi'. Kuv tsis tau sim nws. Hauv qhov xwm txheej ntawd, cov lus txib los kho qhov crontab ntawm tus neeg siv pi yuav yog "crontab -e".

Kauj ruam 3: Rooj plaub

Case
Case

Txhawm rau txiav txim siab qhov loj ntawm rooj plaub rau lub vev xaib, Kuv tau tsim txhua yam hauv Sketchup. Kuv ua rau kuv tus qauv ntxhib ntawm lub koob yees duab hauv ON-state (lub lens ntev dua nyob rau hauv OFF lub xeev) thiab ntxiv txhua yam khoom siv hluav taws xob xav tau: Kauj-nqis-hloov pauv los ntawm PoE rau 12V, 12V txog 7.5V (rau Lub Koob Yees Duab), 12V rau 5V (rau RPi).

Hauv ntej ntawm lub lens yog qhov qhib uas yuav raug kaw nrog ib daim iav. Qhov qhib sab saum toj thiab sab yog txhais tau tias txhawm rau txhim kho ntu thiab rau kev saib xyuas.

Cov dav hlau hauv qab (tsis pom ntawm no): Lub qhov hauv qab yog rau lub ethernet cable thiab qhov hlais yog rau cov ntsia hlau txhawm rau txhim kho lub koob yees duab.

Kauj ruam 4: Perparing rau hloov dua siab tshiab rau DXF

Perparing rau kev hloov dua siab tshiab rau DXF
Perparing rau kev hloov dua siab tshiab rau DXF

Raws li kuv tsuas yog muaj tus lej Sketchup yooj yim kuv yuav tsum nrhiav txoj hauv kev los hloov cov phiaj xwm mus rau DXF cov ntaub ntawv rau kev txiav laser.

Yog li ntawd, kuv tso tag nrho cov phab ntsa tiaj tus, ib qho ntxiv rau lwm qhov thiab tshem tawm qhov thib 3. Tom qab ntawd, Kuv rub tawm qhov tshwm sim STL-file.

Kauj ruam 5: Hloov dua siab tshiab rau DXF

P toevod DXF na MYOB
P toevod DXF na MYOB

Rau kev hloov dua siab tshiab rau DXF Kuv siv freecad. Ntshuam STL Cov Ntaub Ntawv thiab xa tawm ua DXF. Cov ntaub ntawv no tau xa mus rau tom khw kom txiav 5mm plywood.

Kauj Ruam 6: Oh-oh

Oh-huag
Oh-huag

Qee hnub tom qab, daim tau txiav.. tab sis kuv huag kuv. Kuv tau ua yuam kev hloov pauv sketchup-cov ntaub ntawv rau dxf cov ntaub ntawv. Kuv yuav tsum tau ntsuas lawv thiab yog li ntawd: Kuv yuav tsum tau siv cov txhuv los ua kom cov khoom haum. Dab tsi yog mess…

Tab sis thaum kawg kuv tuaj yeem lo txhua ntu ua ke thiab thaum kawg pleev xim rau lawv kom pom kev tshav ntuj ntau li ntau tau. (tsis muaj qhov txias pom ua ntej.)

Kauj Ruam 7: Lub hau

Hau
Hau
Hau
Hau
Hau
Hau

Raws li kuv twb muaj qee qhov kev paub nrog "tsis ua haujlwm" webcams, Kuv txiav txim siab kom nkag tau yooj yim rau cov khoom hauv rooj plaub.

Yog li kuv tsim lub hau yooj yim heev. Rau sab-hau thiab rau sab saum toj-hau, cov txheej txheem yog yooj yim heev. Nws tsuas yog ib qho ntawm cov xov hlau uas tuaj yeem tig txog 30 ° txhawm rau kaw lub hau hauv qhov chaw.

Kauj Ruam 8: Nkag Mus Saib Cov Duab

Nkag Mus Saib Cov Duab
Nkag Mus Saib Cov Duab

Cov duab tuaj yeem nkag mus los ntawm qhov txuas hauv qab no:

www.windy.com/de/-Webcams/Schweiz/Sankt-Ga…

Qhov no tseem yog cov duab ntawm lub webcam qub. Cov tshiab yuav ua raws.

Kauj Ruam 9: Txhim Kho Lub Koob Yees Duab

Mounting Lub Koob Yees Duab
Mounting Lub Koob Yees Duab
Mounting Lub Koob Yees Duab
Mounting Lub Koob Yees Duab
Mounting Lub Koob Yees Duab
Mounting Lub Koob Yees Duab
Mounting Lub Koob Yees Duab
Mounting Lub Koob Yees Duab

Tom qab kev teeb tsa ntawm txhua ntu hauv rooj plaub, nws yog lub sijhawm los teeb nws.

Raws li kuv ib txwm ua, Kuv tau txuas tag nrho cov ntaub ntawv mus rau cov kav dej nag uas siv tus tuav uas ib txwm siv los txuas cov kav dej tso rau ntawm phab ntsa. Kuv tsuas yog siv nws txoj kev puag ncig.

Raws li koj tuaj yeem pom hauv daim duab kawg, lub qhov rai ntawm rooj plaub tuaj yeem ua tau me dua, tab sis tseem - nws zoo li ua haujlwm.

Pom zoo: