December 26, 2015

Badge Challenge Build Part 7

Today we will look at more of the console design and build.

Having a keypad as input is a good start but I neeed some kind of display, Raspberry Pi has HDMI, so using a TV seems like a good choice. A quick google shows that pygame is the framework of choice for putting pixles on screen from python and Raspberry Pi Getting pygame to output at 1080p or 720p took a bit of work, if I select a resolution that is not “good” then the Pi locks up. This is the code I ended up using:

But you also need to make changes to the Pi overscan settings, see this guide about setting up the overscan settings. TL;DR - hack about with the /boot/config.txt Putting text on the screen is also quite easy.