Stories
Slash Boxes
Comments

SoylentNews is people

Submission Preview

Link to Story

Two ways to use an LED as a light sensor with Arduino

Accepted submission by owl at 2024-06-20 17:26:04
Hardware
https://blog.jgc.org/2024/06/two-ways-to-use-led-as-light-sensor.html [jgc.org]

I needed to log when a light switched on and off during the night as part of debugging an oddly behaving movement sensor. To do that I built a really simple light sensor logger using an Arduino Leonardo, a large LED and a resistor or three.


Original Submission