BL-328 Computer 29-Sep-2012 12:52 AM
Edit FancyEdit New New Blog Upload All Recent Home Logout

Table Of Contents

TOP

1. Overview

The BL-328 is a computer with an Arduino at its core. The computer is composed of a few modules that will interconnect to provide a complete computer system.

The original intention was to make a portable, handheld, standalone computer, but that has since changed to be a tabletop system, with the addition of the standard keyboard support. The focus has changed to more closely model the homebrew systems from the 1970s where components were assembled in open-air, and are used as such, like the Apple I

TOP

2. Modules

TOP

2.1. CPU

The CPU module consists of an Arduino Pro from SparkFun. It has the ATMega 328 micro on it, so that we have the most space for BASIC programs. It is running TinyBasicPlus which is a port of TinyBasic to Arduino, which I have added some more functionality onto. I have added the SD Card library to let you LOAD, and SAVE programs, and do FILES listings.

Soon, I will be adding support for LCD modules for display (text and graphics) as well as support for serial and PS2 keyboard input for standalone use. Currently, it only operates via serial connection.

TOP

2.2. DISPLAY

This system will support two different displays. The first is a text display, running a standard inexpensive 2x16 display via SPI or I2C.

Second is a graphical display with additional BASIC commands to plot points and such. The one I've gone with is the 1.8" TFT LCD from Adafruit.

These two displays will operate independantly of eachother, allowing for you to be typing in one and see graphical results in the other.

TBD

TOP

2.3. KEYBOARD

The keyboard can either be a RS232 serial stream, or a PS2 keyboard. I have added PS2 keyboard at the expense of two additional data pains (configurable in the TinyBasic.ino file) because I want this to be easily usable by others.

The keyboard that I have built is using a second Arduino with a custom made shield that connects directly to a Commodore 64/16 keyboard. It scans the keyboard matrix, and then sends serial keys, as though there were a serial terminal, rather than it being just a standard dumb keyboard sending keycodes.

Note: I may change the behavior of this keyboard to send PS2 output.

TBD

TOP

2.4. IO - Files

The system uses a SeeedStudio SD Card shield for storage currently. It lets you use the BASIC commands LOAD, SAVE, CHAIN, FILES to interact with it. Soon TinyBasicPlus may have support for OPEN, PRINT#, CLOSE for doing file IO from a basic program.

I had tried to use the microSD reader on the 1.8" TFT display, but was having problems with it. I may revisit that path later, but for now, it's nice having a fullsize SD card reader, and having it not on the display itself.

TOP

2.5. IO - Pin Data

The TinyBasic environmnet has support for interacting with the standard Arduino pins, using a syntax very similar to the Arduino IDE.

The pins currently in-use are:

And the pins currently free, or soon to be claimed are:

Note, that some of these pins may get consumed when certain features are enabled:

TOP

3. Components "Kit"

Here's a list of things you'll need to build your own BL-328: