christopher.issler
01-06-2016, 03:02 AM
Hey all,
So, I’m working on a Proof of Concept to build out a firing system using Raspberry Pi. I’m sure someone somewhere has done this somewhere…
Here’s what I’ve done, without trying to being too long winded: Using a RPi, I’ve spent $~100 and built a wireless firing system using a cellphone, tablet, or tablet to initiate the fireworks. The system is enclosed in a case, with 16 cues, Off/Safe/Arm switches, 5v/12v voltage test display to check output, 12 and 5v voltage regulators, and 16 relay drive board. Funny side note, which is why I need a new box, is that I planned all this out, and never took a power supply into consideration. The system uses a WIFI network to communicate between console and module.
For those of you not familiar with RPi; it’s basically a computer the size of a credit card, it costs ~35$ for my version, but the company just released a 5$ version. It has a CPU, RAM, Storage, HDMI, 4x USB ports, 40 port Input/Output ports(fully programmable), and many other cool things. The schools in the US, especially in developing countries, use this as a way for kids to learn to program and have access to the internet, in places where PCs/Laptops would be too costly. My RPi is running a Linux environment, Raspbian Jessie v4.1 in particular. You can run almost all Operating Systems out there, I chose Jessie as one that would meet my needs (command line, programmable…not a fancy UI). The RPi and Raspbian combo is a very robust system, that is also running Apache(how the user interacts with the system, through HTML), SSL for encryption, JavaScript(how HTML calls PHP), PHP(to call the Python script), Python(which communicates with the relay driver board), SSH (for remote access and configuration).
Anyway, here’s what I’ve put together. I have a laundry list of issues, leanings, and changes to make to follow; but I wanted to show some progress…because I think this pretty cool.
Here’s what I’m working on or waiting for…
1. WIFI Dongle. The dongle will put the antenna on the outside of the box, which will give it ~800’ from the router in radius. With the box closed i get ~200 feet with the antenna in the box with not exterior antenna.
2. Larger box, 7x4 is a bit too small. Waiting for the next size up.
3. LED Matrix, for continuity test. I have everything, just waiting for a 3D printer to make me a fancy block to hold it all together.
4. I waited to buy a keyed (Off/Safe/Arm) till I knew how many poles/throws I needed…now that I know, I have ordered it.
5. Channel Up and Down buttons with display to show current channel. I only used 16 outputs, so I have a handful of inputs to use. Instead of preconfiguring the module, I would like to have the ability to change in the field the channel which would sync up with the Web.
6. Current relay driver board is using standard mechanical relays, and not Solid State Relays. I’ve reached out to the company to see if I could have a board with no relays OR a board with predetermined SSRs…worse comes to worse just need to desolder and resolder new relays on.
7. 18guage wire is too much for the driver board, especially when doubling up connections. Waiting for lower stranded wire(was using solid CAT6, that was a bad idea)…
8. The GPIO to driver cable was a nightmare, never be colorblind and try to match up cables and pinouts.
Anyone who has a concern with the security of the system, here’s some thoughts:
1. System requires a 40$ WIFI Access Point or Router to be setup and configured.
2. Router/AP should have a unique SSIS.
3. Router/AP should have a wireless encryption of WPA2-PSA.
4. Router/AP should have MAC filtering.
5. Router/AP should have SSIS non broadcasting.
6. Router/AP should have a new user defined username/password.
7. RaspberryPI would be running SSL encryption between “Remote” and Module.
8. Remote would be communicating via HTML calling Javascript scripts.
With all that said, hacking is not a concern.
Anyway, pictures and videos to follow. Please let me know your thoughts, gripes, grievances, concerns….
-Chris
So, I’m working on a Proof of Concept to build out a firing system using Raspberry Pi. I’m sure someone somewhere has done this somewhere…
Here’s what I’ve done, without trying to being too long winded: Using a RPi, I’ve spent $~100 and built a wireless firing system using a cellphone, tablet, or tablet to initiate the fireworks. The system is enclosed in a case, with 16 cues, Off/Safe/Arm switches, 5v/12v voltage test display to check output, 12 and 5v voltage regulators, and 16 relay drive board. Funny side note, which is why I need a new box, is that I planned all this out, and never took a power supply into consideration. The system uses a WIFI network to communicate between console and module.
For those of you not familiar with RPi; it’s basically a computer the size of a credit card, it costs ~35$ for my version, but the company just released a 5$ version. It has a CPU, RAM, Storage, HDMI, 4x USB ports, 40 port Input/Output ports(fully programmable), and many other cool things. The schools in the US, especially in developing countries, use this as a way for kids to learn to program and have access to the internet, in places where PCs/Laptops would be too costly. My RPi is running a Linux environment, Raspbian Jessie v4.1 in particular. You can run almost all Operating Systems out there, I chose Jessie as one that would meet my needs (command line, programmable…not a fancy UI). The RPi and Raspbian combo is a very robust system, that is also running Apache(how the user interacts with the system, through HTML), SSL for encryption, JavaScript(how HTML calls PHP), PHP(to call the Python script), Python(which communicates with the relay driver board), SSH (for remote access and configuration).
Anyway, here’s what I’ve put together. I have a laundry list of issues, leanings, and changes to make to follow; but I wanted to show some progress…because I think this pretty cool.
Here’s what I’m working on or waiting for…
1. WIFI Dongle. The dongle will put the antenna on the outside of the box, which will give it ~800’ from the router in radius. With the box closed i get ~200 feet with the antenna in the box with not exterior antenna.
2. Larger box, 7x4 is a bit too small. Waiting for the next size up.
3. LED Matrix, for continuity test. I have everything, just waiting for a 3D printer to make me a fancy block to hold it all together.
4. I waited to buy a keyed (Off/Safe/Arm) till I knew how many poles/throws I needed…now that I know, I have ordered it.
5. Channel Up and Down buttons with display to show current channel. I only used 16 outputs, so I have a handful of inputs to use. Instead of preconfiguring the module, I would like to have the ability to change in the field the channel which would sync up with the Web.
6. Current relay driver board is using standard mechanical relays, and not Solid State Relays. I’ve reached out to the company to see if I could have a board with no relays OR a board with predetermined SSRs…worse comes to worse just need to desolder and resolder new relays on.
7. 18guage wire is too much for the driver board, especially when doubling up connections. Waiting for lower stranded wire(was using solid CAT6, that was a bad idea)…
8. The GPIO to driver cable was a nightmare, never be colorblind and try to match up cables and pinouts.
Anyone who has a concern with the security of the system, here’s some thoughts:
1. System requires a 40$ WIFI Access Point or Router to be setup and configured.
2. Router/AP should have a unique SSIS.
3. Router/AP should have a wireless encryption of WPA2-PSA.
4. Router/AP should have MAC filtering.
5. Router/AP should have SSIS non broadcasting.
6. Router/AP should have a new user defined username/password.
7. RaspberryPI would be running SSL encryption between “Remote” and Module.
8. Remote would be communicating via HTML calling Javascript scripts.
With all that said, hacking is not a concern.
Anyway, pictures and videos to follow. Please let me know your thoughts, gripes, grievances, concerns….
-Chris