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]

Gigantic liquid crystal display is like a giant calculator

Some say he turns on his soldering iron by saying, “Flame on!.” He deadbug solders – QFP packages. All we know is he’s called [stig] and he sent in an awesome an awesome video of a new display at the Nature Research Center in Raleigh, North Carolina. It’s a 10 foot by 90 foot LCD display that uses 6 inch square glass panels containing the same liquid crystals you’d find in a calculator.

The display/installation is called Patterned by Nature and is built using 3600 pieces of LCD privacy glass. When a voltage is applied to the glass it changes from clear to opaque. While this technology has been around for decades (just look at your calculator), only in the last few years has LCD privacy glass come down in price to make a project like this economical.

The gigantic display was created in part by Sosolimited, an art studio who has made a similar project before. The display hanging in the atrium of the Raleigh Nature Research Center is amazingly efficient for its size  drawing only 75 watts.

If you’d like to try your hand at a similar build, we wish you luck; this LCD glass is still somewhat expensive but perhaps in a few years the price will come down enough that we can play Tetris on the side of a building.

[Read more…]

Reverse engineering a Nokia LCD

LCD displays taken from old Nokia phones have been a staple of the hardware makers for years now, so we’re very happy to see [Andy] reverse engineering a full color QVGA display so we can move our grayscale projects over to a full-color display.

The screen in a Nokia 2730, 5000, and 7100 cell phone is a wonder of technology – its 18-bit color with a very high-resolution piqued [Andy]’s interest. He bought a second-hand Nokia 2730 off of eBay and started taking it apart. After checking out the schematics for the phone, [Andy] had a few breakout boards made; especially useful since he found a few connectors as well.

With a great deal of Googling, [Andy] found another lost soul who successfully broke into a similar LCD display and discovered it was command-compatible with a Magnachip LCD controller. The only way forward was to send a few of these commands over to the display and watch what happens.

[Andy] managed get pixels drawn on the screen, and found a few interesting features: hardware scrolling is enabled, as is changing between portrait or landscape orientations. From a second-hand phone on eBay, [Andy] now has a very nice QVGA display. We’re calling this a win, but you can judge the video after the break for yourself.

[Read more…]

WAV playback with an ATmega32

[Vinod Stanur] just finished another hobby project by building a WAV audio player using a microcontroller. He had started development a while back using a PIC microcontroller. But the chip he was using didn’t have enough SRAM to allocate as a playback buffer. When he got his hands on an ATmega32 his mind turned back to the project and he saw it through to the end.

He takes advantage of what he learned on several earlier builds. He’s using a TV remote as input, just like his Snake game did. Storage is provided by an MMC card, a trick he perfected with this voice recorder project. Instead of using a FAT library, he uses his own code to read the linked-list (File Allocation Table) for sector addresses, then he parses the WAV header and processes the file accordingly.

Playback uses two 512 byte buffers. One is feeding the output while the other is being populated from the memory card. When the output buffer is exhausted the two are swapped and the process continues. You’ll find [Vinod’s] demo of the project after the break.

[Read more…]

Up your FPGA game by learning from this LCD control prototype

[Cesar] recently got a PSP display up and running with his FPGA development board. That’s a nice project, but what we really like is that he set aside a lot of time to show how it’s done every step of the way. This isn’t just a tutorial on that particular screen, but an overview of the skill set needed to get any piece of hardware working.

The screen itself is a Sharp LQ043T3DX02; a 480×272 TFT display with 16 million colors. Not bad for your project but when you start looking into the control scheme this isn’t going to be like using a Nokia screen with an Arduino. It takes twenty pins to control it; Red, green, and blue take sixteen pins, four pins are used for control, the rest are CK, DISP, Hsync, Vsync.

Wisely, [Cesar] designs his own interface board which includes the connector for the ribbon cable. It also has drivers for the screen’s backlight and supplies power to the device. With hardware setup complete he digs into the datasheets. We just love it that he details how to get the information you’re looking for out of this document, and shows his method of turning that first into a flow chart and then into code for the FPGA.