A really cool device you can use for detonating your fireworks and other things, safe and very cool. Quite simpel!
In the pictures are the things you will need
Schematic is on the first instruction page
For all those people writing really nice comments with things which could be improved on the pyro detonator, I improved it the way you asked so here is the link to the pyro detonator 2:https://www.instructables.com/id/PYRO-DETONATOR-2------igniter-detonator-fireworks-/