https://www.youtube.com/watch?v=vmt4AiIPghA
18
63
0
569
updated April 29, 2022

Description

PDF

Print Settings

Printer:

Graber i3, Mini Kossel

Rafts:

No

Supports:

No

Resolution:

0.2mm

Infill:

15%~20% for lum1 and lum2 and 0% or 100% for lum3


Notes:

Hey guys! You will probably need to print the translucent part (lum3.stl) with 99.5% just to have enough space to fit in the up and bottom parts otherwise the parts will need some sanding job!

Update 2017-03-02: lum3\_v2.stl -> updated translucent piece with 0.15mm offset on both sides for a better fit.

Code used:

include

define PIN 3

const int tiltSensorPin = 2;

int seedR = 255, seedG = 242, seedB = 40, tiltSensorState = 1, originalTiltSensorState;

Adafruit_NeoPixel strip = Adafruit_NeoPixel(8, PIN, NEO_GRB + NEO_KHZ800);

void setup() {

pinMode(tiltSensorPin,INPUT);

strip.begin();

strip.show();

}

void loop() {

tiltSensorState = digitalRead(tiltSensorPin);

if(tiltSensorState != originalTiltSensorState) {

seedR = random(255);

seedG = random(255);

seedB = random(255);

originalTiltSensorState = tiltSensorState;

delay(500);

} else {

for(int i = 0; i < 8; i++) {

strip.setPixelColor(i, seedR, seedG, seedB);

}

}

strip.setBrightness(255);

strip.show();

}

Category: Decor

Tags



Model origin

The author marked this model as their own original creation. Imported from Thingiverse.

License


Highlighted models from creator

View more