Fire Lamp

5,957

86

17

Posted

Introduction: Fire Lamp

I found a lot of intersting ideas on the internet on how to make a fire simulation lamp using WS2812c programmable leds and Arduino. So I had to try this too. Spice up the romance that is ;-)

Everyone used a different combination of led types and microcontroller to control them.

All theese combinations had some limitations in terms of how big the lamp can be, what is the intended usage of it, and so on ...

My result you can see below. Like in every project, I don't like to call it finished, because looking at it more and more, I realise more stuff I can enhance it to do.

If you like it please vote for it in the LED Contest and in the Arduino Contest.

https://www.instructables.com/contest/led2017/

https://www.instructables.com/contest/arduino2017/

But let's take a closer look on how to build it.

Step 1: Electronics Creation

Used parts:

  1. WS2812b led strip with leds very close to eachother. You can use others as well, for example if you plan a much higher floor lamp instead of a table lamp.
  2. Arduino nano. For my use this was enough. If you plan more complex stuff, other boards might be more suited
  3. connector wires

Since the leds and the Arduino Nano use 5V, I sticked to this voltage. This means a power bank can be used to power it, so you can just take it with you wherever and whenever you want to set a romantic mood ;-)

So I had 140 leds on the strip. I alligned them in groups of 20 on a cylinder like in the picture attached. I also used for this plug male/femal connection wires, to be able to switch parts of it in the future.

I used the NeoPixel library to program the leds, also I used parts of code I found on the internet and adapted it a lot to give it a better more realistic feel.

The code you can find here: http://blog.familie-fratila.de/fire-lamp/

If you decide to enhance it, and make it free as well, I am also interested to see how far you get it :-)

Step 2: After Effects

OK, so having the electronics finished, it still doesn't look like fire, unless you diffuse the light from the leds, so that not every single led is visible.

I experimented a little with paper (much to diffused, doesn't look like fire, see video) and also with a plastic foil sprayed with white paint (also not nice).

The only solution is to use a thick material like difused glass or acryl.

Since I plan to use it often I decided to buy a normal lamp, just to take the “shell” of it.

I stripped the bought lamp of all inside electronics, and replaced it with my own. The glass of the lamp, gives it now pretty nice effect. Besides some tweaks and maybe more programs coded, I can say it is finished.

I also plan to make multiple modes of this lamp to be able to select by button fire, lava lamp, snow flakes, etc...

http://blog.familie-fratila.de/fire-lamp-final/

Share

Recommendations

  • Epilog Challenge 9

    Epilog Challenge 9
  • First Time Author Contest 2018

    First Time Author Contest 2018
  • Sew Warm Contest 2018

    Sew Warm Contest 2018
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

15 Comments

Beautiful project

Very, Very, Nice! I, too, have been interested in simulated candles/flame and this is the best I've seen so far! I use a lot of the WS2812b's in homemade outdoor displays that I make for each holiday. For example, for Valentines, I use them in a heart that I made with a 3D printer.

Another idea for your "lamp" is to purchase a large glass like the own shown in the attached photo. It's about 3 1/4 dia by 7 inches tall costing only $1 at the Dollar Store. Here, I've just enclosed some "fairy leds" and put the glass upside down on a base I fabricated in my 3D printer. That way, I don't have to worry about the environment. The small black box contains a DC to DC converter used to convert a 5VDC Wall Wart output to 3.3VDC for the leds.

I think I will first try to duplicate your lamp inside one of these glasses. I will print a thin 3D translucent insert to simulate the "frosting" you have. My end idea is to build a number of these for use as outdoor walkway lights.

Thanks, again, for sharing! Gary

Fairy Lamp.jpg

Cool, it's great to have a 3d printer. I had to buy a lamp and strip its old electronics and put in mine :-(

I just fired up your s/w with a strip of 10 leds I already had wired up with the capacitor and resistor. Works and looks great! I also ordered several more long strips from Ebay. Before I cut them up and form into a lamp object, I want to see what the entire string looks like when running. My thinking is that in addition to your cool lamp idea, the effect may look great in another yard display although I don't know exactly what that is yet. For example, several years ago I made some "simulated" bubble lights (see picture) to replace my garage lights for XMAS. The leds simulated the bubbles and the colors changed, but, were always "solid" colors. Your "flaming" s/w might make a even more interesting display.

Bubble Light Garage.JPG

Cool, i am really glad people are continuing the idea the same way i did. You can do a lot of effects as soon as you have the lamp ...

Shut up and take my money! lol.

Seriously, this is really cool.

Thanks! Code is free to make your own ;-) You might have better ideas for tweaking it

Looks pretty simple, but the effect is fantastic. Nicely done!

I will definitely vote for this! I will consider making one as well as I really like the effect. Thank you for sharing and Happy Holidays,

Build_it_Bob