ES-66IntermediatePremium

ESP32 Arcade Basketball Machine (LDR + TM1637 + 24 LED Ring)

The fairground basketball machine, now on your desk! As the ball drops through the cardboard hoop it cuts the light on the LDR light gate, and the ESP32 counts a basket. Time left is a shrinking arc on the 24 LED ring and the score sits on the TM1637; baskets are worth 3 in the final 10 seconds, and 3 baskets within 2 seconds set the ring on fire. The threshold follows a slow average of the light, so drawing the curtains never scores a basket.

0.0(0)
ESP32 Arcade Basketball Machine (LDR + TM1637 + 24 LED Ring)
Bring the fairground basketball machine to your desk: a paper ball drops through a cardboard hoop, passes in front of a light sensor and the score jumps up at once. Time drains from a colourful LED ring while a small display shows the points; in the last ten seconds every basket is worth 3, and three quick baskets in a row set the ring ablaze. Drawing the curtains will not fool the game, so all you have to do is aim.

Source Code

Premium Content

The source code, block version and FAQ of this project are open to Premium members.

  • All Project Code
  • Block version
  • Frequently Asked Questions