MAX232

Today we’ll have a look at another chip that has absolutely earned its place in the history of electronics. Designed in 1986, the MAX232 represented a small revolution in IC design and put Maxim, then still an upstart, in the spotlight for the first time. Dave Bingham was the driving force behind the MAX232’s design, in a team led by Dave Fullagar (of UA741 fame).

The MAX232 became popular because it was very easy to use and it solved a common problem: many computer systems running on a single +5V supply used RS-232 standard serial interfaces, which required +/- 15 V signal levels. The MAX232 was a transmitter/receiver chip with a built-in charge pump that generated the required signal voltages directly from a +5 V supply, removing the need for two additional supply rails.

Clever marketing also made the MAX232 a huge success for Maxim. Putting a big “MAX” in front of its part number made it immediately clear who made the chip, unlike TI’s “SN” or National’s “LM”. The fact that the ‘232 became the most popular among Maxim’s MAX2xx series (which ran at least from MAX220 to MAX249 back in the day) could be either because that number matched its RS-232 functionality, or simply because it had the most commonly used combination of channels (two transmitters and two receivers).

Maxim has since expanded its RS-232 transceiver range to include dozens of different models with varying numbers of channels, different supply voltage ranges (like the 3V MAX3232), power-down options (MAX242), and even integrated capacitors (MAX233) and isolation transformers (MAX252). But the classic MAX232 seems to remain its most popular model. I dug around in my parts bin and found this MAX232CPE from 1989. It’s housed in a 16-pin plastic DIP package.

If we open it up, we find the chip shown below. Maxim’s original datasheet includes an (extremely grainy) chip photo that matches what we see here. We’ve got the charge pump on the left, the receivers and transmitters on the right, and control circuits in the middle. This chip was fabricated in Maxim’s 3 micron CMOS process (called S3 or SG3).

A small 1986 copyright message in the middle confirms we’re looking at the very first generation of this chip.

Continue reading

Real vs fake DS18B20

The DS18B20 is a digital temperature sensor that communicates through the One-Wire protocol. Like the DS2401 that we looked at earlier, it is housed in a three-pin TO92 package and can be read out using just one pin (plus ground). It’s made and sold by Maxim Integrated, although still labelled “DALLAS” on the package. Introduced in 1999, the DS18B20 was the successor to the DS1820 and provided a higher resolution (up to twelve bits, instead of the DS1820’s nine).

This part has become wildly popular over the past few years, because it is reasonably cheap, quite accurate, and very easy to use with microcontrollers. It is widely available online, but its popularity has, unfortunately, also given rise to an industry of fake DS18B20s. Although they usually work, there is no guarantee that they meet the specs listed in Maxim’s datasheet.

These fake chips are made by small semiconductor companies that have designed a drop-in replacement for the Maxim part, copying the exact functionality. There’s nothing wrong with second-sourcing a part like that (it’s how many semiconductor companies started in the first place), but marking them with the Dallas brand and selling them as if they’re genuine Maxim parts is of course illegal. Most likely it’s not the manufacturers that apply the fake label, but shady companies that buy large stacks of second-source chips, re-label them and sell them as if they’re the real thing.

Continue reading

Maxim DS2401

The DS2401 is a chip that Maxim sells as a “Silicon Serial Number”. That’s pretty much what it is: a chip that contains a serial number which you can read out using a digital interface. This is useful if you’re producing a large number of identical devices but you want to give each one a unique number so you can track each individual device. This chip contains 64 bits of information, consisting of one eight-bit number indicating the chip family (for the DS2401 it’s 01), a 48-bit serial number, and an eight-bit checksum to verify the number is correct. Maxim guarantees that no two DS2401s will have the same serial number, so in theory they can produce 248 = 281,474,976,710,656 of these chips before they run out of numbers.

The DS2401 has a One-Wire interface, which is a clever serial interface designed by Dallas Semiconductor. It has one ground and one active wire, which doubles as data and power supply. The chip gets its power from this wire, and contains an on-board capacitor to store charge so it can keep working even if the data line is “low” for a certain amount of time.

The One-Wire interface is quite easy to use, and it takes just a few lines of Arduino code to read out the serial number from the DS2401. I bought three of these chips, which turned out to have serial numbers 00001D04714B, 00001D04763D and 00001D0498E7. As you can see they’re not exactly consecutive, but since they came as loose chips in a bag there’s no way of keeping them in the right order anyway.

Continue reading