Pillaging The Wealth Of Information In A Datasheet

It’s a fair assumption that the majority of Hackaday readers will be used to working with electronic components, they are the life blood of so many of the projects featured here. In a lot of cases those projects will feature very common components, those which have become commoditized through appearing across an enormous breadth of applications. We become familiar with those components through repeated use, and we build on that familiarity when we create our own circuits using them.

All manufacturers of electronic components will publish a datasheet for those components. A document containing all the pertinent information for a designer, including numerical parameters, graphs showing their characteristics, physical and thermal parameters, and some application information where needed. Back in the day they would be published as big thick books containing for example the sheets for all the components of a particular type from a manufacturer, but now they are available very conveniently online in PDF format from manufacturer or wholesaler websites.

A 2N3904 in a TO92 through-hole package
A 2N3904 in a TO92 through-hole package

Datasheets are a mine of information on the components they describe, but sometimes they can be rather impenetrable. There is a lot of information to be presented, indeed when the device in question is a highly integrated component such as a DSP or microprocessor the datasheet can resemble a medium-sized book. We’re sure that a lot of our readers will be completely at home in the pages of a datasheet, but equally it’s a concern that a section of the Hackaday audience will not be so familiar with them and will not receive their full benefit. Thus we’re going to examine and explain a datasheet in detail, and hopefully shed some light on what it contains.

The device whose datasheet we’ve chosen to put under the microscope is a transistor. The most basic building block of active semiconductor circuits, and the particular one we’ve chosen is a ubiquitous NPN signal transistor, the 2N3904. It’s been around for a very long time, having been introduced by Motorola in the 1960s, and has become the go-to device for a myriad circuits. You can buy 2N3904s made by a variety of manufacturers all of whom publish their own data sheets, but for the purposes of this article we’ll be using the PDF 2N3904 data sheet from ON Semiconductor, the spun-off former Motorola semiconductor division. You might find it worth your while opening this document in another window  or printing it out for reference alongside the rest of this article.

Let’s take a look at all the knowledge enshrined in this datasheet, and the engineering eye you sometimes need to assign meaning to those numbers, diagrams, and formulas.

Continue reading “Pillaging The Wealth Of Information In A Datasheet”

Do You Know Rufus Turner?

It is hard to be remembered in the electronics business. Edison gets a lot of credit, as does Westinghouse and Tesla. In the radio era, many people know Marconi and de Forest (although fewer remember them every year), but less know about Armstrong or Maxwell. In the solid-state age, we tend to remember people like Shockley (even though there were others) and maybe Esaki.

If you knew most or all of those names without looking them up, you are up on your electronics history. But do you know the name Rufus Turner?
Continue reading “Do You Know Rufus Turner?”

You Can Have My TIPs When You Pry Them From My Cold, Dead Hands

We’ve seen a growing number of posts and recommendations around the net regarding components, specifically transistors. “Don’t use old parts” they cry,  “Go with newer components.”  You can often find these recommendations on Arduino forums. This all came to a head with a page called “Do Not TIP,” which was linked in the Arduino subreddit.  This page belongs to [Tom Jennings], creator of Fidonet, and one of the early authors of what would become Phoenix BIOS. [Tom] and a few others have been calling for everyone to send their old parts to the landfill – not use them, nor gift them to new experimenters. Get them out of the food chain. No offense to [Tom], but we have to disagree. These parts are still perfectly usable for experienced designers, and have a lot to offer new hardware hackers.

TIP is the part number prefix for a series of power transistors created by Texas Instruments.  In fact, “TIP” stands for Texas Instruments Power. The series was originally released in 1969. Yes, that’s right, 1969. Why are we still using parts designed when man first walked on the moon? The same reason people are still using the 555 timer: they’re simple, they’re easily available, they’re robust, and most of all, they get the job done. The TIP series has been used in thousands of classes, tutorials both online and off, and millions of projects over the years. Much of that documentation is already out there on the internet. The TIP series is also out in the distribution channel – they’ve been used for 40 years. Any retail shop that stocks a few electronics parts will have at least one of the TIP series.

The TIP series aren’t always the best transistors for the job. However, for most hobbyist-designed circuits, we don’t need the best performance, nor the best price – we’re going to use the parts we have on hand. There is always room to improve once you get the basic circuit working.

Continue reading “You Can Have My TIPs When You Pry Them From My Cold, Dead Hands”

Hackaday Prize Entry: From Q To NAND

The apocalypse is coming, and the last time I checked, not many people have a semiconductor fab in their garage. We’ll need computers after the end of the world, and [matseng]’s project for the Hackaday Prize is just that – a framework to build computers out of discrete components.

The apocalyptic spin on this project is slightly exaggerated, but there is a lot someone can learn by building digital devices out of transistors, resistors, and diodes. The building blocks of [matseng]’s computer are as simple as they come: he’s using three resistors, four diodes, and one NPN transistor to build a single NAND gate. These NAND gates can then be assembled into any form of digital logic. You’re never going to get a better visual example of functional completeness.

A project like this must be approached from both the top down and bottom up. To go from a high level to ones and zeros, [matseng] built an assembler and an emulator. Some ideas of what the instruction set will be are laid out in this project log, and for now [matseng] is going for a Harvard architecture with eight registers. It’s a lot of work for a computer that will be limited by how much memory [matseng] can be wired up, but as far as ambition goes, there aren’t many projects in the Hackaday Prize that can match this tiny, huge computer.

The 2015 Hackaday Prize is sponsored by:

Discrete Transistor Computer Is Not Discreet

Every few years, we hear about someone building a computer from first principles. This doesn’t mean getting a 6502 or Z80, wiring it up, and running BASIC. I’m talking about builds from the ground up, starting with logic chips or even just transistors.

[James Newman]’s 16-bit CPU built from transistors is something he’s been working on for a little under a year now, and it’s shaping up to be one of the most impressive computer builds since the days of Cray and Control Data Corporation.

The 10,000 foot view of this computer is a machine with a 16-bit data bus, a 16-bit address bus, all built out of individual circuit boards containing single OR, AND, XOR gates, decoders, multiplexers, and registers.  These modules are laid out on 2×1.5 meter frames, each of them containing a schematic of the computer printed out with a plotter. The individual circuit modules sit right on top of this schematic, and if you have enough time on your hands, you can trace out every signal in this computer.

The architecture of the computer is more or less the same as any 16-bit processor. Three are four general purpose registers, a 16 bit program counter, a stack pointer, and a status register. [James] already has an assembler and simulator, and the instruction set is more or less what you would expect from a basic microprocessor, although this thing does have division and multiplication instructions.

The first three ‘frames’ of this computer, containing the general purpose registers, the state and status registers, and the ALU, are already complete. Those circuits are mounted on towering frames made of aluminum extrusion. [James] already has 32 bytes of memory wired up, with each individual bit having its own LED. This RAM display will be used for the Game of Life simulation once everything is working.

While this build may seem utterly impractical, it’s not too different from a few notable and historical computers. The fastest computer in the world from 1964 to ’69 was built from individual transistors, and had even wider busses and more registers. The CDC6600 was capable of running at around 10MHz, many times faster than the estimated maximum speed of [James]’ computer – 25kHz. Still, building a computer on this scale is an amazing accomplishment, and something we can’t wait to see running the Game of Life.

Thanks [aleksclark], [Michael], and [wulfman] for sending this in.

Philips Lamp Upgrade

Increasing The Brightness Of A Philips LivingColors Lamp

[Martin] recently purchased a Philips LivingColors lamp. It’s a commercial product that basically acts as mood lighting with the ability to change to many different colors. [Martin] was disappointed with the brightness of his off-the-shelf lamp. Rather than spend a few hundred dollars to purchase more lamps, he decided to modify the one he already had.

[Martin] started by removing the front cover of his lamp. He found that there were four bright LEDs inside. Two red, one green, and one blue. [Martin] soldered one wire to the driver of each LED. These wires then connected to four different N-channel MOSFET transistors on a piece of protoboard.

After hooking up his RIGOL oscilloscope, [Martin] was able to see that each LED was driven with a pulse width modulated signal. All he had to do was connect a simple non-addressable RGB LED strip and a power source to his new driver board. Now the lamp can control the LED strip along with the internal LEDs. This greatly extends the brightness of the lamp with minimal modifications to the commercial product. Be sure to check out the video below for a complete walk through. Continue reading “Increasing The Brightness Of A Philips LivingColors Lamp”

Meter Backlight

Adding A Backlight To A Cheap Multimeter

We don’t all need super high quality electronic testing gear. Sometimes second-hand or inexpensive equipment is accurate enough to get the job done. Though it can be a bit annoying to miss out on some of those “luxury” features. [Ekriirke] had this problem with his cheap multimeter. He wished the LCD screen had a backlight for easier visibility, so rather than upgrade to a more expensive unit he just added one himself.

After opening up the multimeter [Ekriirke] found that it ran on a single 12V battery. He realized that the simplest thing to do would be to wire up four white LEDs in series. The four LEDs were arranged within the case off to each side of the LCD, one in each corner. The leads were bent at 90 degree angles and soldered together “dead bug” style. Thin strips of copper foil tape were attached to the PCB in such a way that the anode and cathode from the LEDs would make contact when the case was closed back up.

The tape wraps around to the other side of the PCB where there was more room for the next piece of the circuit. A capacitor, resistor, and transistor are used in conjunction with a momentary switch. This circuit allows [Ekriirke] to turn on the light for about ten seconds by pressing the button one time. The circuit also runs through the meter’s dial switch, preventing the LEDs from being turned on while the meter itself is turned off.

[via Reddit]