Building Video Pong With Discrete Components

Pong is a classic from the very dawn of the video game era. Recreating it remains a popular exercise for those new to coding. However, its simple logic makes this game particularly suited to an all-hardware build; something which [Glen] tackles with aplomb.

Not content to take the easy way out, [Glen] went for a particularly hardcore method of construction. The game uses absolutely zero integrated circuits in its construction. Instead, it relies upon the services of 431 bipolar transistors, 6 JFETs and 826 diodes. Everything is laced together on protoboard, connected with a neatly organised nest of colored wires. Schematics are available for the curious.

It’s a full featured build, too. Video output is in color, scores are displayed at the top of the screen, and there’s even stereo panning for the sound effects. It just goes to show what some humble components can do when put to work in the right way. We’ve seen some of [Glen]’s work before too, for example in this op-amp bouncing ball device. Video after the break.

Continue reading “Building Video Pong With Discrete Components”

Hackaday Links Column Banner

Hackaday Links: August 25, 2019

Doesn’t the Z-axis on 3D-printers seem a little – underused? I mean, all it does is creep up a fraction of a millimeter as the printer works through each slice. It would be nice if it could work with the other two axes and actually do something interesting. Which is exactly what’s happening in the nonplanar 3D-printing methods being explored at the University of Hamburg. Printing proceeds normally up until the end, when some modifications to Slic3r allow smooth toolpaths to fill in the stairsteps and produce a smooth(er) finish. It obviously won’t work for all prints or printers, but it’s nice to see the Z-axis finally pulling its weight.

If you want to know how something breaks, best to talk to someone who looks inside broken stuff for a living. [Roger Cicala] from LensRentals.com spends a lot of time doing just that, and he has come to some interesting conclusions about how electronics gear breaks. For his money, the prime culprit in camera and lens breakdowns is side-mounted buttons and jacks. The reason why is obvious once you think about it: components mounted perpendicular to the force needed to operate them are subject to a torque. That’s a problem when the only thing holding the component to the board is a few SMD solder pads. He covers some other interesting failure modes, too, and the whole article is worth a read to learn how not to design a robust product.

In the seemingly neverending quest to build the world’s worst Bitcoin mining rig, behold the 8BitCoin. It uses the 6502 processor in an Apple ][ to perform the necessary hashes, and it took a bit of doing to port the 32-bit SHA256 routines to an 8-bit platform. But therein lies the hack. But what about performance? Something something heat death of the universe…

Contributing Editor [Tom Nardi] dropped a tip about a new online magazine for people like us. Dubbed Paged Out!, the online quarterly ‘zine is a collection of contributed stories from hackers, programmers, retrocomputing buffs, and pretty much anyone with something to say. Each article is one page and is formatted however the author wants to, which leads to some interesting layouts. You can check out the current issue here; they’re still looking for a bunch of articles for the next issue, so maybe consider writing up something for them – after you put it on Hackaday.io, of course.

Tipline stalwart [Qes] let us know about an interesting development in semiconductor manufacturing. Rather than concentrating on making transistors smaller, a team at Tufts University is making transistors from threads. Not threads of silicon, or quantum threads, or threads as a metaphor for something small and high-tech. Actual threads, like for sewing. Of course, there’s plenty more involved, like carbon nanotubes — hey, it was either that or graphene, right? — gold wires, and something called an ionogel that holds the whole thing together in a blob of electrolyte. The idea is to remove all rigid components and make truly flexible circuits. The possibilities for wearable sensors could be endless.

And finally, here’s a neat design for an ergonomic utility knife. It’s from our friend [Eric Strebel], an industrial designer who has been teaching us all a lot about his field through his YouTube channel. This knife is a minimalist affair, designed for those times when you need more than an X-Acto but a full utility knife is prohibitively bulky. [Eric’s] design is a simple 3D-printed clamshell that holds a standard utility knife blade firmly while providing good grip thanks to thoughtfully positioned finger depressions. We always get a kick out of watching [Eric] design little widgets like these; there’s a lot to learn from watching his design process.

Thanks to [JRD] and [mgsouth] for tips.

New Circuits With Old Technology

Before the invention of transistors, vacuum tubes ruled the world. The only way to get amplification or switching (or any electrical control of current) back then was to use tubes. But some tube design limitations were obvious even then. For one, they produce an incredible amount of heat during normal operation, which leads to reliability issues. Tubes were difficult to miniaturize. Thankfully transistors solved all of these issues making vacuum tubes obsolete, but if you want to investigate the past a little bit there are still a few tubes on the market.

[kodera2t] was able to get his hands on a few of these, and they seem to be relatively new. This isn’t too surprising; there are some niche applications where tubes are still used. These have some improvements over their ancestors too, operating at only 30V compared to hundreds of volts for some older equipment. [kodera2t] takes us through a few circuits built with these tubes, from a simple subminiature vacuum tube radio to a more complex reflex radio.

Taking a walk through this history is an interesting exercise, and it’s worth seeing the ways that transistor-based circuits differ from tube-based circuits. If you’re interested enough to move on beyond simple radio circuits, though, you can also start building your own audio equipment with vacuum tubes.

Continue reading “New Circuits With Old Technology”

Help Solve The Single-Transistor Latch Mystery

If you’ve spent any time on hackaday.io, you may have noticed that more than a few denizens of the site are fans of “alternative” electronic logic. Aiming to create digital circuits from such things as relays, vacuum tubes, discrete transistors, and occasionally diodes, they come up with designs that use these components in either antiquated or occasionally new and unexpected ways. This is exactly what [Mark Sherman] has done with his latest project, a single-transistor latch.

If you think every design has to compete with cutting-edge integrated circuits, or even must have an immediate practical application, you might as well stop reading now — and to play on the famous Louis Armstrong quip about jazz, if you have to ask why someone would do such a thing, you’ll never know.

Given that you’ve come this far, you’ll appreciate what [Mark] has come up with. It’s semi-well-known that the collector-emitter junction of a bipolar junction transistor (BJT) can exhibit a negative resistance characteristic when reverse-biased into avalanche breakdown. It’s this principle that allows a single BJT to be used as an ultra-simple LED flasher. [Mark] took this concept and ran with it, creating a single-transistor latch that can store one bit of information. As a bonus — or is it a requirement? — the transistor also drives an LED, so that you can visualize the state. We’ve seen a one-transistor flip-flop before, but that one also required diodes and an AC bias supply. In this new device, none of this is necessary, so it’s a step up according to the unwritten, unspoken, and generally agreed upon rules of the game.

In true hacker fashion, [Mark] came up with a working device without fully understanding exactly how it works.  We, too, are a little mystified at first glance. So, [Mark] is asking for your help in replicating and/or analyzing the circuit. He explains what he has found so far in the video after the break, but the main questions seem to revolve around why the base resistor is required, and why it works with 2N4401s but not 2N2222s.

So, Hackaday, what’s going on here? Sound off in the comments below.

Continue reading “Help Solve The Single-Transistor Latch Mystery”

Fun With Negative Resistance: Jellybean Transistors

The concept of negative resistance has always fascinated me. Of course, a true negative resistance is not possible, and what is meant is a negative differential resistance (NDR). But of course knowing the correct term doesn’t do anything to demystify the topic. Negative resistance sounds like an unusual effect, but it turns out to be relatively common, showing up in places like neon lamps and a number of semiconductor structures. Now’s as good a time as any to dig in and learn more about this common principle.

NDR means a portion of a device’s I/V curve where the current falls with increasing applied voltage. The best-known semiconductor device exhibiting negative resistance is the tunnel diode, also known as the Esaki diode after one of the Nobel-Prize-winning discoverers of the quantum tunneling effect responsible for its operation. These diodes can perform at tremendous speeds; the fastest oscilloscope designs relied on them for many years. As the transistor and other technologies improved, however, these diodes were sidelined for many applications, and new-production models aren’t widely available — a sad state for would-be NDR hackers. But, all hope is not lost.

Rummaging through some old notebooks, I rediscovered an NDR design I came up with in 2002 using two common NPN transistors and a handful of resistors; many readers will already have the components necessary to experiment with similar circuits. In this article, we’ll have a look at what you can do with junkbox-class parts, and in a future article we’ll explore the topic with some real tunnel diodes.

So, let’s see what you can do with a couple of jellybean transistors!

Continue reading “Fun With Negative Resistance: Jellybean Transistors”

Retrotechtacular: How Not To Design With Transistors

Consider the plight of a mid-career or even freshly minted electrical engineer in 1960. He or she was perched precariously between two worlds – the proven, practical, and well-supported world of vacuum tube electronics, and the exciting, new but as yet unproven world of the transistor. The solid-state devices had only started making inroads into electronic products relatively recently, and mass production techniques were starting to drive the cost per unit down enough to start including them in your designs. But, your company has a long history with hot glass and no experience with flecks of silicon. What to do?

To answer that question, you might have turned to this helpful guide, “Tubes and Transistors: A Comparative Guide” (PDF link). The fancy booklet, with a great graphic design that our own [Joe Kim] would absolutely love, was the product of the Electron Tube Information Council, an apparently defunct group representing the interests of the vacuum tube manufacturers. Just reading the introduction of this propaganda piece reveals just how worried companies like RCA, General Electric, and Westinghouse must have been as the 1950s turned into the 1960s. The booklet was clearly aimed directly at engineers and sought to persuade them of the vacuum tube’s continued relevance and long-term viability. They helpfully explain that tubes are a reliable, proven technology that had powered decades of designs, and that innovations such as heaterless cathodes and miniaturization were just around the corner. Transistors, we’re told, suffer from “spread of characteristics” that correctly describes the state of materials engineering of silicon and germanium at the time, a thornier problem than dealing with glass and wires but that they had to know would be solved within a few years.

With cherry-picked facts and figures, the booklet makes what was probably in 1960 a persuasive case for sticking with tubes. But the Electron Tube Information Council was fighting a losing battle, and within a decade of swamping engineers with this book, the industry had largely shifted to the transistor. Careers were disrupted, jobs disappeared, and fortunes were lost, but the industry pressed forward as it always does. Still, it’s understandable why they tried so hard to stem the tide with a book like this. The whole PDF is worth a look, and we’d love to have a hard copy just for nostalgia’s sake.

Thanks to [David Gustafik] for the tip.

Bell Labs, Skunk Works, And The Crowd Sourcing Of Innovation

I’ve noticed that we hear a lot less from corporate research labs than we used to. They still exist, though. Sure, Bell Labs is owned by Nokia and there is still some hot research at IBM even though they quit publication of the fabled IBM Technical Disclosure Bulletin in 1998. But today innovation is more likely to come from a small company attracting venture capital than from an established company investing in research. Why is that? And should it be that way?

The Way We Were

There was a time when every big company had a significant research and development arm. Perhaps the most famous of these was Bell Labs. Although some inventions are inevitably disputed, Bell Labs can claim radio astronomy, the transistor, the laser, Unix, C, and C++ among other innovations. They also scored a total of nine Nobel prizes.

Bell Labs had one big advantage: for many years it was part of a highly profitable monopoly, so perhaps the drive to make money right away was less than at other labs. Also, I think, times were different and businesses often had the ability to look past the next quarter.

Continue reading “Bell Labs, Skunk Works, And The Crowd Sourcing Of Innovation”