Code Monkey home page Code Monkey logo

arduinoprotonpack's Introduction

Arduino Based Ghostbusters Proton Pack

Arduino Code for a Ghostbusters Neutrino Wand and Proton Pack

I'm in the process of building a proton pack for my son and this is the progress I have made so far. I have included the models for 3d printing, all sounds but the ghostbusters theme song, and the arduino code to control all of this. The models for 3d printing are scaled to 83%. The proton pack models are also mirrored for a left handed users pack. Once I have some time I'll post non-mirrored files.

The models are based off the following things on thingiverse:

This pack utilizes many off the shelf products for the electronics to make the build as easy as possible. Total cost is around $80 for the parts if sourced from amazon. You can find cheaper on ebay

I bought the light covers from digikey

https://www.digikey.com/product-detail/en/visual-communications-company-vcc/CLF_280_ATP/CLF_280_ATP-ND/4515437 - light near the clippard https://www.digikey.com/product-detail/en/visual-communications-company-vcc/SMB_200_RTP/SMB_200_RTP-ND/4515614 - sloblo https://www.digikey.com/product-detail/en/visual-communications-company-vcc/SML_190_CTP/SML_190_CTP-ND/4515623 - Vent light front https://www.digikey.com/product-detail/en/visual-communications-company-vcc/CMC_321_YTP/CMC_321_YTP-ND/4515456 - Vent light rear (no led tied to this one)

For the optional bargraph we are using the SparkFun SX1509 expander board and some resitor networks/bargraphs from digikey. If you want to use the bargraph you need to move the code from the test file into the main file and overwrite the stub functions. Since I won't be using it in my son's pack I removed it from the main file https://learn.sparkfun.com/tutorials/sx1509-io-expander-breakout-hookup-guide

Here's a video of the whole shebang put together

IMAGE ALT TEXT

arduinoprotonpack's People

Contributors

countdemonet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arduinoprotonpack's Issues

Slow bar graph

Hi,

I have hooked up my bar graph on a breadboard to test it and its very slow. if i move around the sparkfun board or the breadboard it can stop completely or speed up to the normal speed. im not sure why this could be happening?

heres a video of it happening: https://www.youtube.com/watch?v=_VRVlzpF2B4
im still waiting for the 5 led bar graph to be delivered which is why im using 2x 10 led ones
and i couldn't find any resistor arrays in stock so im using normal 330 ohm resistors.
could these changes cause the issues?

Thanks!

Switch not working

I have hooked up everything and when wire by wire to make sure I wired everything correctly. No luck when a switch on the start up switch.

I also started from the beginning and tested the simplified Spirit version with just the two pins. That one works from me. When I attempt the more advance one with the switches I can not seem to be able to turn on the lights after turning on the start up switch.

Any recommendations? Thank you.

Changing the wand LED's

Hi guys, I've uploaded the code and everything is running great.
I'm just wondering if it's possible to change the 4 LED's in the wand in what they do? say for Example I'd like to make the white one flash? I've looked through the code and there seems to be a part where it mentions a white flashing LED but don't know what to do or Is this for a 5th LED that needs to be added?
Thanks guys

Strange problem.

I have built all the circuit using a breadboard all worked fine, i bought a solderable breadboard and i am slowly moving everything over, all powers up but I am having a strange issue I have never come across when the board is laying flat the leds run slow when I put it on its side it speeds up to normal speed this also happens even if i wave my hand in front of the back of the board not touching it, I have re soldered entire new boards 3 times now changing the nano 3 times also swapping the led modules, and cables but it still does the same im totally lost.

i have not completely wired everything up yet nano is soldered cyclotron, power cell and vent lights all wired and the wand light is wired with one switch for testing am i missing something?

ever come across anything like this?

Sound won't trigger it.

@fstanley28 how you fix your sound problem finaly.

same situtation.

all wires look perfectly hook up to the right pin.

i can trigger by ground pin all sound but via uart = no sound and no trigger.

any clue? @CountDeMonet ?
There is a video for understand my issue:
https://youtu.be/KuHlIw8GJx0

Just an update on progress. Got the sound working. Everything is firing as it should! Now to put everything together for the finished pack. I appreciate everyone’s help here.

Originally posted by @fstanley28 in #5 (comment)

Vent light question

This looks awesome. What neopixels did you use for the venting lights on the pack and wand?

Getting Arduino to execute

So i have everything wired up from the 'No Bargraph" wiring diagram.

I checked with Multimeter and every V is 4.9 to 5.1 Volts and every Data Input is 0.7V.

Toggle Switches are either 0V or .6V depending on the switch position.

I loaded the Code to the Arduino and it loaded successfully.

Problem is when i put power to the system, and flip any/all toggle switches nothing happens. I rechecked all the Voltages and it is still as i stated above. Arduino loads fine so i don't think that is broken. Not sure what is wrong.

Any help would be very welcome :)

Thanks

Outages and resets

Hi,
I've just begun building the proton pack using your arduino code. When I push the fire-button, all lights are stopping for about a second before moving on. Same goes when releasing the fire-button or when reaching the 10 second limit. When it "overheats" it shuts itself down and boots again (can't tell you about the sound at the moment, I'm troubleshooting the lights first).
Things I've done so far:

  • Used three different arduinos (Nano Clone, Nano Clone, Arduino Uno)
  • Checked the wiring
  • Changed the power supply (but always only using 5V from USB, whether it's from my MacBook or from power outlet)
  • Everything powered by the USB-plug OR the 5V Vin (tested both).
  • Used different versions of Arduino software 1.8.13, 1.8.12, 1.8.4 (it solved a similar problem in another thread), 1.8.5.

I hope to get some help here because I don't know what else it might be.
Thank you in advance

Using Pixel Jewels instead of Individual neopixels

Im using the spirit minimal code because these lights are going in a pack thats on display. I bought the jewels since thats what i used in the full pack. Is there an easy way to configure those to work in place of the individual pixels?

help

This is something probably that I'm doing wrong. Im having a issue when Im importing the zip file into my library? its not allowing the queue array to and other files to import?

Additional LEDs

Hi there,
in the wiring diagram (without the bargraph), there are four LEDs after the jewels of the cyclotron, but i can´t find any information on what those are doing?
Also...is it possible to just use four single LEDs instead of the jewels for the cyclotron? I can´t figure out how i would have to change the code for that.

Connect to the spengler wand?

Great project! Thank you very much for this.

As a stupid Arduino Rookie I think about to cut some corners with the spengler wand, because time is an issue ;) . Maybe you have an idea to wiring this to the pack?

What do you think to use a Bluetooth Box with the Wandsound? Should be in the middle of your shematics, close to the Spirit plan, but by using the Wand switches

https://www.youtube.com/watch?v=eDmHGA3ytjE

Thank you!

Cant compile with bar graph

Ive been fighting with this a bit now, the code without bar graph works great, but with bargraph, it stops compiling and gives this error- "'shutdown_leds' was not declared in this scope" I would try to fix it myself, but to be honest, I know almost nothing about coding. But I will say, even without the bargraph, excellent job on it!

useGameCyclotronEffect

i try to create a second mode : slime mode.
For that i create bosonmode bool and slimemode bool for swtich true or false between both mode. Like this

bool bosonmode = true; bool slimemode = false;

The code i do work super good when gamecyclotroneffect is false.
But when is true its not work.
When i switch mode from boson to slime mode, all stop (all function, not just light sequence)

There is my code part where is super good in bosonmode but not in slimemode

slimemode.txt

Any cue what wrong? or how to achieve this for have a perfect same pathern but in green fade effect instead of red when its slimemode is true?

i try to create new function (reproduce all red function in green, create 5th and 6th case in the switch too but nothing work. Always stop work when i switch.

I know iam close to get it but i miss something for shure.

Thanks for helping

No booting up

I have everything loaded on the soundboard and nano both power up(lights turn on on both boards) but I get nothing when I flip switches. I believe I have everything wired correctly. Any help would be appreciated.

Code Issues

Hi mate, hoping you can help me, getting all the libraries sorted but keep getting the below issue.

libraries\SparkFun_SX1509_Arduino_Library\SparkFunSX1509.cpp.o (symbol from plugin): In function `SX1509::SX1509()':

(.text+0x0): multiple definition of `REG_I_ON'

sketch\Arduino_Code.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\SparkFun_SX1509_Arduino_Library\SparkFunSX1509.cpp.o (symbol from plugin): In function `SX1509::SX1509()':

(.text+0x0): multiple definition of `REG_T_ON'

sketch\Arduino_Code.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\SparkFun_SX1509_Arduino_Library\SparkFunSX1509.cpp.o (symbol from plugin): In function `SX1509::SX1509()':

(.text+0x0): multiple definition of `REG_OFF'

sketch\Arduino_Code.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\SparkFun_SX1509_Arduino_Library\SparkFunSX1509.cpp.o (symbol from plugin): In function `SX1509::SX1509()':

(.text+0x0): multiple definition of `REG_T_RISE'

sketch\Arduino_Code.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\SparkFun_SX1509_Arduino_Library\SparkFunSX1509.cpp.o (symbol from plugin): In function `SX1509::SX1509()':

(.text+0x0): multiple definition of `REG_T_FALL'

sketch\Arduino_Code.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

Multiple libraries were found for "Wire.h"
Used: C:\Program
Multiple libraries were found for "SparkFunSX1509.h"
Used: C:\Users\KarlB\OneDrive\Documents\Arduino\libraries\SparkFun_SX1509_Arduino_Library
Multiple libraries were found for "QueueArray.h"
Used: C:\Users\KarlB\OneDrive\Documents\Arduino\libraries\QueueArray
Multiple libraries were found for "Adafruit_Soundboard.h"
Used: C:\Users\KarlB\OneDrive\Documents\Arduino\libraries\Adafruit_Soundboard
Multiple libraries were found for "Adafruit_NeoPixel.h"
Used: C:\Users\KarlB\OneDrive\Documents\Arduino\libraries\Adafruit_NewPixel
Multiple libraries were found for "SoftwareSerial.h"
Used: C:\Program
exit status 1
Error compiling for board Arduino Nano.

Thanks
Karl

Uploading the code

Hi, is there anyone that can help me with a step by step guide and how to upload everything to the Arduino please?

Want to do the wand with graph and ecig plus add the sparks fun board.
Bit of a noob when it comes to Arduino but I’m good and following instructions
Thanks

Bar graph code / execution

Greetings!

Having some trouble getting the barograph code to work....

I believe I have everything wired correctly and double-checked the solder joints.

It works fine with the "neutrona_wand" file with no barograph. As soon as I upload the barograph code, nothing works.

I tried to comment out these lines to see if there was some problem initializing the SX1509:

// Call io.begin(

) to initialize the SX1509. If it
// successfully communicates, it'll return 1.
if (!io.begin(SX1509_ADDRESS)) {
while (1) ; // If we fail to communicate, loop forever for now but it would be nice to warn the user somehow
}

However, even with these lines commented, the code ceases to function.

Any thoughts on what's going on here?

Powercell not working properly

While powered on, the powercell boots up with multiple different colors on the LEDs, and only turns on 12 lights. Screenshot_20231011_173001_Studio.jpg

Here is a picture for reference when fully on. Is this normal for the spirit code, or is something wrong with my LEDs?

Can´t get the soundboard working

Hi again,

@CountDeMonet
Sorry for opening another issue...and of course, thanks for your help!
I started building the full thing, with all the jewels :)

But right now i´m pretty desperate.
I can´t get the arduino to communicate with the soundboard i think.
With help i got the light working when changing the code so it works without the soundboard.
Also the soundboard itself works fine when testing, but i can´t get them to work together and i have no idea why.
I´m sure everything is wired correctly.
I´m using the FX Soundboard mini (https://www.adafruit.com/product/2341), but that shouldn´t make any difference right?

Would really appreciate any kind of tipp or advice.

Use of another soundboard

First of all … thank you for your awesome work!

As the Adafruit sound Fx is running into some limitations (only 16mb) would it be possible to switch to another soundboard without changing too much code?

https://www.adafruit.com/product/3436

I am not really into coding, so any help would be greatly appreciated.

Dirk

Idea collection

As I'm quite new to GitHub and the ArduinoProtonPack, I'm not really sure how to open a thread, so please forgive me.
I would like to open some kind of idea collection what could be a ArduinoProtonPack 2.0:

Switches on the motherboard (or in a small printed enclosure) not visible when wearing the proton pack:

  • Switch to mute/unmute the pack (it's just a switch to disconnect the power from the amplifier, easy to realize)
  • Potentiometer to adjust the volume (no need to explain this ;-) )
  • Potentiometer to adjust the LED brightness (for example when in a showcase at home or in a dark environment).
  • Switch to toggle between GameCyclotron and MovieCyclotron
  • Switch to toggle between "Cyclotron fading" in and "Cyclotron blinking on start"
  • Switch to enable/disable the dialog tracks

Buttons visible on the wand:

  • Intensify button to skip to another music track(s) when in theme mode
  • Button at the front of the wand skips through different modes when switched to GameCyclotron.

Do you have anything else what could be interesting here?
Maybe we can get some people together and work on it?
Looking forward for your comments/suggestions

Wand board with bar graph

Great project, in many ways better than the pre-made kits, and tweak-able!

Did you happen to do a wand io board that includes the bar graph? I'm putting together the whole project including bar graph, and it would be great to have a board that includes it.

Proton Pack Circuit Diagram - No Bargraph Schematic

In the schematic I see 4 additional LEDs on the Wand and 4 additional LEDs on the Proton Pack. Does the code cover for these and if so where do you put them?

I noticed on the video there was a blue light in the wand as well as button lights are those these LEDs?

Separate question, on the Schematic the Amplifier looks different than the one on the order sheet. Should I be using 2 of the ones from the order sheet or could you link the model number for the one from the schematic?

Thanks a ton for this site, i am new to Arduino and this is a crash course per say :)

queue array not working

I've been using the code ''neutrino wand with graph'' and so far everything is working great. The only thing i'm having a problem with is the queue array. For example in the code if i replace the '' playDialogTrack(playing); ''on line 397 with ''playAudio (boxTrack, playing);'' it will then play the boxtrack normally when firing between 5 to 10 seconds . What could be causing the queueArray to not work? I am using a mega 2560 R3 and the adafruit soundboard.

Battery options?

Hello, I'm an absolute beginner at this and giving this a shot for my proton pack build. I have zero experience with lipo batteries and read a lot of stories of them being dangerous when not handled properly (Dangerous when overcharging or when they get under 3V) so I was wondering if there was an alternative for the lipo that I could use to power this project for a decent amount of time. Sorry if this is a really nooby question but I'm pretty clueless and this is my first arduino project so I'm learning along the way.

Real random queuarray

i play since several week with this code and all is so good.

But i realize than queuarray is not a real random sounds playlist. Yeah after many test its appears than the queuarray suppose to play random quote of the movie but he not did it. Its always the same order after a reset of the board.

How i can make a real random queu?

E-cig addition

Has anyone tried this yet? I see there is and ino file with the relay but as for wiring I didn't see anything. Any guidance would be awesome.

Only a knocking sound when starting

Hi, I have a problem with the soundboard. I got only a fast "knocking" sound when I start the pack. I already checked all the wiring, but nothing helped. Anyone had the same issue before?
Thanks guys!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.