Spooky Doll Project

This Spooky Doll was developed using the Animation Kit (#910-28088) during a single-day internal hackathon at Parallax. A one-day project is often the reality for a Halloween animation. Spooky Doll demonstrates the Propeller Multicore Microcontroller nicely by combining WAV file audio playback, fading of two Adafruit NeoPixel rings and control of two servo motors - concurrently! A passive infrared PIR Sensor activates the doll to start when trick or treaters approach the area. The code was easily written in BlocklyProp and provides a simple example for far more complex animations.

The Spooky Doll project required about six hours to build and one to two for programming.  

This tutorial provides a quick look at how this project was assembled and programmed. The applications for the WAV file playback and NeoPixel fading are useful for Christmas animations, user feedback, robotics and commercial products.

 

Hardware Required

This project used the following electronic components:

  • (1) Propeller Activity Board WX (#32912)

  • (1) SD Card (#32328)

  • (1) Veho 360 Speaker (#900-00018)

    • Alternatively, use the speaker in the Animation Kit, below. I chose the Veho 360 Speaker due to higher volume. If you use the speaker in the animation kit you will drive it through a transistor. For this schematic connection refer to the other example programs (the Art Mobile and Synthesizer projects).

  • Parallax Animation Kit (#910-28088), which includes the following:

    • (2) NeoPixel Ring - 12 x 5050 RGB LED (#28088)

    • (2) Standard Servo (#900-00005)

    • (1) PIR Standard (#555-28027)

    • (1) Pack of wires (#800-00016)

    • (1) 200 mm Jumper Wires, MM 40-pc (#800-00066)

    • (1) 200 mm Jumper Wires, FF 40-pc (800-00062)

    • (1) Transistor, NPN SW HS 200MA 3904 (#500-00001)

    • (1) Speaker (#900-00026)

  • Spooky Doll of your choice!