Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🎰 Drink Roulette – Arduino LED Game

A fun and interactive Arduino-based roulette that randomly selects a drink by lighting one of three lamps — Arak, Tequila, or Van Gogh.


🧠 Overview

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

⚙️ Hardware Setup

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

💻 Code

📂 roulette_lights.ino

The Arduino sketch controls LED timing, random selection, and debounce logic for the push button.


🎥 Demo Video

🎬 Click to watch demo video


📸 Photos

Breadboard Setup Final Look

Additional close-up:


🧰 Tools Used

  • Arduino IDE
  • Breadboard + jumper wires
  • Random and delay control logic
  • MOSFET switching for power stage

👤 Author

Asaf Refael Dabush
Electrical & Electronics Engineering
Ariel University, 2026


🪪 License

Released under the MIT License

About

Interactive LED roulette built with Arduino Nano, MOSFET-driven lamps, and a push button.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages