
Simon Says — SIK Circuit 16
Hướng dẫn
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!
Vật liệu cho bước này:
SparkFun Inventors Kit - V3.21 bộ
Arduino Uno R31 cái
Breadboard1 cái
5mm LED4 cái
Push Button4 cái
330 Ohm Resistor4 cái
Jumper Wires12 cáiCông cụ cần thiết:
Hardware 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!
Vật liệu cho bước này:
5mm LED4 cái
Push Button4 cái
330 Ohm Resistor4 cái
Breadboard1 cái
Jumper Wires12 cáiArduino Code
Arduino Code
Open the Arduino IDE and upload the following sketch to your Arduino board.
Vật liệu cho bước này:
Arduino Uno R31 cáiCông cụ cần thiết:
Test & 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.
Vật liệu
8- $105.00
- 1 cáiTạm thời
- 1 cáiTạm thời
- Tạm thời
- 4 cái$2.00
- Piezo Buzzer1 cái
- $3.00
You can swap these in
Can't get one of the materials? Swap it for an equivalent — these work just as well.
- Instead of Arduino Uno R3, try:
Prototyping Shield for Arduino Uno (3-Pack)
Arduino Uno R3 Board
Arduino Uno - Instead of 5mm LED Assortment Kit (300pcs, 5 Colors), try:
WS2812B NeoPixel LED Strip (1m, 60 LEDs)
Diffused LED - 10mm
RGB LED Strip 5050 (5m, Non-Addressable)
LilyPad Tri-Color LED
SMD LED 0603 - Strip of 25 - Instead of Push Button - 33mm, try:
Concave Retro Gaming Button
Toggle & Duffle Coat Button Set - Instead of Resistor 330 Ohm 1/6 Watt PTH - 20 pack, try:
Resistor 10K Ohm 1/6th Watt PTH - 20 pack
AVR ISP Shield - PTH Kit
Recommended for this build
Products makers often use with builds like this one.
Resistor 10K Ohm 1/6th Watt PTH - 20 packUsed together and in similar builds
Basic 16x2 Character LCD - 5VUsed in similar builds
PotentiometerUsed together and in similar builds
BC547 NPN Transistor (50-Pack)Frequently used with this build's materials
Diode KitFrequently used with this build's materials
LED - RGB Diffused Common Cathode - 5mmFrequently used with this build's materials
Jumper Wire Kit (350pcs, M-M / M-F / F-F)Frequently used with this build's materials
Servo MotorFrequently used with this build's materialsRelated blueprints
Other builds that share materials, tools, or techniques with this one.






CC0 Phạm vi công cộng
Bản thiết kế này được phát hành theo CC0. Bạn tự do sao chép, sửa đổi, phân phối và sử dụng cho bất kỳ mục đích nào mà không cần xin phép.
Hỗ trợ nhà sáng tạo bằng cách mua sản phẩm qua bản thiết kế, nơi họ nhận Hoa hồng nhà sáng tạo do nhà bán hàng đặt, hoặc tạo phiên bản mới và kết nối trong bản thiết kế riêng để chia sẻ doanh thu.