[Nakul] wanted to build a video game, and with a few projects worth of Arduino experience decided he could finally attain his goal. He used a character LCD display to make his game, and instead of a text-based adventure, he went with a graphical side scroller.
The display for this space-based side scroller isn’t a graphical display like a CRT or a graphic LCD. Instead, [Nakul] is using the ubiquitous Hitachi HD44780 character LCD display. Normally these are used to display text, but they all have the ability to display custom 5 by 8 pixel characters. The code puts these custom characters – a spaceship, missile, and barrier – into the display’s memory and uses them as the sprites for the video game.
You can grab [Nakul]’s code over on his git or check out the action videos below.
[youtube=http://www.youtube.com/watch?v=JgQqy9P-3mE&w=580]
[youtube=http://www.youtube.com/watch?v=xqOkMi2o0E0&w=580]
[youtube=http://www.youtube.com/watch?v=c8C7xiSPxM0&w=580]
Did the same thing as a kid with a Vic 20. Memories….
thats what i was thinking :)
Ditto, on the TI 99/4A. Games badly coded in BASIC…
Yep, first exposure to hexdecimal was with CALL CHAR on the TI.
This is what I’m learning on my placement on PowerQuicc boards:) Rewriting the school now with RasPi instead, have to map the GPIO and all from scratch and write a tutorial, then do I2C with the same LCD, I’m really looking forward to it!:D
That emoticon should be done with a capital P. My OCD says the lowercase p is too off center and aggravating. :P
Well, can’t see anything exciting in here.
Already did the same thing for displaying a bar-graph in my digital thermometer
Don’t want to sound like I’m putting this project down but using the term ‘sprites’ is a bit rich. Search on YouTube for “Bouncing Balls HD44780” for something more sprite like.
http://www.youtube.com/watch?v=w9BpOxeIcPY
I was thinking something different when I read the title: a write-up on how to make an LCD with custom elements (think of old LCD games from Tiger electronics and the like).
Does anyone have some information on how to maybe construct these kinds of LCDs with hobbyist-level equipment? Is it even possible without thousands of dollars of tooling?
Well, just search for “custom LCD”. About 1000GBP for tooling. And then a few pence for each glass. Could be more, won’t be less, I suppose.
I think the main challenge would be creating transparent tin oxide electrodes in the desired pattern.
Although I never recall seeing a home-built LCD per se, I do recall seeing some documents regarding building solar cells at home, which use this style of electrode. Plus some kits, which have the glass already coated (you may be able to abrade or etch it away to get the desired pattern), or which you coat yourself with a nanoparticle paste and then bake on.
And I also have seen some home-built OLEDs, again using these electrodes. In particular, the inimitable hacker Jeri Ellsworth has a tutorial on this.