M5Stack Spooky Eye Pumpkin
2022-10-16 | By M5Stack
License: General Public License Arduino
* Thanks for the source code and project information provided by @tommyho
Things used in this project
Hardware components
M5Stack M5StickC PLUS ESP32-PICO Mini IoT Development Board x1
Software apps and online services
Spooky Eye in action
Project media:
- Program the M5Stick-C PLUS for UIFlow. Connect to the stick and upload all photos.
- Program the M5Stick-C with the M5-spooky-eye.py
- Use the fine marker to outline the cut hole for M5Stick-C
- Use the carving knifes to cut the hole 2" deep
- Extract the foam or pumpkin flesh.
- Use the marker to mark the center of circle 1.25" from bottom and use the acrylic lens to mark the eye hole.
- Use the carving knifes to cut the hole. Make sure to cut the hole 1/8" smaller so the foam or flesh can hold the lens.
- Insert the lens. Insert and use your finger to adjust the lens via the stick hole
- Use a Scotch tape to make a puller for the M5Stick-C. This will allow you to pull and extract the M5Stick-C from the pumpkin. You can also use tape and marker to darken the edges of the screen,
- Turn on and insert the M5Stick-C into the pumpkin.
- Enjoy the show!
To extract the M5Stick-C PLUS, pull the tape.
Coming Soon:
- Add speaker
- IMU function to control eye movement
- Allow to change eye by shaking the pumpkin
- Layers of eye iris, pupil, lip to simplify the images
- Use mic to wake eye
Schematics
Eye Photos
Code
Have questions or comments? Continue the conversation on TechForum, DigiKey's online community and technical resource.
Visit TechForum