The Arduino Uno is connected to a RGB color sensor (e.g., TCS3200 or similar). The sensor reads the color values and sends them over serial communication to a Python script running on your computer.
Basic motion sensing setup using Arduino, PIR sensor, LEDs, and push button for interaction & Motion-triggered alarm system with Arduino, PIR sensor, piezo buzzer, and LED alert. // first pic This ...