/Halloween-2021

Code and prop construction notes.

Primary LanguageC++

MonsterBox

This project is a monster in a box for Halloween. It describes building the crate from wood salvaged from palletts, and the code to randomly open the box.

The motors were from power drills. The main door motor drives an offset disc, like a cam, that bumps the door open anot an inch. By controlling the door, we can open for a peek or bounce the lid to get attention.

An ultrasonic fog transducer from Amazon is also inside the box to add fog effects.

Crate

Contains images and ideas for the crate construction

Fan

Contains the schematic files for the fan and LED MOSFET controller.

Notes

Just contains random notes used while making the box

Sounds

Contains the sound files and editing information. It also contains the DFPlayer notes.

src

eggDrop

This is the code that operates a servo to drop an egg. EggDrop is separate from the monster box, but basically it drops a plastic egg on command.

HBridgeTest

Code to test the H-Bridges

Lid

Contains the Arduino source code for the lid mechanism.

servoSweep

Code to sweep the servo 0-180 degrees.

servoManualSweep

Code used to calibrate the PWM endpoints for servo.h

tail

Code to make the dragon's tail sweep back and forth