This shows you the differences between two versions of the page.
pm:prj2022:apredescu:mined_labirinth [2022/05/25 19:27] mihai.mares2010 [Download] |
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 64: | Line 61: | ||
{{:pm:prj2022:apredescu:mares_mihai_1221a_pmproject.rar|}} | {{:pm:prj2022:apredescu:mares_mihai_1221a_pmproject.rar|}} | ||
- | ===== Jurnal ===== | ||
- | |||
- | <note tip> | ||
- | Puteți avea și o secțiune de jurnal în care să poată urmări asistentul de proiect progresul proiectului. | ||
- | </note> | ||
===== Bibliografie/Resurse ===== | ===== Bibliografie/Resurse ===== | ||
- | <note> | + | More documentation on charlieplexing. \\ |
- | Listă cu documente, datasheet-uri, resurse Internet folosite, eventual grupate pe **Resurse Software** şi **Resurse Hardware**. | + | https://en.wikipedia.org/wiki/Charlieplexing \\ |
- | </note> | + | |
+ | 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 | ||
<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> | ||