jnthas / clockwise

do-it-yourself, full-featured and smart wall clock device
https://clockwise.page
MIT License
324 stars 40 forks source link

[Feature Request] Light Sensor #45

Open FabianWeyerstall opened 1 year ago

FabianWeyerstall commented 1 year ago

Is it possible to use this LDR Sensor with your Out of the Box Clockwise version?

https://de.aliexpress.com/item/32648002929.html?spm=a2g0o.productlist.main.91.3bb35cbbJCel8r&algo_pvid=7b60ab7a-91fb-4bee-8bce-148f8f87c61c&algo_exp_id=7b60ab7a-91fb-4bee-8bce-148f8f87c61c-45&pdp_npi=3%40dis%21EUR%210.40%210.35%21%21%210.43%21%21%402145280e16903917914547086d0762%2110000001111815755%21sea%21DE%212103824747&curPageLogUid=P2nasSHnZjtv

Thanks in advance.

Ps.: Best Clock I ever had :)

jnthas commented 1 year ago

Hi Fabian, thank you. It is possible but you can simplify it using only the LDR. If you are using a Trinity board, there is placeholder in the board or if you are using a ESP32 devboard, connect it like in the diagram here -> https://github.com/jnthas/clockwise/wiki/Connecting-the-LDR

hoho1986 commented 2 weeks ago

I cannot find the resistor value of A9050. What is the recommended value?

jnthas commented 1 week ago

The A9050 is an Light Dependent Resistor or LDR

hoho1986 commented 6 days ago

The A9050 is an Light Dependent Resistor or LDR

In datasheet, resistance value can between 2 and 200KΩ at 10Lux. What is the suggested resistance value? or any value can be used?

Thank you.