This project integrates Python-based image processing with Arduino hardware control. It demonstrates how to process visual data (e.g., object detection, color recognition) using Python 3 and execute physical actions through an Arduino microcontroller. Example implementations include LED indicators, buzzer alerts, and servo-motor actuation triggered by image analysis results.
Component | Pin | Functionality |
---|---|---|
LED | 10 | Status indicator |
Buzzer | 11 | Audio notifications |
Servo | 3 | Mechanical control |
- Python Script: Detects objects/patterns in images.
- Serial Communication: Sends commands (e.g.,
L
= LED on,S
= close servo) to Arduino. - Arduino Response: Executes actions based on received commands.
L/l
: Toggle LEDB/b
: Toggle buzzerS/s
: Open/close servo (180° range)
controller.ino
: Arduino code for servo/LED/buzzer control.- Additional files demonstrate Python integration (e.g., serial communication, OpenCV workflows).
├── arduino/ # C/C++/Proton Basic control code
│ └── controller.ino # Servo/LED/buzzer example
├── python/ # Image processing scripts (Python 3)
└── docs/ # PDFs with schematics and project guides