Skip to content

mhaack/halloween-pumpkin-eyes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creepy Pumpkin Eyes Halloween project

Build Status

Halloween is coming in a few days and here is the first of my Halloween projects this year. I wanted to rebuild a cool Arduino project I found on YouTube - the pumpkin with moving eyes.

The project is not that complicated and easy to rebuild, find the full instructions on Hackster.io.

This project contains the source code to control the 10 eyes and keep them constantly moving.

Hardware

  • ESP8266 (Wemos D1 mini, Nodemcu)
  • Wemos Protobaord or similar
  • 10 mini servos e.g. SG90
  • AA Battery box holding 4 batteries
  • USB cable and power supply

I got the most parts from Aliexpress. A full list of all the materials and tools to be build this projects can be found on Hackster.io.

Building the circuit

The wiring is very simple. The 10 servos must be connected to positive and ground of the battery box(es). Additionally ground must be wired to GND of the ESP8266 board to build a common ground. The servo control wires are connected to one GPIO D0-D8 & TX of the ESP8266 board.

Breadboard

Electronics 1

Electronics 2

Software

The software is built using PlatformIO to make life easy.

The short program starts by initializing the 10 servos on the digital output pins and then constantly keeps the servos moving by generating a random number for the next position of each servo.

About

Creepy Pumpkin Eyes Halloween project 🎃

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages