This shows you the differences between two versions of the page.
pm:prj2022:apredescu:mined_labirinth [2022/05/25 19:22] mihai.mares2010 [Rezultate Obţinute] |
pm:prj2022:apredescu:mined_labirinth [2022/05/25 20:59] (current) mihai.mares2010 [Introduction] |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | The game is played on a grid made of LEDs. At the start of the game, some LEDs will blink, indicating the positions of the exit, the key and the mines. The player's job will be to navigate through the grid, collect the key and reach the exit without hitting any bombs. | + | The game is played on a grid made of LEDs. At the start of the game, some LEDs will blink, indicating the positions of the mines. The player's job will be to navigate through the grid and reach the exit which will be on the oposite corner, without hitting any bombs. |
The goal of this project was to get myself used to programming an Arduino microcontroller and also to learn how to solder. | The goal of this project was to get myself used to programming an Arduino microcontroller and also to learn how to solder. | ||
Line 29: | Line 29: | ||
{{:pm:prj2022:apredescu:pm_schematic.png?500 |}} \\ | {{:pm:prj2022:apredescu:pm_schematic.png?500 |}} \\ | ||
This specific configuration allows the control of the entire matrix using only 7 output pins. | This specific configuration allows the control of the entire matrix using only 7 output pins. | ||
- | |||
- | I've also built a digital replica of this project on TinkerCad accessible at the link below: \\ | ||
- | https://www.tinkercad.com/things/fZJAAXsfZli-swanky-snaget/editel?sharecode=0bbuIXbi3h2ZAVldh3UEmUbhqDcp3eWFfsQdjW7n0CM | ||
===== Software Design ===== | ===== Software Design ===== | ||
Line 47: | Line 44: | ||
I used the "Charlieplexing" algorithm to control which specific LED lights up. It works by setting the 2 output pins corresponding to the desired LED to OUTPUT (one to HIGH and one to LOW) and all the other ones to INPUT. | I used the "Charlieplexing" algorithm to control which specific LED lights up. It works by setting the 2 output pins corresponding to the desired LED to OUTPUT (one to HIGH and one to LOW) and all the other ones to INPUT. | ||
- | https://en.wikipedia.org/wiki/Charlieplexing | + | |
===== Results ===== | ===== Results ===== | ||
Line 56: | Line 53: | ||
{{:pm:prj2022:apredescu:pm_3.png?200 |}} | {{:pm:prj2022:apredescu:pm_3.png?200 |}} | ||
- | ===== Concluzii ===== | + | ===== Conclusions ===== |
+ | This project has been a great learning experience and very interesting to do despite the fact that I didn't get to implement all of the features I initially planned for it. | ||
===== Download ===== | ===== Download ===== | ||
- | <note warning> | + | In the archive below are the .ino file containing the code used for this project as well as the images above. |
- | 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ă ;-). | + | {{:pm:prj2022:apredescu:mares_mihai_1221a_pmproject.rar|}} |
- | 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> | ||
- | ===== Jurnal ===== | + | ===== Bibliografie/Resurse ===== |
- | <note tip> | + | More documentation on charlieplexing. \\ |
- | Puteți avea și o secțiune de jurnal în care să poată urmări asistentul de proiect progresul proiectului. | + | https://en.wikipedia.org/wiki/Charlieplexing \\ |
- | </note> | + | |
- | ===== Bibliografie/Resurse ===== | + | I've also built a digital replica of this project on TinkerCad accessible at the link below: \\ |
- | + | https://www.tinkercad.com/things/fZJAAXsfZli-swanky-snaget/editel?sharecode=0bbuIXbi3h2ZAVldh3UEmUbhqDcp3eWFfsQdjW7n0CM | |
- | <note> | + | |
- | Listă cu documente, datasheet-uri, resurse Internet folosite, eventual grupate pe **Resurse Software** şi **Resurse Hardware**. | + | |
- | </note> | + | |
<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> | ||