Go Down

Topic: Can you memorize the colors and press them in the order they appeared? (Read 4168 times) previous topic - next topic

chybrik

I saw this game http://www.gamesforthebrain.com/game/memocoly/ and I liked it immediately.I want make a real model of this game using Arduino Uno with led diodes and buttons.How to combined the buttons and led diodes so that it look's like the one in the link.

CrossRoads

Many companies sell push buttons with a seperately-pinned LED mounted within.
You can use the push button to close a contact to Gnd to bring an IO pin low.
You use a different pin to control the LED.
google "Led push button"
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

robtillaart


This game is also known as Simon. I implemented it ~2years ago.
That code can be found on this forum ( search for ArduCapSimon.pde if you want some implementation hints)
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

chybrik

10x for the info.Can I make real model of simon (make may own Simon) using arduino uno, 4 led buttons and a breadboard or it's not gonna happen.

robtillaart

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

chybrik

Would you be more specific on how to built the circuit for the game simon.I bought arduino Uno , 4 leds,4 buttons,4 rezistors and a breadboard.My concern is the pull down rezistors,because I found buch of stuff on how to wire  evrything but I'm still counfused on this rezistors and why I need them for the wiring.

robtillaart


- http://arduino.cc/en/Tutorial/Button - for the buttons

- http://arduino.cc/en/Tutorial/Blink - for the leds

- http://arduino.cc/en/Tutorial/Array - to hold the sequence

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

chybrik

I made it,now I wanna make block diagram of the sketch,would somebody pich in with some ideas.I'm using the famous sketch of Robert Spann.

toxman

https://www.facebook.com/pages/TonyMake/160740054064026

(mezzi a disposizione)*(intelligenza)= K (costante)

Go Up