Building a better mousetrap

IoT stands for “Internet of Traps.”

I wanted a mousetrap that would notify me when it had been tripped so I designed and built one.

Design Goals:

  • Must connect to wifi to send an email

  • Needs to have a long battery life

  • Should build upon a stock mousetrap

  • Powered by rechargeable AA or LiPo batteries

I chose a Thing Plus C microcontroller from Sparkfun. It’s powered by four AA batteries. As the trap closes it moves a magnet away from a magnetic reed switch. The presence of the magnet keeps the switch open and prevents any current from being drawn from the batteries. When the switch closes it powers the board and sends me an email.

Here’s a prototype.

I’ll be 3D printing a case that can be secured to the base of the trap that will house the batteries and microcontroller.

If you’re interested in this mousetrap or help with your own IoT projects please contact me.