Build Your Own Raspberry Pi-Powered Interactive Pet

Build Your Own Raspberry Pi-Powered Interactive Pet

Part of the appeal of the Raspberry Pi is how easy it is to get kids into coding. Case in point, Geek Gurl Diaries shows you how to build an interactive pixel pet that senses when you shake it using a Raspberry Pi and a few lines of Python.

The project uses a sensor to tell when you shake it and a tiny LED screen to show the animal. Then, you’ll just need to write the program that tells the screen how to behave. It’s a great learning project for both the Pi and Python, plus you’ll end up with an adorable little toy in the end.

Raspberry Pi Sense Hat Pixel Pet [YouTube]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments


Leave a Reply