Microcamtest

checking the microphone and webcam

Can i own a flamethrower in new york?

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Submit

Thanks for submitting a tip for review!

Advertisement

Video

Step 6: Spark installation

This part is the flame igniter and it works by using two electrodes that are close enough to each other for electricity to jump between the tiny gap. [Image Source: mikeasaurus via Instructables]

[Image Source: mikeasaurus via Instructables]

What states can I buy a flamethrower?

Personal ownership In the United States, private ownership of a flamethrower is not restricted by federal law, because flamethrower is a tool, not a firearm. Flamethrowers are legal in 48 states and restricted in California and Maryland.

Hand Made (to Last) Custom Americana

  Wall Art to Perfectly Compliment Your 
  Man-Ca

Wall Art to Perfectly Compliment Your Man-Cave, Home Office or Cabin Interior or Exterior – All Year Round 23×40 – 26×48 – 33×60 – Custom $349 – $449 – $649 – $949 + S&H Custom Union Designs on Request 100% Satisfaction Guaranteed [email protected]

Code

firebending.inoArduino sketch for a punch detecting flamethrower.#include <Wire.h> #include <SPI.h> #include <Adafruit_LIS3DH.h> #include <Adafruit_Sensor.h> // Used for software SPI #define LIS3DH_CLK 13 #define LIS3DH_MISO 12 #define LIS3DH_MOSI 11 // Used for hardware & software SPI #define LIS3DH_CS 10 //software SPI Adafruit_LIS3DH lis = Adafruit_LIS3DH ( LIS3DH_CS , LIS3DH_MOSI , LIS3DH_MISO , LIS3DH_CLK ); //A fist experiences significant acceleration during a good punch, //followed by massive deceleration at the end of the punch. //This happens within a fairly small window of time, so it's //pretty easy to distinguish a punch from normal gesticulations. unsigned long punchStart = ; //variable for non-blocking punch timeframe check const long punchInterval = 200 ; //timeframe of a punch in ms, from max acceleration to max deceleration, 200 is very generous int punchAccel = 20 ; //the beginning of a punch in m/s^2, could be over 50m/s^2 depending on the puncher int punchDecel = – 40 ; //the end of a punch in m/s^2, could be less than -100m/s^2 depending on the puncher int flameTime = 250 ; //how long the flame lasts, in ms void setup ( void ) { //Test to see if accelerometer is communicating Serial . begin ( 9600 ); Serial . println ( "LIS3DH test!" ); if ( ! lis . begin ( 0x18 )) { // change this to 0x19 for alternative i2c address Serial . println ( "Couldnt start" ); while ( 1 ); } Serial . println ( "LIS3DH found!" ); lis . setRange ( LIS3DH_RANGE_16_G ); //+-16G range for good punch detection Serial . print ( "Range = " ); Serial . print ( 2 << lis . getRange ()); Serial . println ( "G" ); pinMode ( 8 , OUTPUT ); //Solenoid valve pinMode ( 9 , OUTPUT ); //Arc lighter digitalWrite ( 8 , LOW ); digitalWrite ( 9 , LOW ); } void loop () { lis . read (); sensors_event_t event ; lis . getEvent ( & event ); //look for punch starting, at least 20 m/s^2 if ( event . acceleration . x > punchAccel ){ Serial . println ( event . acceleration . x ); punchStart = millis (); } unsigned long currentMillis = millis (); //look for punch ending, less than -40 m/s^2 if ( event . acceleration . x < punchDecel && currentMillis – punchStart < punchInterval ){ Serial . println ( event . acceleration . x ); Serial . println ( "Punch" ); Fire ( flameTime ); } } void Fire ( int flameTime ){ digitalWrite ( 8 , HIGH ); digitalWrite ( 9 , HIGH ); delay ( flameTime ); digitalWrite ( 8 , LOW ); digitalWrite ( 9 , LOW ); }

Step 10:  Unleash the flames

How about that? If you’re going to attempt to build this flame-spitting skateboard then let us know in the comments section how you get on and if you’ll manage to shred some skate flames.

Source: Mike Warren via Instructables

Tags