IEEE Spectrum - North American - March 2015 - 24

24

|

MAr 2015

|

NorTH AMerIcAN

|

eLF In a tIn

a CoSMaC SQUeeZe: this remake
of the 1976 Cosmac elf uses the same
Cdp1802 processor [top] and a strippeddown version of the front panel found on
early micros [second photo from top]. the
processor and panel board are sandwiched
together [third photo]. the computer is
externally powered: I used an arduino as a
5-volt regulated power supply [bottom].

sPecTruM.Ieee.orG

nents, you can install a second RAM chip
or EEPROM. These chips would make boot
loaders and other code permanently available to you. Hart has also included a hefty
capacitor that can maintain the contents of
the RAM chip for several hours.
Squeezing the Elf into a form factor that
can fit inside an Altoids tin means that assembly is a pretty fiddly operation (although most
of the difficulties I had were due to insanely
bad luck rather than Hart's design). And programming software more than a few dozen
bytes long is tedious and error prone.
Fortunately, as of a hardware revision from
last February, the Membership Card now
includes improved support for serial communications, which allows you to load programs
from, and communicate with, a host computer
much as you would with an Arduino.
There are two wrinkles: First, you must
decide in advance if you want to use "TTL"
voltage levels for the serial interface (which
works with many serial-to-USB adapters)
or "RS-232" levels (for interfacing with the
serial ports found on older PCs). The circuitry is slightly different for each. Second,
you'll have to provide your own software to
handle the serial interface (this is where
the ability to install an EEPROM comes in
handy). Fortunately, you can get lots of help
and advice on this-and many other matters related to the Membership Card and
the 1802-on Hart's website as well as on
the pages of Retrotechnology.com.
As I don't have an EEPROM burner, I'm
currently working on an Arduino-based
interface that will connect via the parallel
port provided by the front panel. The goal
is to duplicate the functions of the original
hexadecimal keypad and display while also
allowing longer programs to be uploaded
from a PC, but this will have to be the subject
of a follow-up article. For now I've contented
myself with toggling in some of the sample
programs available for the Elf, including a few
from the original series of articles in Popular
Electronics that introduced the computer
to the world. One of these is ETOPS-256,
a 32-byte-long operating system. It's not
exactly a sophisticated OS, but it is the only
one I can say I have the pleasure of fully
understanding. -Stephen CaSS

from top: stephen cAss (3); rAndi Klett

of external devices, such as serial interfaces
or loudspeakers. Connecting the Q output
to a speaker and turning it on and off at the
right frequencies generates musical tones.
So the Elf was popular among synthesized
music pioneers, as demonstrated by the
Elf's prominence at the First Philadelphia
Computer Music Festival, in 1979.
The 1802 also features four special input
pins. The state of these pins can be read and
branched upon using a single instruction
apiece, greatly simplifying the physical circuitry and software required to accept input
from peripherals. Another handy quirk of the
1802 is that its clock speed can be dynamically adjusted, from about 1.8 megahertz
(in the case of the Membership Card) right
down to zero. Stopping the clock doesn't
cause the processor to reset, and the clock
can be restarted without the 1802 missing a beat. At low speeds the 1802 needs
little voltage and draws only a tiny amount
of power. These features should make the
1802 of interest to anyone who needs a reliable embedded controller that could potentially be run on a small solar cell.
The standard Membership Card Kit, from
Hart, costs US $79-I paid an extra $10 for
a version that includes a cover for the kit's
front panel. Hart also sells a bare-bones
printed circuit board without any components, but buying the components with the
kit means getting an 1802 processor without the hassle of dealing with resellers on
eBay. (Intersil, the current manufacturer
of 1802 processors, sells only a few thousand military-spec versions a year, at $124
apiece, bulk orders only.)
The kit takes the form of two interconnected boards sandwiched together. The
bottom board is actually a complete computer that holds the 1802, system memory, and some supporting circuitry. The
top board is the "front panel" and holds the
toggle switches and LEDs used for input
and output, as well as a power socket and
a 25-pin socket. The latter can be used to
connect the kit to a PC parallel port.
The bottom board can function without
the front panel. It comes equipped with
a 32-kilobyte static RAM chip, but if you
buy some additional third-party compo-


http://www.Retrotechnology.com http://sPecTruM.Ieee.orG

Table of Contents for the Digital Edition of IEEE Spectrum - North American - March 2015

Contents
IEEE Spectrum - North American - March 2015 - Cover1
IEEE Spectrum - North American - March 2015 - Cover2
IEEE Spectrum - North American - March 2015 - 1
IEEE Spectrum - North American - March 2015 - 2
IEEE Spectrum - North American - March 2015 - Contents
IEEE Spectrum - North American - March 2015 - 4
IEEE Spectrum - North American - March 2015 - 5
IEEE Spectrum - North American - March 2015 - 6
IEEE Spectrum - North American - March 2015 - 7
IEEE Spectrum - North American - March 2015 - 8
IEEE Spectrum - North American - March 2015 - 9
IEEE Spectrum - North American - March 2015 - 10
IEEE Spectrum - North American - March 2015 - 11
IEEE Spectrum - North American - March 2015 - 12
IEEE Spectrum - North American - March 2015 - 13
IEEE Spectrum - North American - March 2015 - 14
IEEE Spectrum - North American - March 2015 - 15
IEEE Spectrum - North American - March 2015 - 16
IEEE Spectrum - North American - March 2015 - 17
IEEE Spectrum - North American - March 2015 - 18
IEEE Spectrum - North American - March 2015 - 19
IEEE Spectrum - North American - March 2015 - 20
IEEE Spectrum - North American - March 2015 - 21
IEEE Spectrum - North American - March 2015 - 22
IEEE Spectrum - North American - March 2015 - 23
IEEE Spectrum - North American - March 2015 - 24
IEEE Spectrum - North American - March 2015 - 25
IEEE Spectrum - North American - March 2015 - 26
IEEE Spectrum - North American - March 2015 - 27
IEEE Spectrum - North American - March 2015 - 28
IEEE Spectrum - North American - March 2015 - 29
IEEE Spectrum - North American - March 2015 - 30
IEEE Spectrum - North American - March 2015 - 31
IEEE Spectrum - North American - March 2015 - 32
IEEE Spectrum - North American - March 2015 - 33
IEEE Spectrum - North American - March 2015 - 34
IEEE Spectrum - North American - March 2015 - 35
IEEE Spectrum - North American - March 2015 - 36
IEEE Spectrum - North American - March 2015 - 37
IEEE Spectrum - North American - March 2015 - 38
IEEE Spectrum - North American - March 2015 - 39
IEEE Spectrum - North American - March 2015 - 40
IEEE Spectrum - North American - March 2015 - 41
IEEE Spectrum - North American - March 2015 - 42
IEEE Spectrum - North American - March 2015 - 43
IEEE Spectrum - North American - March 2015 - 44
IEEE Spectrum - North American - March 2015 - 45
IEEE Spectrum - North American - March 2015 - 46
IEEE Spectrum - North American - March 2015 - 47
IEEE Spectrum - North American - March 2015 - 48
IEEE Spectrum - North American - March 2015 - 49
IEEE Spectrum - North American - March 2015 - 50
IEEE Spectrum - North American - March 2015 - 51
IEEE Spectrum - North American - March 2015 - 52
IEEE Spectrum - North American - March 2015 - 53
IEEE Spectrum - North American - March 2015 - 54
IEEE Spectrum - North American - March 2015 - 55
IEEE Spectrum - North American - March 2015 - 56
IEEE Spectrum - North American - March 2015 - 57
IEEE Spectrum - North American - March 2015 - 58
IEEE Spectrum - North American - March 2015 - 59
IEEE Spectrum - North American - March 2015 - 60
IEEE Spectrum - North American - March 2015 - 61
IEEE Spectrum - North American - March 2015 - 62
IEEE Spectrum - North American - March 2015 - 63
IEEE Spectrum - North American - March 2015 - 64
IEEE Spectrum - North American - March 2015 - 65
IEEE Spectrum - North American - March 2015 - 66
IEEE Spectrum - North American - March 2015 - 67
IEEE Spectrum - North American - March 2015 - 68
IEEE Spectrum - North American - March 2015 - 69
IEEE Spectrum - North American - March 2015 - 70
IEEE Spectrum - North American - March 2015 - 71
IEEE Spectrum - North American - March 2015 - 72
IEEE Spectrum - North American - March 2015 - 73
IEEE Spectrum - North American - March 2015 - 74
IEEE Spectrum - North American - March 2015 - 75
IEEE Spectrum - North American - March 2015 - 76
IEEE Spectrum - North American - March 2015 - Cover3
IEEE Spectrum - North American - March 2015 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1217
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1117
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1017
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0917
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0817
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0717
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0617
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0517
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0417
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0317
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0217
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0117
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1216
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1116
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1016
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0916
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0816
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0716
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0616
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0516
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0416
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0316
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0216
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0116
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1215
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1115
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1015
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0915
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0815
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0715
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0615
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0515
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0415
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0315
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0215
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0115
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1214
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1114
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1014
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0914
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0814
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0714
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0614
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0514
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0414
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0314
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0214
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0114
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1213
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1113
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1013
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0913
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0813
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0713
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0613
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0513
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0413
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0313
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0213
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0113
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1212
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1112
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1012
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0912
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0812
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0712
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0612
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0512
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0412
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0312
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0212
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0112
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1211
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1111
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1011
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0911
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0811
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0711
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0611
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0511
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0411
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0311
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0211
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0111
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1210
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1110
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1010
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0910
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0810
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0710
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0610
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0510
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0410
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0310
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0210
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0110
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1209
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1109
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1009
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0909
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0809
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0709
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0609
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0509
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0409
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0309
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0209
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0109
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1208
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1108
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1008
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0908
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0808
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0708
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0608
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0508
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0408
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0308
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0208
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0108
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1207
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1107
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1007
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0907
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0807
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0707
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0607
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0507
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0407
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0307
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0207
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0107
https://www.nxtbookmedia.com