I'm not technically a noob, just been away from this craft for a while and want to get into IOT designing. I've seen the designs for the 'Photosensitive LED Throwables' and I was curious about what it would be needed for a circuit that would, using a battery like a CR2032 turn on an LED in the dark, have it lit for a few minutes, then fade out. A slight variation would be to also have it (when dark) randomly light up (slow fade) for a few seconds then fade out. I'd like to accomplish this with the smallest footprint and simplest circuitry. Any advice?
Comments
http://www.instructables.com/id/Throwduino-Basic-Light-Sensing-Flashing-Throwie-/
It's a throwie consisting only of an LED, an ATTiny85 and a CR2032. The trick is that the LED can also act as a photodiode and the ATTiny has an analogue voltage sensor so you can read the ambient light level without any additional parts.
Message me on instructables (or here if the facility exists - looks like it might) if you want a hand with code that could fade up & down as you were looking for.
Ugi