Can you explain. When sensor reading grayscale gradietn color. Such as Black. Going into gray. And going into white. and vice versa. Look How it does
@Ne109403015 ай бұрын
@@arendelle_ok it should work as a linear scale... 0-3 = Black 3-10= Dark gray ... >20 = white
@shubhamagarwal25484 жыл бұрын
Helpful!
@crusher133711 ай бұрын
Hello, thanks for the video! One question... I tried to build the same circuit and run the code but the only value the serial monitor is giving me is 1023 over and over again. Do you have an idea how to solve it?
@Ne1094030111 ай бұрын
Either the transistor is broken and you need to use a different sensor (if your readings do not change at all no matter the surface in front of the sensor), or you are plugging the sensor (yellow cable) to a digital pin of your Arduino, ensure that you are connecting it to a port with the ~ symbol next to it.
@rolandorobertorivas6464 Жыл бұрын
hi...can you tell me how you calculate the resistences...please....o in what book can i find?
@Ne1094030111 ай бұрын
forum.arduino.cc/t/how-to-calculate-the-value-of-resistor-to-protect-led-and-arduino-pin/119048/5 This forum can help you understand better, but if you are not doing something complicated with Arduino, you can always use 220 or 330 Ohms resistors.
@rampr42254 жыл бұрын
Does this sensor work Outdoors under Sunlight?
@Ne109403014 жыл бұрын
Not pretty well
@shettyadithcreations1799 Жыл бұрын
In which area should we conduct the experiment?
@Ne109403015 ай бұрын
@@shettyadithcreations1799 any flat non-transparent surface should do it
@shettyadithcreations1799 Жыл бұрын
How did you do the track?
@Ne1094030111 ай бұрын
Duct tape on a piece of white corrugated plastic board.
@mehdilaroussi12804 жыл бұрын
Thank you for this Video. I made the same circuit and the same code but im having the same value, like many 5 or many 6 in the serial Port. and i tried with different Sensors but nothing happens, im always getting the same value even i put the light on the Sensor it doesnt change anything. Do you know maybe what could be the problem? Thank you :D
@Ne109403014 жыл бұрын
Seems like the code and the circuit are not matching. Make sure that the sensor is connected to the same port that you declared in the code.
@kenago24935 жыл бұрын
Hi, i hope you can help me how can i make the code to turn a green led when the detection its white and turn a red led when the detection its black?
@Ne109403014 жыл бұрын
Kevin Navarro kzbin.info/www/bejne/pqjCg2mujtedptE Same logic
@technochamps42185 ай бұрын
I think your cny70 sensor is fake
@nadyaslimany94444 жыл бұрын
could you please send me this code
@Ne109403014 жыл бұрын
NADYA SLIMANY it’s a 7 lines code, copy it as you see it in the video.