When darkness increases its on
Hi Dabosseke ,
Thank your very much for your contibution. It's great to have projects like this on our website. If you want somebody to join in and participate in your project you should add some more documention and a basic description of what your project is about. Also, step by step introductions of how to build your emergency light and a bill of material will enable others to recreate your project. Maybe there is soemthing you would like to improve and you don't know how? Just write a post in our forum or use the comment function beneath the project tabs and you will get input by other users.
2017-09-05 20:15:23 UTC
- 249 points
Guess all you need is something similar to this: https://diyhacking.com/arduino-ldr-sensor/
You might require to detect the readings of the LDR at exactly when to turn the LED ON. For this you need to note down the readings by constantly monitoring the system after its functional. Once that is done, all you need to do is use one of the GPIO pins and program the logic.
Tip: Use an interrupt pin to trigger an event rather than constantly polling in some loop.
2017-11-17 02:35:02 UTC
- 1 points
Fields marked with (*) are required
I have read and accept the