Raspberry Pi Roundup - Scroll pHAT Tetris, a Happiness tracker and GPIO Zero remoting
Scroll pHAT Tetris
Martin Fitzpatrick has taken a Scroll pHAT and attached it to a Raspberry Pi Zero to create a Tetris game. He’s then added several buttons to allow the user to control the pieces to play the game. One would imagine this will work even better on the Scroll pHAT HD! You can see instructions for how to build it yourself here, together with diagrams, photographs and videos of it in action.
Happiness is...
Katja Budnikov works for a company (shopping24) that has the occasional two-day hackfest where employees get to play around with new technology and come up with non-work related projects. (Sounds like fun!) For the current round of hacking, Katja’s team used a Raspberry Pi, some buttons and LEDs to construct a box which would allow employees to indicate how happy they are on a particular day. The buttons trigger the illumination of LEDs in the shape of a ‘tick’ and also send messages to Graphite, a web-based app which stores and graphs results. The code to do it is written in Python with a healthy dose of GPIO Zero thrown in for good measure. If your German is good, you can read Katja’s account of the project here or alternatively run it through Google Translate for the English. Thanks to Hackaday for spotting this one.
Remote Robot
Ben Nuttall has been having a go with the new Remoting facilities available on the v1.4 release of GPIO Zero. He’s used the virtual joystick on the SenseHAT emulator as the controller and then sent commands remotely to another Pi which has the motor controller and motors on board. He’s then changed the Python slightly to do it ‘for real’ with a real SenseHAT. His complete thought process, together with all the code you need to do it yourself, is available on his blog.