Table of contents
Abstract
Inspired by the jack-o’-lantern, The Spooky Pumpkin combines ESP32 electronics with Halloween-themed PCB art. Its pumpkin-shaped board, bold purple colour, oversized eyes, and toothy grin bring a playful seasonal character to an electronics project.
Project
The Spooky Pumpkin
Introduction
The Spooky Pumpkin takes inspiration from the jack-o’-lantern, a familiar symbol of Halloween. Traditionally carved from a pumpkin and illuminated from within, its glowing eyes and mischievous grin give it a spooky personality. This sparked a question: could I recreate that character using a printed circuit board and electronics?
That idea became the starting point for this project—an ESP32-based, pumpkin-shaped PCB that combines electronics with Halloween-inspired artwork. The board serves as both the foundation for the circuit and the face of the character, making its shape and appearance part of the design from the beginning. Full-color silkscreen PCB printing opened up more creative possibilities, allowing me to incorporate a bold purple color scheme, textured details, oversized eyes, and a toothy grin directly into the board's artwork. My goal was to capture the recognizable character of a jack-o’-lantern while preserving its eerie charm and giving it a distinctive electronic twist.
How Does The Spooky Pumpkin Work?
The idea behind The Spooky Pumpkin is to create an interactive Halloween decoration that reacts when someone approaches it. Rather than having a pumpkin that simply lights up, I wanted to give it a little personality and perhaps even surprise anyone who walks past! At the heart of the project is an ESP32-S3 microcontroller, which acts as the main controller. The pumpkin uses a Passive Infrared (PIR) motion sensor to detect movement nearby. When someone passes in front of the sensor, it sends a signal to the ESP32-S3, which is intended to trigger a combination of eye animations, lighting effects, and spooky sounds.
One of the main features is the use of two round LCD displays positioned as the pumpkin's eyes. These displays are intended to show animated eyes with different expressions, making the pumpkin appear as though it has suddenly come to life when movement is detected. To make the effect even more interesting, I have included 14 WS2812B addressable RGB LEDs. Since each LED can be controlled individually, I can create different lighting patterns, flashing effects, and color combinations. For example, the LEDs could produce an eerie red glow or a flickering effect to make the pumpkin look even spookier. The project also includes an audio circuit to produce Halloween-themed sound effects. Imagine walking past an innocent-looking pumpkin, only for its eyes to suddenly move, its LEDs to flash, and a creepy sound to play! That is the kind of interaction I hope to achieve with this project. Once the animation and sound sequence is completed, the pumpkin is intended to return to its idle state, ready to surprise the next unsuspecting visitor.
In this project, I'll walk through the schematic design, PCB layout, fabrication, component selection, and initial assembly process. I'll also share some of the challenges I encountered along the way, particularly the PCB connection issues that prevented me from completing the project within the planned timeframe. Despite these setbacks, I'm still looking forward to getting the hardware working and eventually seeing those animated eyes, colorful LEDs, and spooky effects come together.
I hope you enjoy following the journey of The Spooky Pumpkin and perhaps feel inspired to create your own Halloween-themed electronic project!
The Hardware
In the first part we shall see the hardware part. First we will look at the schematic followed by the PCB design, fabrication and component assembly. The simple block diagram for the project as shown below

The simple flowchart how the project works is shown in the image below
Schematic
The software which i have decided to use for drawing the schematic and PCB design is EasyEDA.
Below are the schematic of the project. There are 2 pages for the schematic.
Page 1 of the schematic. In page 1, the design covers main controller ESP32-S3 and its peripherals circuit such as the Boot, Reset and USB connection. Also in the first page of the schematic is the voltage regulator and battery circuits, the RGB LED and the oleh round display connection.

The second page mainly captures the SD card and the MP3 sound circuit

PCB Design
Below is the image of the PCB design

The 3D view of the design. Below is the front view

Below is the rear view

Component List
Below is the BOM for the project.


| ID | Designator | Name | Footprint | Supplier | Quantity |
|---|---|---|---|---|---|
| 1 | U3,U13 | round lcd | round lcd | 2 | |
| 2 | LED1,LED2,LED3,LED4,LED5,LED6,LED7,LED8,LED9,LED10,LED11,LED12,LED13,LED14 | WS2812B-MINI-X2 | LED-SMD_4P-L3.5-W3.5-TL_WS2812B-1 | C4154873, | 14 |
| 3 | C1,C15,C23,C24 | 1uF | C0805 | ,1uF | 4 |
| 4 | C3 | 4.7uF | C0805 | ,4.7uF | 1 |
| 5 | C6,C8 | 0.1uF | C0805 | ,0.1uF | 2 |
| 6 | C7,C9,C11,C12,C13,C14,C18,C27 | 10uF | C0805 | ,10uF | 8 |
| 7 | C10 | 30pF | C0805 | ,30pF | 1 |
| 8 | CN1 | S2B-PH-SM4-TB(LF)(SN) | CONN-SMD_P2.00_S2B-PH-SM4-TB-LF-SN | C295747, | 1 |
| 9 | L1 | 2.2uH | IND-SMD_L4.0-W4.0 | C354584,2.2uH | 1 |
| 10 | C16,C17,C19,C20,C21,C25,C26,C28 | 100nF | C0805 | ,100nF | 8 |
| 11 | Q3 | IRLML6402 | SOT-23-3_L2.9-W1.3-P1.90-LS2.4-BR | C2959853, | 1 |
| 12 | R1,R9,R19 | 10kΩ | R0805 | ,10kΩ | 3 |
| 13 | R8,R29 | 1kΩ | R0805 | ,1kΩ | 2 |
| 14 | R11 | 2kΩ | R0805 | ,2kΩ | 1 |
| 15 | R12,R13,R15 | 100kΩ | R0805 | ,100kΩ | 3 |
| 16 | R14,R17 | 150kΩ | R0805 | ,150kΩ | 2 |
| 17 | R16 | 680kΩ | R0805 | ,680kΩ | 1 |
| 18 | R18 | 1MΩ | R0805 | ,1MΩ | 1 |
| 19 | RESET,TEST | B3U-1000P | KEY-SMD_B3U-1000PM | C231329, | 2 |
| 20 | U5 | Solder Jumper | SOLDERJUMPER_REFLOW_NOPASTE | 1 | |
| 21 | U6 | SY8088AAC | SOT-23-5_L3.0-W1.7-P0.95-LS2.8-BR | C79313, | 1 |
| 22 | U7 | CT2105 | TSOT-23-6_L2.9-W1.6-P0.95-LS2.8-BL | C9900110897, | 1 |
| 23 | U8 | 15MQ040N | SMA_L4.4-W2.6-LS5.2-RD | C3757485, | 1 |
| 24 | U12 | MCP73831T-3ACI/OT | SOT-23-5_L2.9-W1.6-P0.95-LS2.8-BR | C625598, | 1 |
| 25 | USBC1 | 918-418K2023S40001 | USB-C-SMD_TYPE-C-USB-17 | C167321, | 1 |
| 26 | U14 | ESP32-S3-WROOM-1-N8R8 | WIRELM-SMD_ESP32-S3-WROOM-1 | C2913201, | 1 |
| 27 | U18 | HT6881 | SOP-8_L4.9-W3.9-P1.27-LS6.0-BL | C130780, | 1 |
| 28 | U19 | WT2605C-32N | QFN-32_L4.0-W4.0-P0.40-TL-EP2.7_1 | C7509562, | 1 |
| 29 | C22 | 100uF | C0805 | ,100uF | 1 |
| 30 | R20 | 0R | R0805 | ,0R | 1 |
| 31 | R21,R22,R23,R24 | 4.7kΩ | R0805 | ,4.7kΩ | 4 |
| 32 | R25,R26 | 470R | R0805 | ,470R | 2 |
| 33 | R27 | 47K | R0805 | ,47K | 1 |
| 34 | R28 | 22K | R0805 | ,22K | 1 |
| 35 | RX1,TX1 | Test-Point | Test-Point-0.5mm | 2 | |
| 36 | U20,U21 | 2N7002 | SOT-23-3_L2.9-W1.4-P1.91-LS2.6-BR | C23599986, | 2 |
| 37 | U22 | YWPH200VA3-2P | CONN-TH_PH-2A_C2908623 | C9900020372, | 1 |
| 38 | U23 | M6027-01 | TF-SMD_M6027-01 | C20624804, | 1 |
| 39 | POWERLED | POWER LED | LED0805-R-RD_WHITE | C25170729, | 1 |
| 40 | TESTLED,CHARGING | TEST LED | LED0805-R-RD_WHITE | C25170729, | 2 |
| 41 | GND,GND1 | TSM-105-02-L-SH-TR | HDR-SMD_5P-P2.54_TSM-105-02-L-SH-TR | C3326959, | 2 |
| 42 | U25 | HDR1X4 | CONN-SMD_4P-P2.50_DEALON_XH-4PWB | C9900027556, | 1 |
Component Assembly
The actual PCB image


Most of the components used in this project are surface-mount devices (SMDs), so I planned to assemble the board in stages, starting with the ESP32 and the USB Type-C connector. This would allow me to check the board’s basic functionality before soldering the remaining components. Unfortunately, during the initial continuity checks, I discovered some connection issues that I may have overlooked while designing the PCB. These will need to be corrected before I can continue with the assembly and testing.

Honestly, I feel quite disappointed that I haven’t been able to complete the project within the given timeframe. After putting time and effort into the design, I was looking forward to seeing the board come to life. Finding these issues at this stage has been discouraging, but it has also reminded me how important it is to thoroughly review every connection before sending a PCB for fabrication. Despite this setback, I am still determined to finish the project. My next step is to correct the design, double-check the connections, and order the revised PCB. Once it arrives, I will resume assembly and testing, with the aim of completing the project as soon as possible. There is still work ahead, and I look forward to sharing a working version.
The Software
The code development and integration is postponed until the PCB issues are resolved and the hardware test is successfully completed.
Time To Get Spooky!
My intention is to do a complete demonstration of the Spooky Pumpkin for this challenge, but due to the PCB problem i will do this in the future.
Conclusion
Although The Spooky Pumpkin didn't turn out quite as I had planned, it has still been an interesting and valuable learning experience. From designing the schematic to creating the pumpkin-shaped PCB and finally receiving the fabricated board, I genuinely enjoyed seeing the idea gradually take shape.
Unfortunately, the connection issues discovered during the initial continuity checks prevented me from moving forward with the component assembly and testing. It was certainly disappointing, especially after all the time and effort spent on the design. I was really hoping to have a fully working Spooky Pumpkin to showcase by the end of the challenge.
Nevertheless, I don't consider this the end of the project. Mistakes are part of the learning process, particularly when designing and developing custom PCBs. This experience has taught me to be more careful when reviewing schematic connections and PCB layouts before fabrication.
My next step is to identify and correct the design issues, order a revised PCB, and continue where I left off. I am still excited to see those pumpkin eyes light up and finally bring The Spooky Pumpkin to life!
While I may not have completed everything within the challenge timeframe, I am happy with what I have achieved so far and grateful for the experience.
The Spooky Pumpkin may have missed its Halloween debut, but its story isn't over yet!
References
Here are some of the reference that i refer to for the circuit interfacing
- https://esp32io.com/tutorials/esp32-round-circular-tft-lcd-display
- https://www.youtube.com/watch?v=pmCc7z_Mi8I
-
rahuljeyaraj
-
Cancel
-
Vote Up
0
Vote Down
-
-
Sign in to reply
-
More
-
Cancel
Comment-
rahuljeyaraj
-
Cancel
-
Vote Up
0
Vote Down
-
-
Sign in to reply
-
More
-
Cancel
Children