Introduction: RC MOOD LYTE

About: I am the Technology lover always doing intersting and innovative stuff. Subscribing to me = fun + excitement !!!!!!!!!. Please check my Website if you want to learn Android Development.
RC MOOD LYTE is a commercial quality flameless light engine for heavy, everyday use in the home, restaurant, catering and hospitality industry ,a great improvement over the traditional wax candles in terms of safety and reliability features . LED Candles have No wax, No smoke, No heat, No mess.

ECO BENEFITS

Safety: eliminates fire danger and personal injury. Safe for small children too.
Zero Emissions: no soot or air contaminates.
Energy Reduction: produces no heat, lowering AC energy needs.
Energy Efficient: requires very little energy to operate.
Eco Sustainability: uses no fossil fuels as with candles.



Step 1: WORKING

Remotely control the On/Off, Flickering, Color Mode and Color wirelessly with the handheld IR remote control and can be used with any number of LED candle. Great for parties or be more interactive and selectively change the color at will .Color can be selected at will by the user .This will become more  clear after seeing the code. 


REMOTE CONTROL OPERATION:

Default mode with Power switch is medium white flickering.
Mode – Pauses or starts flickering as a Toggle action.
Number Buttons – Selects individual colors

Step 2: Material Required



1) ARDUINO - Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.

2) REMOTE CONTROL - Remote control used here is car stereo remote control which is very cheap.

3) TSOP1738 -series are miniaturized receivers for infrared remote control systems. PIN diode and preamplifier are assembled on lead frame, the epoxy
package is designed as IR filter. The demodulated output signal can directly be
decoded by an Arduino. TSOP1738 is the standard IR remote control receiver series, supporting all major transmission codes.

4) 5mm tri-colour LED with red, green and blue clour
Red LED Vf = 2.1V, Green LED Vf = 3.3V, Blue LED Vf = 3.3V.
To use, connect the longest lead to GND and then connect the other three remaining leads to Arduino pins through a proper series resistor.

Other material required to make the candle are given in the next step

Step 3: Making the Candle

Making a candle is not much difficult .Many tutorial are available online .However you are advised to be cautious while making a candle Wear hand gloves and goggles while doing the job.

Few important tips while making wax candles

1) To prevent mess cover your work space with newspaper.

2) Wax is flammable,it is advised to  use medium heat setting on your stove, and use a thermometer .

3) Don't let it's temperature to exceed 250 degrees.

Material Required :

Wax 
Metal pillar mold
Boiler
Used pen
Potato
Knife
RGB Led
Connecting Wires


Step 1. Start by melting wax.Follow safety instructions while your wax is melting. Before continuing, set up a boiler as shown in figure  to melt your wax.

Step 2. Hold the used pen after removing the refill in center of the mold to make way for the wires to pass through the candles

Step 3. Once your wax has reached the proper temperature (175-185 deg. F. ),pour the wax into your prepared mold. Have an old towel or some paper towels handy to catch any spills that may occur. Fill your mold to about 1/2" from the top of the mold. Leave some wax in the pouring pot for a later stage, but do not return it to the heat source yet.

Allow the candle to cool completely before proceeding to the next step.

Step 4. Remove the mold sealer . If cooled completely, your candle should slide out of the mold. If it does not slide out easily, then place the candle in a refrigerator for a period of about 15 minutes, then try again. The cooling will help the wax shrink even more and help it separate from the mold.also remove 

Step 5. For making the wick cut out a pyramidal cavity from a potato and place an RGB led inside that and pour remaining wax to cover whole of the led but not its legs 

Solder the legs of the led using long wires pass the wires through the center of candle after removing the pen and then fix the wick to candle by pouring hot wax around the corners

Now your Mood Lyte Candle is ready.


Step 4: SCHEMATIC

Make the connections according to the given schematic .Download the original file to see the schematics better.(press the "i" icon in the top left corner of the picture)

Step 5: CODE

The code for the project can be download as Code.txt from below.I provide a basic overview of the code below.

CODE OVERVIEW-
We first include the IR remote library for remote control made by ken sheriff you can download the library at the following link- http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html
#include
Now we define the different buttons by their hex code .Note that this code is unique for a particular remote .this can be found out by using the receive demo example in the library itself.
long colors[11]={
0x33FFFF,
.
.
.
.
.
}
Initialize pin 7 as the receive pin
int RECV_PIN = 7;
To start receiving and decoding the Ir signal coming from remote control we have the following segment of code.
IRrecv irrecv(RECV_PIN);
decode_results results;
Declare various input and output pins in the setup function .
void setup()
{
Serial.begin(9600); //Begin serial communication at baud rate 9600
irrecv.enableIRIn(); // Enable the receiver
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
digitalWrite(4,LOW);//Connected to the GND pin of IR tsop
digitalWrite(5,HIGH);//Connected to the VCC pin of IR tsop
pinMode(redPin,OUTPUT);
pinMode(greenPin,OUTPUT);
pinMode(bluePin,OUTPUT);
}
In the loop function we check for if any button has been pressed and do the required operation.
void loop() {
if (irrecv.decode(&results)) {
Serial.println(results.value, HEX);
if(results.value==eq)
{
mode=!mode;
}
Compare the value stored in variable results and store corresponding value in the variable i .
if(results.value==zero)
{
i=0;
}
if(results.value==one)
{
i=1;
}
.
.
.
irrecv.resume(); // Receive the next value
}
The parameter is passed to the function setcolor which displays the corresponding color .
setcolor(colors[i]);
The following code is used to give a candle like flickering effect. This effect is achieved by having a random delay.
if(mode)
{
analogWrite(redPin,0);
analogWrite(greenPin,0);
analogWrite(bluePin,0);
delay(random(200));
}
}
Note:- Best used when candles are grouped together


Thank You all and would love to hear from you

Attachments

LED Contest with Elemental LED

Participated in the
LED Contest with Elemental LED