/RGB-TubeLight

A DIY RGB Tube Light with Android App

Primary LanguageDart

RGB-TubeLight

This project contains the firmware for the arduino and the code for the mobile app. For all photo and videographers who don't want to spend huge amounts of money on name brand LED tube lights, this is a DIY solution that builds on from to the generic DIY tube lights found across Youtube. What makes this different from the generic DIY Tube lights on Youtube is that this project allows full control over bluetooth through the use of the App and arduino firmware.

Mobile App-Control

The mobile app for now only works on android devices as the bluetooth library used can only work with android. Some bugs still exist with the app UI and the data sent to the arduino.

Main Menu

Here is the main menu of the app where you can navigate between screens

Main menu

Color Pallete

Here preset colors can be chosen along with the brightness of each color

Color Pallete

Color Wheel

Here any color can be chosen along with the saturation of the color. An issue of wrong colors being displayed happens when the color selected is being dragged too quickly

Color Wheel

Color Splitting

Here a user can choose any ratio of LEDs to be to different colors. This allows for your creativity of having a two tone light.

Index

Patterns

Here preset patterns can be programmed into the arduinos firmware to play for a preset amount of time. For now a rainbow display and a strobe light are the preset patterns that run for about 2 seconds.

Patterns

Demo Video

RGB Tube Light Demo

Arduino Hardware

  • Gowoops MEGA 2560 PRO
  • HC-05 Wireless Bluetooth RF Transceiver
  • WS2812b LED Strip

Wiring

An example wiring diagram is shown below but you can adjust it depending on your board and the pins you'd like to use

HC-05

  • RX of the HC-05 to TX of the Arduino (pin 1)
  • TX of the HC-05 to RX of the Arduino (pin 0)
  • Ground the Ground of the Arduino
  • 5v to the 5v of the Arduino

WS2812 LED Strip

  • 5v to positive termianl of a power adapter
  • Ground to Ground of the Arduino & Ground of the power adapter
  • Data to any Data pins on the arduino (in my case pin 6)

RGB Tube Light Diagram