Example Code For Smart Bird-Repelling Scarecrow
Real-time monitoring of the orchard area; if "birds" are detected moving, it immediately triggers a high-level signal for the scarecrow to wave its arms for repulsion.
Hardware Preparation
| Building Block Expansion Board*1 | micro:bit *1 | Boson:AI Vision Sense |
| 360° Servo*1 | Building Blocks |
Software Preparation
Development tools: Makecode and Bosonkit library
Wiring Diagram

Sample Code
Makecode Sample Program:

microbit-Smart-Bird-Repelling-Scarecrow.zip
Result
Demo Videos:

Was this article helpful?
