A fun and interactive Arduino-based roulette that randomly selects a drink by lighting one of three lamps — Arak, Tequila, or Van Gogh.
When idle, all LEDs are ON.
Pressing the button starts a fast “roulette” sequence that stops randomly on one lamp for about 10 seconds.
Pressing again restarts the spin.
This project demonstrates:
- Digital output control
- Random number generation (
random()) - Timing (
delay()) - State management via button input
| Component | Quantity | Description |
|---|---|---|
| Arduino Nano | 1 | Main controller |
| LEDs | 3 | Represent the drinks (Arak, Tequila, Van Gogh) |
| N-MOSFETs (BS170) | 3 | Drive LEDs |
| Push Button | 1 | Input trigger |
| Resistors | As needed | 220 Ω for LEDs, 10 kΩ for pull-down |
| 5 V Power Supply | 1 | Shared ground |
The Arduino sketch controls LED timing, random selection, and debounce logic for the push button.
| Breadboard Setup | Final Look |
|---|---|
![]() |
![]() |
- Arduino IDE
- Breadboard + jumper wires
- Random and delay control logic
- MOSFET switching for power stage
Asaf Refael Dabush
Electrical & Electronics Engineering
Ariel University, 2026
Released under the MIT License


