Nicely done... very cool! Is the garage door opener behind it doing anything or did that just happen to be there?
I'll send you my exact Arduino code through a PM now and maybe you can answer your questions reading through it. I tired to put comments in there to make it clearer. That code was after countless iterations. I found it best to write (or really download and change) the code for each function (LED light, mp3, jaw servo, actuator, fog machine, etc) separately and test them. Then I would slowly build 2 functions together and test. Then 3, and so on. Many times, simply combining the functions resulted in lots of failure. I would find out that only certain pins could work because of interference with the mp3 shield or other sources like power supplies. Lots of trial and error. It helped to start this one in July I can answer more specific questions over PM if you want though I am still just a rookie.Very cool, Mike. I was going to build something very similar for next year--right down to the linear actuator, Arduino, and MP3 shield. A question about your Arduino sketch and the MP3 shield (I haven't played with one yet): it appears that you have the actuator running and MP3 playing simultaneously. Did you program an interrupt to share the microcontroller's resources, or when you set the output to the MP3 shield to HIGH, is the playing process handed off to the MP3 shield so that the Arduino can run the actuator? I hope that makes sense--I understood that the Arduino can't perform two tasks at once (like you're doing) without using interrupts.
Good question. To avoid this issue, all of the "brains" are kept in a watertight tackle box outside the coffin in yet another larger black plastic box. There are still some electronics in the coffin with the fog like speakers, sound sensor, and servo motor for jaw. So far so good but, since this is a new prop, I haven't tested it for long periods of time yet. Time will tell. I've got it set to blow fog for only 2 seconds now followed immediately by the coffin opening so hopefully that helps dissipate it quickly.Mike - have you had any problem with the electronic components due to moisture from the fog machine? I have a similar build but run the fog machine under the coffin to avoid any contact with the 'brains'. Thanks.
Yeah, you're right. How the heck did I miss talking about the most important part? You can see it clearly in the last video but I don't mention it. I only quickly say "this relay opens the door" which refers to the actuator. That was the simplest pieces to get working since it was just forward and reverse. It is actually 2 different relays (1 forward and 1 reverse). Took me 2 tries though to realize I had a 5V relay board and needed a 12V relay board since it's a 12V actuator.It's a "linear actuator" ( I don't recall seeing it described in the last video).
Nope, just go for it Houston Haunter! Technically I am a trained Materials and Mechanical Engineer but no electronics background. Get yourself a starter Arduino kit and you will be amazed how quickly you pick up on everything through trial in error. The wealth of 3rd party add-ons for the Arduino like relay boards, sound sensors, mp3 players, etc make this a great time to build your own prop. I'm not sure I could have done this on my own before the advent of these easy micro-controllers.Totally awesome prop!! extremely impressed with the complexity of a first prop. Makes me want to up my game a lot.....do you have an electronics background because that is what has kept me from taking these kind of props on?
Oh that's too awesome! I've been to Phantom Manor and I totally don't remember that prop. That makes me even happier that it's a little more authentic now.Very impressive. Although you claim it's very loosely based on the Haunted Mansion, it actually matches one of the parts from the Paris Haunted Mansion, Phantom Manor!