Unicorn Hat camera

Things to do with a Unicorn Hat

You may have seen in an earlier post that I got the Unicorn Hat from Pimoroni for Christmas. With a spare hour this evening I had a quick think about a fun project using this display.

Introducing the Unicorn Camera.



Combining the Raspberry Pi camera running a simple time-lapse program and the Unicorn Hat I made a very simple camera with flash function.

The display shows you:

  • How many frames you have selected
  • The status of the flash (on or off)
  • A warning before the sequence starts
  • The frame number after each photo
  • Confirmation that the sequence has ended

The code for the project can be found here on github

The scrolling text will require the UnicornHat Scrolling text code from https://github.com/topshed/UnicornHatScroll

The code is customisable to vary the number of frames and the interval between each frame.

You must create a folder in your /home/pi directory called photo-output
I have set the hat brightness at 0.4 for both safety and power reasons.

Please leave a comment below.

Comments

Protocam II

Protocam (Mark II)

Whilst at CamJam I caught up with Richard (AKA @AverageManVsPi) and had a quick chat about his latest version of the Protocam board. Check out my first review here.



Again, this looks like a great idea and I do hope to try it out soon with my new Raspberry Pi model A+
Comments

Lisiparoi flash ring for Raspberry Pi

I was really pleased to receive a nice little package from Jason Barnett.

While you are here please check out our Amazon Associates Raspberry Pi page!


IMG_2314

The Lisiparoi - Flash ring for Raspberry Pi camera module is a small unit which screws onto the Raspberry Pi camera and provides 12 bright LEDs.

There are two favours, visible light LEDs for the normal camera and a IR LED version for use with the NOIR camera module.

IMG_2315

IMG_2316


IMG_2318


Assembly is really simple.

Before screwing the camera to the ring it was a simple case of soldering 4 connecting pins. The ring connects to the Raspberry Pi via 4 GPIO pins connected to 5V, GND, GND and a free GPIO. After hunting around for 4 female to female cables I had the flash mounted and connected to my Pi. The beauty of this device is that all 12 LEDS run from just 4 pins.

IMG_2319

Programming the flash ring is extremely simple as it only involves switching on 1 GPIO pin to power up the ring.

I have included sample code here




This is a really good little device and have been very pleased with the illumination it provides. I found it be effective up to 2m from the camera.

Comments