All post of ElecFreaksBluetooth BeeHack HackUser Guide

Smart RGB Strip with BLEduino DIY Guide

By December 9, 2014 4 Comments


Smart RGB LED Strip is based on the development of our BLEduino, using the Bluetooth 4.0, and the sample code written by EF men, by mobile phone APP, to control the switch of RGB LED strip, and the RGB LED color changing. The main principle is that using BLEduino mega328P chip three PWM pins respectively to control the RGB LED strip of R G B three colors. When the phone APP and BLEduino bluetooth pairing connection succeed, phone APP can control mega328P chip three PWM pins output value, then control the the color of the RGB LED strip

This project is very easy – making, as long as with three things of BLEduino, BLE mobile phone APP, RGB LED Strip, we can complete it, which enable more Arduino starters to participate in this project. What’s more, we can apply this project to finish a Christmas tree with smart RGB LED Strip.

Hardware and Software Preparation


  1. Android or Apple mobile phone with System 4.3 and Bluetooth 4.0
  2. USB Cable
  3. RGB LED Strip
  4. BLEduino Mainboard


1.Mobile phone  APP

2. Arduino IDE

Operating steps

Step 1 Hardware preparation

With jumper wire, connect the RGB strip four pins +5V, R, G, B to BLEduino    mainboard four pins of +5V, D9, D10, D3 respectively(+5V—–+5V, R—-D9, G—-D10, B—-D3), and the wiring picture was shown as below.


Step 2  Code writing and programming

You can write code on your own, or download the sample code provided by our company, then open it by Arduino IDE, and program the code into BLEduino Mainboard.

The sample code is demonstrated here, and you can download it.

Step 3  Install phone APP and control RGB display effect

After download the code, install the phone APP and open it (APP has two versions, one is android version, and the other is IOS version), by rotating the APP RGB button, we can control the RGB strip of different colors. The RGB display effect was shown in the video and GIF image.


VN:F [1.9.13_1145]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)
Smart RGB Strip with BLEduino DIY Guide, 10.0 out of 10 based on 1 rating

Author dany

More posts by dany

Join the discussion 4 Comments

  • Asenecha says:

    Anyway… Can download zip from bottom of this page: … blog&id=69


    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  • Mao Ikeno says:

    hi I try to make this by using bleduino but when i apply code in arduino iDE it alway error like this

    #include “PlainProtocol.h”


    compilation terminated.

    exit status 1


    How can i sovle this


    ElecFreaks Reply:

    Hi,this DIY Demo as well as BLE Development board,you can refer to this wiring and download library input you Arduino IDE,This mistake you, I think it may not contain this library


    Mao Ikeno Reply:

    thank u for the answer now the program is alright but when i wrote in to bleboard it alway error i try to download bleboard hardware file to Arduino library to select board in arduino IDE but it doest show as well and one more thing the LED strip light are very weak i use 12v out put LED strip how can i do?


    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)

Leave a Reply