DIY Smartphone Controlled RGB LED Lights

Smartphone-controlled-RGB-LED-Lights (3)
About This Project

This project will show how to transform a simple strip of RGB LED into a stunning decorative light.

Project Info

Introduction

Raise yo hands if you’re bored of watching the same, plain and boring screen your computer and television or the not-so-happening ceiling every single day. Well, not anymore! We’re DIYers after all and our job is to turn the ordinary into the extraordinary. And these boring screens ain’t any different. All you need is strips of RGB LED lights, the HC-05 Bluetooth module, evive, and Dabble installed in your Smartphone and go ‘Lumos’!

To light up the screens, download Dabble from HERE.

Ready for some en’light’enment?

Let’s begin!

Components Required

Building Guide

Step 1: Connections

  • Connect the Bluetooth Module(HC05) on evive.
  • Then take the RGB LED Strip and solder three male jumpers on each pin
  • Finally, make the connections as given below:
    • GND – GND of evive
    • VCC – +5V of evive
    • DIN – Digital Pin 7 of eviveRGB Fritzing Diagram

Step 2: Working

  • Open Dabble on your Smartphone and connect the Bluetooth of your Smartphone with the Bluetooth Module mounted on evive.
  • Open the Gamepad Module.Gamepad
  • In the Gamepad module, each button has a different function pertaining to the RGB LED Strip. They are:
    • Up: Rainbow
    • Down: Rainbow Cycle
    • Left: Theaterchase rainbow
    • Right: Theater Chase
    • Circle: Color wipe red
    • Triangle: Color wipe blue
    • Cross: Color wipe yellow
    • Square: Color wipe Sky blue

You can change the color of the strip and the pattern if you want.

Step 3: Code

    • Open PictoBlox; if not yet installed, please refer to the Getting Started with PictoBlox tutorial HERE.
    • We are going to add the lighting extension from the extension library by clicking on the purple-coloured Add Extension button in the bottom-left corner of the window.
    • Also, we are going to add the Dabble extension to control the RGB using the Smartphone.
      Want to know more about interfacing the RGB LED Strip with PictoBlox, you can find it HERE.

    Upload the following Script to evive.main code

    The key_status and key_status_1 blocks are used to send the data of the key pressed in Dabble to evive.

    Key Status Key Status 1

    The Pattern and Pattern_1 block is used to set the pattern of the RGB LED Strip in accordance with the key pressed.

    Pattern Pattern 1

Step 4: Conclusion

With this, the Smartphone-controlled RBG lights are ready to add some vibrancy to your life!

Want some more enlightenment? Then, why not have a look at the amazing campaign we’ve been running on Indiegogo! Visit HERE to check out the amazing stuff that we’re offering for all the DIYing enthusiasts out there.

Circuit Diagram

DescriptionCircuit Diagram

Make the connections as given below:

  • GND – GND of evive
  • VCC – +5V of evive
  • DIN – Digital Pin 7 of evive

Code

DescriptionDownload Code
ScriptDownload
Share this Project
Share on facebook
Facebook
Share on twitter
Twitter
Share on google
Google+
Share on pinterest
Pinterest
Share on reddit
Reddit
Share on print
Print
Featured Projects
Space-Battle-Game on Scratch

Space Battle

This project will show you how to make a cool space battle game on your own in PictoBlox (Scratch-based programming) and play using your Smartphone!

All articles loaded
No more articles to load
Close Menu
×

Cart

Every New Project
is an exciting
Adventure!

Subscribe to our newsletter and go on an exciting project-making adventure with us every week.