zorruno wikki: Notes on setting up a Raspberry Pi Zero and camera

Notes on setting up a Raspberry Pi Zero and camera


Raspberry Pi Camera and case from Adafruit
https://www.adafruit.com/product/3170

Doanload raspbian jessie lite and install on to micro SD Card
https://www.raspberrypi.org/downloads/raspbian/

You'll want to setup wifi on the SD card before putting it in the pi zero. Essentially you need to mount the card modify wpa-supplicant.conf and also as jessie has ssh off by default, put an empty file called 'ssh' in /boot
example tutorial https://core-electronics.com.au/tutorials/raspberry-pi-zerow-headless-wifi-setup.html (I already knew this, so haven't vetted this tutorial...)

Put in the SD card and install the pi zero in case with camera poking though case hole
https://www.youtube.com/watch?v=PpIyl-EpHZk

Mine looked like this when completed
https://photos.app.goo.gl/X0czZFPVJBEnbnJA3

ssh into the pi and change the pi
-user password, run raspi-config to setup localisation, turn the pi camera on etc

Setup Motion to do streaming (and no motion detection).
https://hackmypi.com/PiCamPart1.php

View your live video stream at the pi zero's IP address
http://192.168.1.xxx:8081/

Snap video to local storage using raspivid (in raspbian by default)
https://www.raspberrypi.org/documentation/usage/camera/raspicam/raspivid.md

raspivid -o video.h264 -t 10000


I haven't looked at running motion and capturing local video at the same time (can't run them both directly)

Running motion as a streamer brings the load to about 86-90%. Trying to stream any higher increases load above 100% (with defaults as above). Raspivid uses little load.

Last edited by ZorrUno
Wed, 13 May 2020 10:02 UTC [diff]

--
CategoryMicrocontrol
CategoryHomeAutomation
CategoryRaspberryPi
CategoryLinux
CategoryCCTV
There are no comments on this page.