Course Outline
The "Smart Barnyard AI Vision Programming" is an 8-session (45 mins per session) course for K-12 students with no programming experience. It integrates AI vision module, hardware operation and basic programming, guiding students to complete practical farm-related tasks (wild animal prevention, bird driving, automatic feeding) to improve STEM literacy.
8-Session Detailed Outline
| Session | Topic | Core Objectives | Key Content | Group Tasks | Assessment |
|---|---|---|---|---|---|
| 1 | Farm Infrastructure & Power Control (Servo & RGB Light) | Master hardware & basic programming for servo/RGB control | Hardware intro, MakeCode setup, servo/RGB programming | Build farm gate; program: Button A (open+green), Button B (close+red) | Formative: Wiring, programming, teamwork |
| 2 | Mode 1: Face Detection | Master AI vision connection & face detection logic | AI vision intro, face detection mode, program linkage | Face detection → servo opens gate (farmer face recognition) | Formative: Connection, program linkage |
| 3 | Mode 2: Motion Detection | Master motion detection & anti-false alarm programming | Motion detection mode, delay/duration blocks | Motion detection → RGB red flash (crop anti-theft alarm) | Formative: Function, anti-false alarm effect |
| 4 | Mode 3: Self-Learning (Card Recognition) | Master self-learning mode & card recognition linkage | Self-learning operation, program with RGB prompt | Teach module to recognize animal cards → RGB color prompt | Formative: Operation, recognition accuracy |
| 5 | Smart Farm Access Control | Integrate self-learning & hardware for wild animal prevention | Wild animal card learning, gate/buzzer/RGB linkage | Bear card detection → gate close + red RGB + buzzer alarm | Formative: Structure, function completeness |
| 6 | Smart Bird-Driving Scarecrow | Integrate self-learning & hardware for bird driving | Bird card learning, scarecrow swing/RGB programming | Bird card detection → scarecrow swing + bright RGB | Formative: Structure, bird-driving effect |
| 7 | Automatic Quantitative Feeder | Integrate self-learning, servo & timing for feeding | Feeder structure, card recognition + timing programming | Animal card detection → quantitative feeding + RGB prompt | Formative: Structure, feeding function |
| 8 | Future Agriculture (Summary & Presentation) | Summarize knowledge, improve presentation ability | Course summary, group presentation, future agriculture discussion | Present group projects; share future agriculture ideas | Summative: Project, presentation, participation |
Was this article helpful?
