Introduction: Build Your Own Pocket Mini Computer
In this Instructable, I'll teach you how to build and program your own pocket mini computer.
Explore micro computing with a machine which:
- Can be successfully assembled in an evening.
- Can be programmed in BASIC. (and other languages)
- Can play games and run programs.
- Most importantly: Can be understood.
- Pocket Mini Computer Kit (As of August 1st, Pocket Mini Computer can be obtained fromPropellerpowered.com)
- A PS2 Keyboard
- A Wii Controller (Classic or ClassicPro)
- A microSD card
- A VGA Monitor
- A set of computer speakers
We created this as an Open Source "Ready to Build" kit, but have also updated this Instructable with complete schematics for anyone who wanted to create they own version of the Pocket Mini Computer! Read on!
Step 1: The Pocket Mini Computer Details
The Pocket Mini Computer is a small and versatile computer running a full featured BASIC interpreter with 32K of ram. It will work with a standard VGA monitor and PC compatible keyboard. Because the Pocket Mini Computer has its own built in microSD memory card slot and BASIC language you need nothing more to start writing and running BASIC programs. A Wii(TM) compatible gameport as well as stereo audio output create a compelling enviroment to write programs and games.
I'm the designer of the Pocket Mini Computer. I wanted to create a product which would give those in the younger generation a chance to see what computing was like in the early days before the PC. I also wanted to re-create the experience as closely to the original Commodore and Atari computers so that us "old timers" could enjoy a trip back to yesteryear when we were young.
The Pocket Mini Computer has been a labor of love from board design to preparing the BASIC programming language.
You'll be able to do more than enjoy a simple "HELLO WORLD" program. The BASIC is full featured and powerful!
Step 2: Rolling Your Own
The brain (CPU) behind the Pocket Mini Computer is a Parallax P8X32A microcontroller, so grab your favorite Propeller board and dig in!
We'll be using the following I/O pins for connected devices:
- P0 - P3 SD or microSD connection
- P10, P11 Stereo audio connections
- P24, P25 Wii Classic Controller connection
- P26, P26 PS/2 Keyboard Connection
- P16-P23 VGA connection
Have you already got a Quickstart board and want to make your own PCB? We've got you covered too!
Step 3: About the Kit
In the 70s if you wanted a computer of your own, you bought a kit. These kits would take days or months to complete and if you did everything correct. (and the parts were good!) you had your own computer! The Pocket Mini Computer is a simple kit that will give you a taste of creating your own computer. It's designed around solid hardware and simple components, so you are guaranteed success!
The Pocket Mini Computer consists of two interlocking boards, A CPU board, and an I/O board. The CPU board arrives pre assembled. The I/O board is an easy-to-assemble kit which can be assembled by a beginner with minimal soldering skills in a single evening.
Step 4: Step 1: Placing the Resistors
The resistors are marked with numbers printed on the silkscreen of the I/O board.
Solder them in from the bottom side of the board.
We'll be using 5 different resistors in this build.
- 10k resistors (Brown, black, orange)
- 1k1 resistors (Brown, brown, red)
- 100ohm resistors (Brown, black, brown)
- 240ohm resistors (Red, yellow, black)
- 470ohm resistors (Yellow, violet, brown)
The board shown in this picture is Revision E. Revision G "RevG" of this board has an additional three 120ohm resistors which have been added to the right of the row of resistors behind the VGA connector. This upgrade improves the color count from 48 to 64 colors. An optional SRAM (23K256) socket has also been added. If an SRAM chip is detected 32K of additional "extended" memory is available to BASIC using PEEK/POKE commands.
Step 5: Step 2: Creating the Audio Circuit.
- Insert the two 1k1 resistors (Brown, brown, red)
- Insert the two caps at C4 and C5.
- Insert the two electrolytic caps at C2 & C3.
Important! The two electrolytic caps must be inserted with proper orientation. The negative side of each cap should be facing away from the plus sign on the board silk screen. Follow the image below and you'll be fine.
Step 6: Step 3: Adding the Ports
- Insert the VGA connector and solder.
- Insert the PS/2 keyboard connector and solder.
- Insert the Audio Jack and solder.
If the jacks are loose and want to fall out when you flip the board over,
simply use a piece of scotch tape to hold them in position while you are soldering.
Step 7: Step 4: Adding the 40 Pin Connector
Step 4 in assembly is inserting and soldering the 40pin connector.
The next step will install the 40pin connector which connects the I/O board to the CPU board.
An easy way to do this is to insert the 40pin connector into the CPU board as shown in the picture,
then place the top board in place and solder. You may have to hold onto the board to make the first couple of connections.
Step 8: Step 5: Install the MicroSD Header
The microSD module comes with pin headers to create the 4-pin (Do,Clk,Di,Cs) and 2-pin (V33,Gnd) connections required by the project. There are two rows of each on the module (see picture) and either row will work just fine. I chose the ones closest to the silver socket on the module for mine. Once you've soldered the pins into the module, the whole module will plug in the six pin holes behind the VGA connection and rest on top of the resistors.
- Insert the 2 pin headers into either of rows on the microSD card and solder them into place.
- Insert the assembled microSD into the I/O board and solder it into place.
- Cut the long pins on the bottom of the board when finished.
The microSD header provides us the "mass storage" for our Pocket Mini Computer.
Old timers will remember using 5.25 floppy disks and some seniors will remember paper tape!
You'll want a 2gb microSD card to take advantage of this option.
You don't have to install this for BASIC to work, but you will want it to LOAD and SAVE files.
Step 9: Installing BASIC Firmware
Congratulations! You've assembled you own "old school" Pocket Mini Computer!
Now it's time to install BASIC on it!
Download all of the files from:
Using your PC, copy the two files, basic.bin and basedit.bin to the 2gb microSD card.
The additional files are the source code to both BASIC (already loaded on the CPU board) and it's full screen editor. These files are MIT licensed and are free for you to modify and distribute.
Step 10: Using the Pocket Mini Computer
Time to play!
Connect your Pocket Mini Computer to a standard VGA monitor, a PC keyboard, (Speakers & Wii Classic Controller if you have them!)
Connect the USB cable and power supply to power it up!
You should see a boot screen like the one pictured.
Step 11: Your First BASIC Program.
If you grew up in the 90's you might have never had the opportunity to program in BASIC on an early computer. If you are a few years older, then you'll probably remember BASIC.
BASIC stands for B(eginner's) A(ll-purpose) S(ymbolic) I(nstruction) C(ode).
In the 70s, 80s and early 90s, all computers come with BASIC built-right-in and simply turning them on meant that you were ready to start using your computer within 2 seconds! (My how things have changed.)
See the READY. prompt? Good! You are "Ready" to type in your first BASIC program!
Type the following and press ENTER after each line.
10 PRINT "HELLO WORLD!"
20 GOTO 10
Now type RUN and press ENTER.
Step 12: Your Second BASIC Program
So you've got a bunch of HELLO WORLD's scrolling down the screen.
Hit the ESC key (the break key) to make it stop.
Type NEW and press ENTER. It's time to type into something a little more interesting.
You'll need to grab a Wii Classic or Wii ClassicPro Controller for this program. Plug it in and reset the power on your mini computer.
Type each line below and press ENTER after each one.
10 REM ** Wii Controlled Drawing in BASIC **
15 COLOR 63,0
60 REM ** START OF LOOP **
70 IF JOY = 64 THEN X=X+1
80 IF JOY = 256 THEN X=X-1
90 IF JOY = 2048 THEN C=C+10
100 IF JOY= 128 THEN Y=Y-1
110 IF JOY= 32 THEN Y=Y+1
200 PLOT X,Y,C
210 GOTO 60
Type RUN and press ENTER.
Draw on the screen with the controller's DPAD. Change colors with the A button.
The BASIC included on your Pocket Mini Computer is fully featured!
Be sure and read the BASIC Manual.pdf for all of it's features!
Several example programs have been published here, to give you an idea of power contained in the BASIC. Controlling and reading external I/O, playing music on a SID-like synthesizer, and even redefining characters to create graphics are just a few of the highlights the available command-set.
Step 13: More Cool Programs!
Because your Pocket Mini Computer is based on the Parallax Propeller CPU, you can run other binary programs as well!
Ready to go further? Check out this "User's Guide" to the Pocket Mini Computer
Grab a few programs from this archive!
New: A Support forum specific to programming and customizing the Pocket Mini Computer:
Your Pocket Mini Computer can be programmed in C, Spin, and Assembly. To find out more about the processor powering your machine visit the following forums and websites:
Parallax Propeller Forums
We have a be nice policy.
Please be positive and constructive.