Do you know a good dog in need of treats? This clever Raspberry Pi project from Milunova will make sure they’re consistently compensated for things outside of their control. Every time Milunova gets a follower on Instagram, a Pi dispenses a treat for their foster puppy.
The idea was to create a web scraper with the Pi to monitor Instagram for new followers. The best Raspberry Pi projects are ones with rewards, and this one gives a tasty treat any time the follower count changes on Instagram. According to Milunova, at the moment, users can follow and unfollow repeatedly to give endless treats to the dog but that isn’t the long-term plan.
To make sure the pup knows it’s time for a tasty snack, Milunova connected a Bluetooth speaker to sound a special alert. After the alarm is sounded, a motor, connected to the Raspberry Pi via an L298D controller rotates a 3D-printed treat tumbler to spill the good stuff.
We asked Milunova for a few more details on the software side and it looks like the Pi relies on Python alongside Beautiful Soup—a Python package designed for parsing HTML data. The script checks Instagram for the follower count while a loop verifies whether or not the follower count has changed. If it has, the puppy gets a sweet surprise!
If you want to take a closer look and see the treat dispenser in action, check out the original thread at Reddit and don’t forget to follow Milunova on Instagram!
Stay on the Cutting Edge
Join the experts who read Tom's Hardware for the inside track on enthusiast PC tech news — and have for over 25 years. We'll send breaking news and in-depth reviews of CPUs, GPUs, AI, maker hardware and more straight to your inbox.
Ash Hill is a Freelance News and Features Writer at Tom's Hardware US. She manages the Pi projects of the month and much of our daily Raspberry Pi reporting.