Introduction: Wi-Fi Lamp (Change Brightness and Colors)

Picture of Wi-Fi Lamp (Change Brightness and Colors)

Hello,here is another project I have made using micro-controller and it is "Wi-Fi Lamp".This uses wifi server to which the board is connected and the device which is used to give command to the linkit one board .I've used "blynk" app which is available for both ios as well as android devices.The setup is very simple,after it is made you just have to hold your smartphone in your hand and trigger different keys and button customized by you to change and mix colors.What you can do with this lamp:-

  1. Change colors
  2. Mix them
  3. Change brightness
  4. Set timer for the duration of lights

Here's a video of it working :-

Step 1: Different Colors

Picture of Different Colors

You can see here the different colors that can be set by you and even you can customize the colors!Jump over to next steps to see how I made this!!

Step 2: Things Required

Picture of Things Required

We need :-

  1. 7 X Male to female jumper wires
  2. Perf board
  3. Mediatek Linkit One
  4. Wifi antenna included in linkit one box
  5. L.E.Ds (Different colors) or use RGB L.E.D
  6. USB cable
  7. Lithium ion battery (optional) it is also included in the linkit one box
  8. Glass jar
  9. Soap solution
  10. Cardboard box
  11. Solder
  12. Smartphone :-D

Tools :-

  1. Nipper
  2. Soldering iron
  3. Knife or any sharp tool to remove paint from metal objects
  4. Cutter or a pair of scissors
  5. Duct ta

Step 3: Schematic and Arranging L.E.Ds

Picture of Schematic and Arranging L.E.Ds

Here's a schematic of the lamp.First of all trim the terminals of all the L.E.Ds to get the jumper wires female port in easily and up to the full.Solder the negative terminal of every L.E.D to each others to make a common ground for them as we have only 3 gnd ports on linkit one board and now we only need one gnd port as well as one jumper wire for negative side of every L.E.D reducing the mess.Now to every positive terminal connect 6 jumper wires one by one.Insert the positive terminal wires to any digital port on linkit one board you can also use other ports I haven;t specified the port because we can later on customize the pin from our smartphone!!

Step 4: Installing Libraries

Picture of Installing Libraries

I think you have already downloaded Arduino IDE,if no then you can download it from www.arduino.cc,if yes then you can download the compressed file attached below and after you uncompress it then copy and paste all the 4 files to C drive>Program files arduino > libraries>and paste all there.Now open examples>blynk>boards and shiels>linkit one.After opening hold this code and move onto next step.

Step 5: Installing App

Picture of Installing App

Download it from google play store or itunes store.Create your account if you are a newbie or login if you had already done it earlier.Now click on send email after filling your address.You will receiver an email and it will be confirmed by the app and then create new project and add some sliders as well as some buttons for the project.Copy the auth token sent you via email.

Step 6: Sketch

Picture of Sketch

Open the sketch attached below Or if you had already opened the sketch in earlier step then paste the copied auth token in the specified column. And then write "define ARDUINO 150"before the code starts please see the picture where I had highlighted the line.Enter you wifi details including SSID and password and when it is done upload it to linkit one. Also attach the wifi antenna you got with the box.

Step 7: Checking

Picture of Checking

Check if everything is running alright and if yes then move to next step!

Step 8: Making Solution and Designing Jar

Picture of Making Solution and Designing Jar

Make a soap solution to make the water milky and also remove the logos of brand and tags from the jar cap.Make you own customized design.

Step 9: Arranging Everything in the Box

Picture of Arranging Everything in the Box

Arrange everything in the box including the antenna and also make sure that the L.E.Ds are upright and straight and also leave some space for the USB cable and if you want to use battery then also keep it inside the box.

Step 10: Jar Stand

Picture of Jar Stand

Make a hole for the Mason jar to sit on the top of box above L.E.Ds.Do some adjustments to make the jar stable on the top of box.

Step 11: Power Supply

Picture of Power Supply

Use an ordinary charger output that is 5.0 volts and about 0.1 amps insert he USB cable there and micro USB in the port of linkit one board.

Step 12: Test It One Time Again

Picture of Test It One Time Again

Test it again.Check the following things:-

  1. L.E.Ds fall straight on the jar
  2. Power supply is continous
  3. Jar is stable on the box
  4. All L.E.Ds are glowing

That's all ,I too failed because when I checked that if all L.EDs were glowing then I found that one was not glowing so the number was reduced to 5 from 6 ,you can see both arrangements!So,it is necessary to check before we move further !!!!But now I've changed the arrangement and the L.E.Ds are working fine now!!In video I am showing the ones after being changed!!!!These were changed before being put in the box!

Step 13: Done!

Picture of Done!

I hope you have enjoyed this tutorial !!!!

Please vote if you like!

Bye for now!

Questions and suggestions are most welcome!

Thanks!

Comments

Saiyam (author)2015-11-13

Really nice project! I like your solution idea. You could have used RGB LEDs instead of separate ones. They can actually produce amazing effects :)

Yes I too prefer to use RGB L.E.Ds but here in my city these were unavailable.I had ordered one RGB L.E.D strip from Amazon.com uaing this gift card.I'll update it very soon or make other one! Thank you! :-)

About This Instructable

6,064views

81favorites

License:

Bio: Thank you instructables!!
More by Gursimran Singh 425:Plant BoxDIY CNC For 60$ (Large Work Area)Advanced Mosquito Repeller and Swatter
Add instructable to: