Smart Cat
In smart house

Get it on Google Play

By clicking "Launch Dashboard" button, you agree that the personal information from your Google account will be processed by and transferred to Smart Cat project.

What is the idea?

SmartCat is a humane (harmless!) Arduino mouse trap whose status you can track on any device that is connected to the Internet.

What is the problem?

Having read about problems with rats in many countries and cities (such as New York City, for example), our team decided to make a mouse trap that is rather cheap, easy to make, reusable and humane. Mousetraps we found online either won't notify you of itself being activated or are inhumane and also very expensive, while SmartCat mouse trap is cheap and will notify you if a mouse is caught. It is also humane!

Interactive Map: Where New Yorkers Complain About Rats Most

How it works?

When the mousetrap is reset/launched and connected to the house Wi-Fi network, it sends a request to the server which notifies the mouse trap's user by email and notification (if they have the app on their phone) of the mousetrap working properly and being activated. SmartCat works by measuring the distance between the IR proximity sensor and the wall that it's opposite to. If the distance changes (and if a mouse enters it, it will), the servo sensor closes the door to the mouse trap's entrance and the user is notified about that on their phone and email. The user can also check the dashboard on the website to make sure there aren't any connection problems – the mouse trap notifies the server of itself being active every 30 seconds. When the user is back home, they can take the mouse trap, open the door, release the mouse and reset the mouse trap. The data about each mouse trap device is also only accessible by the account it's tied to on our website, which is secure.

DIY Instructions

API usage

To use SmartCat API it is obligatory to create account on the project webpage.
Create new device and access the "Key" and "Secret" for this device in Dashboard.
Send HTTP request to the
where KEY is device "Key", SECRET is device "Secret" and COMMAND is one of the posssible commands ("ping", "connect", "act").

Code for Arduino

Get the Code


Our mousetrap consists of the following components:
Overall price:
15.73 EUR (17.87 USD) + up to 5 EUR (5.68 USD)


  1. Connect the GND, 5v, 3.3v and VIN wires to the Breadboard.
  2. Connect the Wi-Fi sensor.
  3. Connect the Servo sensor.
  4. Download the Arduino IDE and install the CH340 drivers.
  5. Go to the project webpage, log in, make a new device and save changes in Dashboard.
  6. Open the device's code in Arduino IDE, choose the port your device is connected to in "Tools - Port", change the string "AP" value to your Wi-Fi Access Point name, "Password" value to your Wi-Fi password, "DeviceName" value to your device name and "Key" and "Secret" should be changed to the values found on your device's page on the Dashboard.
  7. Upload the program to your Arduino. If everything is set up correctly, the device should work as intended. If it doesn't work correctly, recheck the values you needed to change in step 7 and upload again.
  8. Disconnect the USB and connect the battery like in the image. Press the reset button if you need to reset the device. And that's it!
Step 1
Step 2
Step 3
Step 4
Step 5


Daniils Vladimirovs

Website code and design + Server API

Edvards Jānis Rečickis

Arduino engineering

Daniils Vladimirovs & Edvards Jānis Rečickis
No animal was hurt during the development process. We do not support and do not call for violence, cruelty to animals, animal abuse or animal neglect. It is not allowed to use this project for creating harmful devices. Authors are not responsible for any actions made by users of the project.