The Cardboard Computer

Every time we say “We’ve seen it all”, along comes a project that knocks us off. 60 year old [Mark Nesselhaus] likes to learn new things and he’s never worked with hardware at the gate level. So he’s building himself a 4-bit Computer, using only Diode-Transistor Logic. He’s assembling the whole thing on “card board” perf-board, with brass tacks for pads. Why — because he’s a thrifty guy who wants to use what he has lying around. Obviously, he’s got an endless supply of cardboard, tacks and Patience. The story sounds familiar. It started out as a simple 4-bit full adder project and then things got out of hand. You know he’s old school when he calls his multimeter an “analog VOM”!

It’s still work in progress, but he’s made a lot of it in the past year. [Mark] started off by emulating the 4-bit full adder featured on Simon Inns’ Waiting for Friday blog. This is the ALU around which the rest of his project is built. With the ALU done, he decided to keep going and next built a 4-to-16 line decoder — check out the thumbnail image to see the rats nest of jumbled wires. Next on his list were several flip flops — R-S, J-K and D types, which would be useful as program counters. This is when he bumped into problems with signal levels, timing and triggering. He decided to allow himself the luxury of adding one IC to his build — a 555 based clock generator. But he still needed some pulse shaping circuitry to make it work consistently.

from right, Input, +5V, nc, gnd
LED Driver : from left, Gnd, NC, +5V, Input

[Mark] also built a finite-state-machine sequencer based on the work done by Rory Mangles TinyTim project. He finished building some multiplexers and demultiplexers, and it appears he may be using a whole bank of 14 wall switches for address, input and control functions. For the output display, he assembled a panel using LED’s recovered from a $1 Christmas light string. Something seems amiss with his LED driver, though — 2mA with LED on and >2.5mA with LED off. The LED appears to be connected across the collector and emitter of the PNP transistor. Chime in with your comments.

This build seems to be shaping along the lines of the Megaprocessor that we’ve swooned over a couple of times in the past. Keep at it, [Mark]!

Continue reading “The Cardboard Computer”

Building Transistors With Transistors

Since the 1940s when the first transistor was created, transistors have evolved from ornery blocks of germanium wrangled into basic amplifiers into thousands and thousands of different devices made of all kinds of material that make any number of electrical applications possible, cheap, and reliable. MOSFETs can come in at least four types: P- or N-channel, and enhancement or depletion mode. They also bear different power ratings. And some varieties are more loved than others; for instance, depletion-mode, N-channel power MOSFETs are comparatively scarce. [DeepSOIC] was trying to find one before he decided to make his own by hacking a more readily available enhancement-mode transistor.

For those not intimately familiar with semiconductor physics, the difference between these two modes is essentially the difference between a relay that is normally closed and one that’s normally open. Enhancement-mode transistors are “normally off” and are easy to obtain and (for most of us) useful for almost all applications. On the other hand, if you need a “normally on” transistor, you will need to source a depletion mode transistor. [DeepSOIC] was able to create a depletion mode transistor by “torturing” the transistor to effectively retrain the semiconductor junctions in the device.

If you’re interested in semiconductors and how transistors work on an atomic level, [DeepSOIC]’s project will keep you on the edge of your seat. On the other hand, if you’re new to the field and looking to get a more basic understanding, look no further than these DIY diodes.

Testing The Speed-of-Light Conspiracy

There are a number of ways to measure the speed of light. If you’ve got an oscilloscope and a few spare parts, you can build your own apparatus for just a few bucks. Don’t believe the “lies” that “they” tell you: measure it yourself!

OK, we’re pretty sure that conspiracy theories weren’t the motivation that got [Michael Gallant] to build his own speed-of-light measurement rig, but the result is a great writeup, and a project that includes one of our favorite circuits, the avalanche transistor pulse generator.

setupThe apparatus starts off with a very quickly pulsed IR LED, a lens, and a beam-splitter. One half of the beam takes a shortcut, and the other bounces off a mirror that is farther away. A simple op-amp circuit amplifies the resulting pulses after they are detected by a photodiode. The delay is measured on an oscilloscope, and the path difference measured with a tape measure.

If you happen to have a photomultiplier tube in your junk box, you can do away with the amplifier stage. Or if you have some really fast logic circuits, here’s another project that might interest you. But if you just want the most direct measurement we can think of that’s astoundingly accurate for something lashed up on breadboards, you can’t beat [Michael]’s lash-up.

Oh and PS: He got 299,000 (+/- 5,000) km/sec.

Books You Should Read: Basic Electronics

I learned some basic electronics in high school physics class: resistors, capacitors, Kirchhoff’s law and such, and added only what was required for projects as I did them. Then around 15 years ago I decided to read some books to flesh out what I knew and add to my body of knowledge. It turned out to be hard to find good ones.

The electronics section of my bookcase has a number of what I’d consider duds, but also some gems. Here are the gems. They may not be the electronics-Rosetta-Stone for every hacker, but they are the rock on which I built my church and well worth a spot in your own reading list.

Grob’s Basic Electronics

Grob's Basic Electronics 12th Edition
Grob’s Basic Electronics 12th Edition

Grob’s Basic Electronics by Mitchel E Schultz and Bernard Grob is a textbook, one that is easy to read yet very thorough. I bought mine from a used books store. The 1st Edition was published in 1959 and it’s currently on the 12th edition, published in 2015. Clearly this one has staying power.

I refer back to it frequently, most often to the chapters on resonance, induction and capacitance when working on LC circuits, like the ones in my crystal radios. There are also things in here that I couldn’t find anywhere else, including thoroughly exhaustive online searches. One such example is the correct definitions and formulas for the various magnetic units: ampere turns, field intensity, flux density…

I’d recommend it to a high school student or any adult who’s serious about knowing electronics well. I’d also recommend it to anyone who wants to reduce frustration when designing or debugging circuits.

You can find the table of contents here but briefly it has all the necessary introductory material on Ohm’s and Kirchhoff’s laws, parallel and series circuits, and so on but to give you an idea of how deep it goes it also has chapters on network theorems and complex numbers for AC circuits. Interestingly my 1977 4th edition has a chapter on vacuum tubes that’s gone in the current version and in its place is a plethora of new ones devoted to diodes, BJTs, FETs, thyristors and op-amps.

You can also do the practice problems and self-examination, just to make sure you understood it correctly. (I sometimes do them!) But also, being a textbook, the newest edition is expensive. However, a search for older but still recent editions on Amazon turns up some affordable used copies. Most of basic electronics hasn’t changed and my ancient edition is one of my more frequent go-to books. But it’s not the only gem I’ve found. Below are a few more.

Continue reading “Books You Should Read: Basic Electronics”

Retrotechtacular: Old Transistors

1024px-Regency_transistor_radio
Regency TR-1

Transistors have come a long way. Like everything else electronic, they’ve become both better and cheaper. According to a recent IEEE article, a transistor cost about $8 in today’s money back in the 1960’s. Consider the Regency TR-1, the first transistor radio from TI and IDEA. In late 1954, the four-transistor device went on sale for $49.95. That doesn’t sound like much until you realize that in 1954, this was equivalent to about $441 (a new car cost about $1,700 and a copy of life magazine cost 20 cents). Even at that price, they sold about 150,000 radios.

Part of the reason the transistors cost so much was that production costs were high. But another reason is that yields were poor. In some cases, 4 out of 5 of the devices were not usable. The transistors were not that good even when they did work. The first transistors were germanium which has high leakage and worse thermal properties than silicon.

socketEarly transistors were subject to damage from soldering, so it was common to use an alligator clip or a specific heat sink clip to prevent heat from reaching the transistor during construction. Some gear even used sockets which also allowed the quick substitution of devices, just like the tubes they replaced.

When the economics of transistors changed, it made a lot of things practical. For example, a common piece of gear used to be a transistor tester, like the Heathkit IT-121 in the video below. If you pulled an $8 part out of a socket, you’d want to test it before you spent more money on a replacement. Of course, if you had a curve tracer, that was even better because you could measure the device parameters which were probably more subject to change than a modern device.

Of course, germanium to silicon is only one improvement made over the years. The FET is a fundamentally different kind of transistor that has many desirable properties and, of course, integrating hundreds or even thousands of transistors on one integrated circuit revolutionized electronics of all types. Transistors got better. Parameters become less variable and yields increased. Maximum frequency rises and power handling capacity increases. Devices just keep getting better. And cheaper.

A Brief History of Transistors

The path from vacuum tube to the Regency TR-1 was a twisted one. Everyone knew the disadvantages of tubes: fragile, power hungry, and physically large, although smaller and lower-power tubes would start to appear towards the end of their reign. In 1925 a Canadian physicist patented a FET but failed to publicize it. Beyond that, mass production of semiconductor material was unknown at the time. A German inventor patented a similar device in 1934 that didn’t take off, either.

Replica-of-first-transistor
Replica of the First Transistor

Bell labs researchers worked with germanium and actually understood how to make “point contact” transistors and FETs in 1947. However, Bell’s lawyers found the earlier patents and elected to pursue the conventional transistor patent that would lead to the inventors (John Bardeen, Walter Brattain, and William Shockley) winning the Nobel prize in 1956.

Two Germans working for a Westinghouse subsidiary in Paris independently developed a point contact transistor in 1948. It would be 1954 before silicon transistors became practical. The MOSFET didn’t appear until 1959.

Of course, even these major milestones are subject to incremental improvements. The V channel for MOSFETs, for example, opened the door for FETs to be true power devices, able to switch currents required for motors and other high current devices.

Continue reading “Retrotechtacular: Old Transistors”

Books You Should Read: Instruments Of Amplification

Psst… Wanna make a canning jar diode? A tennis ball triode? How about a semiconductor transistor? Or do you just enjoy sitting back and following along an interesting narrative of something being made, while picking up a wealth of background, tips and sparking all sorts of ideas? In my case I wanted to make a cuprous oxide semiconductor diode and that lead me to H.P. Friedrichs’ wonderful book Instruments of Amplification. It includes such a huge collection of amplifier knowledge and is a delight to read thanks to a narrative style and frequent hands-on experiments.

Friedrichs first authored another very popular book, The Voice of the Crystal, about making crystal radios, and wanted to write a second one. For those not familiar with crystal radios, they’re fun to make radios that are powered solely by the incoming radio waves; there are no batteries. But that also means the volume is low.

Readers of that book suggested a good follow-up would be one about amplifier circuits, to amplify the crystal radio’s volume. However, there were already an abundance of such books. Friedrichs realized the best follow-up would be one on how to make the amplifying components from scratch, the “instruments of amplification”.  It would be unique and in the made-from-scratch spirit of crystal radios. The book, Instruments of Amplification was born.

The Experiments

Microphonic relays
Microphonic relays, via H.P. Friedrichs Homepage

The book includes just the right amount of a history, giving background on what an amplifier is and how they first came in the electrical world. Telegraph operators wanted to send signals over greater and greater distances and the solution was to use the mix of electronics and mechanics found in the telegraph relay. This is the springboard for his first project and narrative: the microphonic relay.

The microphonic relay example shown on the right places a speaker facing a microphone; the speaker is the input with the microphone amplifying the output. He uses a carbon microphone salvaged from an old telephone headset, housing everything in an enclosure of copper pipe caps, steel bar stock, nuts and bolts mounted on an elegant looking wood base. All the projects are made with simple parts, with care, and they end up looking great.

Continue reading “Books You Should Read: Instruments Of Amplification”

Transistor Logic Clock Has 777 Transistors

Sometimes, the parts list says it all. 777 transistors, 1223 resistors, 136 LEDs, 455 crimp connectors, 41 protoboards and 500 grams of solder. That’s what went into this transistor logic clock build.

While additional diodes and capacitors were tolerated in this project, a consequent implementation of a discrete transistor logic clock, of course, does not contain a quarz oscillator. Instead, it extracts its clock signal from the mains frequency in its power supply. Because mains frequency is slow, it can be stepped down to a clock-applicable 1 Hz by a simple counter unit which already spreads its discrete transistors across 4 protoboards.

Continue reading “Transistor Logic Clock Has 777 Transistors”