Light dependent resistor


I have made a project called plant sensor as per the course.It works perfectly fine as no errors have been found but, while in the tutorial the action of this product showed the result in form of 0 and 1. My results are quite different they show numbers like 77,983 etc. as per the time interval.
Why is it so?


The values that you are getting are absolutely correct. Since you are connecting the LDR sensor to the pin A0, which gives analog output, you are getting this kind of variation in your output values based on the light intensity change.

With regards to the video, which shows the output as 0 and 1, it is an error in the video from our side. Apologies for the same. We will look into how we can get this resolved. Thank you for pointing it out.