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

Perfect safe #bitify

Do you dream about safe which holds securely all your gems? Just imagine it — strong case, big numbered wheel on door an...

flash light sensor

At first you might think this is a flash light. Well I hate to break it to you but it's not. It is actually a light sensor. S...

#ChainReaction Laser Security System

When I hear about #ChainReaction I automatically imagine rolling marbles... so I thought we should do something that doesn't invol...