Happy Halloween to you all..
A Flowcode Haunted House Project....
This was supposed to have been a weekend project - but building the house itself took a lot of time. It is from Matt Bergstrom's 'Cut and Assemble' haunted house book - and the result is a nicely detailed model. There is plenty of room inside for 'wiring' and gubbins. However it is 'paper' and some reinforcement might have been a good idea. I rather ran out of time and only installed 5 LEDs for room lights. I might add more later to the lower rooms - but the upper stories would be harder.
I initially intended to use an Arduino with a sound shield - but because I wanted to play multiple sounds at once and also trigger the lights whilst sounds are playing - I opted for a Raspberry Pi3. The display is self contained and uses a battery pack and cordless speaker for the sound. I'd intended to use a coin slot for starting the display - but ended up using an illuminated button (FC has one - but doesn't seem to have a way to turn the LED on and off - so used separate components..) due to lack of time.
Flowcode - made the actual coding very easy (I didn't have much time to meet the Halloween deadline.) I downloaded some sound effects from SoundBible - and found a 'creepy' tune on my laptop (from a game - just not sure which) I used WinSCP to transfer files to the Pi - FC also worked beautifully with Pi working 'headlessly'. I added a line to /etc/rc.local to run the program on boot too.
I did this to try and raise some money for a local appeal - but if I'd had some more time I'd have randomised the effects and added some extra sounds, lights and possibly movement with a servo or a solenoid....
Original plan was also to install inside fishtank (inverted) for protection mainly - but with LED strip lights in the corners providing additional illuminations. I used an ULN2803 chip to control the 12v lights via the Pi...
Oh - and I used the system command to play the sounds....
Video at
https://youtu.be/GucuKIzmpHQ - now uploaded....
- pi1.fcfx
- (27.97 KiB) Downloaded 391 times
Martin