Color sensor using arduino and TCS230
Color sensor using TCS230 and RGB LED. Parts list: Arduino board https://goo.gl/XR3mXG RGB LED https://goo.gl/SPCY5o Resistor 100 ohm (Resistor kit https://goo.gl/p4JvQY ) Color sensor TCS230 https://goo.gl/xC9xhU Breadboard https://goo.gl/rGuHzY Connecting Wires https://goo.gl/BVC3pM Please subscribe to my YouTube channel here: https://www.youtube.com/c/EngMousaalkaabi?sub_confirmation=1 /* // TCS230 color recognition sensor // Sensor connection pins to Arduino are shown in comments Color Sensor Arduino ----------- -------- VCC 5V GND GND s0 8 s1 9 s2 12 s3 11 OUT 10 OE GND */ const int s0 = 8; const int s1 = 9; const int s2 = 12; const int s3 = 11; const int out = 10; // LED pins connected to Arduino int redLed = 2; int greenLed = 3; int blueLed = 4; // Variables int red = 0; int green = 0; int blue = 0; void setup() { Serial.