March 20, 2015

Experimenting with Arduino and LCDs with "Snake"

You don't have to have a lot of hardware to create interesting projects, and an example of this has been demonstrated by Richard Glew whose "Snake" sketch mimics the gameplay of the original with only a normal HD44780-compatible LCD. 

By taking advantage of custom LCD character creation the "snake" itself has some personality, and is programmed to circle around the screen eating and growing longer. It's a neat and simple animation that could be used as an effect in other projects with an LCD, such as a clock or countdown timer. A demonstration is shown in the following video:

With a larger LCD such as a 20 x 4 character version this could offer the animation required to make a real "snake" game. In the meanwhile, for more information including the Arduino sketch, visit Richard's project page. And for more, we're on facebookGoogle+, and twitter - so follow us for news and product updates as well.

Looking for a rapid-use LCD for your Arduino or compatible development boards such as the example above? Save time and move forward with the Freetronics LCD & Keypad shield which contains a bright 16x2 character LCD and five buttons that can be read from only one analogue input pin:


Leave a comment

Comments have to be approved before showing up.