Digital hardware · Coursework
Digital Slot Machine
A coin-operated slot machine on two Spartan-6 FPGAs, with an ESP32 that counts coins and sends LINE notifications.
Course · Team of 2
My contribution
Designed and built with one teammate; the project documents do not split the work between us.
- Two-person build: state-machine logic in Xilinx ISE schematics and VHDL, synthesised to 37 flip-flops and 79 LUTs for the slot board.
Try it
See what it can do
KMITL · Digital System Fundamentals (lecture and lab) · 2024–25 semester 1
What this project does
Insert a coin and press play: the ESP32 turns coins into credits, one FPGA spins and stops three reels in turn, and a win sends a LINE message.
Inside the project
- A five-state counter drives the reels; a VHDL decoder enables each reel in turn, and a comparator checks for a win.
- A second FPGA shows the cash amount on seven-segment displays.
- The cardboard TART 777 cabinet holds both boards, the ESP32 and a coin validator.
Skills & practical experience
State-machine design in hardware, and splitting logic between two FPGAs and a microcontroller.
- FPGA (Spartan-6)
- VHDL
- Xilinx ISE
- ESP32
- Finite-state machines
From the team repository’s design document, schematics and synthesis reports.
Project context
Coursework. The photo shows the real cabinet; the 3D render was the team’s early concept.

