Need help with an ESP8266 and a photocell
Posted: Sunday 23 May 2021 19:42
Hi everyone,
I launched myself into a home automation project in which I wanted to integrate a lux sensor to control the lights intensity via Domoticz.
So I flashed an ESP8266 with ESPEasy and connected a GL5528 like so : wiring 3,3V to A0 through a 1KOhm resistor and the GL5528 from A0 to GND.
When I look at the web interface (configured as Analog Input : Internal), I got a steady value of 65535. Whatever I do, it's not moving.
I first thought it was the resistor which was too low, so I changed it for a 4,7K then a 47K resistor without sucess. Still the same steady value ... I also replaced the GL5528 just in case.
Then I red on the wiki that ESP8266 NodeMCU already had a pullup/down resistor, so I replaced the 47K with a wire. Still, nothing has changed !
I'm coming out of ideas, so if you have any informations that could help me troubleshoot this !
Thank you in advance
I launched myself into a home automation project in which I wanted to integrate a lux sensor to control the lights intensity via Domoticz.
So I flashed an ESP8266 with ESPEasy and connected a GL5528 like so : wiring 3,3V to A0 through a 1KOhm resistor and the GL5528 from A0 to GND.
When I look at the web interface (configured as Analog Input : Internal), I got a steady value of 65535. Whatever I do, it's not moving.
I first thought it was the resistor which was too low, so I changed it for a 4,7K then a 47K resistor without sucess. Still the same steady value ... I also replaced the GL5528 just in case.
Then I red on the wiki that ESP8266 NodeMCU already had a pullup/down resistor, so I replaced the 47K with a wire. Still, nothing has changed !
I'm coming out of ideas, so if you have any informations that could help me troubleshoot this !
Thank you in advance

