mortenfyhn / coffee-scales

⚖️ Scales for brewing coffee ☕
GNU General Public License v3.0
22 stars 2 forks source link

Automatic display brightness #5

Closed mortenfyhn closed 3 years ago

mortenfyhn commented 6 years ago

I'll just use a photoresistor. Keep it simple. With the random ldr I have, I measure approx

So it seems that with a circuit like [3v3]---[ldr]---[Vmeas]---[10K]---[gnd] and the ldr I have, a good starting point is: max brightness above Vmeas = 2.44 V (500 raw analog with Vref = 5v) and minimum brightness below Vmeas = 0.73 V (150 raw analog).