Candy Tossin Cercueil à l'aide d'un Arduino

When you flip a switch, the coffin lid opens and a smiling red eyed ghost arises. The ghost flings some candy, pushes the switch back and returns to rest. Then, the coffin lid closes.

Arduino coffin

Step 1:

Major parts include:

4.5 rpm motor  #155821 Jameco.com
1.8 rpm motor  #176050 Jameco.com
Two shaft couplers  #162270 Jameco.com
Servo motor #358635 Jameco.com
Arduino microcontroller  #2121105 Jameco.com
Four limit switches  #275-0016 Radio Shack
One Toggle Switch  #275-652 Radio Shack
Three diodes  1N4004
Two Red LED’s
Five White LED’s

Wood, wire, screws
3 feet aluminum trim channel for 1/4″ plywood (or something else stiff for the ghost spine)

If you choose to build without the “candy flinging arm,” you can eliminate the microcontroller and servo motor (everything to the left and above the red line on the schematic).

Step 2:

Using 1″ x 2″ wood, assemble the base.  Top and bottom pieces are 18″ long.  The widest spot is 24″ wide. Use a piece of 1/4 inch wood rod and glue to attach the joint between the upper and lower pieces.

Step 3:

Add 11 1/2 inch upright pieces (using wood screws and glue) to form the shell of the box.

Step 4:

Install a cross board to support the motor, 7 1/2 inches from the end.

Step 5:

Mount the motor on the cross board.

Step 6:

Drill two 3/32 inch holes in the coupling shaft and create threads for 4-40 screws with a tap.

Note that I used a yardstick for the ghost spine. This worked for a while, until (during testing) the yardstick failed to contact a limit switch and the torque from the motor split the yardstick into pieces. I suggest using some sort of aluminum channel or angle for the upright piece (I used trim channel).
Arduino coffin Schematic
Attach the shaft coupler to the spine.

Step 7:

Cut a 12 inch long section from a yardstick. Attach a piece of aluminum angle in the center and drill the angle to bolt to the “spine” of the ghost. At the end of this arm, using double sided tape, attach a servo motor.

Major Components in Project
Arduino

Servo motor

Three diodes

 

For more detail: Candy Tossin Cercueil à l'aide d'un Arduino


A Propos De L'Auteur

Ibrar Ayyub

Je suis expérimenté, rédacteur technique, titulaire d'une Maîtrise en informatique de BZU Multan, Pakistan à l'Université. Avec un arrière-plan couvrant diverses industries, notamment en matière de domotique et de l'ingénierie, j'ai perfectionné mes compétences dans la rédaction claire et concise du contenu. Compétent en tirant parti de l'infographie et des diagrammes, je m'efforce de simplifier des concepts complexes pour les lecteurs. Ma force réside dans une recherche approfondie et de présenter l'information de façon structurée et logique format.

Suivez-Nous:
LinkedinTwitter

Laisser un Commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

fr_FRFrench
Faire défiler vers le Haut