Hat Stacking Pimoroni pHats
Pimoroni sell the Enviro pHAT, which is a really good little package to go on top of a Raspberry Pi.
I was looking around for a temperature and humidity sensor and this has all of that plus motion, colour and analogue. I'm not sure how all of these can be used together but even separately these components can cost you more in separate breakout boards so not much loss to only use 1 or 2 of these features.
Combined with Scroll pHAT
The video shows the motion sensors reaction to being moved in the x and y axis. The dot can be thrown around which is a fun bit of code.
Combined with Unicorn pHat
The Unicorn pHAT is just a colour frenzy. Text can be displayed, but this is fairly limited due to only having 4 LEDs high to play with.
To show the light/colour sensor I sent the values directly to the Unicorn pHat.
Blue |
Green |
Red |
Yellow |
The camera doesn't pick the colours up as clearly as they were shown. The colours weren't correct for green and this showed up as a blue colour, but quite fun to play around with.
No comments:
Post a Comment