5 Useful Ways to Use Your Raspberry Pi Part two

Hey Habr.

Π’ 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.

5 Useful Ways to Use Your Raspberry Pi Part two
Photos from the site learn.adafruit.com

As in the previous part, I will consider those methods that do not require programming.
For those who are interested, continued under the cut.

1. Surveillance camera

5 Useful Ways to Use Your Raspberry Pi Part two
Source: www.raspberrypi-spy.co.uk/2017/04/raspberry-pi-zero-w-cctv-camera-with-motioneyeos

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

5 Useful Ways to Use Your Raspberry Pi Part two

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.

A few tutorials to repeat:

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.

5 Useful Ways to Use Your Raspberry Pi Part two
Photos from the site www.movingelectrons.net/blog/2017/08/09/Camera-Time-lapse-Controller-with-Python-and-Raspberry-Pi.html

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.

Tutorials to repeat:

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.

5 Useful Ways to Use Your Raspberry Pi Part two
Photos from the site www.raspberrypi.org/blog/build-your-own-weather-station

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.

Tutorials to learn:

5. Game console

5 Useful Ways to Use Your Raspberry Pi Part two

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:

Conclusion

I hope there are enough new ideas here for what to do for the weekend. If the ratings of the article are positive, the third part will be posted.

As usual, good luck with your experiments.

Source: habr.com

Add a comment