3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Robot Brain: Build a single board computer in an evening

Robot Brain: Build a single board computer in an evening
Run out of memory on your Picaxe or Arduino? But a PC is overkill for the job? Take a look at this open source single board computer that can be programmed in languages like C, Basic, Forth, Pascal, or Fortran.

This board uses inexpensive ICs and deliberately uses big chips so it is easy to solder. It uses an operating system called CPM running on a Z80, which was popular in the late 1970s to mid 1980s. As a result, there is at least a gigabyte of software available including programming languages, spreadsheet programs and word processors. CPM is a text based operating system and is a simple version of DOS.

This board is perfect if you are building that highly complex robot or home automation system and keep finding that single chip computers like pics, arduinos and atmegas just don't have the memory.

Modern technology means that hard drives and floppy drives can exist on single memory chips, and computers that used to need a three phase power supply can now be emulated on a board powered by batteries.

A number of N8VEM boards are being built all over the world by a group of friendly enthusiasts http://groups.google.com.au/group/n8vem

Boards are an open source design, and you can build your own or buy one from an enthusiast in the US at cost price ($20). Eproms can be purchased pre-programmed or you can program your own.

Let's put one together and see what it can do...

 
Remove these adsRemove these ads by Signing Up
 

Step 1Join the Google Group

Join the Google Group
You can browse the group http://groups.google.com.au/group/n8vem but if you send a request to join the group then you can contribute to the discussion. There is a library of files and lots of pictures of working boards.

I sent a message to the group a few weeks ago and asked to join. I ordered a board and it arrived a week later, which is pretty quick from the US to Australia.

I didn't have many of the parts, so I got the parts list from here http://n8vem.googlegroups.com/web/TestPrototype_BOM_PART-LIST.lst?gda=6DMrhVQAAABRoI8ydU505jGCwGWcAnRLVYTZaCdyJias028kLbDjM7mHeIlRNZNuWyWm5kKNAJr2D8gD3ctlIYKczaAghgqdUwk_6Qi3BU8HCN0q6OYwM6JXPqrFQS5SIfKND7QsaYY

Quite a few stores have the parts, including Digikey, Jameco and Futurlec. All the logic chips are specified as LS parts. LS is a bit old school and the chips use more power and run warm. I substituted all the LS chips for the more modern HCT range. HCT are directly compatible but use far less power. Similarly, I went for a CMOS Z80, a CMOS UART (16C550) and a CMOS input/output chip (82C55).

The board arrived about the same time as the parts, and it was time to start soldering.
« Previous StepDownload PDFView All StepsNext Step »
36 comments
May 25, 2011. 4:05 PMtinker234 says:
nice wow
Apr 11, 2011. 12:27 PMetopsirhc says:
so where can u actually find 1 to buy in kit or completed , and how many digital and analog I/O pins can u use for it ? *hoping for more than the audrino mega*
Feb 27, 2011. 9:55 AMdjsures says:
wow CPM. that's hilaroius! you don't hear those 3 letters anymore. it sure had its time back in the day. i was really young but was raised in an ultra-geeky family so i was very familiar with CPM. the fact that this board even has a uart is great! i might have to order one and play around with it for fun. :) nice instructable.

also, i think anyone dealing with newer microcontrollers can benefit from understanding the history of CPM. the Z80 may not be a comparable chip. but it sure has its place in history. you need to know the history before you can understand the technicals to move forward :)
Jan 31, 2011. 12:20 AMDouglas W. Goodall says:
Calling CP/M-80 a simple version of DOS is not right.

CP/M-80 existed for quite some time before DOS.

While Gary Kildall at Digital Research was writing CP/M-86,
Tim Patterson at Seattle Computer Products wrote a quick
and dirty copy of CP/M-80 for the 8086 to sell with his 8086
two card set. He called it 86DOS. Later after DRI released
CP/M-86, Tim sold the 86DOS to Bill Gates for $50K, and
subsequently, it became MS-DOS.

So you see, DOS is actually a cluttered up version of CP/M-80.

Aug 6, 2010. 9:52 AMtaurus123 says:
Hey guys Are you really serious??? CPM?? DOS?? Wakeup and review the technology. Why should anyone fool with a dinosaur like this, while you can buy an ARM board for $150? Get real.
Sep 6, 2010. 5:15 PMSaturn V says:
Let's see....
A $20 board that I make and feel a connection to with basic, simple programming
OR 
A $150 boardthat I get from Amazon nd shipped to my house with confusing advanced programming.

Point made.
May 19, 2010. 8:20 PMjlon says:
The link for the ROM image here on step 3 is apparently stale.  Is there a current one?
Feb 3, 2010. 3:59 PMinventerboy says:
 so can i control a robot with any pc with this like a micro controller.or is it just extra memory space
Aug 19, 2008. 9:43 AMKiteman says:
That second link in step 1 is awfully long.

Try making it into a link like this:
[http://n8vem.googlegroups.com/web/TestPrototype_BOM_PART-LIST.lst?gda=6DMrhVQAAABRoI8ydU505jGCwGWcAnRLVYTZaCdyJias028kLbDjM7mHeIlRNZNuWyWm5kKNAJr2D8gD3ctlIYKczaAghgqdUwk_6Qi3BU8HCN0q6OYwM6JXPqrFQS5SIfKND7QsaYY this]
Which looks like this.
Oct 22, 2009. 1:07 PMkillersquirel11 says:
or just go into the edit step, type the word (s), select them, and hit link then paste the link.
Apr 19, 2009. 3:06 AMDerin says:
Or just use this link:
http://tinyurl.com/d4wanr
Aug 19, 2008. 10:38 AMPKM says:
Your link text got cut off there, oh cruel irony :)

James: Kiteman means
[http://n8vem.googlegroups.com/etcetera Text of the link]
ends up like this: Google or this: your very long link
Oct 21, 2009. 12:12 PMkillersquirel11 says:
One thing which I think is worth mentioning is when you order from digikey, try to wait until you have multiple projects to buy stuff for.  Shipping is generally the biggest cost there so by ordering as much as possible at once you will cut down on the money you pay for shipping

Also, another, more powerful option is to build a Mini ITX computer (pulls ~35-40W) which can run OSes like Linux and/or Windows (with probably easier setup and programming).
Mar 4, 2009. 4:08 PMbaneat says:
very nice, but here's the question we all want to know. can it run crysis??
Mar 4, 2009. 5:25 PMDr_Acula says:
Err - not as such. But that does look a fun game. Looks like something to exercise my new graphics card - I might check it out.
Dec 31, 2008. 3:05 AMszlatyka says:
I'm sure I'll build one in the next year XD. I have already put a Primo togehter (it's a hungarian microcomputer from the 70's, based on the East German Z80-clone U880), so this will be fun too!
Dec 23, 2008. 4:57 AMseabeepirate says:
Pretty impressive.
Sep 28, 2008. 1:55 PMiamdenteddisk says:
uber cool,I love the z80 processer especialy for asm, some where here I got the original Cpm disc set all 6..its been about 10year since I used cpm. how much was total project for the computer? I got 2eprom programers 1 a new universal and an old stagg PPz gang programer that was used on the original cpm and z80'S I use it to make cartriges for C64-128 robots I build but my love is the ti86 calculator for its z80ASM I got to know how similar they are? you got to be canadian because that chineese eraser you show only came in 240V unless thers a new version? im intrested cause mine just shot its wad a few days ago..
Sep 29, 2008. 1:15 AMiamdenteddisk says:
I did join the group but didnt have much time to "snoop". I will be going back today to to find as much info as I can. You might want to look into eeproms, "electronicly eraseable" for prototypeing it is a little more eficenet because of wait time also if you bring your erase time for eproms up to 45min you risk less chance of corruption. I dealt with that alot on a non working programs with flawless code is hard to figure out/debug but corruption is possible by not fully eraseing the chip from previous program, causeing strange checksums. Very informitive you are james, thats in the budget and my main concern for timeing is interface as devices like cdrw,hdd,usb are the common goals of most builders but I also require interface with the phillips "pcf8574" I2c EXPANDER and I know it is possible with most z80's and you say it has RTC builtin so if it is variable the computer rocks in my book I want 10 of them!
Sep 17, 2008. 7:06 AMmarcwolf says:
Very nice little system.. And powerful too. Z80.. I remember those from my CPM days.. Had a Kaypro-2, and a TRS-80 Model 1 Level 2 :> :> Definately something to keep in mind for future projects. Dave
Aug 20, 2008. 5:04 AMll.13 says:
Nice Instructable!
I really want to get into basic computer electronics, probably start with an Arduino. :-)
Aug 19, 2008. 8:23 AMPKM says:
This is really cool! The board reminds me of the inside of my old BBC, with those big chunky non-SMD chips everywhere. I appreciate the hands-on attitude to "just because it's technically a complete computer with an operating system and programming languages doesn't mean we can't solder anything" as well :) IDK why but I have a massive thing about devices with this level of technology- imagine this board with a character LCD on the TTY output, and maybe a packet radio connection for ghetto long-distance WLAN, and you'll see what I mean. It might be my inner steampunk coming out- it's got just enough potential to be able to do almost anything, but isn't so complex and abstract as to resemble magic like modern computers do. Anyway- thanks for indulging my retrotechnofetishism!
Aug 19, 2008. 4:59 PMmycroftxxx says:
The book "Making Things Talk" is a good resource for radio protocols.
Aug 19, 2008. 4:51 PMsedition says:
Great instructible! I'm gonna have put this on my list of weekend projects.
Aug 19, 2008. 3:21 PMjdege says:
My first computer was a Heathkit H8 - 8080 processor, running at 2MHz. S50 bus, 4k RAM, expandable to 16K.

And yes, it ran CPM. Or it would have, had I ever managed to get it running.
Aug 19, 2008. 1:16 PMongissim says:
Cool, it's similar to the 6502 computer that I'm making an instructable for.
Aug 19, 2008. 5:52 AMBongmaster says:
looks fun :3

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
16
Followers
4
Author:James Moxham
Dr James Moxham is a general medical practitioner in Adelaide, Australia. His interests include general family medicine, medical politics, microcontrollers and tending a rose garden. He lives on a pro...
more »