Raspberry Pi Holga Digital Camera

Holga Front Open with all parts connected

I was struggling trying to get a USB capture device working with the Pi. Annoyed by those difficulties, I stumbled upon Kimondo's Digital Holga 119d project. I had a Raspberry Pi Model A and a camera module laying around, so I decided to build one myself. I started off with his ideas and went my own direction where I felt necessary.

Parts

more ...

Physics Libraries for the Raspberry Pi

As part of the SGVHAK Air Hockey Project I have been working on Python code to track the puck and predict its location. As part of the prediction algorithm I chose to use a 2D physics library to be more sophisticated than just using Snell's law and ray casting to predict bounces off the table walls. I started off by adapting a Python air hockey game I found on Github. I separated the code into a part that handles the table walls and puck as the simulation component. I made the rest of the game, the pieces that interact ...

more ...

Pixy for Raspberry Pi

Not long ago I purchased a Pixy camera for use with the SGVHAK Air Hockey Project. This camera can be a stand alone object detection device. It can identify objects by color, sending back their location and size at 50 fps. This information can be sent to micro controllers and other devices over SPI, I2C and UART. The kit comes with a cable that plugs into the Arduino ICSP port. I wanted to hook the Pixy to my Raspberry Pi since my strategy code for the air hockey player is written in Python. Since this port is essentially a SPI ...

more ...