Raspberry Pi Doves Repellent


6,709

74

11

Writer - former programmer. Author of Macadam, La Gran Monterrey, El Sueño Colbert, Crónicas de M...

I live in Buenos Aires and here doves are a Biblical plague. I once purchased an owl decoy but doves just ignored it - and maybe even laugh at it - . In fact the only one scared with the owl decoy was me a drunk night in the backyard.

Anyway, now I made this Doves Repellent using that old owl decoy, a Raspberry Pi2 and some other things. The device will detect doves’ movement and it will trigger scary owl and hawk predator sounds. Owl decoy eyes will also turn red. Not sure if red eyes scares doves but the zombie effect is pretty cool.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Requirements

  1. Raspberry Pi with Raspbian OS http://amzn.to/1GnO1om
  2. Owl Decoy – you can also use any bird toy or box http://amzn.to/1GnNZwH
  3. A small breadboard
  4. A PIR movement detector http://amzn.to/1ZUdigp
  5. Two red Leds
  6. A 560 ohm resistor
  7. Some wires
  8. A small active speaker like this one http://amzn.to/1LBgXWW a micro guitar amp like mine will work as well

Step 2: Circuit and Assembly

According to the attached circuit image, connect the Leds, resistor and PIR to the breadboard. Connect to voltage, ground and GPIO 7/8. Connect Raspberry Pi 2 audio output to active speaker.

Mount everything inside the owl decoy or box, insert the red leds into the owl eyes and cut a square for the PIR motion sensor.

Step 3: Software

Copy the attached dovesrepellent.py code and the 2 mp3 files into the Raspberry Pi

Then make this simple step for autoexecution on start

sudo nano /etc/rc.local

Then add this line

(sleep 10;dovesrepellent.py)&

Now save with Ctrl X and exit with Y.

If you want to execute by hand just open terminal and type:

sudo python dovesrepellent.py

Enjoy!

Share

    Recommendations

    • Indoor Lighting Contest

      Indoor Lighting Contest
    • Make It Fly Challenge

      Make It Fly Challenge
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest

    11 Discussions

    0
    None
    Logixal

    1 year ago

    now ya just need a motor to make it spin around lol

    0
    None
    Lykke_dk

    2 years ago

    Very cool project :-) Looking to make something similar to scare the Doves away from my solar panels.

    How is the scary owl doing in real life? Doves still scared, or should I look for other ideas? Thanks

    1 reply
    0
    None
    RoniBandiniLykke_dk

    Reply 2 years ago

    Thanks! doves are scared but you need a good sound amp: 25 watts or more.

    0
    None
    esturniolo

    3 years ago

    Hola Roni.

    Gran idea.
    Voy a intentar modificarla para usarlo con palomas. El problema es que tiene que ser a distancia, ya que el problema está enfrente de mi casa.

    Les dan de comer todos los días y es un asco.

    Alguna sugerencia?

    Gracias!

    1 reply
    0
    None
    RoniBandiniesturniolo

    Reply 3 years ago

    En ese caso podés probar con el "método Hemingway" Un Crossman y una lata de balines.

    0
    None
    dave614

    3 years ago

    Here, doves are not such a plague. However, this could be fun for Halloween ... if I only had the time :-(

    1 reply
    0
    None
    RoniBandinidave614

    Reply 3 years ago

    Time is on your side (Rolling Stones) ;)

    0
    None
    Jobar007

    3 years ago

    You should add movement (like the owl swiveling) as well as sound. Just moving the head would be more convincing than the body.

    1 reply
    0
    None
    RoniBandiniJobar007

    Reply 3 years ago

    Thanks for the suggestion, Jobar007. Maybe for the next version.

    0
    None
    BoKKeR

    3 years ago

    nice idea but it would be better with a arduino and you could send it to sleep and on battery it could last months.

    1 reply