Arduino based flamethrower
Oct 31st, 2020 | by: Štěpán PomikálekCategory: Electronics Arduino

!!Warning: this project include high voltage and fire. Do not repeat!!!
!!! Every time i was testing this i went outside where it can´t light anything!!!
When you press a swith servo will open butane bottle and turn on high voltage supply to light it.
Parts list:
1x Arduino
1x ZVS high voltage power supply
1x Breadboard
2x 10k resistors
1x IRFZ44N Mosfet or any N-chanel mosfet that can handle ZVS
1x Button
1x 12V power supply for ZVS
1x Butane bottle/ lighter
Can be used in film as visual effect or for setting off fireworks from safe distance But I do not recommend it.
By: Štěpán Pomikálek
PHOTO GALLERY
#include
//this code was created by Štěpán Pomikálek combining Button sample and Knob sample
Servo myservo;
// constants won't change. They're used here to set pin numbers:
const int buttonPin = 2; // the number of the pushbutton pin
const int ZVSPin = 8; // the number of the ZVS pin
// variables will change:
int buttonState = 0; // variable for reading the pushbutton status
void setup() {
myservo.attach(9);
// initialize the LED pin as an output:
pinMode(ZVSPin, OUTPUT);
// initialize the pushbutton pin as an input:
pinMode(buttonPin, INPUT);
}
void loop() {
// read the state of the pushbutton value:
buttonState = digitalRead(buttonPin);
// check if the pushbutton is pressed. If it is, the buttonState is HIGH and servo will move:
if (buttonState == HIGH) {
// turn LED on:
digitalWrite(ZVSPin, HIGH);
myservo.write(20);
} else {
// turn LED off:
digitalWrite(ZVSPin, LOW);
myservo.write(110);
}
}
→
←


0 Comments