DIY Arduino Lamp for Ceremonial Inauguration: Maker Style

From our STAR Makers at: Ignite Incubation Centre
Kevin Naik, Nirav Jadeja, Dhruv Patel, Supriya Patel, Radhika Dholakiya and Heli Kothari

DIY Arduino Lamp

“Knowledge removes ignorance, just as light removes darkness”, as it is wisely said. In India, the ancient tradition of lighting oil lamps has a special significance. Almost all auspicious ceremonies are commenced by lightning of a lamp. Hence came the idea of merging our traditional culture with the digital world using this DIY Arduino Lamp. We did this by lighting a series of LEDs wirelessly on an oil lamp by using a smartphone app.
By doing so, we believe that we are upholding our tradition as well as trying to do something fun and innovative.

DIY Arduino Lamp

Below are the detailed steps of how we can control a series of LEDs using an Arduino through bluetooth via a smartphone app. I hope you will be able to spunk up your events or ceremonies by using this DIY Arduino Lamp to catch people’s attention.

What are the stuff required to do this project?

  1. HC-05 Bluetooth module
  2. LEDs
  3. Connecting wires
  4. Plastic bowl
  5. PVC pipes
  6. Wood (for making the base. you can use any other alternatives too)
  7. Power bank or power surce
  8. Arduino uno
  9. Flowers (for decoration purpose)
  10. Adhesive
  11. MIT app inventor

How does it work?

DIY Arduino Lamp

The working of this DIY Arduino Lamp is pretty simple. The series of LEDs arranged on the lamp lights up when a command/button is pressed on the smartphone application. The Arduino powers the LEDs when the corresponding bluetooth command is received via the HC-05 bluetooth module. If you are new to using the HC-05 bluetooth module, you can check out this tutorial from our STAR Maker Mayoogh to get started.

STEP 1: Connecting the electronics for the DIY Arduino Lamp

Follow the connection diagram below and connect your Arduino to the HC-05 bluetooth module and LEDs as shown below.DIY Arduino lamp

STEP 2: Creating the smartphone app for our DIY Arduino Lamp

The first step to making your smartphone application will be to learn how to make an app through the MIT app inventor. You can check out these tutorials to get started: tutorials. You can download the app we made from here: Download Application.
Else there is also a simpler way for controlling our DIY Arduino Lamp, which is to download the bluetooth terminal app from the play store. Both of them work the same way by sending the appropriate commands to Arduino. The only main difference will be by making our own app we can make its appearance and use according to our suitability.

I have used buttons for turning on and off the LEDs, while in the terminal you will have to type “1” and press send for turning on the LED and “0” for turning it off. You can see the difference clearly in the picture provided.

DIY Arduino Lamp

STEP 3: Uploading the code for the DIY Arduino Lamp

The code for Arduino is very simple. It checks for characters like “1”, “2”, etc through the bluetooth serial module HC-05. Corresponding LEDs are then turned ON based on each command. This is the code:

int state;
int pin1=8;
int pin2=9;
int pin3=10;
int pin4=11;
int pin5=12;

void setup(){ 
pinMode(8, OUTPUT); 
pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
pinMode(12, OUTPUT);
Serial.begin(9600);
}

void loop(){ 
if (Serial.available()>0)
{ 
state = Serial.read();
if(state == '1')
{ 
digitalWrite(8, HIGH);
delay(1000);
state=0;
} 

if(state == '2')
{ 
digitalWrite(9, HIGH);
delay(1000);
state=0;
} 

if(state == '3')
{ 
digitalWrite(10, HIGH); 
delay(1000); 
state=0; 
} 

if(state == '4') 
{ 
digitalWrite(11, HIGH); 
delay(1000); 
state=0; 
} 

if(state == '5') 
{ 
digitalWrite(12, HIGH);
delay(1000);
state=0; 
}
}
}

 

STEP 4: Making the lamp stand

Here, we have used wooden sheets that were available from our friend’s home for making the lamp stand. We cut four triangles out of it and a square for their base support. Next we used PVC pipe as the holder for the bowl that holds the LEDs and Arduino. Next, we fixed the wooden sheets together using adhesive with the pipe in middle. You will be able to get a clear idea by referring to the pictures provided. After that you can cover the base with the help of some fancy gift wrappers and color tape. Next, take a simple plastic bowl and make a hole through its center that is of the size of the PVC pipe.

DIY Arduino lamp

We have to fix LEDs on its edges so we will need to make holes at equal intervals on the edge.

DIY Arduino Lamp

STEP 5: Setting up the DIY Arduino Lamp

Connect the LEDs and bluetooth module to the arduino and place all the hardware inside the bowl. Place the bowl on top of the pipe. We used a power bank to power the system and also covered it from plain sight.

DIY Arduino Lamp

Now connect your phone’s bluetooth to HC-05. The initial password would be 1234 or 0000. If you are a beginner to to Hc-05, this tutorial from our STAR Maker Mayoogh can help you. Now on pressing the buttons or sending the command you can control your LEDs wirelessly through your phone.

Finally cover the whole thing up and decorate it with flowers to make it presentable. The video below shows how LEDs are turned on one after the other and the picture shows our final DIY Arduino lamp that is the wireless ceremonial lamp. The aim of our project to create something interesting, easy, quick and new for our inaugural ceremony was successfully fulfilled.

 

 

Team Ignite

STAR Makers at Ignite: Nirav Jadeja, Dhruv Patel, Supriya Patel, Radhika Dholakiya and Heli Kothari

-Submitted by Team Ignite:

a. Kevin Naik (Head – Automation & Robotics)
b. Nirav Jadeja (Research Assistant)
c. Dhruv Patel (Research Assistant)
d. Supriya Patel (Research Intern)
e. Radhika Dholakiya (Research Assistant)
f. Heli Kothari (Research Assistant)

Special thanks to:
Anuj Patel (research assistant)
Yash Prajapati (research intern)

We at ignite aim to create an incubation ecosystem that will support innovative ideas and business cases to develop entrepreneurship amongst the student community.

Recommended Posts

Leave a Comment

9 + 1 =

Start typing and press Enter to search