# Mega Deluxe Ghost Trap Build

**URL:** <https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980>\
**Category:** Ghost Traps\
**Created:** [March 8, 2022, 4:15pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980 "2022-03-08T16:15:43Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![mardin\_chatzuk](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/m/3d9bf3/32.png) [@mardin\_chatzuk](https://forum.gbfans.com/u/mardin_chatzuk)\
**Post date:** [October 21, 2022, 5:51pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/21 "2022-10-21T17:51:20Z")

</div>

> [@](#):
>
> Proton Props is doing some trap commission builds, so you could reach out to him about it.

I’ll have to look into that. Thanks for the suggestion!

---

<div class="post-metadata">

**Author:** ![doctorpepper](https://forum.gbfans.com/user_avatar/forum.gbfans.com/doctorpepper/32/186438_2.png) [@doctorpepper](https://forum.gbfans.com/u/doctorpepper)\
**Post date:** [October 21, 2022, 11:28pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/22 "2022-10-21T23:28:50Z")

</div>

oh so beautiful

---

<div class="post-metadata">

**Author:** ![seattlebuster](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@seattlebuster](https://forum.gbfans.com/u/seattlebuster)\
**Post date:** [December 8, 2022, 6:26am UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/23 "2022-12-08T06:26:46Z")

</div>

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.

Great work !

Thank you for any supplied help .

---

<div class="post-metadata">

**Author:** ![gpstar](https://forum.gbfans.com/user_avatar/forum.gbfans.com/gpstar/32/130521_2.png) [@gpstar](https://forum.gbfans.com/u/gpstar)\
**Post date:** [December 9, 2022, 4:19pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/24 "2022-12-09T16:19:34Z")

</div>

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.

If you need any help, just shoot me a message.

---

<div class="post-metadata">

**Author:** ![Lyfie](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/l/6a8cbe/32.png) [@Lyfie](https://forum.gbfans.com/u/Lyfie)\
**Post date:** [December 28, 2022, 10:25pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/25 "2022-12-28T22:25:57Z")

</div>

This trap kit is amazing.

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?

---

<div class="post-metadata">

**Author:** ![seattlebuster](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@seattlebuster](https://forum.gbfans.com/u/seattlebuster)\
**Post date:** [December 31, 2022, 11:49pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/26 "2022-12-31T23:49:01Z")

</div>

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?

 ![image](https://discdn.gbfans.com/original/3X/7/2/7272451ddfb46d0f8bb88d0bed6f5296181ad0e2.jpeg)

---

<div class="post-metadata">

**Author:** ![gpstar](https://forum.gbfans.com/user_avatar/forum.gbfans.com/gpstar/32/130521_2.png) [@gpstar](https://forum.gbfans.com/u/gpstar)\
**Post date:** [January 4, 2023, 10:10pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/27 "2023-01-04T22:10:06Z")

</div>

> [@seattlebuster post\_id=4975990 time=1672530541 user\_id=53460](#):
>
> 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?
> 
> ![image](https://discdn.gbfans.com/original/3X/7/2/7272451ddfb46d0f8bb88d0bed6f5296181ad0e2.jpeg)

Did you boot the trap up with the pedal connected or not connected? It will operate differently depending how you boot it up with the pedal or not.

---

<div class="post-metadata">

**Author:** ![seattlebuster](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/s/3e96dc/32.png) [@seattlebuster](https://forum.gbfans.com/u/seattlebuster)\
**Post date:** [January 4, 2023, 10:14pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/28 "2023-01-04T22:14:03Z")

</div>

No pedal boot.

Maybe that’s why? Apologize for my stupidity in advance if that is literally what I did wrong.

I haven’t finished my pedal yet, it was just trying to test it off the foster connector on the back. I need to get motivated to finish the pedal lol

---

<div class="post-metadata">

**Author:** ![gpstar](https://forum.gbfans.com/user_avatar/forum.gbfans.com/gpstar/32/130521_2.png) [@gpstar](https://forum.gbfans.com/u/gpstar)\
**Post date:** [January 5, 2023, 1:31am UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/29 "2023-01-05T01:31:52Z")

</div>

> [@seattlebuster post\_id=4976208 time=1672870443 user\_id=53460](#):
>
> No pedal boot.
> 
> Maybe that’s why? Apologize for my stupidity in advance if that is literally what I did wrong.
> 
> I haven’t finished my pedal yet, it was just trying to test it off the foster connector on the back. I need to get motivated to finish the pedal lol

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.

---

<div class="post-metadata">

**Author:** ![freakmanultra](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/f/a183cd/32.png) [@freakmanultra](https://forum.gbfans.com/u/freakmanultra)\
**Post date:** [March 10, 2023, 5:51am UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/30 "2023-03-10T05:51:47Z")

</div>

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.

Thanks!

---

<div class="post-metadata">

**Author:** ![JacqueTheDoor](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/j/2bfe46/32.png) [@JacqueTheDoor](https://forum.gbfans.com/u/JacqueTheDoor)\
**Post date:** [March 20, 2023, 8:07am UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/31 "2023-03-20T08:07:07Z")

</div>

> [@freakmanultra post\_id=4979785 time=1678427507 user\_id=70025](#):
>
> 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.
> 
> Thanks!

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

---

<div class="post-metadata">

**Author:** ![gpstar](https://forum.gbfans.com/user_avatar/forum.gbfans.com/gpstar/32/130521_2.png) [@gpstar](https://forum.gbfans.com/u/gpstar)\
**Post date:** [March 20, 2023, 10:34am UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/32 "2023-03-20T10:34:16Z")

</div>

> [@freakmanultra post\_id=4979785 time=1678427507 user\_id=70025](#):
>
> 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.
> 
> Thanks!

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.

---

<div class="post-metadata">

**Author:** ![JacqueTheDoor](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/j/2bfe46/32.png) [@JacqueTheDoor](https://forum.gbfans.com/u/JacqueTheDoor)\
**Post date:** [March 20, 2023, 11:01am UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/33 "2023-03-20T11:01:18Z")

</div>

I’ve bit the bullet and bought the Neopixel lights and hopefully the new wiring configs and code will sort out my newly dead trap

---

<div class="post-metadata">

**Author:** ![JacqueTheDoor](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/j/2bfe46/32.png) [@JacqueTheDoor](https://forum.gbfans.com/u/JacqueTheDoor)\
**Post date:** [March 20, 2023, 12:46pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/34 "2023-03-20T12:46:38Z")

</div>

> [@gpstar post\_id=4967947 time=1646756143 user\_id=58705](#):
>
> I just finished building a ghost trap based on Sean Charlesworth’s 3D printed design and EctoLabs idea of using NeoPixel jewels. I thought I would share my code for anybody to benefit from. Several changes were made such as:
> 
> -The rear LED will fade/pulse/dim from low/high/low like in the movie instead of the turning on/off/on after there capture sequence. (You will need to move the rear led to digital i/o #3 pin on the music maker board)
> 
> -Modified door closure timings (had issue with original code where on a rare occasion they would close in on each other), there were other small misc timing issues that I changed.
> 
> -Modified the smoke pump to synchronise with the door closure better, and only run during the capture sequence sound effects.
> 
> -Modified the startup sequence to play the startup sound when the bargraph LED starts it’s flash sequence.
> 
> -During the opening sequence of the trap, a huge volume of white light is emitted out before settling down to the purple/strobe effect.
> 
> -During the capture sequence, I added some slight subtle colour changes (going from light yellow to purple to white)
> 
> -Added some purple sparks to the blue spark sequence.
> 
> Also, if you are suffering from a static noise sound when the trap is turned on for a few seconds before it goes away, I solved the issue by enabling +12db and +6db on the music maker board.
> 
> Also to note, if you are doing a build using NeoPixel Jewels, as mentioned by EctoLabs, connect them to digital i/o #5 pin and move the door motors to digital i/o pin #9 (right motor) and digital i/o pin #10 (left motor), and move the rear led from analog i/o pin #1 to digital i/o pin #3
> 
> code:
> 
> [ghost trap - Google Drive](https://drive.google.com/drive/folders/1hv-xo30b-1he6MSJVfROfJ5gVbwQMU0h?usp=sharing)
> 
> [https://www.youtube.com/watch?v=yVUlr028jh8](https://www.youtube.com/watch?v=yVUlr028jh8)
> 
> [https://www.youtube.com/watch?v=YAB4Ea9GfUA](https://www.youtube.com/watch?v=YAB4Ea9GfUA)
> 
> ![image](https://discdn.gbfans.com/original/3X/e/4/e43829642b54c002de6e70172c47e9c1253a3f68.jpeg)
> 
> ![image](https://discdn.gbfans.com/original/3X/0/9/09c8cf9f1729897f4d49740ced320609a548e0fc.jpeg)

When I go to verify the code I get the following error

Used: /Users/jacquesmith

exit status 1

‘strip’ was not declared in this scope

This report would have more information with

“Show verbose output during compilation”

option enabled in File → Preferences.

---

<div class="post-metadata">

**Author:** ![gpstar](https://forum.gbfans.com/user_avatar/forum.gbfans.com/gpstar/32/130521_2.png) [@gpstar](https://forum.gbfans.com/u/gpstar)\
**Post date:** [March 20, 2023, 2:51pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/35 "2023-03-20T14:51:46Z")

</div>

> [@JacqueTheDoor post\_id=4980240 time=1679316398 user\_id=71503](#):
>
> > [@gpstar post\_id=4967947 time=1646756143 user\_id=58705](#):
> >
> > I just finished building a ghost trap based on Sean Charlesworth’s 3D printed design and EctoLabs idea of using NeoPixel jewels. I thought I would share my code for anybody to benefit from. Several changes were made such as:
> > 
> > -The rear LED will fade/pulse/dim from low/high/low like in the movie instead of the turning on/off/on after there capture sequence. (You will need to move the rear led to digital i/o #3 pin on the music maker board)
> > 
> > -Modified door closure timings (had issue with original code where on a rare occasion they would close in on each other), there were other small misc timing issues that I changed.
> > 
> > -Modified the smoke pump to synchronise with the door closure better, and only run during the capture sequence sound effects.
> > 
> > -Modified the startup sequence to play the startup sound when the bargraph LED starts it’s flash sequence.
> > 
> > -During the opening sequence of the trap, a huge volume of white light is emitted out before settling down to the purple/strobe effect.
> > 
> > -During the capture sequence, I added some slight subtle colour changes (going from light yellow to purple to white)
> > 
> > -Added some purple sparks to the blue spark sequence.
> > 
> > Also, if you are suffering from a static noise sound when the trap is turned on for a few seconds before it goes away, I solved the issue by enabling +12db and +6db on the music maker board.
> > 
> > Also to note, if you are doing a build using NeoPixel Jewels, as mentioned by EctoLabs, connect them to digital i/o #5 pin and move the door motors to digital i/o pin #9 (right motor) and digital i/o pin #10 (left motor), and move the rear led from analog i/o pin #1 to digital i/o pin #3
> > 
> > code:
> > 
> > [ghost trap - Google Drive](https://drive.google.com/drive/folders/1hv-xo30b-1he6MSJVfROfJ5gVbwQMU0h?usp=sharing)
> > 
> > [https://www.youtube.com/watch?v=yVUlr028jh8](https://www.youtube.com/watch?v=yVUlr028jh8)
> > 
> > [https://www.youtube.com/watch?v=YAB4Ea9GfUA](https://www.youtube.com/watch?v=YAB4Ea9GfUA)
> > 
> > ![image](https://discdn.gbfans.com/original/3X/e/4/e43829642b54c002de6e70172c47e9c1253a3f68.jpeg)
> > 
> > ![image](https://discdn.gbfans.com/original/3X/0/9/09c8cf9f1729897f4d49740ced320609a548e0fc.jpeg)
> 
> When I go to verify the code I get the following error
> 
> Used: /Users/jacquesmith
> 
> exit status 1
> 
> ‘strip’ was not declared in this scope
> 
> This report would have more information with
> 
> “Show verbose output during compilation”
> 
> option enabled in File → Preferences.

I assume you are using the older modified CD code for a Arduino Uno? Do you have the adafruit neopixel library installed?

---

<div class="post-metadata">

**Author:** ![JacqueTheDoor](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/j/2bfe46/32.png) [@JacqueTheDoor](https://forum.gbfans.com/u/JacqueTheDoor)\
**Post date:** [March 20, 2023, 5:23pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/36 "2023-03-20T17:23:05Z")

</div>

Yeah I believe it’s V2.0 the code,

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

---

<div class="post-metadata">

**Author:** ![gpstar](https://forum.gbfans.com/user_avatar/forum.gbfans.com/gpstar/32/130521_2.png) [@gpstar](https://forum.gbfans.com/u/gpstar)\
**Post date:** [March 21, 2023, 7:40pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/37 "2023-03-21T19:40:24Z")

</div>

> [@JacqueTheDoor post\_id=4980249 time=1679332985 user\_id=71503](#):
>
> Yeah I believe it’s V2.0 the code,
> 
> 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

Can you check line #93 to make sure strip is defined?

 ![image](https://discdn.gbfans.com/original/3X/a/4/a4fdbdd630709abb51ebe1ba9dd5c8fac0ec7de7.png)

---

<div class="post-metadata">

**Author:** ![The\_Y33TER](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/t/9de0a6/32.png) [@The\_Y33TER](https://forum.gbfans.com/u/The_Y33TER)\
**Post date:** [March 22, 2023, 6:24pm UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/38 "2023-03-22T18:24:56Z")

</div>

> [@gpstar post\_id=4968061 time=1647339967 user\_id=58705](#):
>
> A little update, I have been having trouble with the hose and it shorting the trap causing it to operate due to the spring/plunger inside the female ends of the hose. The original guide says to use electrical tape or heat shrink wrap to isolate the spring from touching the metal connector.
> 
> I ended up designing a insert to be 3D printed which fits into the hose connectors to isolate the spring/plunger.
> 
> I will link my stl file for those who wish to use it on there builds. I printed mine at 0.1mm and slowed my printing speed by half, as the walls are very thin. You may have to slightly sand/trim the bottom edges to make it fit.
> 
> [https://drive.google.com/file/d/1MEvOdNLXeIzm-s99\_m\_j1ebY8fIlhXDI/view?usp=sharing](https://drive.google.com/file/d/1MEvOdNLXeIzm-s99_m_j1ebY8fIlhXDI/view?usp=sharing)
> 
> ![image](https://discdn.gbfans.com/original/3X/0/4/04328c4a2115004e60d05038b81346e689defa78.jpeg)
> 
> ![image](https://discdn.gbfans.com/original/3X/3/1/3111c0d8bb699c03f8570960f5fb1583962acd37.jpeg)
> 
> ![image](https://discdn.gbfans.com/original/3X/5/6/56d708813ca87d9db2509bd0e8af6d790c2a8c0f.jpeg)
> 
> Next I am going to redo most of the code and remove the delays and use the millisecond library instead to make the trap more responsive like I did for the end captured sequence for the red led. I am going to think about implementing the rotary encoder switch to control perhaps the volume, and maybe think about adding another rotary encoder switch to the black knob on the other side of the trap to perhaps adjust the modes (84 mode, 2016 mode, etc).

2016 mode? Would it use the sounds from ATC or what?

---

<div class="post-metadata">

**Author:** ![JacqueTheDoor](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/j/2bfe46/32.png) [@JacqueTheDoor](https://forum.gbfans.com/u/JacqueTheDoor)\
**Post date:** [March 23, 2023, 12:08am UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/39 "2023-03-23T00:08:40Z")

</div>

> [@gpstar post\_id=4980307 time=1679427624 user\_id=58705](#):
>
> > [@JacqueTheDoor post\_id=4980249 time=1679332985 user\_id=71503](#):
> >
> > Yeah I believe it’s V2.0 the code,
> > 
> > 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
> 
> Can you check line #93 to make sure strip is defined?
> 
> ![image](https://discdn.gbfans.com/original/3X/a/4/a4fdbdd630709abb51ebe1ba9dd5c8fac0ec7de7.png)

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

---

<div class="post-metadata">

**Author:** ![Mark\_B](https://forum.gbfans.com/letter_avatar_proxy/v4/letter/m/f6c823/32.png) [@Mark\_B](https://forum.gbfans.com/u/Mark_B)\
**Post date:** [October 5, 2023, 4:01am UTC](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980/40 "2023-10-05T04:01:51Z")

</div>

[POST REMOVED]

[Previous page](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980.md?page=1)

[Next page](https://forum.gbfans.com/t/mega-deluxe-ghost-trap-build/31980.md?page=3)
