1 / 19
UFO Abduction Lamp with blinking lights — zdjęcie 1
1 / 19

UFO Abduction Lamp with blinking lights

Zamów wydruk tego modelu

Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.

Zapisane na tym urządzeniu.

Version 2 of the lamp:https://cults3d.com/en/3d-model/home/ufo-lamp-oneidmonstr For this Version you need: glas…

Ocena
0 / 5
Polubienia
147
Pobrania
312
Wydruki
1
Wyświetlenia
2873
Oceny
0

Aktualizacja u źródła:

Informacje o modelu

Źródło
Printables
Licencja
Creative Commons — Attribution — Noncommercial

Version 2 of the lamp: https://cults3d.com/en/3d-model/home/ufo-lamp-oneidmonstr

For this Version you need:

glas cylinder with both ends open about 80mm in width

27x blue LEDs

3x white LEDs

30x 200 ohm resistors

4x 2k ohm resistors

4x 2N2222 transistor

ARDUINO nano

5M ohm potentiometer

7V power supply

green fabric

Use transparent filament on the file LED_cap_trans.stl.


Inspired by the countless abduction lamps on the internet. Especially Lasse Klein (If he was the original inventor of this great lamp design! :) )

Print Settings

Printer Brand:

Anycubic

Printer:

Kossel

Rafts:

No

Supports:

Yes

Resolution:

0.1mm

Infill:

10%

Post-Printing

Arduino Code

int A = 12;
int B = 10;

int C = 8;

int D = 6;

const int poti = 0;

void setup()

{

pinMode(A, OUTPUT);

pinMode(B, OUTPUT);

pinMode(C, OUTPUT);

pinMode(D, OUTPUT);

}

void loop()

{

int tDelay = 575;

int analogIn;

analogIn = analogRead(poti);

Serial.println(analogIn);

//************ all on************

if(analogIn < 200){

tDelay = 50;

delay(tDelay);

digitalWrite(A, HIGH); digitalWrite(B, HIGH); digitalWrite(C, HIGH); digitalWrite(D, HIGH); } else if (analogIn < 800){

//*********** rotate************

tDelay = analogIn - 150;

digitalWrite(A, HIGH);

delay(tDelay);

digitalWrite(A, LOW);

digitalWrite(B, HIGH);

delay(tDelay);

digitalWrite(B, LOW);

digitalWrite(C, HIGH);

delay(tDelay);

digitalWrite(C, LOW);

digitalWrite(D, HIGH);

delay(tDelay);

digitalWrite(D, LOW);

} else {

//***********blink*********

tDelay = analogIn - 400;

digitalWrite(A, HIGH);

digitalWrite(B, LOW);

digitalWrite(C, HIGH);

digitalWrite(D, LOW);

delay(tDelay);

digitalWrite(A, LOW);

digitalWrite(B, HIGH);

digitalWrite(C, LOW);

digitalWrite(D, HIGH);

delay(tDelay);

}

}

Category: Decor

Tagi