1 / 4
Thermal Detonator — zdjęcie 1
1 / 4

Thermal Detonator

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.

This is a Thermal Detonator, consisting of four parts.

Ocena
4,923 / 5
Polubienia
311
Pobrania
1232
Wydruki
26
Wyświetlenia
6171
Oceny
13

Aktualizacja u źródła:

Informacje o modelu

Źródło
Printables
Kategoria
Props
Licencja
Creative Commons — Attribution — Noncommercial — Share Alike

This is a Thermal Detonator, consisting of four parts. The top and bottom halves of the sphere, a sliding button that goes on top and a small cap that will cover an LED in the top half of the sphere.
The files has four holes that can accommodate three 5mm LEDs and one 3mm LED.
The sliding button clips into place in the slot in the top half of the sphere and can be used to attach and activate a button for electronics that can be housed inside.

Print instructions

Category: Props

Arduino Code for the blinking LEDs

int led1 = 5; //Specify to which pin you are connecting the Left Oragne LED
int led2 = 7; //Specify to which pin you are connecting the Middle Oragne LED
int led3 = 9; //Specify to which pin you are connecting the Right Oragne LED
int led4 = 11; //Specify to which pin you are connecting the Red LED

// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);
pinMode(led4, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {

//Light Status 1
digitalWrite(led4, HIGH); //turn the red LED on

digitalWrite(led1, HIGH); // turn the Left Orange LED on
delay(600); // wait for 600 milliseconds

digitalWrite(led1, LOW); // turn the Left Orange LED on off
delay(600); // wait for 600 milliseconds

//Light Status 2
{digitalWrite(led2, HIGH);
delay(600);

digitalWrite(led2, LOW);
delay(600);}

//Light Status 3
{digitalWrite(led3, HIGH);
delay(600);

digitalWrite(led3, LOW);
delay(600);}

//Light Status 4
{digitalWrite(led1, HIGH);
digitalWrite(led2, HIGH);
delay(600);

digitalWrite(led1, LOW);
digitalWrite(led2, LOW);
delay(600);}

//Light Status 5
{digitalWrite(led1, HIGH);
digitalWrite(led3, HIGH);
delay(600);

digitalWrite(led1, LOW);
digitalWrite(led3, LOW);
delay(600);}

//Light Status 6
{digitalWrite(led3, HIGH);
delay(600);

digitalWrite(led3, LOW);
delay(600);}

//Light Status 7
{digitalWrite(led1, HIGH);
delay(600);

digitalWrite(led1, LOW);
delay(600);}

//Light Status 8
{digitalWrite(led2, HIGH);
digitalWrite(led3, HIGH);
delay(600);

digitalWrite(led2, LOW);
digitalWrite(led3, LOW);
delay(600);}

//Light Status 9
{digitalWrite(led1, HIGH);
digitalWrite(led3, HIGH);
delay(600);

digitalWrite(led1, LOW);
digitalWrite(led3, LOW);
delay(600);}

}

Tagi