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:

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.