Hi Eric. That would be awesome! Yes, it is all done using Arduino. I upload the compiled code to the attiny chips using the Arduino IDE and a USB module for that purpose. No "Arduino" board like a nano is used. I believe the LDR resistance I measured was 80k, hand measured with FLUKE meter outside. I want to remeasure the resistance for both conditions one more time and will let you know. I will post the code shortly !!!hi john,
Please post a copy of your Tiny Code, I assume you used the Arduino IDE to create the coding??
If that is the case, I could write and post the switching point and hysteresis limits code for the Nano, which you could then convert to suit the Tiny,
I am now using a Nano for testing the GL5528 LDR's.
You stated earlier that the LDR resistance was centred around 35k at the Dark/Light switching point.?
Determine the resistance switching for On Dark and Off Light, and I will use those values in the Coding.
E
View attachment 361874
Last edited:

