• Vending Machine For Birds - Analog Version

    05/27/2024 at 21:57 0 comments

    A vending machine for birds that rewards them with food when they drop something in a hole. Electronics and enclosure materials cost <100 USD/EUR. I've designed a PCB and PVC pipe enclosure and dispenser (described below). The circuit is not complex, but I think a custom PCB makes it easier for people who are not electronics hobbyists to build this. I've made a few different enclosures out of scrap for this, but will share the PVC pipe enclosure details since it's sturdy, waterproof, and the materials can all be found at the hardware store.

    There were two main inspirations for me to start and  document this project

    • Hans Forsberg - designed his own machine and was the first person I learned of that had birds (magpies) bringing items to deposit on thier own
    • Josh Klein - makes his Crowbox designs freely available and supports people who want to build it

    I would like to thank PCBWay for helping me get the PCB made.

    MAIN FEATURES

    • portable
    • saves power until a warm body is present
    • battery or mains powered
    • one moving part
    • accessible components and materials
    • rodents can't break in and get the food
    • cheap to build
    • customizable

    ELECTRONICS, SENSORS, AND POWER

    The circuit is all analog, using four NE555 timers and one LM358 dual op amp. The sensors are all made using IR phototransistors and IR LEDs. The PCB has headers broken out so you can monitor and control it with a microcontroller or SBC. It runs on 5-6VDC, but be sure to use 5V if you are planning to power a USB device (like a camera) with the vending machine's USB ports. If you use a USB cable to power the vending machine, be sure it can deliver enough current. I found that some 10-year-old 2-meter USB 2.0 cables were resulting in a voltage drop from 5 to 4.5-4.8 volts on the vending machine power rail.  Cables that didn't work so well had a resistance >1Ω. Ones that did had a resistance of <0.5Ω. NE555's should get at least 4.5 and Raspberry Pis need at least 4.7V. If things are not working as expected, use a multimeter to check the rail voltage - it should be around 4.9V. Shorter cables are less lossy and take up less space inside the enclosure. 

    Power consumption at 5V is as follows:

    Without RPi Zero W

    • Idle with Powerbank Keep-Alive and TImer enabled: 18mA
    • Timer uses 8mA
    • Powerbank Keep-Alive uses 4mA
    • ^With both of these disabed it uses 6 mA
    • IR LEDs on: 320mA
    • IR LEDs and motor on: 510mA

    With RPi Zero W and wide-angle camera module

    • Idle with Powerbank Keep-Alive and TImer enabled: 220mA
    • IR LEDs on: 520mA
    • IR LEDs and motor on: 820mA

    So with the Rpi and camera you could get about 2 days out of a 20,000 mAh power bank. With just the vending machine you could get about 10 days.

    Modules

    • Powerbank Keep-Alive: 555 sinks current every 7-22 seconds for 0.7-2.2 seconds to keep USB power banks on while sensors are in standby - the powerbank keep-alive can be disabled.
    • IR LED ON/OFF: 555 keeps the IR LEDs used by the sensors on for 22 seconds after the last PIR trigger
    • Op Amps: LM358 used as comparators to adjust the threshold of the sensors and send signals when they are triggered
    • Motor Controller: 555 turns on the dispenser vibration motor when the deposit sensors are triggered, tuns it off when the dispense sensor is triggered
    • Timed Dispense: 555 dispenses food every 10-100min - timed dispense can be disabled
    • Daytimer: Phototransistor that puts the timer in reset while it's dark outside - brightness threshold can be adjusted or disabled (Rev. B)
    • PIR Sensor: Sends a signal to turn on the sensor IR LEDs
    • Deposit/Dispense Sensors: IR phototransistors and IR LEDs used as proximity sensors to monitor the deposit and dispense chutes
    • Hopper Level Sensor: IR phototransistor and IR LED to detect when the food level gets low (Rev. B)
    • Monitoring/Control: lines for monitoring and triggering events with an external controller (Rev. B)

    PCB, BOM AND GERBERS

    Kicad Files (Github): https://github.com/src1138/VMFB Gerbers, PCB and BOM...

    Read more »

  • Bird Litter-for-Food Projects

    03/17/2024 at 14:38 0 comments

    Aside from my Vending Machine For Birds, there have been quite a few efforts by other folks which I am listing here.


    Corvid Cleaning in Sweden: https://corvidcleaning.com/

    Started by Christian Günther-Hanssen on 2013. Got scooped by the media - not ready to share details yet.

    Their site has an informative timeline of similar projects: https://corvidcleaning.com/index.php/timeline/


    Puy de Fou Park in France: https://www.npr.org/2018/08/13/638205639/french-theme-park-asks-crows-can-pick-up-trash-why-cant-you

    More of a stunt than a sustainable effort, but very cool.


    The Crowbar by Crowded Cities: https://www.crowdedcities.com/

    Kicked off by a Dutch Startup around 2018. 


    The Crowbox: http://www.thecrowbox.com/

    Open source project based on Joshua Klein's idea. Latest version uncovers food instead of dispensing it.

    Original Version

    Current Version


    Steve Joy: https://www.youtube.com/@4STEVEJOY34/videos

    I think Steve Joy was the creator of the CrowKit. There is footage of crows using it as intended.


    Hans Forsberg: https://www.youtube.com/channel/UCtkv3wuEP-Veur4iYJWkBgA

    Real accomplishment getting wild magpies to exchange bottlecaps and other items for food. This project really got me started on my own. 


    Tomas and Olof Morsing (The Magpie Recycling Project): https://www.youtube.com/channel/UCEhPdSIMrLNynfwnkibVzZg/videos?view=0&sort=da

    Other than Forsberg, one of the few successful examples out there. Huge contraption, but if I had my own yard I'd build big too :)


    Crowbuddy: https://www.youtube.com/@CrowbuddyNL/featured

    Gijs-Peter Kuijpers developed a movable, battery-powered, solar-charging cabinet that dispenses dog kibble for depositing litter. Seems to be an active project with an installation at the Vienna Zoo!

    Kraaien ruimen zwerfafval op in ruil voor hondenbrokken: 'Slimme dieren' |  RTL Nieuws Christophe Vieren:

    At the suggestion of one of his students, Sébastien Audibert, he built a device and has video of a magpie picking up a flattened can on the ground a few meters from his device, approaches the device and deposits it.

    His blog is no longer accessible since I originally posted this :( 

    It used to be here:  https://christophevieren.fr/collecter-les-dechets-grace-aux-corvides-sauvages


    Birds For Change: https://www.birdsforchange.fr/

    I must have overlooked this earlier, since I just found it in 2024. A French startup that now has a few installations in parks in France. It looks like their first device was derived from the Crowded Cities Crowbar. Apparently they picked up the project after Crowded Cities paused activity.

    Their current solution:

    In the end, for the purpose of getting wild, untrained birds to exchange stuff for food, the only the  success in getting wild birds to exchange litter for food I've seen so far was had by:

    • Christophe Vieren
    • Steve Joy
    • Hans Forsberg
    • Tomas and Olof Morsing