Refunds Shipping

We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

HAL 9000

By Andrew Gregory. Posted

HAL 9000

AI assistants are a common project. Raspberry Pi sits in the room with you, listening for commands, translating speech to text, and sending text queries to your AI of choice using that service’s API. When the answer comes back from the planet-killing data centres, Raspberry Pi runs it through a text-to-speech engine, and Bob’s your uncle: you have a working AI assistant, with all the actual AI outsourced.

Advertisement

Cyberdeck projects – survive in style with Raspberry Pi!

or free PDF download

What’s often confused us is why more people don’t take their inspiration from the original AI assistant: HAL 9000, the creepy, disembodied voice of the ship’s computer from 2001: A Space Odyssey. We were therefore delighted to discover this AI assistant by Jan Aranda Arcas, aka Withoutsleep_dev. We asked Jan about his build; here’s what he said: “I chose Raspberry Pi because I wanted HAL to be easy for anyone to build while still serving as a useful hardware interface. It handles receiving the AI’s responses, playing the audio, and recording the user’s voice before sending it to the Python script running on the main computer. The Raspberry Pi offers a great balance of performance, low power consumption, affordability, and excellent community support. Over the years, its community has made it an incredible platform for projects like this.

The parts are 3D printed and painted by hand, and the ‘eye’ is glued on; the code is all open source, and uses Python modules including ear.py, translate.py, whisper.py, voice.py, and mouth.py.

“I also have a personal reason for choosing it. I received this Raspberry Pi as a gift from a friend of my father’s, who encouraged me to experiment and build interesting projects. HAL 9000 ended up being the perfect project for it.”

Andrew Gregory photo

Features Editor Andrew trawls the internet for Cool Stuff while keeping the magazine running smoothly.

Subscribe to Raspberry Pi Official Magazine

Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.

Subscribe