First time poster, long time lurker. Using the v2.2 code and the sound files, the trap catching sequence and audio are not timed up, also the buzzing after closing sound as well.
Any ideas if I am doing something wrong? Your mods to the code look amazing in your video.
Yes the problem is the way the neopixels and the adafruit musicmaker work. They both temporary disable the TIMER0 interrupts to function. Which then throws off the internal timer in the arduino board, which is why sounds do not sync up. The original electronics choices for the CD trap are not very ideal for this very reason.
That is why I ended up offloading the neopixels to a separate arduino board and the servos to a servo controller to get things to work properly consistently.
If I was to build another one, I would switch to a teensy microcontroller and ditch the adafruit music maker for a slightly more expensive Robertsonics mp3 trigger.
You could try to alter the timings in the 2.2 code but it would never be correct all the time, or do the updates I did by offloading the neopixels to a separate arduino board and the servos as well.
I have a BOK trap kit on the way and I’m looking to put an electronics kit in mine. I was going to go with the ghostmech as it’s plug and play, but after seeing this, I need this kit in mine.
The only problem is, I’m not good with electronics at all. Would you consider selling a plug and play kit?
I finished the trap using the new 3.1 code. Works great! Sick features.
One thing, I cannot get the trap to operate by shorting the foster connector now. I moved the foster center wire to number 5 on music maker. I moved the blue outer foster wire to ground.
I verified I have .7 volts coming from the center pin on boot.
What have I done wrong ? Lol.
I verified uploaded code is 3.1. I also made sure to snip the blue and black wire from the side button before it joined with the others right after the connector . Could that be what I did wrong?
Correct. Shorting the foster connection won’t trigger the trap with the updates I made. The trap detects if there is a pedal connected on boot up and if there is no pedal, it ignores the foster connection. You can trigger it manually from pressing the silver volume knob.
If the pedal is connected to the trap, then the trap feeds power to the pedal led, then when the connection to the led is severed by the pedal press, the trap does it’s thing.
Is there a version of this code that uses the standard LED from the CD kit instead of the neopixles? I can’t afford to spend any more money on this project. My wife would kill me.
Was just about to ask this myself, I tried to give it a go but I think I’ve ended up breaking the trap messing with the code, OG CD doesn’t even work now
Sorry there is not, the lighting section would need to be updated to use the standard LEDs. You could probably cut down on some extra parts when not using the neopixels to cut costs some more, but the code would need to be reworked.
I have the neopixel library and the other library you say to install, I’ve put the servos on pin 9 and 10 and they work, I’ve put the rear LED on 3 and I’m waiting for the Neopixel lights to come in so I can wire them up to pin 5. The V1 that EctoLabs did works fine, however to get the rear light to pulse nothing happens, so I tried your V2.0 code and then got that error message
It is there, I think I had to paste something in that was missing from another code, but everything works now as it should, good work on the code and appreciate the replies