Professional Documents
Culture Documents
current_site=arduino&setup=true)
RGB Tube Lights made using Arduino Nano and WS2812B LEDs.
games (/projecthub/projects/tags/games)
Arduino Nano
(/projecthub/products/buy/81
× 1
200?
( (/proj (/projecthub/products
s=BAhJIhMzNzQ3MzUsUHJva
/ ecthu /buy/81200?
mVjdAY6BkVG%0A)
p b/pro s=BAhJIhMzNzQ3MzUs
r ducts UHJvamVjdAY6BkVG%
o /buy/ 0A)
j 81200
e ?
c s=BA
t hJIhM
h zNzQ
u 3MzU
b sUHJv
/ amVjd
p AY6B
r kVG%
o 0A)
d
u
c
t
s
/
b
u
u
y
/
8
1
2
0
0
?
s
=
B
A
h
JI
h
M
z
N
z
Q
3
M
z
U
s
U
H
J
v
a
m
V
j
d
A
Y
6
B
k
k
V
G
%
0
A
)
5V 5A Power Supply
(/projecthub/products/buy/81
× 1
202?
( (/proj (/projecthub/products
s=BAhJIhMzNzQ3MzUsUHJva
/ ecthu /buy/81202?
mVjdAY6BkVG%0A)
p b/pro s=BAhJIhMzNzQ3MzUs
r ducts UHJvamVjdAY6BkVG%
o /buy/ 0A)
j 81202
e ?
c s=BA
t hJIhM
h zNzQ
u 3MzU
b sUHJv
/ amVjd
p AY6B
r kVG%
o 0A)
d
u
c
t
s
/
b
u
y
/
8
1
2
0
2
?
?
s
=
B
A
h
JI
h
M
z
N
z
Q
3
M
z
U
s
U
H
J
v
a
m
V
j
d
A
Y
6
B
k
V
G
%
0
A
)
Push Button ×
(/projecthub/products/buy/81 ( 1
205? / (/proj (/projecthub/products
s=BAhJIhMzNzQ3MzUsUHJva p ecthu /buy/81205?
mVjdAY6BkVG%0A) r b/pro s=BAhJIhMzNzQ3MzUs
o ducts UHJvamVjdAY6BkVG%
j /buy/ 0A)
e 81205
c ?
t s=BA
h hJIhM
u zNzQ
b 3MzU
/ sUHJv
p amVjd
r AY6B
o kVG%
d 0A)
u
c
t
s
/
b
u
y
/
8
1
2
0
5
?
s
=
B
A
h
JI
JI
h
M
z
N
z
Q
3
M
z
U
s
U
H
J
v
a
m
V
j
d
A
Y
6
B
k
V
G
%
0
A
)
Wires
(/projecthub/products/buy/81
×
204?
(
s=BAhJIhMzNzQ3MzUsUHJva
/
mVjdAY6BkVG%0A)
p
r
o
j
e 1
c (/proj (/projecthub/products
t ecthu /buy/81204?
h b/pro s=BAhJIhMzNzQ3MzUs
u ducts UHJvamVjdAY6BkVG%
b /buy/ 0A)
/ 81204
p ?
r s=BA
o hJIhM
d zNzQ
u 3MzU
c sUHJv
t amVjd
s AY6B
/ kVG%
b 0A)
u
y
/
8
1
2
0
4
?
s
=
B
A
h
JI
h
M
z
N
z
Q
Q
3
M
z
U
s
U
H
J
v
a
m
V
j
d
A
Y
6
B
k
V
G
%
0
A
)
DC Connector
(/projecthub/products/buy/81
×
203?
( (/projecthub/products
s=BAhJIhMzNzQ3MzUsUHJva
/ /buy/81203?
mVjdAY6BkVG%0A)
p s=BAhJIhMzNzQ3MzUs
r UHJvamVjdAY6BkVG%
o 0A)
j
e
c
t
h
u
b
/ 1
p (/proj
r ecthu
o b/pro
d ducts
u /buy/
c 81203
t ?
s s=BA
/ hJIhM
b zNzQ
u 3MzU
y sUHJv
/ amVjd
8 AY6B
1 kVG%
2 0A)
0
3
?
s
=
B
A
h
JI
h
M
z
N
z
Q
3
M
z
U
s
U
H
J
v
a
m
V
j
d
A
Y
6
B
k
V
G
%
0
A
)
Soldering Station, 110 V
(/projecthub/pro (/projecthub/products/buy/56100? (/projecthub/products/buy/5
ducts/buy/56100 s=BAhJIhMzNzQ3MzUsUHJvamVjdAY 6100?
? s=BAhJIhMzNzQ3MzUsUHJva
6BkVG%0A)
s=BAhJIhMzNzQ3 mVjdAY6BkVG%0A)
MzUsUHJvamVjd
AY6BkVG%0A)
Solder Wire, Lead Free
(/projecthub/pro (/projecthub/products/buy/55952? (/projecthub/products/buy/5
ducts/buy/55952 s=BAhJIhMzNzQ3MzUsUHJvamVjdAY 5952?
? s=BAhJIhMzNzQ3MzUsUHJva
6BkVG%0A)
s=BAhJIhMzNzQ3 mVjdAY6BkVG%0A)
MzUsUHJvamVjd
AY6BkVG%0A)
Solder Flux, Soldering
(/projecthub/pro (/projecthub/products/buy/55907? (/projecthub/products/buy/5
ducts/buy/55907 s=BAhJIhMzNzQ3MzUsUHJvamVjdAY 5907?
? s=BAhJIhMzNzQ3MzUsUHJva
6BkVG%0A)
s=BAhJIhMzNzQ3 mVjdAY6BkVG%0A)
MzUsUHJvamVjd
AY6BkVG%0A)
Arduino IDE
(https://www.arduino.cc/en/main/ (https://www.arduino.cc/en/
(https://www.ar software) main/software)
duino.cc/en/mai
n/software)
ABOUT THIS PROJECT
PREVIOUS • • • • • •
NEXT
Details
Build instructions
Step 1:
Disassemble the tube light by removing end caps, separating diffuser and removing
whites LED strip from the tube.
PREVIOUS • • • • •
NEXT
Step 2:
Make all the connections as shown in circuit diagram.
PREVIOUS • • • • •
NEXT
Step 3:
Put all the electronics in the tube, put back the end caps and seal the diffuser using
clear tape.
PREVIOUS • • • •
NEXT
Step 4:
Similarly make the second tube but this time use only WS2812b LED strip,
connector, wires and connect the tube lights.
Step 5:
Download the given zip files and extract them.
Files:
RGB Tube Code&Software.zip
(https://cdn.hackaday.io/files/1763657545600160/RGB%20Tube%20Code&Software.zip
)
RGB_TUBE_CODE_SOFTWARE.ZIP
(HTTPS://HACKSTERIO.S3.AMAZONAWS.COM/UPLOADS/ATTACHMENTS/12
32788/RGB_TUBE_CODE_SOFTWARE.ZIP)
Button_Tube.zip (https://cdn.hackaday.io/files/1763657545600160/Button_Tube.zip)
BUTTON_TUBE.ZIP
(HTTPS://HACKSTERIO.S3.AMAZONAWS.COM/UPLOADS/ATTACHMENTS/12
32789/BUTTON_TUBE.ZIP)
Open the RGB Tube code & software file, open the code given in Arduino IDE.
Install the FastLED library in Arduino IDE.
You can enter the number of LEDs you used in your tube lights, I used 65 LEDs in
each tube lights, i.e. 130 LEDs in both tube lights.
#define NUM_LEDS 130
Connect the Arduino to your PC, select the board type, select the port and upload
the code.
Step 6:
Install the prismatik software in your PC.
Open the software and click on device.
Click on Run configuration wizard and simply click on Next -> Next.
PREVIOUS • •
NEXT
PREVIOUS • •
NEXT
Enter the Serial Port number and click Next -> Next
PREVIOUS • •
NEXT
Enter the number of LEDs at sides (i.e. in my case top=0, side=65, bottom=0) and
click on custom -> Next
Adjust the sliders to get white color on the tube lights and click on finish.
Now you can choose different mode in the software and display on tube lights.
NOTE: The Arduino should be connected to the PC.
Step 7:
Open the Button_Tube code in Arduino IDE.
With this code you can change the color of the Tube Lights with the push of button.
Install the Pushbutton library by clicking on sketch ->Include library -> Add zip
library and select the Pushbutton-2.0 zip file in Button_Tube file.
PREVIOUS • •
NEXT
In this code you can enter the values of the colors at CRGB(----, -----, -----)
You can copy paste the color values from color picker
Connect the Arduino to your PC, select the board type, select the port and upload
the code.
Note:
You can make this lights portable by using a power bank or some batteries.
By using any Wi-Fi board like ESP8266 or ESP32 you can change the colors of the
tube lights with a mobile app.
COMMENTS
eaksoy52 (/projecthub/eaksoy52)
6 days ago
(/pr
Helal
oject olsun reis
hub/
eaks
oy52
)AUTHOR
(/projecthub/Mukesh_Sankhla)
Mukesh Sankhla (/projecthub/Mukesh_Sankhla)
6 PROJECTS 10 FOLLOWERS
FOLLOW (/PROJECTHUB/USERS/SIGN_UP?ID=1311650&M=USER&REASON=FOLLOW&REDIRECT
PUBLISHED ON
WRITE A COMMENT
Share
(/projecthub/evive/diy-magnetic-table-hockey-with-rgb-lights-and-sensors-c940f1?
ref=similar&ref_id=374735&offset=0)
DIY Magnetic Table Hockey With RGB Lights and Sensors
(/projecthub/evive/diy-magnetic-table-hockey-with-rgb-lights-
and-sensors-c940f1?ref=similar&ref_id=374735&offset=0)
Project tutorial by evive (/projecthub/teams/evive)
5,313 VIEWS 0 COMMENTS 20 RESPECTS
(/projecthub/Mukesh_Sankhla/diy-arduino-tic-toc-toe-game-00c670?
ref=similar&ref_id=374735&offset=1)
(/projecthub/Mukesh_Sankhla/rgb-hexmatrix-iot-clock-54fc5d?
ref=similar&ref_id=374735&offset=2)
RGB HexMatrix | IoT Clock (/projecthub/Mukesh_Sankhla/rgb-
hexmatrix-iot-clock-54fc5d?ref=similar&ref_id=374735&offset=2)
Project tutorial by Mukesh Sankhla (/projecthub/Mukesh_Sankhla)
5,813 VIEWS 14 COMMENTS 28 RESPECTS
(/projecthub/kutluhan-aktar/rfid-desk-lamp-with-rgb-color-scheme-lock-ee8843?
ref=similar&ref_id=374735&offset=3)
RFID Desk Lamp with RGB Color Scheme Lock
(/projecthub/kutluhan-aktar/rfid-desk-lamp-with-rgb-color-
scheme-lock-ee8843?ref=similar&ref_id=374735&offset=3)
Project tutorial by Kutluhan Aktar (/projecthub/kutluhan-aktar) and JLCPCB (/project...
1,414 VIEWS 1 COMMENT 2 RESPECTS
(/projecthub/BnBe_Club/decorative-rgb-lights-using-an-arduino-59782c?
ref=similar&ref_id=374735&offset=4)
(/projecthub/gatoninja236/tinyml-keyword-detection-for-controlling-rgb-lights-
9f51e9?ref=similar&ref_id=374735&offset=5)
(https://www.arduino.cc)
Powered by
(https://www.hackster.io)