Treat Dispenser

by littleBits

Published on December 10, 2014

Rig up a system where your pet can text you when he or she is in need of some NOMs, and you can feed them... from anywhere in the world! 

How it works:
When your cat places his/her paw on a pressure sensor, the cloudBit activates, triggering an IFTTT recipe to send you a text message ["feed me!"]. IFTTT (If This Then That) is a service that lets you connect to different web apps through simple conditional statements.

You can respond by pressing the button on the Cloud Control app. This will send a signal back to your cloudBit telling it to activate a servo. When the servo turns, it unlocks a latch to the mechanism that drops the food.


How To Make It


Set up your cloudBit if you haven’t done so already. Instructions for setting up the cloudBit can be found here.


Connect your circuit: USB power + wire + pressure sensor + wire + threshold + cloudBit + servo. The servo should be set to "turn mode". We held our circuit together with littleBits adhesive shoes.


Now you need to set the threshold. You will want to do this so your cat doesn't have to put that much pressure on the sensor in order to trigger the cloudBit. To activate the cloudBit, you need to send it at least 2.5 volts. If you [or your cat] only put a little bit of pressure on the pressure sensor, you may not send enough voltage to trigger the cloudBit. The threshold allows you to turn the pressure sensor into a digital input [like a button which sends 5V when pressed] at a certain sensitivity that you set. 

Click here to learn how to set your threshold module.


Test to make sure the circuit is working correctly. In Cloud Control on the "receive" tab, you should see the readout change between 00 to 99 when you press and release the pressure sensor. In the "send" tab, you should be able to activate your servo by pressing the button on screen.


Build a custom treat dispenser or hack an existing one that you already have. For build inspiration check out the "Remote Pet Feeder" project.


Now you can feed your pet at anytime from anywhere in the world!

Related Projects

Voice Activated Snack Server (V.A.S.S.)

The Voice Activated Snack Server! A way to serve snacks in my room at the sound of my voice! Part of a review for KidzVuz.com. Thi...

StopWatch of Science

Since the Timeout does not give how long it times out for, I wanted to figure it out, and what better way than with other LittleBi...

Moving Picture Time Lapse

It is a circuit that lights up and in my circuit it looks like a bat swinging at a bird.