
Simon Says — SIK Circuit 16
ལམ་སྟོན
Parts & Introduction
Parts & Introduction
The grand finale! Simon Says is a memory game where you repeat an ever-growing sequence of colored lights and sounds. This project combines LEDs, buttons, and a buzzer into a complete game with multiple modes. It's the most complex circuit in the SIK — a great capstone project.
Parts Needed
- 1x Arduino Uno + USB cable
- 1x Breadboard
- 4x LEDs (red, green, blue, yellow if possible)
- 4x Push Buttons
- 1x Piezo Buzzer
- 4x 330Ω Resistors
- 17x Jumper Wires
Game Modes
- Memory Mode (default) — Follow the growing pattern. Win after 13 rounds.
- Battle Mode (hold green at startup) — Two-player mode, each player extends the sequence.
- Easter Egg (hold yellow at startup) — Plays "Stayin' Alive" with flashing LEDs!
གོམ་པ་འདིའི་རྫས་རིགས:
SparkFun Inventor's Kit - V3.21 ཡོ་བྱད་ཚན།ལག་ཆས་དགོས་མཁོ:
Computer with Arduino IDEHardware Hookup
Hardware Hookup
Wiring Instructions
Pin Assignments
| Component | Arduino Pin |
|---|---|
| Red LED | 10 |
| Green LED | 3 |
| Blue LED | 13 |
| Yellow LED | 5 |
| Red Button | 9 |
| Green Button | 2 |
| Blue Button | 12 |
| Yellow Button | 6 |
| Buzzer pin 1 | 4 |
| Buzzer pin 2 | 7 |
- Each LED needs a 330Ω resistor between its negative leg and GND.
- Buttons use
INPUT_PULLUPmode — connect one side to the pin, other side to GND. No external resistors needed. - The buzzer uses two pins for push-pull drive (louder sound).
- Important: Make sure both GND rails on the breadboard are connected together!
གོམ་པ་འདིའི་རྫས་རིགས:
Push Button4 དུམ་བུ།
Piezo Buzzer1 དུམ་བུ།
Breadboard1 དུམ་བུ།
Jumper Wires12 དུམ་བུ།Arduino Code
Arduino Code
Open the Arduino IDE and upload the following sketch to your Arduino board.
གོམ་པ་འདིའི་རྫས་རིགས:
Arduino Uno R31 དུམ་བུ།ལག་ཆས་དགོས་མཁོ:
Computer with Arduino IDETest & Experiment
Test & Experiment
What You Should See
The game starts with a victory sound, then LEDs cycle in an "attract mode" pattern. Press any button to start playing:
- A random LED lights up with a tone — press the matching button.
- The sequence grows by one each round.
- Win after 13 correct rounds! Lose if you press wrong or take too long (3 seconds).
Troubleshooting
- Only half the circuit works: Make sure both GND rails on the breadboard are connected together!
- No sound: Check that both buzzer pins are in the correct rows.
- Buttons not responding: Pay close attention to which pin connects to each button. The
INPUT_PULLUPmode means buttons read LOW when pressed.
Experiments to Try
- Hold the green button during power-up for Battle Mode (2 players).
- Hold the yellow button during power-up for the Bee Gees easter egg!
- Modify
ROUNDS_TO_WINto make the game easier or harder. - Change
ENTRY_TIME_LIMITto give more or less time per button press.
རྫས་རིགས
8- SparkFun Inventor's Kit - V3.2ཁེ་ཕོགས 10%1 ཡོ་བྱད་ཚན།$108.01
- ལས་$1.22
- ལས་$9.69
- ལས་$4.24
- ལས་$27.59
- 1 དུམ་བུ།ས་ཆ་འཛིན
- 4 དུམ་བུ།ས་ཆ་འཛིན
ལག་ཆས་དགོས་མཁོ
1- ས་ཆ་འཛིན
CC0 སྤྱི་དབང
བིལུ་པིརིན་ཊི་འདི་CC0 འོག་བཀྲམས་ཡོད། ཁྱེད་རང་གིས་ཆོག་མཆན་མ་བཞེས་པར་ཕབ་ལེན་དང་བཟོ་བཅོས། བགོ་བཤའ། དགོས་མཁོ་གང་ལའང་བཀོལ་སྤྱོད་བྱས་ཆོག
བཟོ་མཁན་ལ་རྒྱབ་སྐྱོར་བྱེད་པའི་ཆེད་ཁོང་ཚོའི་བིལུ་པིརིན་ཊི་བརྒྱུད་ཐོན་སྐྱེད་ཉོ། བཟོ་མཁན་གྱིས བཟོ་མཁན་གྱི་ཁེ་ཕོགས ཚོང་པས་གཏན་འཁེལ་བྱས་པ། ཡང་ན་བིལུ་པིརིན་ཊི་འདིའི་པར་གསར་བཟོས་ཏེ་ཁྱེད་རང་གི་བིལུ་པིརིན་ཊི་ནང་མཐུད་སྦྲེལ་བྱས་ཏེ་ཡོང་སྒོ་བགོ་བཤའ་བྱེད།