loading
Picture of Arduino - Simple Simon Says Game
In this instructable, I will show you how to make a simple Simon Says Game using an Arduino. it's not just simple but we can get a psychological benefit. I have a bad memory to remember something fast or a new things. So this project really suitable for someone like me. hahaha

We're gonna using some basic electronics built on top of an Arduino. When the project is finished you will have a working simple circuit that fun to play.


This is the video of my Arduino - Simple Simon Says Game
(change the quality for a better view)



 

Step 1: Parts and Tools

Picture of Parts and Tools
2 copy.jpg
3.jpg
4.jpg
Here is all you will need:
(1) Arduino UNO R3
(4) LEDs (Red, Green, Blue, Yellow)
(4) Push Button (small)
(1) PCB Matriks / Perfboard
(1) Speaker 8 ohm (0,5 watt)
(4) 100 / 330 ohm resistors
(1) 9V battery
(1) 9V battery box with on-off switch
(4) Spacer 0,5 cm
(1) Project enclosure (I'm using "Kitchen Ware" box)
- Breadboard
- Shrink tubing
- Jumper wire
- Rainbow wire (optional)
- Male header extended
- Blackhousing / female 1x1 header (optional)

Tools:
- Soldering iron
- Solder
- Hot glue
- Mini drill
- Pliers
- Cutter
- Helping hands (if you don't have it, you can build it from my helping hands instructable )
 
1-40 of 62Next »
KrishY14 days ago

I've tried to this but the LED's are not working, after uploading the program, only the speaker is working,,need help thanks

RonM912 days ago

Here is new coding for this project, using tone library, which works with the latest IDE; and has several improvements and fixes.

http://www.instructables.com/id/ER18X9IIBGCF50S/

Hello... i got some problem with your coding.. its would not works and my led not light up.. would your help me....

DonaldJ1 made it!10 months ago

I made this today, but with modifications for using LED Tactile switches which light up as you press them.

However, I did have some issues getting the code to work. The file does not compile with the tone library. However as the tone functionality is now available within the latest version of Arduino (1.0.6), I modified your code to make use of this. It does however require the user to pick up the pitches.h file as used in the toneKeyboard example

IMG_1778.JPG

hello DonaldJ1... can i ask for the coding of the tone that your modified... i got the same problem...

faziefazie (author)  DonaldJ13 months ago

Sorry for my late reply, I've been hiatus for awhile from this web for some reason.

That was awesome work, you did a good job.

Yeah, I think the tone library already update, so it doesn't compatible with my version anymore. Can you share the link, the modified code or the steps to make it works with the latest version Arduino IDE? it would be very helpful for the other who have the same problem, since I don't have so much time now to do it :(

But anyway, keep up the good work ;)

Famagroup made it!24 days ago

Very fun! I make some improvements like a score board using a 16x2 lcd. And a hot swap cables using a speaker stereo connector. Good project!

WP_20150729_23_55_02_Pro.jpgWP_20150729_23_54_50_Pro.jpgWP_20150729_23_54_44_Pro.jpg
RonM9 made it!1 month ago

For a beginner this is a great project and code.
As you asked for advice, I noticed some coding issues and hard to follow sections. The biggest issue was that if someone changed pin assignments for their own setup, the buttons and LEDs would not work. So I created an improved version here:

http://www.instructables.com/id/ER18X9IIBGCF50S/

I hope you and others, who have had problems with differing hardware, find it very helpful.

HomeStation.jpg
YasserR12 months ago

Saludos. Quisiera saber si podría ayudarme con este problema.
Estoy usando Arduino Nano.
He seguido todos los pasos, uno por uno, pero al momento de la verdad solo funciona el sonido. No se prende ni un solo LED y los botones no funcionan. ¿Existe algún problema con usar Arduino Nano y no UNO?
----------------------------------------------------
Greetings. I wonder if you could help me with this problem.

I'm using Arduino Nano.

I followed all the steps, one by one, but the moment of truth only sound works. It does not turn a single LED and buttons does not work. Is there a problem with using Arduino Nano and not Arduino UNO?

In the code, change boolean to int and it works! Nice!
RobertA182 months ago

I do not speak English, so I'm sorry for the mistakes .

RobertA182 months ago

I did otherwise and it worked.
I will provide the schema and the code I used.

source: https://learn.sparkfun.com/

Download link: https://mega.nz/#!7p1xQbZI!SZdeipBP7YiEeAO4abhK4Q-cLkzrvVz9QwAJ0Rgo27k

faziefazie I tried to upload your code and got this error(s)

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Uno"
In member function 'void Tone::begin(uint8_t)':
121: error: 'bitWrite' was not declared in this scope
error: 'digitalPinToPort' was not declared in this scope
error: 'portOutputRegister' was not declared in this scope
error: 'digitalPinToBitMask' was not declared in this scope
In member function 'void Tone::play(uint16_t, uint32_t)':
198: error: 'OUTPUT' was not declared in this scope
error: 'pinMode' was not declared in this scope
294: error: 'bitWrite' was not declared in this scope
In member function 'void Tone::stop()':
:361: error: 'digitalWrite' was not declared in this scope

please help.

JonoJ5 months ago

hey, nice project.

i am following your instructions step by step.

code loaded fine, but when i switch it on, i have no LEDs turning on. but the opening tune works fine, just dont see any lights or hear the sound of the first led light going on?

Any help?

What are the jump wires at the top for? (running along + and -)

davecoxhome JonoJ3 months ago

Yeah, I had the same problem. It turns out that two arrays of type boolean (boolean button and boolean ledpin) need to be changed to type int instead of boolean.

So just changing those two boolean to int solved the problem.

Apparently in an older compiler, type boolean was interpreted as integer, and now it is properly interpreted as binary. The array is stuffed with integers, so calling it a boolean made it truncate them to just 1 or 0, and lost it's mind...

faziefazie (author)  JonoJ3 months ago

Maybe you put the wrong pin of LED, if you take a look at the picture of my breadboard on step 2 , the cathode (-) was connected with the 4th pin of push button, the anode (+) connected to resistor.

the jump wires? you mean the black wire? it's connect to the ground (on arduino) and also ground from power/ battery.

davecoxhome3 months ago

Yeah, I had the same problem. It turns out that two arrays of type boolean (boolean button and boolean ledpin) need to be changed to type int instead of boolean.

So just changing those two boolean to int solved the problem.

Apparently in an older compiler, type boolean was interpreted as integer, and now it is properly interpreted as binary. The array is stuffed with integers, so calling it a boolean made it truncate them to just 1 or 0, and lost it's mind...

davecoxhome3 months ago
davecoxhome3 months ago

I have found some people saying that it doesn't work on the lastest version of IDE, so is that true? And how to fix it?

faziefazie (author)  ahmedabutahoun20033 months ago

yes, the tone library that I shared was an old version, but if you scroll down this comment section, you can ask DonaldJ1, he modified the code and it's working. Maybe he can help you with the code and how to install the latest tone library.

codes pleaseeee :D

faziefazie (author)  prettygalanna3 months ago

I already share the code on step 3.

TheFR4NC1SC05 months ago

Hey Good Proyect
I have a little problem, in Arduino 1.0.6 Work very well, but in Arduino 1.6.0 and 1.6.1, there is not working

faziefazie (author)  TheFR4NC1SC03 months ago

Do you mean the code or the library tone that doesn't work?

mnajjar5 months ago

in Arduino 1.6.0 and 1.6.1, there is not working
:(

any help to make it work ???

faziefazie (author)  mnajjar3 months ago

Do you mean the code or the library tone that doesn't work?

Nice work, I'm going to try it..Thanks buddy..I will post it when I finish it.

faziefazie (author)  ahmedabutahoun20033 months ago

That's great. Let me know when you finished it :)

Z7Z1 year ago

Hey! I have a quick question, the game seems to be working fine but the LEDs are INSANELY glitchy. Only the outside two ever light up, and occasionally the middle ones light up when I press it, making it nearly impossible to play. They are all in the right places so I have no idea what is causing this.

faziefazie (author)  Z7Z1 year ago

Are you building the circuit on protoboard first or already soldering it on perfboard?

how do I change the code so that after 10 rounds a particular event occurs? For example a pin is set to High?
dbrewer41 year ago
How do you run and install the "tone" app for the arduino?
faziefazie (author)  dbrewer41 year ago
you can go to http://arduino.cc/en/Guide/Libraries to learn how to install the library tone.
Dylon1242 years ago
Please tell me you made a stand alone arduino!
faziefazie (author)  Dylon1242 years ago
I'm sorry but I didn't make a stand alone arduino. I'm using Arduino Uno as you can see from my pictures.
Please! Make a stand alone arduino! It is so easy and cheap for about $5, what a steal!!!!!!!!!!!!! I can show/ make an instrucables if you want?
faziefazie (author)  Dylon1242 years ago
okay, please show me how :)
athirauv2 years ago
:)
faziefazie (author)  athirauv2 years ago
:)
1-40 of 62Next »