Skip to main content
dot-patterns opencv

Computer vision, OpenCV, Raspberry Pi, Webcams and CSI Raspicam

Before start to talk about the installation of openCV in a Raspberry Pi it’s important to clarify something:

  1. If you use a regular USB camera attached to the Raspberry Pi, the installation is basically the same as any other debian like distribution.
  2. 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*:

http://tothinkornottothink.com/post/59305587476/raspberry-pi-simplecv-opencv-raspicam-csi-camera

http://www.linux-projects.org/modules/sections/index.php?op=viewarticle&artid=14

http://www.raspberrypi.org/forums/viewtopic.php?f=33&t=61834

*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.

Read More

sense hat

Sense Hat para Raspberry Pi [ES]

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:

  • Acelerómetro
  • Giroscopio
  • Magnetómetro
  • Barómetro
  • Sensor de temperatura
  • Sensor de humedad
  • Joystick
  • Matriz de 8×8 LEDS RGB

Read More

7 segments

How to build a I2C barometric display with Raspberry Pi

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!!

Read More

encuentros header

How to build a photo frame with interactive music using Raspberry Pi

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.

Read More