Before start to talk about the installation of openCV in a Raspberry Pi it’s important to clarify something:
- If you use a regular USB camera attached to the Raspberry Pi, the installation is basically the same as any other debian like distribution.
- If you use the Raspicam CSI camera, you must use UV4L (UserVideo4Linux) drivers and all will be a little bit tricky, and currently I didn’t tried yet to install the UV4L drivers to use the Raspicam CSI camera, but here are some resources about it*:
*NOTE: OpenCV works with raspicam following the instructions below (the same as the USB camera), but as far as I have been able to test, the video driver with raspicam has very low framerate and the scripts don’t run as good as with USB camera.
El llamado Sense Hat es un accesorio oficial de Raspberry Pi que nos permite tener acceso a multitud de sensores de manera simple y accesible. Esta placa será enviada al espacio a finales de 2015 para que los astronautas de la ISS hagan una serie de experimentos diseñados por niños de diferentes escuelas del Reino Unido.
Sensores y componentes
Los componentes de esta placa son:
- Sensor de temperatura
- Sensor de humedad
- Matriz de 8×8 LEDS RGB
The I2C bus is a widely used device communication protocol, allowing the comunitaction between the devices sharing the same bus channel. This is a great advantage because it is designed to allow your Raspberry Pi may be connected to a multitude of complex devices on the same bus and through I2C can communicate independently with each element.
In this tutorial we will learn how to use the Raspberry Pi I2C bus and we will implement a pressure display using a I2C BMP180 barometric sensor plus a I2C 7 segments display to create a digital barometer.
NOTE: thanks to Adafruit because a lot of information and the device drivers come from their great website!!
Thanks to the great Ireland photos of Mariona Villavieja and the on-site audio captures by her sister Amanda we set-up the ‘Encounters’ free exhibition on Casa del Libro at Rambla de Catalunya until the end of January. The photo exhibition is composed of 18 30 cm x 30 cm pictures and 2 interactive music photos thanks to the use of a Raspberry Pi, a PIR sensor and a few speakers at the back of each frame.
The easiest way (and not very expensive at all) to do it, is using a Raspberry A+, a USB powered speakers, and a time / sensitivity configurable PIR sensor to control the audio trigger.