stephaneamans / app-home_automation

0 stars 0 forks source link

[HW] Add a light sensor option #27

Open stephaneamans opened 6 months ago

stephaneamans commented 6 months ago

Add a light sensor to the dedicated AD input.

stephaneamans commented 6 months ago

Sensors examples: https://fr.rs-online.com/web/p/capteurs-de-couleurs-et-lumieres/2381523

stephaneamans commented 5 months ago

Current max = 10 mA to cover the ADC 3 V range. R = U/I = 3/(10-3) = 3k ohms => 3.3K