Cloudy Pipe Lamp - Integration of Sensors and Interaction in Product Design
by edaakca in Circuits > Arduino
88 Views, 1 Favorites, 0 Comments
Cloudy Pipe Lamp - Integration of Sensors and Interaction in Product Design
![Adsız tasarım (2).jpg](/proxy/?url=https://content.instructables.com/FDF/5D21/LIOLXALT/FDF5D21LIOLXALT.jpg&filename=Adsız tasarım (2).jpg)
RGB LEDs 5V (WS2812B ) and Arduino Rainbow Lamp Project
Supplies
Bill of Materials (BOM)
1) Addressable ( not necessarily addressable ) RGB LEDs 5V (WS2812B)
2) Portable battery with MicroUSB connection or a MicroUSB power adapter with plug
3) Arduino Uno Set
4) Power Cord
5) Soldering Wire and Solder
6) Macarons
7) On/Off Button
8) Waste Water Pipe and Cotton
9) Adhesive
https://m.n11.com/urun/ws2812b-ayri-ayri-adreslenebilir-argb-serit-led-5v-19132728
https://m.n11.com/arama?q=arduino+uno+set
https://www.bauhaus.com.tr/banyo-sihhi-tesisat-plastik-boru-ve-ek-parcalar/hakan-boru-hakan-boru-110x2000-mm-dubleks-atik-su-borusu-pvc-u-60607098
Led Connection
![bca8224f-8ccf-4884-ad34-e3425d2ede75.jpg](/proxy/?url=https://content.instructables.com/FC7/E5EC/LIOLX6RB/FC7E5ECLIOLX6RB.jpg&filename=bca8224f-8ccf-4884-ad34-e3425d2ede75.jpg)
![a555db61-5f83-4a6e-ae43-9f138cd0da73.jpg](/proxy/?url=https://content.instructables.com/FT8/29V4/LIOLX6RQ/FT829V4LIOLX6RQ.jpg&filename=a555db61-5f83-4a6e-ae43-9f138cd0da73.jpg)
![670f48c0-fc31-4ff4-b77f-76e90740aa6a.jpg](/proxy/?url=https://content.instructables.com/F20/TM7T/LIOLX6S8/F20TM7TLIOLX6S8.jpg&filename=670f48c0-fc31-4ff4-b77f-76e90740aa6a.jpg)
![50e6df3c-40dc-4337-8d41-35fd48564026-removebg-preview.png](/proxy/?url=https://content.instructables.com/FEZ/5OTQ/LIOLX6SU/FEZ5OTQLIOLX6SU.png&filename=50e6df3c-40dc-4337-8d41-35fd48564026-removebg-preview.png)
![d6f32d80ba21c6e6ee0731c654fd69132c09dfd8_2_690x378.jpg](/proxy/?url=https://content.instructables.com/FPL/O6GA/LIOLX6R3/FPLO6GALIOLX6R3.jpg&filename=d6f32d80ba21c6e6ee0731c654fd69132c09dfd8_2_690x378.jpg)
First of all, since the LED is not addressable, the 3 wire ends are soldered and fixed to the LED strip tip.
While 3 leads are soldered to the LED strip, the other ends are soldered with the arduino wire.
5V --> 5V ( red )
GND ( ground ) --> GND ( white )
6 -- > DIN ( green-blue )
The 3 wires soldered to the LED are fixed by heating macaron the tubing.
Arduino Setup
![4633da4d-07b9-4340-8f09-820c689ae056.jpg](/proxy/?url=https://content.instructables.com/FMO/5JBB/LIOLX7P4/FMO5JBBLIOLX7P4.jpg&filename=4633da4d-07b9-4340-8f09-820c689ae056.jpg)
![e838dbcf-e81f-467a-aac9-3b0539432dc6.jpg](/proxy/?url=https://content.instructables.com/F70/6FH4/LIOLX82X/F706FH4LIOLX82X.jpg&filename=e838dbcf-e81f-467a-aac9-3b0539432dc6.jpg)
![e9657771-2b55-44ec-b2ef-3d5e5def5f00.jpg](/proxy/?url=https://content.instructables.com/FN1/HNHP/LIOLX8JR/FN1HNHPLIOLX8JR.jpg&filename=e9657771-2b55-44ec-b2ef-3d5e5def5f00.jpg)
You need the following libraries for this project :
We can change the number of leds and the speed of the rainbow colors and effect. But since there is one Arduino with this LED, we cannot burn more than 30 LEDs.
1) FastLED: https://github.com/FastLED/FastLEDp
2) #include <FastLED.h>
// LED strip parameters
#define LED_PIN 6 // Pin connected to the data input of the LED strip
#define LED_COUNT 20 // Number of LEDs in the strip
CRGB leds[LED_COUNT];
// Rainbow parameters
uint8_t hue = 0; // Starting hue value
void setup() {
FastLED.addLeds<WS2812B, LED_PIN, GRB>(leds, LED_COUNT);
FastLED.setBrightness(100);
}
void loop() {
rainbowEffect();
FastLED.show();
delay(50);
}
void rainbowEffect() {
for (int i = 0; i < LED_COUNT; i++) {
leds[i] = CHSV(hue + (i * 255 / LED_COUNT), 255, 255);
}
hue++;
}
Connection 2
![a9dde95f-8f02-481e-9e9b-343c8ddc88a6-removebg-preview.png](/proxy/?url=https://content.instructables.com/F8C/KALC/LIOLX88M/F8CKALCLIOLX88M.png&filename=a9dde95f-8f02-481e-9e9b-343c8ddc88a6-removebg-preview.png)
![ada3fd64-f73c-47ee-8bb5-42301cadd2a7-removebg-preview.png](/proxy/?url=https://content.instructables.com/FXY/PVTC/LIOLX89C/FXYPVTCLIOLX89C.png&filename=ada3fd64-f73c-47ee-8bb5-42301cadd2a7-removebg-preview.png)
Connecting the MicroUSB power adapter with plug for 5V with the on of button.
At this stage, I checked the currents with a current meter, in order not to damage the arduino.
At this point, only the key and adapter cable connection is sufficient as + -. It connects directly to the Arduino via the USB adapter port.
Modeling Part - Waste Water Pipe and Cotton
![1ad5b386-6e3d-4c86-b66f-5f096bea7ae9.jpg](/proxy/?url=https://content.instructables.com/F12/ZZKM/LIOLX9C2/F12ZZKMLIOLX9C2.jpg&filename=1ad5b386-6e3d-4c86-b66f-5f096bea7ae9.jpg)
![d6ab1d5f-f326-47dd-abf8-11740f326bfd.jpg](/proxy/?url=https://content.instructables.com/F2N/MTAV/LIOLX9D4/F2NMTAVLIOLX9D4.jpg&filename=d6ab1d5f-f326-47dd-abf8-11740f326bfd.jpg)
![Adsız tasarım.jpg](/proxy/?url=https://content.instructables.com/F8P/J4PV/LIOLX9NS/F8PJ4PVLIOLX9NS.jpg&filename=Adsız tasarım.jpg)
![Adsız tasarım (1).jpg](/proxy/?url=https://content.instructables.com/FMV/ZE6Y/LIOLXA0T/FMVZE6YLIOLXA0T.jpg&filename=Adsız tasarım (1).jpg)
After placing the support board for the arduino in the pipe, space was made for the key and cable with a drill.
Priming + white paint spray
Final Look and Video
![Adsız tasarım (2).jpg](/proxy/?url=https://content.instructables.com/F80/ZUIV/LIOLXAD9/F80ZUIVLIOLXAD9.jpg&filename=Adsız tasarım (2).jpg)
![Adsız tasarım (3).jpg](/proxy/?url=https://content.instructables.com/FMJ/F4V5/LIOLXAK3/FMJF4V5LIOLXAK3.jpg&filename=Adsız tasarım (3).jpg)
![cloudypipe - id484 final project](/proxy/?url=https://content.instructables.com/FVC/7WH8/LIOLXEDC/FVC7WH8LIOLXEDC.jpg&filename=cloudypipe - id484 final project)
https://youtube.com/watch?v=o3uNFFos6tk&feature=share