BitBarista: fully autonomous coffee machine built using Raspberry Pi and Bitcoin
By Russell Barnes. Posted

Advertisement
The desktop computer you've been waiting for: Raspberry Pi 500+
A University of Edinburgh project might just be the first fully autonomous business. The Pi-powered BitBarista accepts Bitcoin payments to dispense coffee, pays users to restock supplies, and will call a technician should a fault occur.
BitBarista is not some glorified kettle with WiFi, though. Using the Bitcoin from coffee sales, BitBarista “pays people for small services such as filling its water tank and replenishing it with coffee beans,” according to Dr Larissa Pschetz, Programme Director of Product Design and Researcher at the Centre for Design Informatics, University of Edinburgh and co‑creator of BitBarista.
BitBarista: fully automated coffee machine pays staff itself
When coffee stocks run low, BitBarista asks the user to select a restock vendor. These options could be ranked in price order, or by ethical preference. Larissa explains, “I was also intrigued by this idea of an autonomous coffee machine that would reduce intermediaries in the coffee trade, potentially supporting smallholder famers in developing countries.”
BitBarista is currently on a long-term trial throughout the UK, “which is revealing reactions to the machine’s autonomous features,” according to a University of Edinburgh spokesperson.
So far, Larissa has seen that “some rituals such as making coffee for colleagues were lost while others, such as watching who chose the ‘best price’ option, were created.”
Raspberry Pi and coffee: BitBarista
The Pi controlling BitBarista uses Raspbian “and different plug‑ins to simplify tasks and connect things together,” Larissa reveals. “We also use Electrum for the BitCoin payments.” The code is on GitHub.
BitBarista might be useful for other vending machines, but Larissa warns, “The machine still needs to follow the social rules of the context where it is placed. If people think it is inappropriate they will probably turn it off.”
Asked whether there were machines where BitBarista technology might not ever be appropriate, Larissa replies, “Of course there is always space for malicious practices, but people are careful and good at figuring these things out so it wouldn’t last in the long term.”

Russell runs Raspberry Pi Press, which includes The MagPi, Hello World, HackSpace magazine, and book projects. He’s a massive sci-fi bore.
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.
More articles

Raspberry Pi 500+ in Raspberry Pi Official Magazine issue 158
We’re quite taken with Raspberry Pi 500+. But when you don’t need all that processing power, and just want a board that will make a plastic skeleton jump around in a terrifying manner, you’ll find Raspberry Pi Pico more than up to the job. There’s more terror in the magazine (which is only right as […]
Read more →

Win one of five Raspberry Pi SSD 1TB
Raspberry Pi prides itself on high quality hardware, and this 1TB Raspberry Pi SSD is no different. You can use it with a standard Raspberry Pi or even in your desktop PC – the choice is yours. We have five to give away and you can enter below Win 1 of 5 Raspberry Pi SSD […]
Read more →

Dual-screen cyberdeck
Twin screens mean you can code on one screen while watching David Bowie’s 1978 Musikladen show on the other.
Read more →
Sign up to the newsletter
Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.