TCS3200 COLOR SENSOR WITH ARDUINO.

  Рет қаралды 20,660

MYTECTUTOR

MYTECTUTOR

Күн бұрын

Пікірлер: 7
@3xAudio
@3xAudio 4 жыл бұрын
Interesting tutorial. I can't wait to use the colour sensor in more of my projects. so many possibilities. Clear instructions thanks for making this.
@alfred8294
@alfred8294 7 ай бұрын
Thanks for sharing this information. Very helpful. And you are a great teacher.
@AXELGAMALIELLOPEZMIRANDA
@AXELGAMALIELLOPEZMIRANDA Жыл бұрын
// TCS230 or TCS3200 pins wiring to Arduino #define S0 4 #define S1 5 #define S2 6 #define S3 7 #define sensorOut 8 // Stores frequency read by the photodiodes int redFrequency = 0; int greenFrequency = 0; int blueFrequency = 0; void setup() { // Setting the outputs pinMode(S0, OUTPUT); pinMode(S1, OUTPUT); pinMode(S2, OUTPUT); pinMode(S3, OUTPUT); // Setting the sensorOut as an input pinMode(sensorOut, INPUT); // Setting frequency scaling to 20% digitalWrite(S0,HIGH); digitalWrite(S1,LOW); // Begins serial communication Serial.begin(9600); } void loop() { // Setting RED (R) filtered photodiodes to be read digitalWrite(S2,LOW); digitalWrite(S3,LOW); // Reading the output frequency redFrequency = pulseIn(sensorOut, LOW); // Printing the RED (R) value Serial.print("R = "); Serial.print(redFrequency); delay(100); // Setting GREEN (G) filtered photodiodes to be read digitalWrite(S2,HIGH); digitalWrite(S3,HIGH); // Reading the output frequency greenFrequency = pulseIn(sensorOut, LOW); // Printing the GREEN (G) value Serial.print(" G = "); Serial.print(greenFrequency); delay(100); // Setting BLUE (B) filtered photodiodes to be read digitalWrite(S2,LOW); digitalWrite(S3,HIGH); // Reading the output frequency blueFrequency = pulseIn(sensorOut, LOW); // Printing the BLUE (B) value Serial.print(" B = "); Serial.println(blueFrequency); delay(100); }
@marianavelandiahernandez9693
@marianavelandiahernandez9693 5 ай бұрын
Dios te bendiga
@fahmiihdana7629
@fahmiihdana7629 4 жыл бұрын
hello, can i ask something, how to made rgb sensor color and duplicate the color to light another lamp with same color from rgb sensor ?
@SandeepKumar-ci1mn
@SandeepKumar-ci1mn 3 жыл бұрын
Programming code me error hai....
Arduino Color Sensors - TCS230 & ISL29125
34:57
DroneBot Workshop
Рет қаралды 143 М.
How to Use a TCS3200 Color Sensor with Arduino (Lesson #38)
18:56
Science Buddies
Рет қаралды 9 М.
Arduino & TCS3200 Color Sensor: The Ultimate Color Detector
27:33
Upload Ideas With Itamar
Рет қаралды 808
Using the colour sensor TCS230 or TCS3200
22:55
XTronical
Рет қаралды 14 М.
Using LCD Displays with Arduino
46:23
DroneBot Workshop
Рет қаралды 1,7 МЛН
MCP2515 CAN Bus Module with Arduino.
10:59
MYTECTUTOR
Рет қаралды 2,2 М.
How to use the Color Sensor with Arduino board (TCS3200 & TCS3210)
11:21
Arduino Color Sensing Tutorial - TCS230 TCS3200 Color Sensor
4:48
How To Mechatronics
Рет қаралды 458 М.