When my daughter was a witch for Halloween, she wanted her costume to stand out a little from the other witches out there. To do this, we added a little magic to her costume by attaching Adafruit Sewable NeoPixels to her cloak for lighting effects and added a little animation to her hat using a cheap Towerpro SG90 servo.
Between the two enhancements, it was the hat that received the most amount of comments, so I wanted to share it as a quick and easy enhancement to your childs Halloween costume.
Step 1 - Extend the servo hornIn order to get the amount of throw needed to wiggle the hat, I needed to extend the length of the servo horn. I did this by quickly molding some thermal-morph plastic to the horn. You'll see that as the very roughly formed red extension attached to the horn in the pictures below.
Step 2 - Create the servo harnessTo attach the servo to the hat, I cut a small strip of plastic canvas, which is available at any craft store.
Then I cut a rectangular hole for the servo and held it in place with a little hot glue.
Finally, on each end of the plastic canvas, I attached a strip of self-adhesive Velcro. The other half of the Velcro was attached inside the hat. (pictured below)
I attached the servo harness by turning the hat inside-out and adhering the self-adhesive Velcro strips about 2/3rds the way up the hat. Then I attach the horn of the servo to the hat using a safety pin.
After the servo was attached to that hat, I ran the wire down from the hat to a pocket inside the cloak that contained the Espruino micro controller and battery pack. I also ended up using a little pillow stuffing in the top of the hat to give it a little more rigidity when it's being worn.
Some final thoughtsAs you can see from the video, the program had three variations on the wiggle. The first was a quick back and forth that reminded me of a happy puppy tail. The second was a slower back and forth which had a sort of "care free" feel to it. The last version moved slower in one direction, then quickly back which reminded me of how a cat's tail moves when it's annoyed.
I found it interesting how by simply playing with the speed of the servos swing, you could almost achieve different "emotions" from the hat.
Comments
Please log in or sign up to comment.