3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino multi-mode lamp with soft touch switch

Step 5The 'Sketch', or program.

The \
Currently the lamp cycles through 4 different modes: Sequencing through all 4000 color combinations; different levels of white light; a color chaser where each LED morphs into all possible shades; and a firelight simulator (seen below), where the program tries to emulate the flickering effects of a fireplace.

It's only taking up 5k-bytes of the 32k-byte program space, so there is room for a lot more features.

I'm constantly adding things to it, so send email to: qs (at) quantsuff.com and I'll send you the latest version of the sketch.

Firefly function added (progMode==4): Emulates the courtship behavior of the species. Each LED represents a Male, each with his own flashing sequence. Once in a while, all 3 LEDs go off, which is the Female sequence to get the males excited.

Per your requests, I will post the most current program listing in the following step.


« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
177
Followers
22
Author:qs