Skip to main content
  1. Home
  2. Emerging Tech
  3. Smart Home
  4. News

Amazon worker’s A.I.-powered cat flap stops his pet from bringing in dead animals

Add as a preferred source on Google
Image used with permission by copyright holder

How do you stop your beloved pet cat catching and murdering innocent wildlife, then bringing it into your home in the middle of the night and waking you up? There’s plenty of advice out there, ranging from getting sweet little Figaro a collar with a bell, to disincentivizing the act by quickly disposing of dead critters without making a fuss. Of course, if you’re a technically minded Amazon employee, there’s another option too: You rig up your cat flap to an A.I.-enabled camera and Arduino-powered smart locking system. You know, the good, old fashioned way.

That’s exactly what Amazon product manager Ben Hamm did recently, after reaching the end of his tether with cute-yet-murderous cat Metric. To create the door locking mechanism, Hamm affixed an Arduino to an electromagnetic bolt that he attached to the cat door. He also set up a camera using Amazon’s AWS DeepLens, a programmable video camera which can run deep learning models locally and take action according to what it sees. He then set about coding his solution using programming language Python and Amazon SageMaker, a managed cloud service that enables developers to build, train, and deploy machine learning models.

Cats, Rats, A.I., Oh My! - Ben Hamm

“The most important part of training machine learning software is getting your hands on enough data,” Hamm told Digital Trends. “First I programmed my camera just to capture images every time it detected movement, and then I spent months labeling over 23,000 images. As the most important data — Metric bringing in prey — happened unpredictably, this took time. If my camera failed when Metric brought in a rat, I would get disappointed. You start to get very greedy for quality data! Once I had the data nice and labeled, I fed it into Amazon SageMaker to create image classification models.”

Recommended Videos

The finished system means that, when Hamm’s camera detects Metric trying to bring in prey, it sends a USB signal that locks the door. (Because DeepLens does its processing locally, this will work even if Hamm’s internet goes down.) The cat flap remains locked for a quarter hour, and Hamm is sent a text message. He also set it up so that it sends a “blood money” donation to the National Audubon Society, which protects birds.

As to whether he plans to commercialize the technology, Hamm remains unsure. “The finished product is currently installed over the window of my cottage,” he said. “I was not planning on commercializing it, but the outpouring of desperate cat owners has definitely been interesting!”

Luke Dormehl
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Yet another study says AI is bad for elections, and the rabbit hole gets worse
AI may be an election bomb waiting for someone to light the fuse
Voters cast their ballots on Election Day

Another election, another study has concluded that asking an AI chatbot for political guidance is a spectacularly bad idea. Research conducted during Hungary’s 2026 parliamentary election found that ChatGPT and Google Gemini offered not just inaccurate but also inconsistent and unreliable voting advice. The chatbots misclassified voter profiles, overlooked relevant parties, recommended parties absent from the ballot, and sometimes produced materially different answers when given the same information repeatedly.

AI keeps failing the voter test

Read more
Samsung’s humanoid robot ambitions are real, but factories come first
Samsung’s new robotics division has humanoids in its sights, although its immediate business is far more practical factory automation
Robot Touch Human Finger

Samsung wants a place in the humanoid race, but its new robotics push begins with machines built for factories rather than homes.

The CEO-led RX robotics division will initially focus on manufacturing robots. Samsung has separately identified humanoids as a priority, although it hasn’t announced a commercial model or explained where one fits into the division’s immediate plans.

Read more
The future of AI may depend on this one behind-the-scenes change
Running Claude on Android.

Whenever a new AI model arrives, it's easy to get caught up in the bells and whistles. We talk about how much smarter it is, how quickly it answers questions, or how realistic its images have become. But here's the thing: none of that matters much if the AI can't reliably work with the apps and services people use every day.

That's why an upcoming update to the Model Context Protocol (MCP) caught my attention. It isn't a new chatbot or a fancy AI model. In fact, most people will never even know it's happening. But it could quietly make the AI ecosystem a lot healthier. If you've never heard of MCP before, don't worry. Think of it as a shared language that lets AI assistants safely talk to apps like Gmail, Slack, calendars, databases, and countless other services. Instead of every company inventing its own way to make those connections, MCP gives everyone a common rulebook.

Read more