Hi there everyone!
I hope you are all keeping well.
It's finally happened, Lockdown V3 and Furlough has finally got to me and i'm now planning celebratory halloween and new years fireworks with a technical twist!
This is my very first ever experiment with an arduino and also my first post although i've been browsing the forum for a while now attempting to research!
Firstly I apologise for my extremely noobish questions but i'm really eager to learn and i apologise for my lack of knowledge at the moment. If any of these questions have been asked before I sincerely apologise but I have had a good look for this use case scenario and haven't come across a project trying to achieve the same as I am.
I'm pretty sure this kind of project could probably be compiled using other peoples projects and just piling on code however after reading the beginners section of the forum regarding just trying to combine code I thought i'd ask the help of the experts!
I've been trawling the forums however i've not been able to come across exactly what i'm looking to do. i'm very new to arduino and coding so any help whatsoever is massively appreciated. I'm more than capable hardware side so it's definitely the software that i'm struggling with.
I know that many people have achieved fireworks ignition systems using an arduino and relays and have seen several projects online detailing how they've achieved this however I don't see any that achieve what i'm looking to do.
Background & what I want to create:
I want to create a wireless transmitter from an arduino and an NRF24 that will transmit to up to 3 receivers. each receiver will consist of an NRF24, Arduino Mega and a 16 way relay linked in to 16 electronic igniters.
I've seen projects using cat5 cables etc to transmit to the cues however my intention is that each unit would be fully standalone and wireless, so in theory each of the 3 could be placed in very separate places (line of sight of course) so the wired systems really aren't ideal for what i'd like to do.
I'm not precious at to how to fire the display, i'm more than happy to take a laptop out to the field to hit the button and transmit to each receiver, that's not a problem at all, or else I would love to be able to program the full display sequence on to the transmitter, with an LCD display and start it at the push of a button on the transmitter, with the LCD then telling me which cue is firing and when. both options are perfectly viable for my use case.
Where i've got to so far.
I have an arduino mega, nano 2x NRF24+ tx/RX and a 16 way relay.
I have both the transmitter and receiver interacting with no issues. The relay 'starts the show' and fires each cue in the sequence that i've pre defined upon me pressing a button on the transmitter. The sequence is stored on the receiver at present as this is just how i know to make it work (my concern with this method is scalability when i move to an additional two receivers)
I've been able to get to this very early stage of the project with no issues thus far however i'm a little out of my depth from here on out as i'm not too sure how to achieve several parts of the project.
(what I need help with) The next steps for the project:
1: I would love it if anyone was able to point me in the right direction as to where i'd even begin scaling this to up to 3 receivers. I've a transmitter and receiver talking to eachother with no issues but I don't know where to start with 3 receivers, how do I stop them from stepping on eachother and potentially missing instructions?
2: Is there a way to store the show on the transmitting arduino which would then individually address each command to a preset arduino 1,2 or 3 for example so that I effectively don't need to reflash each receiver per show?
I know how to send a command to the receiver and fire a sequence stored locally but i'm unsure how to do do it the other way around, my thoughts as to why it needs to be the other way around is to to help keep each of the 3 receivers in time, would I be right in thinking this?
3: GUI, does anyone at all have any tips whatsoever for creating a GUI or even making it able to read a spreadsheet of a predefined layout?
effectively I want to just be able to press a button
show start
receiver1 cue 1:FIRE, receiver2 cue1:FIRE, receiver3 cue1:FIRE
- wait 3 seconds*
receiver1 cue 2:FIRE, wait 2 seconds - receiver2 cue1:FIRE, wait 2 seconds - receiver3 cue1:FIRE
etc. etc.
but I want a pretty way to set the times so it doesn't look like you have to be a programmer to do so if this makes sense? lol
4: how do i individually address particular pins on 3 separate boards from one wireless transmitter? I've tried googling the life out of it but i've been drawing blanks on this one!
--
How I would like the system to work:
1: I would love to create some form of GUI that would allow me plan out my display just using timings, so i coudldset a time or delay for each cue from the start point.
2: show starts and fires off
3: if I was to use a standalone transmitter i'd love to incorporate an LCD to tell me either how long the show has been running for, or a countdown timer of how long is left, or even just a display of which particular cue is firing.
4: option2 is to have a computer based GUI to launch the show at the press of a button on screen.
5:down the line a bit i'd love to work on a continuity checker/ armed key switch but it's a long way to halloween 2021!
my reason for wanting to create this:
I have 2 weddings coming up over the next two years, one a family member and one my best friends. I'd love to give them a fireworks display as wedding gifts and i'd love to have it timed. I'm known as being the nuts one who is always creating something, so just buying a firing system wouldn't be on brand for me! lol
Don't worry I am licensed for setting off displays of up to 500 people in my area and will be fully insured for each display! but more than anything this is a fun project for me to pass my time on lockdown whist on furlough!
Any help, advice or pointers whatsoever are all more than appreciated!
Warmest Regards to all
Jack