Schlagwort: Pet Door

  • AI-powered pet flap tracks where your furry friend is

    AI-powered pet flap tracks where your furry friend is

    Reading Time: 2 minutes

    For those who own a pet with the freedom to move between the house and the yard, keeping tabs on where they are can be a challenge, especially if there’s a pet flap involved. Instructables member “madmcu” wanted to know where their cat was whilst away from the house on vacation, so they came up with an AI-driven solution that could log entrances and exits automatically.

    Because a closing flap will induce vibrations, madmcu started the project by adding a three-axis accelerometer just above the pet door’s hinge. The IMU was then connected to an Arduino UNO R4 WiFi in order to collect many data samples of a pet going through the flap. Every loop of the data collection program caused the three axes to be printed out over USB serial and sent to STMicroelectronics’s NanoEdge AI Studio application. It was in this app that madmcu set up and trained a classification model on the dataset using the two labels of either “inside” or “outside.”

    Once exported, the model was deployed back onto the UNO R4 WiFi along with an updated sketch that continuously classifies new accelerometer readings and prints the result if there is any. At the end of their project write-up, madmcu provides a couple ideas for adding alerts and even a dashboard thanks to the UNO R4’s built-in Wi-Fi capabilities.

    The post AI-powered pet flap tracks where your furry friend is appeared first on Arduino Blog.

    Website: LINK

  • This DIY pet door helps keep a dog out of the cat’s litter box

    This DIY pet door helps keep a dog out of the cat’s litter box

    Reading Time: 2 minutes

    Science Buddies had a problem: their tiny little pug loves eating their cat’s poop. Because the pug is smaller than the cat, they couldn’t simply put the litter box behind a tiny cat door. So they came up with a more sophisticated solution: a motorized door triggered by a magnetic collar.

    Riley the pug’s responses to poop access prevention are awfully pugnacious, but she is also pretty skittish. Science Buddies surmised that a cardboard door would be enough to stop her. But that would also stop Trouble the cat, so the door needed to remain open for Trouble and only close when Riley tried to enter the area with the litter box. After experimenting with a few different solutions, Science Buddies landed on servo-actuated cardboard doors that close in the presence of a strong magnetic field.

    That magnetic field comes from a permanent magnet dangling from Riley’s collar. An Arduino UNO Rev3 board detects that magnet using several Reed switches arranged along the bottom edge of the door frame. When the magnet causes the Reed switches to close, the Arduino knows that Riley is trying to get to the cat poop. In then closes two cardboard doors using small hobby servo motors.

    It took some tinkering to position the Reed switches in a way that they’d trigger consistently, but Science Buddies found a reliable setup in the end. Now whenever Riley attempts to get to the litter box, the cardboard doors slam in her adorable pug snoot and she abandons her quest.

    [youtube https://www.youtube.com/watch?v=Djzx54j-2ZU?feature=oembed&w=500&h=281]

    The post This DIY pet door helps keep a dog out of the cat’s litter box appeared first on Arduino Blog.

    Website: LINK