Published using Google Docs
Duck Off
Updated automatically every 5 minutes

Duck Off

Why did you start out on this project:   We live on a rural property and have around 20 -40 wild ducks around at any one time.  We have a large dam and jetty, however it is almost unusable due to all the duck poo.  So I decided to make a duck scarcer/repellent.  We are more than happy to have them all wandering around, BUT not shitting on the jetty.

How does it work?  It uses both a passive IR and a microwave presence sensor to detect ducks.  Once triggered it delivers and light and sound show for 10 seconds, if within that time period there is still activity, it changes into Blast mode and really ups the shock and awe for another 10 seconds.   It then goes into recovery mode.

The noise is generated by a simple 2 transistor amplifier, fed from a PWM output and driving a 12V 5W horn speaker (because that is what I had lying around).  The Play routine takes a list of tuples and plays varying frequency and volume combinations that are customizable and hopefully scarry to ducks.  Their hearing range is similar to ours.  The Play routine also drives the strobe lights, which are hopefully also scarry.

Parts

Schematic

Enclosure - 3D printed

Assembly

Files (main.py,  more pictures, FreeCAD design, 3D model in step format )

https://github.com/MarkMakies/Duck-Off/

Videos

https://youtube.com/shorts/f2WUhRsC7lQ?feature=share

https://youtube.com/shorts/twOLctHPTis?feature=share

Extra Pics added 20/6/2023

        

Extra Information added 5/7/2023

Duck Off has now been deployed out in the weather and on the jetty for 20 days of service.  An area of about 4 x 2 m directly in front of Duck Off is completely clear of poo.  🙂.

PIR sensitivity needed to be turned all the way down otherwise there were many false triggers.  Possibly wave action on the water due to wind, but I am unsure and couldn’t identify any other possible sources.

Photos below show the final assembly and waterproofing.  It is critical to seal around the PIR plastic lens, this is where most water ingress occurred.  I disconnected the lens from the PCB then siliconed it onto the front shell and then reattached the PCB.

To do this whilst not getting too much silicon on the lens and to ensure a tight seal, I first smeared the inside edge of the cutout with a bead of silicon.  I found that if you do it from the front side and scrap a screwdriver edge of silicon through the opening and it deposits and sticks as neatly as possible to the inside.  Then press the lens into position - watch orientation as the holes are not in a square pattern.  When set, press the PCB back into place which I additionally secure with hot glue.

The back has 4 holes, 3 for mounting to the horn speaker and one for the power and speaker cables.  Cover them with silicon and I also cover the cable exit on the back with silicon.

I’ve decided to join the two shells using silicon.  Apply a small bead all the way around on the inner edge of the clear piece, then just press on for a tidy join that doesn’t need much if any cleanup.

I was worried about ingress on the single layer front, but it doesn’t appear to be a problem, so I’m not coating it with epoxy as previously thought. I have added (not shown) a 1mm bleed hole drilled into the bottom of the clear shell to assist with condensation clearing.

Here are some assembly pics and pics of the finished unit at the end.

Duck Off © 2023 by Mark Makies is licensed under CC BY-SA 4.0