I'm supposed to make a project with the TSC320 color sensor ( data sheet: https://goo.gl/tfZQ2B ) which I bought online.
Issue is, the sensor have 4 light leds on it, but only 2 get ON while the other 2 are always OFF no matter how I connect the sensor.
As each led has its legs surfacing the other side of the "board?" I touched the off leds legs with the GND and VCC cables inverted and got ON. Don't know if the leds got inverted or I need to connect the sensor in another way.
I have already followed 4 tutorials and the frequencies seems normal until I map them to
map(variable, x, x, 255,0);
which results in negative or over 255 values. Don't know if has something to do with the off leds.
It's a nightmare by the time as I need this working for the end of the week, as this is going to be my exam/project =/
The 4 tutorials I had followed are:
- Arduino Color Sensor TCS230 TCS3200 | Random Nerd Tutorials
Hope you know something about this sensor. Thanks.