This shows you the differences between two versions of the page.
pm:prj2022:avaduva:speedgameconcours:start [2022/05/20 15:28] mukoka.mutoba [Hardware Design] |
pm:prj2022:avaduva:speedgameconcours:start [2022/05/27 23:41] (current) mukoka.mutoba [Concluzii] |
||
---|---|---|---|
Line 22: | Line 22: | ||
</note> | </note> | ||
+ | {{ :pm:prj2022:avaduva:speedgameconcours:flow_diagram.png?500 |}} | ||
- | The components interact via the micro-controller, the Buttons are input and the Speaker and lights are the output . | + | The components interact via the micro-controller, the Buttons are input and the Speaker and lights are the output |
+ | |||
+ | {{ :pm:prj2022:avaduva:speedgameconcours:circuit_diagram_tinkercad.png?500 |}}. | ||
Line 36: | Line 39: | ||
* rezultatele simulării | * rezultatele simulării | ||
</note> | </note> | ||
+ | |||
{{:pm:prj2022:avaduva:speedgameconcours:component.png?300|}} | {{:pm:prj2022:avaduva:speedgameconcours:component.png?300|}} | ||
scheme electrice | scheme electrice | ||
- | {{:pm:prj2022:avaduva:speedgameconcours:circuit_scheme.png?600 |}} | + | {{:pm:prj2022:avaduva:speedgameconcours:circuit_scheme.png?600|}} |
- | {{:pm:prj2022:avaduva:speedgameconcours:scheme12.png?600|}} | + | {{:pm:prj2022:avaduva:speedgameconcours:scheme12.png?700|}} |
+ | {{:pm:prj2022:avaduva:speedgameconcours:scheme23.png?700|}} | ||
===== Software Design ===== | ===== Software Design ===== | ||
Line 53: | Line 58: | ||
* (etapa 3) surse şi funcţii implementate | * (etapa 3) surse şi funcţii implementate | ||
</note> | </note> | ||
+ | 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 | ||
+ | {{:pm:prj2022:avaduva:speedgameconcours:code_1_.txt|}} | ||
+ | {{:pm:prj2022:avaduva:speedgameconcours:readme.txt|}} | ||
===== Rezultate Obţinute ===== | ===== Rezultate Obţinute ===== | ||
Line 59: | Line 84: | ||
Care au fost rezultatele obţinute în urma realizării proiectului vostru. | Care au fost rezultatele obţinute în urma realizării proiectului vostru. | ||
</note> | </note> | ||
+ | {{ :pm:prj2022:avaduva:speedgameconcours:capture_d_ecran_2022-05-20_020221.png?400 |}} | ||
- | ===== Concluzii ===== | ||
+ | |||
+ | ===== 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 ===== | ===== Download ===== | ||
Line 69: | Line 97: | ||
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**. | 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**. | ||
</note> | </note> | ||
+ | {{:pm:prj2022:avaduva:speedgameconcours:readme.txt|}} | ||
+ | {{:pm:prj2022:avaduva:speedgameconcours:code_1_.txt|}} | ||
===== Jurnal ===== | ===== Jurnal ===== | ||
Line 76: | Line 106: | ||
</note> | </note> | ||
- | April 25, 2022: choice of project theme, completion of introduction, general description, parts list | + | May 5, 2022: choice of project theme, completion of introduction, general description, parts list |
- | May 30, 2022: final project code creation | + | |
- | May 31, 2022: completion of wiring diagram and hardware design | + | May 10, 2022: final project code creation |
- | June 1, 2022: complete software design, make video and project photos, complete conclusion, download and results | + | |
+ | 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 ===== | ===== Bibliografie/Resurse ===== | ||
Line 85: | Line 123: | ||
Listă cu documente, datasheet-uri, resurse Internet folosite, eventual grupate pe **Resurse Software** şi **Resurse Hardware**. | Listă cu documente, datasheet-uri, resurse Internet folosite, eventual grupate pe **Resurse Software** şi **Resurse Hardware**. | ||
</note> | </note> | ||
+ | |||
+ | [[pm:laboratoare:02|]] | ||
+ | |||
+ | [[pm:laboratoare:03|]] | ||
+ | |||
+ | [[pm:laboratoare:04|]] | ||
+ | |||
+ | [[pm:laboratoare:05|]] | ||
+ | |||
+ | [[https://search.arduino.cc/search?tab=reference&q=LCD&_gl=1*15vji6s*_ga*MTU0Mzg1NjA4Mi4xNjQ4NDAzNDg3*_ga_NEXN8H46L5*MTY1MzY3ODkxNi4xMC4xLjE2NTM2Nzg5NzYuNjA.|How to use LCD]] | ||
+ | |||
+ | [[http://https://search.arduino.cc/search?q=PIN&tab=reference|PINS]] | ||
<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> |