In this article, we connect a KY-018 LDR to our Microbit - we will use Makecode and show the JaavScript and Python output as well The KY-018 is a Photoresistor module which can be used to measure light intensity. The resistance will decrease in the...

In this example we connect a photoresistor to a micro:bit, the value read from the photoresistor corresponds to the amount of light present. The photoresistor is connected to P3 in.

A photoresistor (or light-dependent resistor, LDR, or photocell) is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity; in other words, it exhibits photoconductivity..

This div height required for enabling the sticky sidebar
Ad Clicks : Ad Views : Ad Clicks : Ad Views :