Voice controlled Raspberry Pi paper towel dispenser turns a prank into reality

Raspberry Pi
(Image credit: 3megabytesofhotram)

We've all been there before. Your hands are soaking wet because you're decent enough to wash them but you really don't want to undo all of your hard work and touch the same towel dispenser that everyone else has. Sure, you could be lucky enough to find yourself in front of one of those motion sensor ones that require you to wave your hands like a maniac just to get a paper towel — but if you're luckier, you can use this cool voice-activated Raspberry Pi paper towel dispenser put together by maker and developer 3megabytesofhotram and yell your paper towel into existence.

If you want to recreate this project, it would help to use the exact paper towel dispenser model that 3megabytesofhotram is using as the 3D printed components were designed to accommodate it specifically. Maker 3megabytesofhotram confirmed that he's using a Scott Pro Manual Hard Roll Towel Dispenser. Driving the operation is a Raspberry Pi 4 with 2GB of RAM connected to an L298N 1A DC motor driver, a 12V DC Motor and a microphone.

As with many open source projects, you can find source files over at the official project page. While we don't get a good look at the code, the 3D printer STL files have been made available that can be used to mount the hardware inside. There's also a video demo of the project in action over at Vimeo.

If you want to get a closer look at this Raspberry Pi project, visit the project page shared to Hackaday where you'll find more details and tons of pictures showing off the inside.

Ash Hill
Contributing Writer

Ash Hill is a contributing writer for Tom's Hardware with a wealth of experience in the hobby electronics, 3D printing and PCs. She manages the Pi projects of the month and much of our daily Raspberry Pi reporting while also finding the best coupons and deals on all tech.