Speed Game Concours
Intoduction
Prezentarea pe scurt a proiectului vostru:
This is a game in which players must press in record time a button which corresponds to a random LED which lights up for 1 second on the board for their score to be incremented, else if they select the bad Led the score is decremented the one who will have the highest score, therefore will have touched the most lit Leds in 10 sec will be the winner, if two players have the same score, the one whose average reaction time is the smallest will be the winner. The 2 best will be able to move on to the final where the Leds will be lit for 0.5sec one after the other at random. The name of the winner as well as the score is displayed .
this game allows you to have fun alone or in a group by challenging yourself and developing reflexes and speed.
}
Descriere generală
The components interact via the micro-controller, the Buttons are input and the Speaker and lights are the output
.
Hardware Design
Aici puneţi tot ce ţine de hardware design:
listă de piese :
-
diagrame de semnal
rezultatele simulării
scheme electrice
Software Design
Descrierea codului aplicaţiei (firmware):
mediu de dezvoltare (if any) (e.g. AVR Studio, CodeVisionAVR)
librării şi surse 3rd-party (e.g. Procyon AVRlib)
algoritmi şi structuri pe care plănuiţi să le implementaţi
(etapa 3) surse şi funcţii implementate
1. initialize the LCD display
2. create variables to save the data
3. declare the pin numbers for LEDs row 1 and row2
4. set the variables to store the time
5. in void setup start communication with serial monitor
6. start the LCD
7. print the data on the LCD
8. Set the LEDs as output using for loop and button pin as input
9. void loop start with showing current time on LCD
10. Turn ON random LED
11. find which led and store the led number in a variable
12. use this variable as a condition ,as same button has to be pressed
13. add score if correct
14. decrease score if not correct
Codes
code_1_.txt
readme.txt
Rezultate Obţinute
Care au fost rezultatele obţinute în urma realizării proiectului vostru.
Concluzii
The only difficulty was finding LED buttons, 5v button arcades, so I opted for simple buttons without LEDs and separate LEDs. and at the last verification, some buttons didn't work anymore so I just took pictures of final result with 5 buttons.
Download
O arhivă (sau mai multe dacă este cazul) cu fişierele obţinute în urma realizării proiectului: surse, scheme, etc. Un fişier README, un ChangeLog, un script de compilare şi copiere automată pe uC crează întotdeauna o impresie bună
.
Fişierele se încarcă pe wiki folosind facilitatea Add Images or other files. Namespace-ul în care se încarcă fişierele este de tipul :pm:prj20??:c? sau :pm:prj20??:c?:nume_student (dacă este cazul). Exemplu: Dumitru Alin, 331CC → :pm:prj2009:cc:dumitru_alin.
readme.txt
code.txt
Jurnal
Puteți avea și o secțiune de jurnal în care să poată urmări asistentul de proiect progresul proiectului.
May 5, 2022: choice of project theme, completion of introduction, general description, parts list
May 10, 2022: final project code creation
May 15, 2022: completion of wiring diagram and hardware design
May 25, 2022: complete software design, make project photos, complete conclusion
May 27, 2022: Last verfications and download and results
Bibliografie/Resurse