Author Topic: My arduino powered firework sequencer. This is gonna be a blast.  (Read 15956 times)

0 Members and 1 Guest are viewing this topic.

Offline usagiTopic starter

  • Frequent Contributor
  • **
  • Posts: 391
  • Country: us


full details in the imgur album


Offline German_EE

  • Super Contributor
  • ***
  • Posts: 2399
  • Country: de
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #1 on: July 02, 2017, 10:08:26 am »
Ummmmm, yeah, all of that explosive material in one place, not good.
Should you find yourself in a chronically leaking boat, energy devoted to changing vessels is likely to be more productive than energy devoted to patching leaks.

Warren Buffett
 

Offline CM800

  • Frequent Contributor
  • **
  • Posts: 882
  • Country: 00
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #2 on: July 02, 2017, 01:10:22 pm »
Ummmmm, yeah, all of that explosive material in one place, not good.



Uuuh, how do you think EVERY SHOP stores and displays them?

not a problem unless you're going about smoking next to them.
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16679
  • Country: 00
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #3 on: July 02, 2017, 01:27:20 pm »
Ummmmm, yeah, all of that explosive material in one place, not good.


 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16679
  • Country: 00
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21688
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #5 on: July 02, 2017, 02:10:38 pm »
Not really a platform for "mission-critical" applications like ignition.......

I hope you have a planned alternative method, whether it's hard wired ignitors, or dousing everything with water.

Not that these are the most dangerous pyrotechnics, just to be prepared. :)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16679
  • Country: 00
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #6 on: July 02, 2017, 03:52:53 pm »
Not really a platform for "mission-critical" applications like ignition.......

Says who?

OK, the edge connectors on the Arduino Uno aren't great. I wouldn't use an Arduino Uno in anything critical but what's wrong with wires soldered into an Arduino Pro Mini (for example).

At the end of the day an Arduibo is just an AVR chip on a board and the AVR chip is perfectly suited to jobs like that. It has watchdogs, brown out detection, etc.

It's all the surrounding parts you have to be careful with and that applies to any chip. It's the design+software that counts.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21688
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #7 on: July 02, 2017, 04:30:46 pm »
Says who?

OK, the edge connectors on the Arduino Uno aren't great. I wouldn't use an Arduino Uno in anything critical but what's wrong with wires soldered into an Arduino Pro Mini (for example).

At the end of the day an Arduibo is just an AVR chip on a board and the AVR chip is perfectly suited to jobs like that. It has watchdogs, brown out detection, etc.

It's all the surrounding parts you have to be careful with and that applies to any chip. It's the design+software that counts.

As you note, the Arduino board is just standard hardware, and, programmed responsibly (and hopefully, avoiding hardware bugs and errata in the chips?), that's fine.  I mean "Arduino" in spirit: if they're using the libraries.  Which are sketchy as hell...

(AFAIK, Arduino is supported on a lot more platforms than the official Arduino boards, so it's reasonable to associate "Arduino" more with the toolchain than just the boards.)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: ivan747

Offline NivagSwerdna

  • Super Contributor
  • ***
  • Posts: 2495
  • Country: gb
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #8 on: July 02, 2017, 04:35:30 pm »
How do you ignite each individual firework?
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16284
  • Country: za
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #9 on: July 02, 2017, 04:46:58 pm »
Easy, just switch 12V to the ignitor with a Songle 3A relay. Relay will survive around 100 000 operation cycles typical in this application, which will be a pretty big number of bangs. The typical ignitor is not exactly sensitive, it needs a minimum of 1A of current to ignite, and typically will drop 1V across it in the short time it takes to blow. You really want higher voltage than 1V to ignite them, especially as the long thin disposable leads are going to drop quite a bit of voltage in that ignition time. Serious pro ignitors use a 10-50uF capacitor charged to 200-400VDC and a really heavy duty switch to do a really high pulse of current to initiate a load of ignitors all in series with thin cord, so that all will detonate before the thin cable vanishes in the blast.
 

Offline PartialDischarge

  • Super Contributor
  • ***
  • Posts: 1611
  • Country: 00
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #10 on: July 02, 2017, 04:48:44 pm »
Ummmmm, yeah, all of that explosive material in one place, not good.

At least he's doing it the right way. Electrically initiated pyrotechnics is the safest way to go.
Electricity isolates pyro stuff danger the same way optic devices isolates high voltage danger.
« Last Edit: July 02, 2017, 05:00:55 pm by MasterTech »
 

Offline Brumby

  • Supporter
  • ****
  • Posts: 12298
  • Country: au
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #11 on: July 02, 2017, 05:24:53 pm »
Average citizens in NSW have access (legally) to only one form of firework - the sparkler. **

I think I would need to be extremely creative to get value out of that project.......


** That is now.  When I was growing up, we had common access to twopenny bungers (something similar in size to an 18650) and other explosive products of smaller sizes, Roman candles, Catherine wheels and a vast array of colourful display items.  Plus, there were skyrockets - from the fistful of a dozen for a shilling that just went fffffft and were gone in a second to the large bodied ones with a plastic nosecone that soared high and exploded in a glorious (for our pockets) display.

We also had a community bonfire in the park across the road.  It was not uncommon for it to be over 20 feet high ... and once the fire had burned down, people sat around toasting marshmallows over the embers.

I cannot remember how many years ago that was.......
« Last Edit: July 02, 2017, 05:27:14 pm by Brumby »
 

Offline Syntax_Error

  • Regular Contributor
  • *
  • Posts: 204
  • Country: us
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #12 on: July 02, 2017, 05:42:21 pm »
What a bunch of poo-poo-ers, jeez.

Nice project, and looks ready just in time for my favorite holiday. Are you going to video your creation in action?

Have you thought about making a similar project for Christmas lights? They are getting pretty popular around where I live.
It's perfectly acceptable to not know something in the short term. To continue to not know over the long term is just laziness.
 

Offline NivagSwerdna

  • Super Contributor
  • ***
  • Posts: 2495
  • Country: gb
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #13 on: July 02, 2017, 05:48:21 pm »
I think it's really fun. (Do obviously be careful around explosives... I worked in an office once where someone was KILLED by a firework)

Anyway...

Are there techniques that need to be employed in the signalling... e.g. differential, current not voltage etc...  to stop the display being triggered by a passing taxi etc?

« Last Edit: July 02, 2017, 05:50:45 pm by NivagSwerdna »
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16679
  • Country: 00
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #14 on: July 02, 2017, 06:04:25 pm »
Average citizens in NSW have access (legally) to only one form of firework - the sparkler. **

I live in the "City of Fire". There's firework shops everywhere and any excuse works. No birthday/wedding/funeral/Saints-day/whatever/etc. is complete without some fireworks. Any time of day is good: 3:00am? Not a problem.

Then there's the actual firework/fire festivals. There's days of the year when I can actually see the glass in my windows flexing because of the fireworks going off outside (no exaggeration) and aerial photos of the city look like the place is being firebombed.

This photo isn't a war zone, it's a party.  :)


note: This happens right in the middle of the city, narrow medieval streets and all. Some spaces are so tight you have to warn the fire brigade so they can come and supervise. This fireman isn't trying to put a fire out, he's just making sure nobody's house burns down.


« Last Edit: July 02, 2017, 06:47:40 pm by Fungus »
 

Offline PartialDischarge

  • Super Contributor
  • ***
  • Posts: 1611
  • Country: 00
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #15 on: July 02, 2017, 06:35:48 pm »
I think it's really fun.

I live in the "City of Fire".

Come on say it, be proud, its Valencia, Spain.  ;D
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16679
  • Country: 00
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #16 on: July 02, 2017, 06:41:00 pm »
I think it's really fun.

I live in the "City of Fire".

Come on say it, be proud, its Valencia, Spain.  ;D

Getting back on topic (I forgot), there's a lot of demand for firework controllers around here.
 

Offline kolbep

  • Frequent Contributor
  • **
  • Posts: 598
  • Country: za
    • ShoutingElectronics.com
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #17 on: July 02, 2017, 06:49:46 pm »
Just one thing to be careful of.
When most uC's are started up, their output registers can be in a random state.
Which means that even if you have the 1st few lines of your code set all the registers to 0, and their DDR to outputs, it may already be too late. The outputs could have already randomly fired at switch on.

One of the shows on TV was trying to find an effective way of braking a runaway truck trailer. They strapped remote control rockets onto it. But when the PyroTechnician went and turned on the receiver it did just that. Triggered the rockets which were facing their exhaust right at the cab door. He just managed to jump into the cab before turning into toast.

{Smash Lab S01E08
Runaway Trailer • 22:00 • Discovery  • 2008-02-27
The team investigates if you can stop a runaway trailer with truck using rockets. After testing 3 ways of using the rockets, a direct backwards-facing trailer-mounted system is used. A glitch in the firing system results in premature ignition, ending the experiment
}
====================================
www.ShoutingElectronics.com Don't just talk about Electronics, SHOUT ABOUT IT! Electronics Blog Site and Youtube Channel
 

Offline usagiTopic starter

  • Frequent Contributor
  • **
  • Posts: 391
  • Country: us
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #18 on: July 02, 2017, 07:02:24 pm »
Just one thing to be careful of.
When most uC's are started up, their output registers can be in a random state.
Which means that even if you have the 1st few lines of your code set all the registers to 0, and their DDR to outputs, it may already be too late. The outputs could have already randomly fired at switch on.

this is why 1) there's a "safe" mode switch, and 2) the mcp23017 has a reliable power-on-reset state.

Online floobydust

  • Super Contributor
  • ***
  • Posts: 7003
  • Country: ca
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #19 on: July 02, 2017, 07:15:02 pm »
Looks like a lot of fun!

I've seen a system need an operator button press to OK advance to the next group, with an abort/stop button too.

If a firework does not ignite though, and your pulse widths looked narrow in the .gif, your software might need the ability to redo a bank?
Or it a big waterfall approach- one sequence only from start to finish?


 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16679
  • Country: 00
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #20 on: July 02, 2017, 07:21:22 pm »
Just one thing to be careful of.
When most uC's are started up, their output registers can be in a random state.

Usually not 'random', usually it's high impedance (ie. INPUT with no pullup).

But ... if that's enough to set off the fireworks then you've already failed and shouldn't be allowed anywhere near anything explosive.

For fireworks you'd have a master relay for the 12V supply and only enable 12V power after all the Arduinos have woken up and reported their state to the master controller. Even then you'd have a second physical key on a string around your neck and only connect the 12V power a few seconds before the display is due to start.
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16679
  • Country: 00
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #21 on: July 02, 2017, 07:25:42 pm »
I've seen a system need an operator button press to OK advance to the next group, with an abort/stop button too.

I imagine they make it physically impossible for all fireworks to go off simultaneously in a large display. Banks of fireworks will only be enabled when previous banks have finished.

There'll be layers and layers of safeguards/redundancy/diagnostics. Plenty to keep an EE busy.
« Last Edit: July 02, 2017, 08:13:17 pm by Fungus »
 

Offline usagiTopic starter

  • Frequent Contributor
  • **
  • Posts: 391
  • Country: us
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #22 on: July 02, 2017, 08:40:23 pm »
If a firework does not ignite though, and your pulse widths looked narrow in the .gif, your software might need the ability to redo a bank?

look at the scope image again. that's how long it takes for an igniter to blow open.

now tell me if the gif looks like it's that fast.  ;D

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2300
  • Country: gb
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #23 on: July 02, 2017, 08:59:24 pm »
Reminded me of this firework faux pa - everything went up in a minute. Oooops.
Be sure to remember all your semi-colons in the Arduino code, hehe  ;D
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16679
  • Country: 00
Re: My arduino powered firework sequencer. This is gonna be a blast.
« Reply #24 on: July 02, 2017, 11:12:36 pm »
Reminded me of this firework faux pa - everything went up in a minute. Oooops.

How long was it supposed to last? Looks like an average display to me.  :popcorn:
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf