Arduino BASIC interpreter using LCD, keyboard, and SD

This Arduino BASIC interpreter will make a really fun one-day project if you’ve already got the parts on hand. [Usmar A. Padow] put together an Arduino Uno, SD card, four line character LCD, and PS/2 keyboard. but he’s also included alternative options to go without an LCD screen by using a computer terminal, or without the SD card by using only the Uno’s RAM. As you can see in his demo after the break, this simple input/output is all you need to experiment with some ancient computing.

It’s hard for us to watch this and not think back to an orange or green monochrome display. Just like decades past, this implementation of BASIC has you start each line of code with a line number, and doesn’t allow for character editing once the line has been input. The example programs that [Usmar] shows off are simple to understand but cover enough to get you started if you’ve never worked with BASIC before.

Last August we saw another hack which ported Tiny BASIC to the Arduino. You may want to take a gander at that one as well.

[Read more…]

Text adventures for Arduino starting with Hunt the Wumpus

Let’s be honest, you’re going to have trouble getting kids to play text-based adventure games these days. But this is one way to get them interested. This weekend you should get together with niece, nephew, son, or daughter and help them build their own hardware and program it with an adventure game. One last project before school’s out and the weather’s nice.

This is [Dan’s] shiny example of Hunt the Wumpus. He used Adafruit’s RGB LCD shield for Arduino. It’s got a character LCD and five buttons. But you can easily breadboard this yourself using a few tactiles plus a screen and uC of your own choosing. One nice touch with this one is the RGB backlight which is used to add an element of danger to the story line. He also mentions a few bugs in the Arduino language which he found while setting up the game.

We’ve been meaning to make our version of Zork using an Arduino, GLCD, and PS/2 keyboard ever since we read “Ready Player One”. This is just a bit more encouragement to get moving on that project.

[Thanks PT]