Hi everyone, today I am going to show you how I made a "Digital Roulette Wheel" by combining ESP32-C3 Super Mini Microcontroller with the classic CD4017 CMOS decade counters.
When the button is pressed, the ESP32 sends "clock pulses" to the CD4017 IC, causing the LEDs to cycle. Releasing the button triggers a realistic slowing down effect until it stops on a random result and reports the final position using the Serial Monitor or via Wi-Fi.
Trust me, there's a lot going on with this project hardware design, Arduino coding, PHP, databases, 3D design and printing, and more.
Video: https://youtu.be/5jVFR7KSNmg
Full Blog Post: https://diyfactory007.blogspot.com/2026/05/Roulette.html