Montag, 28. Oktober 2013

This time no Arduino - but Raspi scares kids on Halloween :-)

This video shows what I have done for Halloween with a Rasperry Pi (I know that it is dark... this is only an example for the show we made yesterday):






I used the following hardware:

  • Raspberry Pi
  • WLAN USB stick
  • FTDI-RS485 USB adapter for connecting to DMX light hardware
  • Speakers
  • Cables like Power, DMX, ...

... and the following software:

  • SD Card with Raspian
  • OLA daemon see http://www.opendmx.net/index.php/Open...
  • self written C++-daemon for sending DMX data to OLA as middleware (the daemon accepts simple commands for setting modes and values for each DMX channel and can play fades as a background thread - totaly detached from the controlling software; the interface is a simple UDP network connection).
  • self written Perl-script for firing up sounds and light commands to my daemon
The Raspi is configured as a WLAN hotspot, so I can log in from the kitchen without having cables through windows or doors. The audio files and programs are installed on the Raspi.

The program plays a storm sound in the background and makes color changes on the spot and LED-Bar - you can put much more lightning or DMX addressable equipment to the show if you have... . With shortcuts on the keyboard I can play some more scary sounds.

The special fun is the key "G". When pressed the spots are fading to dark and radomly they are flashing white. After that a thunderstorm sound is played.

If you have any questions about this project, feel free to caontact me!

Happy Halloween :-]