Close
0%
0%

AI Scarecrow - Makes Noise When It Sees Birds

Pigeons kept making my balcony dirty, so I made a scarecrow with an AI camera that makes noises when it sees birds.

Similar projects worth following
An AI scarecrow with an AI camera to detect birds and make noise

In Bangalore, where I live, we have a bit of a pigeon problem. Pigeons are everywhere. Everything the light touches is their kingdom. But now since we moved to a new house, and the balcony isn't protected by nets, the pigeons have turned it into their personal restroom. I clean it one day, and by the end of the day, it's covered in droppings again. The issue is, I can't stay home all the time to keep driving them away. I go to work for most of the day, giving the pigeons a nice time.

To solve this, I decided to create an overengineered solution. An AI scarecrow! It uses an AI camera to detect birds and, when it does, it produces a loud noise designed to annoy those pesky pigeons.

AI_scarecrow.ino

Code for Xiao

ino - 1.21 kB - 11/24/2024 at 15:54

Download

  • 1 × Seed Studio Grove vision AI module v2
  • 1 × Xiao esp32c3
  • 1 × Raspberry Pi camera module
  • 1 × PAM8403 audio amp

  • 1
    Get the design ready

    I started by creating a design for the scarecrow using Canva, which I then had printed on hardboard.

    The first step was to cut out the eyes, as this is where the camera would see through. However, I later realized that I didn't need to cut them out completely; just a hole in one eye would be enough.

    Next, I moved on to the hat. I carefully cut out the buckle area, as this is where the speaker would be placed.

  • 2
    Prepare the AI module

    The Grove Vision AI module is a very useful little device. It can be trained to detect all sorts of things like humans, pets, gestures, toilets (really?), and much more. Check out some of the pre trained models here: Sensecraft AI.

    To begin, connect the cable to the AI module in the direction shown in the first image.

    Then, connect the other side of the cable to the Raspberri pi camera like in the second image.

    Now we can start uploading the model.

  • 3
    Upload the bird detection model

    Head over to Sensecraft AI models page and search for bird detection. Make sure to only use the models that are made for Grove vision AI module v2!

    Although there is one named "Bird recognition", I noticed that it doesn't work very well. Instead, I suggest using the "Wild bird detection" model. I know pigeon is not a wild bird, but it still works.

    Now, connect the AI module to the PC with a USB-C cable and click 'connect device'

    You may be asked to choose your device by the browser. Select the right port (there should only be one) and submit.

View all 7 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates