{"id":683,"date":"2011-10-25T19:43:25","date_gmt":"2011-10-26T00:43:25","guid":{"rendered":"http:\/\/dougandruth.com\/blog\/?p=683"},"modified":"2020-11-04T11:27:59","modified_gmt":"2020-11-04T16:27:59","slug":"el-burro-del-diablo","status":"publish","type":"post","link":"http:\/\/localhost\/blog\/el-burro-del-diablo\/","title":{"rendered":"El Burro del Diablo"},"content":{"rendered":"
We have been talking about doing a Day of the Dead themed Halloween for years. The imagery of hand-made skeletons, posed and dressed as they were know in their happier (living) days has both a roughness and a soulfulness that New England style Halloween lacks. Indeed, Dia de los Muertos is not about ethereal ghosts and goblins, but literally about the bones of one’s ancestors.<\/p>\n \n\t\t
The easy route out would be to make (or buy) a bunch of paper mache skeletons, pose them, and be done with it. Unfortunately there two drawbacks with that: First, no one is impressed by paper mache. It lacks any kind of kinetic quality that people expect and want. (It’s hard to beat a strobe light in a window.) Second, we had a goal of making things more interactive<\/em> this year.<\/p>\n Enter the pi\u00f1ata. What’s more fun than a pi\u00f1ata? Nothing is more fun than a pi\u00f1ata! Once.<\/p>\n So the question becomes how to resurrect a pi\u00f1ata after it’s been beaten? Our solution is to allow the pi\u00f1ata to break itself in a controlled manner and put itself back together. Cake.<\/p>\n Or maybe the real<\/em> question is what comes out<\/em> of the pi\u00f1ata? Maybe the payoff is more important than the pi\u00f1ata itself? Philosophical questions aside, there is one thing we do know: It must be a donkey.<\/p>\n Any Internet search for a traditional \ufeffMexican pi\u00f1ata reveals either a donkey-shaped pi\u00f1ata or a star-shaped thing that would be hard to work with. The donkey is basically a box with legs and a head. Remember kids: When automating anything, your ideal model is a box with legs and a head.<\/p>\n The game plan is to cut the pi\u00f1ata in half, hinge it at the top, and make the thing open and close whenever someone hits it. We’ll use a security vibration detector to determine when the donkey has been slapped.<\/p>\n Since the pi\u00f1ata is made to be destroyed, the first step is to make an inner structure out of plywood. Note the use of duct-tape: Crucial in any design where resiliency is a must.<\/p>\n \n\t\t The hinge is constructed from two aluminum bars. At the center of each bar is a pivot point that carries a box on either side of the pivot. A pneumatic cylinder is hung from the hinge and a wire connects the shaft to each free end of the bar.<\/p>\n As the shaft extends from the cylinder, the wires are pulled down (or the hinge is pushed up if you want to get complicated); thus, causing the bars to move at the pivot point. The bars push the boxes and the boxes separate.<\/p>\n \n\t\t To make the magic work, we programmed a PIC IO board <\/a>to sequence the opening of the box, triggering of effects, and subsequent closing of the box. This year we got smart and wrote some firmware that allows us to change the sequence without having to reprogram the board. Source code available upon request.<\/p>\n Where’s the money shot, you ask? When the boxes open, two firecracker<\/a> simulators will start making a hell of a lot of noise. That combined with some flashing lights should make this is the definition of “not subtle.” We’ll put up video in the next post…<\/p>\n \n\t\t