Π the first part 5 ways to use the Raspberry Pi were considered. The topic turned out to be quite interesting, and today I will consider a few more options for how you can use this microcomputer to good use.
The Raspberry Pi can be used with almost all security cameras.
Raspberry Pi can work with:
USB Webcams (such as the Logitech C910)
IP cameras (Axis, etc.) with a PoE injector (48V power is supplied to such cameras via a network cable, which allows them to be moved outside the building)
cameras that connect directly to the connector on the RPi (as in the photo above).
There are quite a few software options here. You can use the package Motion, which has quite flexible settings. You can write directly from the console through ffmpeg, you can finally write your own handler using Python and OpenCV. You can broadcast a video stream, use a motion detector, send photos by e-mail, etc.
Those interested can watch the following tutorials:
It's important: in the previous part it was already mentioned, but it is better to repeat. For any resource-intensive tasks (which include video processing), a high-quality branded 2.5A power supply is required on the Raspberry Pi and a passive radiator on the CPU is desirable (you can get it cheap in China for $ 1-2 by typing raspberry pi heatsink in the search). Otherwise, the device may freeze, file copy errors, etc.
2. Audio recording
With a USB microphone, the Raspberry Pi can be used as a bug, a compact enough device for audio recording. Again, there are many options for setting up the software - you can write files locally to an SD card, you can broadcast to another PC, or broadcast over the network.
By the way, if you have a microphone, Raspberry Pi can be used with Amazon Alexa and use the device for voice commands.
3. Prof. photo
Do not confuse p3 and p1. The first point was about CCTV cameras, but the Raspberry Pi can also control professional cameras from Canon, Nikon, Sony, etc. It is enough to connect the camera to the Raspberry Pi via USB.
Libraries gphoto2 ΠΈ libgphoto2 have both the ability to work from the command line, and interfaces for Python and C ++, which allows you to use the Raspberry Pi to control the "SLR", for example, for time-lapse photography. List of supported cameras large enough to cover almost all models, from modern to old 10-year-old. libgphoto2 has enough advanced API, and can not only control the shutter, but also change settings, upload files, etc.
By the way, you can write images both to the cameraβs memory card and directly to the Raspberry Pi, which allows, for example, automatically uploading them to the βcloudβ. There are also libraries for controlling not only SLR, but also astronomical (for example, ZWO ASI) cameras, including even autoguiding.
4. Weather station
The Raspberry Pi "can" not only run Linux programs, but also has quite advanced peripherals - serial, I2C, SPI, GPIO. This makes the device almost ideal for collecting and sending data from various sensors - from temperature and humidity sensors to a dosimeter based on a Geiger counter.
By the way, if you get completely lazy, you can take data not only from your sensors, but also from the web, this option also has the right to exist. However, a board with sensors for the Raspberry Pi is not difficult buy separately.
With the help of the project RetroPie you can turn your Raspberry Pi into a "retro" emulator for various game consoles, from Atari to Gameboy or ZX Spectrum. You can also buy various cases, joysticks, etc.
I am far from games, so I canβt say more, those who wish can try it on their own. A couple of tutorials to learn: