Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pm:prj2022:agmocanu:simon_says_game [2022/05/12 09:08]
dana_georgiana.toma
pm:prj2022:agmocanu:simon_says_game [2022/06/01 18:46] (current)
dana_georgiana.toma
Line 1: Line 1:
-====== Simon Says Game ======+====== Simon Game ====== 
 +by Toma Dana Georgiana 1221B
 ===== Introducere ===== ===== Introducere =====
  
  
-memory game, each round the LEDs are lighting ​up in a random order and the player must reproduce ​that order by pressing ​the buttons ​corresponding ​to each LED.+In this memory game, the LEDs light up in a random order each round, ​and the player must recreate ​that order by pushing ​the buttons ​that correspond ​to each LED.
  
 ===== Descriere generală ===== ===== Descriere generală =====
  
- +When the start button is pressed, the game begins. The LEDs will turn on and off in random order. ​The correct LED (green LED) will light up if the corresponding buttons are pressed in the same order. If not, the wrong LED (the red LED) will turn on. The current level will be displayed on the 7-segment display.
-The game starts when the start button is pressed. The LEDs will light up in random order. ​If the corresponding buttons are pressed in the same order the correct LED (green LED) will light up. If not, the wrong LED (red LED) will light up. The 7 segment display ​will show the current level.+
  
 {{ :​pm:​prj2022:​agmocanu:​toma_dana_blocdiagram.png |{{ :​pm:​prj2022:​agmocanu:​toma_dana_blocdiagram.png?​nolink |}} {{ :​pm:​prj2022:​agmocanu:​toma_dana_blocdiagram.png |{{ :​pm:​prj2022:​agmocanu:​toma_dana_blocdiagram.png?​nolink |}}
-{{ :​pm:​prj2022:​agmocanu:​toma_dana_blocdiagram.png?​direct |}} 
  
-https://​ocw.cs.pub.ro/​courses/​_media/​pm/​prj2022/​agmocanu/​toma_dana_blocdiagram.png?​w=120&​h=92&​t=1652288453&​tok=d58039+[[https://​ocw.cs.pub.ro/​courses/​_media/​pm/​prj2022/​agmocanu/​toma_dana_blocdiagram.png?​w=120&​h=92&​t=1652288453&​tok=d58039|Scheme Diagram ]]
  
 ===== Hardware Design ===== ===== Hardware Design =====
- +Components list:
   *Arduino Uno    *Arduino Uno 
   *breadboard ​   *breadboard ​
-  *LEDs+  *LEDs 
 +  *5 pushbuttons
   *buzzer   *buzzer
   *7 segment display   *7 segment display
-  *pushbuttonsresistors+  *resistors
   *wires   *wires
 +
 +Electric scheme:
 +
 +{{:​pm:​prj2022:​agmocanu:​td_schemael1.jpg?​direct&​650|}}
 +
 +{{:​pm:​prj2022:​agmocanu:​td_schemael2.jpg?​direct&​650|}}
  
  
 ===== Software Design ===== ===== Software Design =====
  
 +A random sequence is established as the game begins. The LEDs are flashed in the order prescribed by the sequence at each level, and the player input is compared to the sequence. The level increases if the order is accurate; otherwise, the level is repeated. The current level is displayed on the 7-segment display. The LEDs are accompanied by a buzzer that plays distinct noises for each of them, as well as a winning and a losing sound. Each level increases the challenge by increasing the pace of the flashing LEDs and the number of LEDs that light up.
  
 +The finished code can be found in the download section.
  
  
 ===== Rezultate Obţinute ===== ===== Rezultate Obţinute =====
  
 +{{:​pm:​prj2022:​agmocanu:​td_circuit1.jpg?​direct&​400|}}
  
 +{{:​pm:​prj2022:​agmocanu:​td_circuit2.jpg?​direct&​400|}}
 +
 +{{:​pm:​prj2022:​agmocanu:​td_circuit3.jpg?​direct&​400|}}
 ===== Concluzii ===== ===== Concluzii =====
 +The game functions properly in its final form. I learned how to use Arduino software to make a simple project as well as how to connect the various components. ​
  
 ===== Download ===== ===== Download =====
 +[[https://​github.com/​danagtoma/​Arduino-Project/​commit/​d39ce94b2c6516c7d9bcdcab64e22ce5fb48e0d3| Full Code]]
  
  
 ===== Jurnal ===== ===== Jurnal =====
 +  * 5.05.2022 - Deciding the project team
 +  *16.05.2002 - Acquiring the components
 +  *20.05.2022 - Assembling the circuit and writing the Arduino code
 +  *26.05.2022 - Finishing the documentation
 +
 +===== Bibliografie =====
 +
 +[[https://​ocw.cs.pub.ro/​courses/​pm/​lab/​lab1-2022|Laboratorul 1]]
  
 +[[https://​create.arduino.cc/​projecthub/​aboda243/​get-started-with-seven-segment-c73200| 7 Segment Display]]
  
 +[[https://​create.arduino.cc/​projecthub/​SURYATEJA/​use-a-buzzer-module-piezo-speaker-using-arduino-uno-89df45|Buzzer]]
  
-===== Bibliografie/​Resurse ===== 
  
 <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​ <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​
  
  
pm/prj2022/agmocanu/simon_says_game.1652335715.txt.gz · Last modified: 2022/05/12 09:08 by dana_georgiana.toma
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0