Simon Says Game
A Python-based Simon Says memory game that uses an SMD Red gateway with the RGB LED Module and Buzzer Module for visual and audio feedback. The game presents an ever-growing sequence of colors that the player must repeat correctly to advance to the next round.
About Tools and Materials:
SMD USB Gateway (Purchase Here)
Arduino Gateway Module (Purchase Here)
RGB LED Module (Purchase Here)
Step 1: Hardware and Software Overview
SMD Red The SMD acts as a bridge between the script and the modules. It is responsible for interpreting the commands the script sends and translating them into actions that actuate the RGB LED Module and the Buzzer Module.
RGB LED Module Depending on the game sequence, this module lights up in Red, Green, or Blue. It helps the player visually memorize the pattern.
Buzzer Module Emits a short beep along with the LED flash for audio feedback. This pairing enhances the userβs memory and reaction.
SMD Libraries The official Acrome SMD Python library handles low-level serial communication, device scanning, and module control, letting you focus on the Simon Says logic and GUI.
Project Key Features
Visual + Audible Feedback
Each color is accompanied by a synchronized flash and beep.
Growing Memory Challenge
The sequence grows with each successful round, increasing difficulty.
Tkinter Graphical Interface
Simple UI with buttons for Red, Green, and Blue, a start button, and a status message.
Built-in Hardware Warm-Up
The RGB LED is initialized once before gameplay to bypass any first-flash issues.
Step 2: Assemble
Getting Started
Hardware Setup
Connect the SMD to the PC or Arduino board using the USB Gateway Module or the Arduino Gateway Module.
Connect the RGB LED Module and the Buzzer Module to the SMD using an RJ-45 cable.
Make sure that the SMD is powered and all connections are correct.
Project Wiring Diagram
Step 3: Run & Test
Install Libraries and Run the Script
Install necessary libraries such as Tkinter, serial, and acrome-smd.
Execute the script, initiating the Simon Says project and opening the Tkinter UI where you can enter your text.
Play the Simon Says Game
Click Start to begin.
Watch the color sequence.
Repeat the sequence using the buttons.
If correct, the game adds one more color and continues.
If wrong, the game ends and can be restarted.
Codes:
Last updated