Omnimaga
General Discussion => Technology and Development => Other => Topic started by: Spyro543 on November 01, 2014, 04:19:55 pm
-
This is probably the most useless device I have made. It displays random tetriminoes on a 4x2 LED matrix. It has two modes: one where it automatically displays a new tetrimino every few seconds, and one where it requires a button press to display a new tetrimino. It has a PIC18F26K20 for its processor.
EDIT: Some updates and pictures and other fun stuff
I added a blinking effect whenever the tetrimino is changed, and I also added an LED for showing if the timer is activated or not.
Here's a video: https://www.youtube.com/watch?v=Z0nJXMi7fSQ (https://www.youtube.com/watch?v=Z0nJXMi7fSQ)
Here's a better circuit diagram: http://i.imgur.com/zztkk1E.png
And here's the code: http://pastebin.com/aS8vF9ZW (http://pastebin.com/aS8vF9ZW)
-
I like it so far. :D
You should make it so we can rotate blocks :P
-
That would require 8 more LEDs, and too much programming :P
-
It would be cool though, but yeah I understand.
Now imagine a full Tetris game made of LEDs O.O
-
Wha, that's looking sweet ^.^
-
It would be cool though, but yeah I understand.
Now imagine a full Tetris game made of LEDs O.O
That has probably been done before. I don't think I have ever heard of analogue tetris before tho. Spyro said in irc that he made this so he and his friend could play tetris on paper :)
-
Wait, Tetris on paper? O.o That must take a long while to play lol and I assume that some of the challenge is removed? :P It sounds like an interesting idea to try, though.
-
That must take a long while to play lol and I assume that some of the challenge is removed? :P
Yes, but it's the only thing keeping us not bored to death in study hall. :P
Some updates and pictures and other fun stuff
I added a blinking effect whenever the tetrimino is changed, and I also added an LED for showing if the timer is activated or not.
Here's a video: https://www.youtube.com/watch?v=Z0nJXMi7fSQ (https://www.youtube.com/watch?v=Z0nJXMi7fSQ)
EDIT: Here's a better circuit diagram: http://i.imgur.com/zztkk1E.png
And here's the code: http://pastebin.com/aS8vF9ZW (http://pastebin.com/aS8vF9ZW)
-
When I was bored in the study hall, I programmed calculator games. But I had to hold the calc in a way that looks like I am doing school work and calculating so that it doesn't look suspicious :P (although my school work was finished by then, the teacher might not have know and might have thought I'm just slacking off instead of doing it)
Also nice video and update :D