Click here for a free subscription to "HDE" our site newsletter.
Email:

Christmas Lights Icicle Sketch

Battery board assembled onto the Icicle decoration

I haven't had time to write a full featured program to control the icicle but the prototype sketch below provides an icicle that drips every 8 seconds then goes into 'Power Down Sleep' mode in between drips. You can use and modify this sketch whichever way you want.

The enterSleep() function puts the Pro-Mini to sleep. You must give it a parameter which matches one of the cases in the switch statement. I said it was a prototype. The burst() and burstPair() functions illuminate one or two LEDs by enabling the LEDs then sending a square wave to the voltage booster. go_sleep() just calls the enterSleep() function and the loop() function sequences the flashing.

Have a good holiday.



Now subscribe to our newsletter and don't miss a thing
 



Comments (1)

Topic: Arduino Christmas Icicle Lights
Full StarFull StarFull StarFull StarFull Star 5/5 (1)
Facebookdel.icio.usStumbleUponDiggGoogle+Twitter
Full StarFull StarFull StarFull StarFull Star
Essay writing services (US) says...
Awesome article. I’m most definitely interest in this one. I am in reality happy with article quality and direction. This post is spot on in informative how some ideology applies to any script location. Thanks a lot for preservation huge stuff. I am extremely a good deal grateful used intended for this place. Thanks a lot for protection massive things.
16th August 2017 11:28am

Add Comment

* Required information
(will not be published)
 
Bold Italic Underline Strike Superscript Subscript Code PHP Code Quote Insert line Bullet list Numeric list Link Email Image Video
 
Smile Sad Huh Laugh Mad Tongue Crying Grin Wink Scared Cool Sleep Blush Unsure Shocked
Captcha
Refresh
 
Enter code:
 
Notify me of new comments via email.
 
Remember my form details on this computer.
 
I have read and understand the privacy policy. *
 
I have read and agree to the terms and conditions. *
 
 
Powered by Commentics
Click here for a free subscription to "HDE" our site newsletter.