- October 15th, 2017, 10:00 am#4899675
This post may contain an affiliate link that helps support GBFans.com when you make a purchase at no additional cost to you.
Update 11/19/2017
I've updated the code on github with a few new features. I've made the location of the animation configuration easier to find with better comments. I've also added some bootup effects for the powercell and cyclotron when power is applied to the arduino. Here is a short video describing the options you can choose from
This is a code only update so all you have to do is upload the code to the arduino and you will have the new features. Code can be found here
Original Post
https://github.com/CountDeMonet/Arduino ... nimial.ino
I had a bunch of extra components lying around so I decided I would use them to upgrade the lighting on my Spirit pack. I wanted the standard powercell and cyclotron animations while I walk around. I kept the flashing light in the powercell when firing the wand but removed them on the cyclotron. The result can be seen here:
The Arduino code has been added to my github repo and you can find it here:
https://github.com/CountDeMonet/Arduino ... nimial.ino
There are options in the code to use the video game cyclotron animation or just the regular light cycle.
Here is a fritzing diagram of the whole setup with the power converter:
If you wanted to not use the power converter and are ok with the lights being a bit dimmer you can use this setup which would be simpler to solder up. The code would be the same
For my pack I'll be using an old 11.1v 1800mah lipo I had laying around. You could easily use 4 AAA's as well for this setup and they would last a long time. Something like this: https://www.amazon.com/Sackorange-Batte ... B071ZQ3DGT would work well if you wanted to use that.
I like to use the power converter set to 5v output as the neopixels like more stable voltage than the 5v out on the arduino can handle. It allows you to go brighter with the neopixels. You could simplify this even more and remove the converter and use the arduino vin to take in the battery. I also like to use connectors but this whole setup could be easily soldered all together since it only uses 2 pins on the arduino.
I also used some red and blue transparent folders to upgrade the light windows. Here are some pictures of the board I made and the installation. I created 2 models for 3d printing to make the installation easier. Those are also included in the github repo
https://github.com/CountDeMonet/Arduino ... onPackMods
I installed everything with hot glue. Easy and effective. I'll probably add a switch to turn the lights on and off instead of plugging the battery in each time but the install only took a few minutes.
Update 11/19/2017
I've updated the code on github with a few new features. I've made the location of the animation configuration easier to find with better comments. I've also added some bootup effects for the powercell and cyclotron when power is applied to the arduino. Here is a short video describing the options you can choose from
This is a code only update so all you have to do is upload the code to the arduino and you will have the new features. Code can be found here
Original Post
https://github.com/CountDeMonet/Arduino ... nimial.ino
I had a bunch of extra components lying around so I decided I would use them to upgrade the lighting on my Spirit pack. I wanted the standard powercell and cyclotron animations while I walk around. I kept the flashing light in the powercell when firing the wand but removed them on the cyclotron. The result can be seen here:
The Arduino code has been added to my github repo and you can find it here:
https://github.com/CountDeMonet/Arduino ... nimial.ino
There are options in the code to use the video game cyclotron animation or just the regular light cycle.
Code: Select all
You can also adjust the speed of the animations by updating these variables: const bool useGameCyclotronEffect = true; // set this to true to get the fading previous cyclotron light in the idle sequence
Code: Select all
The components used total $45 but there is enough here to light 2 packs fully. With one more stick you could light 3: int pwr_interval = 60; // interval in milliseconds at which to cycle lights for the powercell.
int cyc_interval = 1000; // interval in milliseconds at which to cycle lights for the cyclotron.
int cyc_fade_interval = 1; // fade the inactive cyclotron to light to nothing from a brightness of 255
- Optional power converter set to 5V output: 6 for $9.69
- Arduino Nano: 3 for $11.86
- Neopixel Stick: 5 for $8.49
- Individual Neopixel: 100 for $15.88
Here is a fritzing diagram of the whole setup with the power converter:
If you wanted to not use the power converter and are ok with the lights being a bit dimmer you can use this setup which would be simpler to solder up. The code would be the same
For my pack I'll be using an old 11.1v 1800mah lipo I had laying around. You could easily use 4 AAA's as well for this setup and they would last a long time. Something like this: https://www.amazon.com/Sackorange-Batte ... B071ZQ3DGT would work well if you wanted to use that.
I like to use the power converter set to 5v output as the neopixels like more stable voltage than the 5v out on the arduino can handle. It allows you to go brighter with the neopixels. You could simplify this even more and remove the converter and use the arduino vin to take in the battery. I also like to use connectors but this whole setup could be easily soldered all together since it only uses 2 pins on the arduino.
I also used some red and blue transparent folders to upgrade the light windows. Here are some pictures of the board I made and the installation. I created 2 models for 3d printing to make the installation easier. Those are also included in the github repo
https://github.com/CountDeMonet/Arduino ... onPackMods
I installed everything with hot glue. Easy and effective. I'll probably add a switch to turn the lights on and off instead of plugging the battery in each time but the install only took a few minutes.
Last edited by CountDeMonet on November 19th, 2017, 2:50 pm, edited 3 times in total.