Close

Update and smaller PCB footprint/BOM

A project log for Vending Machine for Birds

Simple, inexpensive bird feeder that dispenses peanuts in exchange for dropping stuff in a hole. A vending machine for clever birds.

stephen-chaseyStephen Chasey 12/15/2023 at 18:080 Comments

It's been a little over a month since the student in Warsaw deployed one of these and despite freezing temps and lots of snow the thing has been working fine. It does get clogged with snow build-up though, so a small resistive heater on the plarform is a good idea if you are doing this when there is a lot of snow.

I experimented with dispenser designs that could reliably dispense unshelled peanuts. The one I landed on is just a simplified version of the shelled peanut dispenser. One baffle at a 10-15 degree angle, one vibrating plate with an opening on one side. It works pretty well, and would allow me to deploy it where feeding pigeons is prohibited since pigeons can't eat unshelled peanuts and can't figure put how to open them. The larger openings makes keeping it rodent-proof a challenge. The dispense tube went from 32mm to 50mm. A rat or small squirrel could get in there and cause problems. I'll have to think of a solution for that.

In an effort to make this a more useful research tool I designed a new PCB that relies on external GPIO to work. Sadly, no 555's in this one, but the BOM is smaller (44 components including headers) and so is the footprint (6.5x6.8cm including sensors). This should make it easier to build and install, and you can use prety much any microcontroller, development board, ot SBC to control and monitor it.

It's not fully baked yet - I will create a version tag after I get one made and teseted.

https://github.com/src1138/VMFB-MC

Current Schematic

Current PCB

Board Dimensions: 65x68mm

Front

Back

BOM

Component Count: 44

Ref Qnty Value
D1, D2, D3, D4, D5, D6, D8 7 IR LED
D7 1 1N4001
J1, J2, J3, J6, J7, J8, J10 7 Conn_01x04_Pin
J4 1 Conn_01x02_Pin
J5 1 Conn_01x03_Pin
J9 1 Conn_01x05_Pin
Q1, Q2, Q3, Q4, Q5, Q6, Q9 7 SFH313FA-2/3
Q7, Q8 2 TIP120
R1, R2, R4, R5, R6, R7 6 150R
R3 1 1K
R8, R9, R10, R11, R12, R13, R14 7 10K
RV1, RV2 2 100K
U1 1 LM393

Total BOM cost for all electronic components including a Raspberry Pi Zero W, 8GB micro-SD card, a wide-angle camera module, PIR sensor, a motor and a terminal strip (to make the vibration motor) cost €59.62 at Mouser (not  the cheapest place, but while I'm in the Dallas area for the holidays delivery is next day). Jumper wires (36x F/F) are not included in this BOM, but cost around €6 in most cases. The PCB will cost about €7 per board at PCBWay.

Here is the Mouser cart (minus some non-informative columns).

Mfr. NoManufacturerDescriptionOrder Qty.Price (EUR)Ext.: (EUR)
TIP120STMicroelectronicsDarlington Transistors NPN Power Darlington20.7441.49
SFH 313 FA-2/3ams OSRAMPhototransistors PHOTOTRANSISTOR70.6424.49
LM393PTexas InstrumentsAnalog Comparators Dual Differential10.4280.43
1N4001Diotec SemiconductorRectifiers Diode, DO-41, 50V, 1A10.2140.21
15400594F3590Wurth ElektronikInfrared Emitters WL-TIRC IR THT Blue 5mm 940nm70.42.8
61304011121Wurth ElektronikHeaders & Wire Housings WR-PHD 2.54mm Hdr 40 P Single Str Gold11.421.42
MF1/4LCT52R151JKOA SpeerMetal Film Resistors - Through Hole 1/4 WATT 150 OHM 5>#/td###60.1010.61
MF1/4LCT52R102JKOA SpeerMetal Film Resistors - Through Hole 1/4 WATT 1K OHM 5>#/td###10.1010.1
MF1/4LCT52R103JKOA SpeerMetal Film Resistors - Through Hole 1/4 WATT 10K OHM 5>#/td###70.1010.71
PT10WV10-104A2020-1CRPMAmphenolTrimmer Resistors - Through Hole 100K 20% 10mm POT CREAM COLOR SHAFT20.8861.77
114992065Seeed StudioCamera Accessories Camera Cable for Raspberry Pi Zero12.32.3
SC0065Raspberry PiSingle Board Computers Raspberry Pi Zero WH (With Pre-soldered GPIO Header)114.8814.88
U054M5StackInfrared Detectors An M5StickC compatible human body induction sensor13.263.26
PPN7PA12C1MinebeaMitsumiAC, DC & Servo Motors DC Brush Motor, Flat, 11605RPM, 5VDC12.72.7
39100-1802MolexBarrier Terminal Blocks TERM STRIP 8MM HIGH PROF 2 CIR WHT10.7350.74
114110130Seeed StudioCameras & Camera Modules OV5647-160 FOV IR Camera module for Raspberry Pi 3B+4B, suitable for large or night landscape surveillance11212
SDSDQAB-008GSanDiskMemory Cards 8GB UHS Class 4 MicroSD Card WD/SD19.719.71

I hope to have one of these built and tested in January. I will prototype it with a Rasperry Pi Zero W and add the code for this to the repo, too.

Discussions