Sensors

Measuring Brightness with a LED

twentysixer has developed a simple but effective way to detect brightness with the TinyLoRa. All that is needed is a simple LED: With the TinyLoRa and a simple led you can detect brightness and darkness. The LED is connected to 2 GPIOs in the reverse direction. The LED is charged and measured until it is discharged again. The darker it is, the longer it will take to discharge it. Clear LEDs with a low forward voltage are best suited, e.