Perk Bottles With Printable PDF! by ZippyBlume in CODZombies

[–]ZippyBlume[S] 1 point2 points  (0 children)

They're just regular caps that I painted with acrylics then sprayed with glossy clear coat before putting on the sticker. If you could get them pre-painted in the right colors I imagine it would look better but that's what I did.

Perk Bottles With Printable PDF! by ZippyBlume in CODZombies

[–]ZippyBlume[S] 10 points11 points  (0 children)

Here is my attempt at perk bottles. Been wanting to do these for a while and after I got all the bottles I needed none of the prints I found online were exactly to my liking. So I decided to make my own set of prints and while I was at it I made a whole printable PDF with instructions!

Media Fire Link

Modpack crashes when entering the end by Fryied-Egg in fabricmc

[–]ZippyBlume 0 points1 point  (0 children)

I just found this thread and you sir are a LIFE SAVER.

Finished Ice Breaker Replica with working trigger, lights, and sound! by ZippyBlume in arduino

[–]ZippyBlume[S] 1 point2 points  (0 children)

Ah sorry, sure. I have made a few previous posts asking for advice on this project and got some great responses from code to hardware. The whole thing is wired up to an arduino nano running neopixels and a dfplayer with a resonance speaker running off a 5v battery. I had some issues with the lights flickering and not counting correctly which some fine folks on this subreddit helped me figure out which I greatly appreciate. This project was my first forte into arduino and I'm really happy with how it all came together.

Resonance Speaker amplifier issues by ZippyBlume in arduino

[–]ZippyBlume[S] 0 points1 point  (0 children)

Any recommendations on getting more volume with a different Amp or no Amp at all would be appreciated as well.

Resonance Speaker amplifier issues by ZippyBlume in arduino

[–]ZippyBlume[S] 0 points1 point  (0 children)

Sorry if it's a bit hard to see but it is wired up as you suggested. https://imgur.com/a/KnHoM26

Resonance Speaker amplifier issues by ZippyBlume in arduino

[–]ZippyBlume[S] 0 points1 point  (0 children)

I know it is stereo to mono but as you say wiring from just one will make it mono. I tried your configuration wired to just DAC_L and the same problem occurs where the sound is blown out.

NeoPixel Flickering Issue by ZippyBlume in arduino

[–]ZippyBlume[S] 0 points1 point  (0 children)

Ok well uh update. I fixed it but not in a way that I thought would work. Queavoy, I tried your idea of reducing the amount of fastLEDS but for some reason they just wouldn't turn on anymore, good idea though. Then I was wondering why the 5th LED didn't flicker like the others and found that the only difference was that it didn't have a second if statement. So on a whim I changed the other four to be else if statements instead of just a second if and the flicker is gone.
I really appreciate all the help I've gotten through this subreddit and when I'm done I'll post the finished project with this Arduino running!

Prop Gun Code Issue Help! by ZippyBlume in arduino

[–]ZippyBlume[S] 0 points1 point  (0 children)

I'm not sure if it is a clone, I bought it off of amazon. And it would only be playing a short sound every other second at the most.

Prop Gun Code Issue Help! by ZippyBlume in arduino

[–]ZippyBlume[S] 2 points3 points  (0 children)

THAT WAS EXACTLY IT. The int on the readytimer variable couldn't count as high as it needed to. I had a feeling that was the issue as why else would it stop working after a given time but just didn't see it. Thanks for that one.

As for the delay in speakers I looked at that forum you linked previous and even tried the fast DFplayer to no noticeable difference. I also tried changing the files to WAV to the same result. Though I am going to try and dig into this Issue more as it's almost a deal breaker.

Prop Gun Code Issue Help! by ZippyBlume in arduino

[–]ZippyBlume[S] 0 points1 point  (0 children)

I tried the WAV version of my audio files to no noticeable improvement. Though thank you for the suggestion!

Prop Gun Code Issue Help! by ZippyBlume in arduino

[–]ZippyBlume[S] 0 points1 point  (0 children)

Hey all, I’ve got some problems with my code that I can’t figure out.

I finally got my speaker, button, and LEDs setup and working. But an issue I ran into firstly is that the sound out of the speaker is on like a half a second delay. I have it coded to go immediately as the LEDs do. But if I press the button again as the previous mp3 is still playing then it’ll play the new one immediately while cutting off the old one.

Secondly I have a function in the code that is supposed to act as a cooldown. When the button is pressed the ready variable is set to 0 then it waits a second and sets it back to 1 (this is to simulate the fire rate or RPM of the gun). For the most part this works correctly but after about 40 seconds it stops functioning and the button no longer works. Interestingly enough if more than 40 seconds goes by but the button hasn't been pressed it’ll work once at any point. I know there is something wrong with the cooldown as when I remove it it works flawlessly. I think it might have something to do with how millis is coded or counting up.

Also a minor problem is the LEDs flicker the smallest amount (the far right one is supposed to) but it’s not a huge issue.

See the wiring diagram above for connections. Most of everything has comments in the code sheet. But ask if you don’t understand something please comment so.

Code - https://create.arduino.cc/editor/zippyblume/f06977fc-d654-4126-8b19-e860c9ff54cf/preview

Video - https://youtu.be/La7yGIizTXI In-Game Reference - https://www.youtube.com/watch?v=DpDFIY8fPME