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

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
a555db61-5f83-4a6e-ae43-9f138cd0da73.jpg
670f48c0-fc31-4ff4-b77f-76e90740aa6a.jpg
50e6df3c-40dc-4337-8d41-35fd48564026-removebg-preview.png
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
e838dbcf-e81f-467a-aac9-3b0539432dc6.jpg
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
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
d6ab1d5f-f326-47dd-abf8-11740f326bfd.jpg
Adsız tasarım.jpg
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
Adsız tasarım (3).jpg

cloudypipe - id484 final project

https://youtube.com/watch?v=o3uNFFos6tk&feature=share