BY JacqueTheDoor
#4980217
freakmanultra wrote: March 9th, 2023, 10:51 pm 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
BY gpstar
#4980230
freakmanultra wrote: March 9th, 2023, 10:51 pm 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.
BY JacqueTheDoor
#4980240
gpstar wrote: March 8th, 2022, 9:15 am 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:
https://drive.google.com/drive/folders/ ... sp=sharing




Image
Image
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.
BY gpstar
#4980243
JacqueTheDoor wrote: March 20th, 2023, 6:46 am
gpstar wrote: March 8th, 2022, 9:15 am 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:
https://drive.google.com/drive/folders/ ... sp=sharing




Image
Image
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?
BY JacqueTheDoor
#4980249
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
BY gpstar
#4980307
JacqueTheDoor wrote: March 20th, 2023, 11:23 am 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
BY The_Y33TER
#4980347
gpstar wrote: March 15th, 2022, 4:26 am 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/1MEvOdN ... sp=sharing

Image
Image
Image

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?
BY JacqueTheDoor
#4980353
gpstar wrote: March 21st, 2023, 1:40 pm
JacqueTheDoor wrote: March 20th, 2023, 11:23 am 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
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
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]