BitBarista: fully autonomous coffee machine built using Raspberry Pi and Bitcoin
By Russell Barnes. Posted
Advertisement
Get started with Raspberry Pi – everything you need to know to start your journey!
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
Get started with Raspberry Pi in Raspberry Pi Official Magazine 161
There’s loads going on in this issue: first of all, how about using a capacitive touch board and Raspberry Pi 5 to turn a quilt into an input device? Nicola King shows you how. If you’re more into sawing and drilling than needlework, Jo Hinchliffe has built an underwater rover out of plastic piping and […]
Read more →
Win one of three DreamHAT+ radars!
That’s right, an actual working radar for your Raspberry Pi. We reviewed it a few months ago and have since been amazed at some of the projects that have used it, like last month’s motion sensor from the movie Aliens. Sound good? Well we have a few to give away, and you can enter below. […]
Read more →
RP2350 Pico W5 review
It’s Raspberry Pi Pico 2, but with a lot more memory
Read more →