Using the colour sensor TCS230 or TCS3200

  Рет қаралды 14,643

XTronical

XTronical

Күн бұрын

Пікірлер: 31
@fabianwinkelmann3931
@fabianwinkelmann3931 5 жыл бұрын
Just works perfectly :)
@thxssio
@thxssio 3 жыл бұрын
Hello, look a lot of people complaining about the code that is wrong, but the error is in the configuration part of the arduino. Basically it's just changing the read speed side from "new line" to "no end of line". Hugs from Brazil.
@px1690
@px1690 5 жыл бұрын
Hahaha ordered the same module literally yesterday.. this couldn't have come at a better time 😂
@faiza7774
@faiza7774 5 жыл бұрын
hello, thank you for sharing your video, but i want to ask questions, does the sensor give constant RGB value of the colors? if yes, how to set the sensor to do so? because i also use this type of sensor but it never give constant RGB value for every color. By the way, I connect pin S0 and S1 to digital pin in Arduino just like any configuration of TCS3200. Please kindly answer my questions because it's going to be very helpful, thank you.
@XTronical
@XTronical 5 жыл бұрын
There is always some variance with results due the the nature of the sample you are testing (usually). The samples would have to be very accurate to give very consistent results. These sensors are very accurate and perform very well. For example as long as I don't move the sample at all then repeating the measurement usually always gives the same result. But taking the sample out and then putting it back in will give a different (but close) result. This is the fault if the sample, not the the sensor. What looks like the same colour for you will have very slight differences on the surface on the sample that the sensor will pick up on. To solve this (and what they do in printing plants when checking colour accuracy of a print) is to allow for a tolerance in the returned values. i.e. you set how much you are prepared for the result to differ from the ideal. If it's within this tolerance it accept as the correct colour. Although I find that you must calibrate the sensor with a known black and known white surface (as shown in the video). If you don't the results vary wildly. If you've not calibrated then this would explain your very bad results.
@bahrilnugroho1474
@bahrilnugroho1474 4 жыл бұрын
hello ,thank you ,your project is awesome ,but i have a problem ,when i calibrate the black and white they appear at the same time and when the black calibration is done the white calibration done it self . Please kindly answer my questions because it's going to be very helpful, thank you.
@XTronical
@XTronical 4 жыл бұрын
See a reply from from about 3 months ago just below. Similar problem. Sounds like extra characters are being sent after you enter the choice. You will need to print out any codes coming in on serial back out to the monitor to see what's being sent. I suspect there's en extra newline char in there. Hope this helps.
@bahrilnugroho1474
@bahrilnugroho1474 4 жыл бұрын
@@XTronical i didn't change your code ,just copied that then ran the code ,that was what happening
@XTronical
@XTronical 4 жыл бұрын
Yes, it's not my code that would do this but your computers OS. Some will send an extra newline char as well as carriage return. I will look at trying to allow for this in the code. Bit hard without actually knowing if this is the issue though but I'll have a go.
@bahrilnugroho1474
@bahrilnugroho1474 4 жыл бұрын
@@XTronical what os do u use?
@XTronical
@XTronical 4 жыл бұрын
Windows 10, but I think there may be issues with the serial software in arduino too
@mickjoslyn2094
@mickjoslyn2094 8 ай бұрын
Hello, I have a quick question if anyone is able to answer. I keep getting 0,0,0 for my RGB values for any color I enter. I have calibrated the sensor and the circuit is built correctly. Now I am using an Arduino Mega, but I dont see any difference as long as I am using the digital pins that are assigned on the schematic and code. Thank you for any help!
@XTronical
@XTronical 8 ай бұрын
Your right, I can't see mega making any difference. So things to try unfortunately would be a normal arduino and/or new unit.
@אושרשייןמהר
@אושרשייןמהר 3 жыл бұрын
If I want to detect colors automatically, what I need to change in code?
@flopkorn2go722
@flopkorn2go722 4 жыл бұрын
hey i have a problem using the code, when i open the serial monitor the only thing i can see there is: "⸮⸮2⸮⸮⸮⸮8⸮\⸮⸮⸮" or similar thing. If i press one of the keys between 1 and 7 it just goes on with this kind of text. What is the problem ?
@XTronical
@XTronical 4 жыл бұрын
Your serial monitor is not set to the same speed as the software. Check the serial. Begin statement for what it is, probably 115200 and in small select box at bottom of serial monitor select this speed.
@flopkorn2go722
@flopkorn2go722 4 жыл бұрын
@@XTronical thx alot
@vonries
@vonries 5 жыл бұрын
Looks like the module they had years ago may have been better than the one they have now. Check this out: kzbin.info/www/bejne/fmirhYSXnpyKrck By Ivcviedo. This use of the module doesn't use the calibration process, but he does use brackets to help catch outliers: kzbin.info/www/bejne/nWTMZmSemct_l9k By How to Mechatronice.
@XTronical
@XTronical 5 жыл бұрын
Some nice looking machines there, I plan on building one in the future, the first one was a very nicely 3D printed machine and looked "sweet" ! The second was more what I had in mind I think.
@vonries
@vonries 5 жыл бұрын
@@XTronical I'm glad I could finally give back a little, because you are always helping us. Thanks for all your great projects.
@shafiqalom8408
@shafiqalom8408 5 жыл бұрын
Sir,as for remain difference of price between TCS3200 & TCS230,which one is best?/Why?
@XTronical
@XTronical 5 жыл бұрын
Tcs3200 use less power when leds off and can also work at temperatures as low as - 40 degrees, compared to the TCS230's 0 degrees. Apart from that they are the same
@ibrahimhlldmr
@ibrahimhlldmr 5 жыл бұрын
hi. where can i get of this project codes??
@XTronical
@XTronical 5 жыл бұрын
Link in the video description
@fly6773
@fly6773 5 жыл бұрын
Very perfect :)
@syedshozab3305
@syedshozab3305 4 жыл бұрын
will this work with arduino uno?
@XTronical
@XTronical 4 жыл бұрын
Yes, the nano and uno are functionally identical.
Arduino Color Sensors - TCS230 & ISL29125
34:57
DroneBot Workshop
Рет қаралды 143 М.
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 96 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,8 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,8 МЛН
HELP!!!
00:46
Natan por Aí
Рет қаралды 61 МЛН
tinkering with: colour sensor
16:29
pileofstuff
Рет қаралды 2,7 М.
Colour Sensor Shoot-Out - Part 3 - TCS34725
18:35
Unexpected Maker
Рет қаралды 16 М.
RGB sensor TCS34725  experimentation with an ESP32 on Platformio
17:41
Retro Tech & Electronics
Рет қаралды 1,7 М.
How to detect color with your arduino
10:08
Hermann Labs
Рет қаралды 651
tcs230 color sensor and thanks for 10k subs
6:58
learnelectronics
Рет қаралды 8 М.
Watch Me Build a Color Sorter - Cytron Maker
14:02
Wan Syazlina
Рет қаралды 5 М.
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 М.
RGB Color Detector Using TCS3200 Sensor Module
15:29
The Tech Lab
Рет қаралды 6 М.
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 96 МЛН