Build a retro arcade console with an IKEA table and a Raspberry Pi

Matt Hawkins has taken a reclaimed IKEA Gulliver table, added an old VGA monitor and loads of arcade buttons and created himself a Raspberry Pi-powered arcade console. He’s written the whole thing up over on his blog, Raspberry Pi Spy, including a list of materials and construction method and you can read more there. See a video of the build below:

Anavi Light pHAT for the Raspberry Pi – a review

Review by Tim Richardson

What is it?

The Anavi Light pHAT is a board that sits on top of your Raspberry Pi and controls 12v RGB light strips – not the expensive Neopixels or WS2811’s, but the cheap RGB strips that you can get for a few pounds for 5m from AliExpress or eBay.

Why use one?

These LED strips (often labeled ‘5050’) are powered by a 12v power supply and the colour is changed by supplying a PWM signal.  This is often done by a microcontroller device with an IR controller, but the controller usually gives a very limited choice of colours – perhaps just 16, and only one strip can be controlled at a time.  But what if you want other colours? Or want to control more than one strip at the same time? For that, you need a little more intelligence.  In comes the Anavi Light pHAT.

How to use one?

As mentioned, the pHAT sits on top of any 40 pin Pi, like the Pi Zero W or Raspberry Pi 3.  You attach your LED strip to the screw terminals (max 5A – enough to control 5m or more) and a 12V power supply.

Unfortunately you have to power the Pi separately; there is simply no space on the board for a voltage regulator to back-power your Pi.  Instead there are three i2c ports, a PIR port and UART pins if you want to access the Pi directly.  I spoke to the developer, Leon, about this, and agree with him that adding the ports gives the pHAT much more versatility than having the regulator.  But, if there is enough interest, he may make a HAT version that has the regulator!

Changing the colour of the LEDs is as simple as supplying PWM signals to pins 9, 10 and 11.  Examples given use the PiGPIOd library – which runs a daemon to control the GPIO ports – you tell the pins what to do once, and they just get on with it.  Even on a Pi Zero this takes very little CPU (about 6 or 7%) leaving the rest for you to use with your program.  During my testing, I used the GPIOZero library’s RGBLED class to control the whole strip. It worked perfectly first time.

The i2c ports are intended to be used for sensors.  As part of the Crowdfunding campaign, Leon is optionally supplying three different i2c sensors and one PIR sensor.  The i2c sensors are for light, temperature/humidity and RGB colour and gesture detection.  As well as the sensors, he will be creating the code to control the LED strip in reaction to sensor changes.  You could, for example, make the lights turn on when there is movement, or change brightness depending on how dark it is, or when presented with a colour object, change the strip to that colour.  Or even when it’s hot, turn the LEDs blue to cool you down, or red if it’s cold to make you feel warmer (it’s a psychological thing!). I suspect some of Leon’s sensors could use GPIOZero code too, which will make it very simple to control the LEDs.

Leon also plans to supply code/instructions which will allow you to integrate your LED strip into your Home Assistant setup.

All the hardware designs and software are, or will be, open source!  This is very generous and could lead to derivatives.

How to get one

Leon is currently using Crowd Supply to kickstart the project but has put a very low goal – meaning it’s definitely going to get funded and built.  The price is a little higher than I had hoped when I first heard about it, at $25, but when compared to a solution I have already built for about £10, it’s so much neater and better!

When compared to buying even a 1m NeoPixel light strip, it turns out to be much cheaper.  Okay, each individual LED on the NeoPixel strip can be set to a different colour, but when you are using it for lighting are you really going to do that?  You also need to add a controller on top of that.

Recommended?

This board is something I was looking for quite a few months ago, but couldn’t find.  I did make my own version – not as a pHAT, but as a string of cobbled-together parts. It wasn’t that neat, but it was cheap and very ugly!  Personally, I’m going to buy these for my project and abandon what I have.  If only I could power the lot from one power supply…

Back the project on Crowd Supply.

Create a NodeRED-controlled, Raspberry Pi-powered Neopixel decoration for your Christmas Tree

The inimitable Mr Les Pounder has written up a brilliant project in which he utilises a string of Neopixel-like lights to give his Christmas Tree some blinky cheer. Soldered up on a ProtoZero board, the circuit requires a few bits and pieces to work and is then placed on a Raspberry Pi Zero W. On the Pi itself, some NodeRED programming is required to control the lights and to provide a web interface. This excellent, achievable project, is documented here. You can see it in action in the video below:

Build an emotive SelfieBot camera with a Raspberry Pi and lots of maker skills

Sophy Wong and her husband have built themselves a selfie booth using a Raspberry Pi. The booth has a camera (obviously) and a screen which displays a facial expression. The selfies taken are printed out by a thermal printer and the bot also emits sounds appropriate to what it’s doing. A full build log, including lots of photographs and all the files you’ll need to laser cut and/or 3D print the case are available over at Adafruit.

Making a radio with the Pimoroni Hyperpixel and a Raspberry Pi

Giles Booth likes to make radios out of tech. This time, he’s taken a Pimoroni Hyperpixel and a Pi and installed on the SD card MPC and MPD which allows him to play streams or MP3 files. He’s then programmed the Pi using Python and the Tkinter library and made a touch-interface GUI to allow the user to select stations. Read how he did it here.

High school senior helps develop system for monitoring concussion risk with a Raspberry Pi

A Boston high school senior has helped to develop a system to monitor the risk of concussion in contact sports. Tiana Rossi, working alongside employees of Envision, used a Raspberry Pi and an accelerometer/gyroscope sensor to monitor the amount of force encountered by players which are then relayed back to the coaching staff to determine the risk of concussion. Read more about this project here.