Tell us about yourself!

Complete Your Profile
  • An LED You Can Blow Out Like a Candle!

    1) Turn LED on.2) Wait 1s, measuring the temp (voltage) the whole time.3) Did the temp vary outside a specific range during the wait?4) If yes, it's gusty. Turn the LED off for maybe 250-2500ms and then back on. Then loop back to (1) and this time leave it on for a random value of 250-500ms (maybe the more it varied, the shorter both periods are.)5) If no, leave it off for 5 seconds (plus maybe some random number of ms) and then loop back to (1) with the 1s delay back in step 2. Something like that wouldn't leave them off completely with no wind but WOULD allow for some variability when the wind does blow. It'd need some calibration but would be workable.By adding a small randomness to (5) as well as step (4), you'd also keep them all from cycling in sequence..Also using an ATTinyXX, yo...

    see more »

    1) Turn LED on.2) Wait 1s, measuring the temp (voltage) the whole time.3) Did the temp vary outside a specific range during the wait?4) If yes, it's gusty. Turn the LED off for maybe 250-2500ms and then back on. Then loop back to (1) and this time leave it on for a random value of 250-500ms (maybe the more it varied, the shorter both periods are.)5) If no, leave it off for 5 seconds (plus maybe some random number of ms) and then loop back to (1) with the 1s delay back in step 2. Something like that wouldn't leave them off completely with no wind but WOULD allow for some variability when the wind does blow. It'd need some calibration but would be workable.By adding a small randomness to (5) as well as step (4), you'd also keep them all from cycling in sequence..Also using an ATTinyXX, you could easily run it at a lower voltage and that'd make the ADC have a larger range (if Vdd is 3V, for example, then the ADC has a resolution of 2.9mv, but at 5v, it's 4.9mv/step.)

    View Instructable »