NodeMCU BT Wrist Hand Flame Flash IDK
IoTkazam! There is nothing up my sleeve .. save for this giant WIFI and Bluetooth enabled flash paper igniter.With a sleight of hand .. a touch of the screen .. and poof. No one is paying attention any ways bcz they are looking at their phones too. #MillennialMagic


Ingredients
NodeMCU 12E
HC-05 Bluetooth Module
(3) RC Glow Plugs
(3) 5V Relay Modules
(3) AA Batteries
CR2 3V Battery
Flash Paper

Code
// Magic Flame Hand Thing
// Bluetooth Only Version
// Vije Miller

// Pins
int one = D0;
int two = D1;
int thr = D2;

// Burn Time
int burn = 1500;
int mix_burn = 1500;

void setup() {
Serial.begin(9600);

pinMode(one, OUTPUT);
pinMode(two, OUTPUT);
pinMode(thr, OUTPUT);

digitalWrite(one, LOW);
digitalWrite(two, LOW);
digitalWrite(thr, LOW);
}

void loop() {

if (Serial.available())
{
char data;
data = Serial.read();
if (data == '1') {
digitalWrite(one, HIGH);
Serial.write("Yep");
delay(burn);
digitalWrite(one, LOW);
}
else if (data == '2') {
digitalWrite(two, HIGH);
Serial.write("Sure");
delay(burn);
digitalWrite(two, LOW);
}
else if (data == '3') {
digitalWrite(thr, HIGH);
Serial.write("Okay");
delay(burn);
digitalWrite(thr, LOW);
}
else if (data == '4') {
digitalWrite(one, HIGH);
Serial.write("Bomb's Away");
delay(mix_burn);
digitalWrite(two, HIGH);
delay(mix_burn);
digitalWrite(one, LOW);
digitalWrite(thr, HIGH);
delay(mix_burn);
digitalWrite(two, LOW);
delay(mix_burn);
digitalWrite(thr, LOW);
}
}

}

Notations
1. Prototype .. read the room.
2. NodeMCU (wifi) + HC-05 (not BLE) + TIP120 (relays) shd be a maker board. "VijeCU"?
3. Bcz the glow plugs are simply resistance wire coils, they gnd the circuit. MOSFET was attempted yet interference troubled the MCU+BT. For a more immediate impatient solution, we must use mechanical relays. Huge, bulky, module, relays...sigh.
4. WTH happen to those Radio Shack drawer 'mini' 5V relays?!
5. Isolate.
6. "Fallen Hero" by Emily M. Klassen



Archive
https://hackaday.io/project/163522-nodemcu-bt-wrist-hand-flame-flash-idk
https://www.audioblocks.com/stock-audio/fallen-hero-153246.html

19:57:11 330-018