Phone Controlled Christmas Tree Lights

by Imetomi in Circuits > Electronics

5604 Views, 77 Favorites, 0 Comments

Phone Controlled Christmas Tree Lights

DSCN0490.JPG
DSCN0487.JPG
DSCN0486.JPG

I love Chrismas Day, I think it's one of the best days in the year. We always make a nice Christmas tree with my family, but this year I decided that I'll add some extra function to this tree. Then I made a smartphone controlled light system. The best part is that you don't need to take apart your original light! The circuit controls a servo motor that simply pushes the button on the Chritsmass tree light.

The code can be thanked for this instructable: https://www.instructables.com/id/Linkit-One-Blynk-Servo-1/

Parts:

DSCN0468.JPG

  • Mediatek LinkIt ONE Developer Board
  • Servo Motor
  • Battery
  • WiFi Antenna
  • Wires
  • Rubberband

The Circuit

DSCN0472.JPG
DSCN0469.JPG
DSCN0470.JPG
DSCN0471.JPG

Connect the servo motor pins to the LinkIt: Orange to D9, Brown to GND and Red to 5v. The battery and the antenna can be connected easily to the board.

Upload the Code!

DSCN0474.JPG

Download and upload this .ino file. You have to install the Blynk and LinkIt ONE libraries. In the code modify the SSID, PASSWORD, and the Thoken then upload.

The Servo As a Switch

DSCN0475.JPG
DSCN0477.JPG
DSCN0478.JPG

Now use the rubberband and simply suit the servo motor on the Christmas tree light's power source.

The App

DSCN0485.JPG

Download the Blynk application from your AppStore or Play Store than add to your dashboard a button on virtual pin V3. If don't works, don't worry, add a slider on V3

Testing

DSCN0482.JPG
DSCN0480.JPG
DSCN0484.JPG
DSCN0489.JPG

Plug in a wallplug your new phoe controlled light system and try it out. Mine worked well. :)

Thanks for Watching!

DSCN0488.JPG

I hope you liked this project and Merry Christmas for everyone!