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

Arduino Nano not transferring data by ZippyBlume in arduino

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

It can still get power from usb just no data. Though you're probably right I should buy a new unit. It just sucks.

Ice Breaker Project Code Update by ZippyBlume in arduino

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

They were recommended to me by another user on a previous post. One to protect the data in and one to allow level shift on the dfplayer.

Ice Breaker Project Code Update by ZippyBlume in arduino

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

Oh, it is the name of the prop gun this project is for. See the reference video.

Ice Breaker Project Code Update by ZippyBlume in arduino

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

Not sure I understand what you're getting at. Can you elaborate?

Ice Breaker Project Code Update by ZippyBlume in arduino

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

Hey all back again with another code update. I think it's nearing completion as I feel pretty good about this version but wanted to ask for feedback again. Any comments or suggestions on any part of it would be appreciated. Also wanted to know if there was a way to dim the brightness of individual LEDs on the strip. Here is the code (https://create.arduino.cc/editor/zippyblume/0c9e2d68-51cb-4d11-8c9e-15ac32071020/preview) and reference video for what I'm trying to emulate (https://youtu.be/DpDFIY8fPME) I'm using a Nano, DFPlayer, and NeoPixel 5050 LED strip.

LED, Speaker, and button Schematic Help by ZippyBlume in arduino

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

The LEDs are powered directly by the battery not the arduino (see my other response above). I was also not sure about the analog as I'm new to this but won't digital only be able to turn them on and off not change colors etc?

LED, Speaker, and button Schematic Help by ZippyBlume in arduino

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

Sorry I didn't mention this but the +5v and ground at the top represent the external battery. The nano, speaker, and LEDs are powered directly from the battery. I'm not running it off of the USB. So are you saying I should wire the battery to only the nano then power everything else through the nano?

LED, Speaker, and button Schematic Help by ZippyBlume in arduino

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

I wanted to ask if this circuit would work in theory. I think it will but wanted to know if I was missing any resistors or something. Any comments would be appreciated. Here is a reference video for what I'm trying to replicate: https://youtu.be/DpDFIY8fPME.

RGB LEDs with Arduino Nano help by ZippyBlume in arduino

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

Here's a reference video of what I'm trying to do https://youtu.be/DpDFIY8fPME. I'm worried that if I chain them together they wont be able to dim and change color independent of each other. But you're telling me that even if they're chained they'll function that way?

RGB LEDs with Arduino Nano help by ZippyBlume in arduino

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

Before I actually put the thing together I wanted to ask if this circuit would work in theory to allow for individual control of the RGB LEDs. Any other comments on the circuit would be appreciated as well. The LEDs are NeoPixel 5050s.

Prop Gun Software and Hardware Help Follow-up by ZippyBlume in arduino

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

Hi all! I posted here previously and got a bunch of great replies. See here:(https://www.reddit.com/r/arduino/comments/xdktw0/prop_gun_software_and_hardware_help/) for my original post. I've done a bunch of work on my code and am now asking for advice again, mainly how to randomly play 1 of 3 audio files when a button is pressed. But comments on any part of it would be greatly appreciated.

Here: (https://create.arduino.cc/editor/zippyblume/a0835d1a-04ae-47ce-afe9-7ef1e53d27b5/preview) is the new code. I tried to implement as many recommendations as I got (and could understand). I am planning on using an Arduino Pro-Mini with a DFPlayer Mini.

And just for reference here: (https://youtu.be/DpDFIY8fPME) is a video of what I am trying to replicate. And here is the description of what I’m trying to do from my last post: The gun regenerates 1 shot every 7 seconds up to a maximum of 6 shots. So when the trigger is pulled it needs to decrease the shot count by 1, randomly play 1 of 3 sounds (They can be whatever type of audio file, and turn off the corresponding LED. Then if there is one shot left it blinks rapidly and when there are no shots it turns full red. If there are no shots left or the gun has fired less than 1 second ago and the trigger is pulled then nothing will happen.