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.
@px16905 жыл бұрын
Hahaha ordered the same module literally yesterday.. this couldn't have come at a better time 😂
@faiza77745 жыл бұрын
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.
@XTronical5 жыл бұрын
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.
@bahrilnugroho14744 жыл бұрын
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.
@XTronical4 жыл бұрын
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.
@bahrilnugroho14744 жыл бұрын
@@XTronical i didn't change your code ,just copied that then ran the code ,that was what happening
@XTronical4 жыл бұрын
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.
@bahrilnugroho14744 жыл бұрын
@@XTronical what os do u use?
@XTronical4 жыл бұрын
Windows 10, but I think there may be issues with the serial software in arduino too
@mickjoslyn20948 ай бұрын
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!
@XTronical8 ай бұрын
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?
@flopkorn2go7224 жыл бұрын
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 ?
@XTronical4 жыл бұрын
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.
@flopkorn2go7224 жыл бұрын
@@XTronical thx alot
@vonries5 жыл бұрын
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.
@XTronical5 жыл бұрын
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.
@vonries5 жыл бұрын
@@XTronical I'm glad I could finally give back a little, because you are always helping us. Thanks for all your great projects.
@shafiqalom84085 жыл бұрын
Sir,as for remain difference of price between TCS3200 & TCS230,which one is best?/Why?
@XTronical5 жыл бұрын
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