Cov txheej txheem:

Tsab ntawv tsa suab lub koob yees duab Nrog Raspberry Pi: 6 Cov Kauj Ruam
Tsab ntawv tsa suab lub koob yees duab Nrog Raspberry Pi: 6 Cov Kauj Ruam

Video: Tsab ntawv tsa suab lub koob yees duab Nrog Raspberry Pi: 6 Cov Kauj Ruam

Video: Tsab ntawv tsa suab lub koob yees duab Nrog Raspberry Pi: 6 Cov Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Image
Image

Raspberry Pi nrog HC-SR501 Passive Infrared Sensor txhawm rau txheeb xyuas tus nas ntsais muag, thiab tom qab ntawd ua rau SONY A6300 sau cov vis dis aus ntawm lub kaum ntse ntse thiab deb tshaj plaws.

Kauj Ruam 1: Yam Koj Xav Tau:

Yam Koj Xav Tau
Yam Koj Xav Tau
  • Lub koob yees duab, Kuv siv SONY A6300
  • Raspberry Pi, kuv yog version 2 qauv B.
  • HC-SR501 tsab ntawv tsa suab suab, nrog qee qhov txuas

Txog cov npe ntawm lub koob yees duab txhawb, thov kos ntawm no:

gphoto.org/proj/libgphoto2/support.php

Kauj ruam 2: Txuas lub Sensor mus rau Pi

Txuas lub Sensor mus rau Pi
Txuas lub Sensor mus rau Pi

5V, GND, thiab ib tus GPIO tus pin

Nco ntsoov tus lej tus lej, koj yuav xav tau nws hauv tsab ntawv nab nab.

Kauj Ruam 3: Txuas Tus So

Txuas Tus So
Txuas Tus So
Txuas Tus So
Txuas Tus So
Txuas Tus So
Txuas Tus So
  1. Xyuas kom tseeb tias lub koob yees duab nyob hauv PC Chaw deb (SONY A6300)
  2. Txuas Raspberry Pi mus rau lub koob yees duab
  3. Txuas lub zog siv rau Raspberry Pi

Txog cov npe ntawm lub koob yees duab txhawb, thov kos ntawm no:

gphoto.org/proj/libgphoto2/support.php

Kauj Ruam 4: Teeb Raspberry Pi

Teeb lub Raspberry Pi
Teeb lub Raspberry Pi
Teeb lub Raspberry Pi
Teeb lub Raspberry Pi

Thov ua raws cov theem ntawm kuv GitHub:

github.com/seesunmoon/rpi_camera_sensor

Tom qab ntawd koj tuaj yeem ua qee qhov kev xeem.

Kauj Ruam 5: Ua Ib Yam Dab Tsi

Ua Ib Yam Dab Tsi
Ua Ib Yam Dab Tsi
Ua Ib Yam Dab Tsi
Ua Ib Yam Dab Tsi

Koj tuaj yeem siv qhov teeb tsa no los ntes qee cov tsiaj qus uas koj tsis tuaj yeem ua ua ntej.

Pom zoo: