Tech In Plain Sight: Microwave Ovens

Our homes are full of technological marvels, and, as a Hackaday reader, we are betting you know the basic ideas behind a microwave oven even if you haven’t torn one apart for transformers and magnetrons. So we aren’t going to explain how the magnetron rotates water molecules to produce uniform dielectric heating. However, when we see our microwave, we think about two things: 1) this thing is one of the most dangerous things in our house and 2) what makes that little turntable flip a different direction every time you run the thing?

First, a Little History

Westinghouse Powercaster which could, among other things, toast bread in six seconds

People think that Raytheon engineer Percy Spenser, the chief of their power tube division, noticed that while working with a magnetron he found his candy bar had melted. This is, apparently, true, but Spenser wasn’t the first to notice. He was, however, the first to investigate it and legend holds that he popped popcorn and blew up an egg on a colleague’s face (this sounds like an urban legend about “egg on your face” to us). The Raytheon patent goes back to 1945.

However, cooking with radio energy was not a new idea. In 1933, Westinghouse demonstrated cooking foods with a 10 kW 60 MHz transmitter (jump to page 394). According to reports, the device could toast bread in six seconds.  The same equipment could beam power and — reportedly — exposing yourself to the field caused “artificial fever” and an experience like having a cocktail, including a hangover on overindulgence. In fact, doctors would develop radiothermy to heat parts of the body locally, but we don’t suggest spending an hour in the device.

Continue reading “Tech In Plain Sight: Microwave Ovens”

16 Kbit DRAM Gives Up Its Secrets

[Ken Shirriff] is looking inside chips again. This time, the subject is the MK4116 — a 16 Kbit DRAM chip. Even without a calculator, you know that’s a whopping 2 Kbytes, and while that doesn’t sound impressive, in the late 1970s, it was a modern miracle.

The chip showed up in computers ranging from the TRS-80 to the Xerox Alto and was even a mainstay of arcade video games. While [Ken] thought it would be a pretty predictable teardown, he found several surprises.

Static RAM chips use flip flops and retain their state as long as power is on. That’s convenient, but each flip flop takes multiple transistors, so there is a limit to how many bits you can put on a particular size chip. Dynamic RAM increases that limit because it is nothing more than a capacitor and a single transistor. This increases memory density, but the problem is that the capacitor doesn’t hold charge indefinitely. The computer or an associated circuit had to refresh the memory periodically to maintain the contents.

One of the key innovations for this chip was the use of multiplexed address lines so it could use a smaller package. Inside, two banks of capacitors store the bits, and, usually, a computer would use eight chips to store a byte. Of course, each memory bit is made to be as compact as possible. This chip is also made to be very low power when idle. The secret is that it doesn’t use load transistors but instead uses an active pull-up tied to the system clock. Another interesting feature is the sense amplifier, which has to measure the tiny noisy voltage from the capacitors.

You’ll see all this and more in [Ken’s] write-up. Chips from that era were relatively easy to take apart compared to today’s devices. Want to know how it’s done? [Ken] can tell you. He is well-known for doing a lot of cool stuff, with ICs and even old mainframe and space hardware.

Processes, Threads, And… Fibers?

You’ve probably heard of multithreaded programs where a single process can have multiple threads of execution. But here is yet another layer of creating multitasking programs known as a fiber. [A Graphics Guy] lays it out in a lengthy but well-done post. There are examples for both x64 and arm64, although the post mainly focuses on x64 for Windows. However, the ideas will apply anywhere.

In the old days, there was a CPU and when your program ran on it, it was in control. But that’s wasteful, so software quickly moved to where many programs could share the CPU simultaneously. Then, as that got overloaded, computers got more CPUs. Most operating systems have the idea of a process, which is a program that thinks it is in complete control, but it is really sharing the CPU with other processes. The problem arises when you want to have multiple “little” programs that cooperate. Processes are not really supposed to know about one another and, if they do, there’s usually some heavy-weight communication mechanism allowing them to talk.

Continue reading “Processes, Threads, And… Fibers?”

Carbon Fiber With 3D Printing

[Thomas Sanladerer] wanted to make 3D prints using carbon fiber and was surprised that it was fairly inexpensive and worked well, although he mentions that the process is a bit intense. You can learn what he found out in the video below.

He used an advanced PLA that can endure more temperature than normal PLA. That’s important because the process uses heat and the carbon fiber resin will produce heat as it cures. The first step was to print a mold and, other than the material, that was pretty straightforward.

Continue reading “Carbon Fiber With 3D Printing”

The Reverse Oscilloscope

Usually, an oscilloscope lets you visualize what a signal looks like. [Mitxela]’s reverse oscilloscope lets you set what you want an audio waveform to look like, and it will produce it. You can see the box in the video below.

According to [Mitxela] part of the difficulty in building something like this is making the controls manageable for mere mortals. We really like the slider approach, which seems pretty obvious, but some other controls are a bit more subtle. For example, the interpolation control can create a squarish wave or a smooth waveform, or anything in between.

This is sort of an artistic take on an arbitrary waveform generator but with a discrete-panel user interface. The device contains a Teensy, a Raspberry PI Pico, a 16-bit ADC, and an external DAC. The Pico is little more than an I/O controller, reading the user interface and transmitting it on a serial port.

The outside construction looks excellent (we assume the tape is temporary). The inside is a bit messier, but still nicely done. There are many photos of the construction and details of problems along the way with 12-bit ADCs and power supply experiments.

Of course, if you don’t need the user interface, you can go crazy with waveform generation. We did our own similar project, but you could draw your waveforms on the PC instead of sliders.

Continue reading “The Reverse Oscilloscope”

Bill, Steve, And Gary… Computer Pioneers

If you ask your neighbor who Bill Gates or Steve Jobs is, they’d probably know. But mention Gary Kildall, and you are likely to get a blank stare unless you live next door to another Hackaday reader. [Al’s Geek Lab] has a great three-part documentary on Gary Kildall who, in case you didn’t know, was the man behind CP/M, a very influential operating system in the early days of computing and one that set the stage for the PC revolution.

You probably know the folktale that when IBM was looking for an operating system, Bill Gates took the meeting, and Gary Kildall went surfing instead. But like most capsule histories, there is plenty more to the story, and it isn’t as simple as people make it out.

We forget, sometimes, how innovative Digital Research — Kildall’s company — was for the time. We think of CP/M as the venerable CP/M 2.2, which was fine. But there was multitasking CP/M and GEM — a precursor to the graphical user interface found everywhere today. Sure, it looks antiquated now, but it was light years in front of everyone else.

If you watch the whole series, you’ll learn that the IBM story isn’t totally apocryphal, but the truth is much different. Kildall didn’t want the IBM deal, and for what seemed like good reasons at the time. Of course, Gates negotiated a deal with IBM that would build a huge company, so it is easy to look back and say that not taking the deal was a mistake, but we would have probably made the same decision as Kildall at that time.

This isn’t the first time we’ve wondered what a world where CP/M won would have looked like. If you want to look inside CP/M, you can. Of course, it still powers many retrocomputers and even has some surprising clones.

Continue reading “Bill, Steve, And Gary… Computer Pioneers”

Saving A Scope From The Dumpster

If you read Hackaday, you probably get the title of [SunEstra’s] post: A Casual Date with the Dumpster. Many great hacking projects start with finding one man’s trash. This June, [SunEstra] rescued an old Tektronix 2465B oscilloscope, which appeared to be in good shape. Why we never find four-channel 400 MHz scopes in the dumpster is hard to explain, but we are still happy for him, if not a little jealous.

As you might expect, powering up the scope was a disappointment. Relays clicked. Lights flashed. But no display. Adjusting the grid bias on the CRT brought up the display, but it also brought up something else: an error message.

The scope was complaining of “test failure 05-40.” A look through the manual reveals that is “positive level too positive.” Huh. Too much of a good thing, we guess. The test checks the A5 board, so a visual inspection there was the first step.

Unsurprisingly, there were electrolytic capacitors leaking electrolyte. This is, apparently, a well-known problem with this scope. Replacing the electrolytics with some similar tantalum capacitors. In a few cases, the corrosion had eaten pads off the PCB, and some were damaged during the removal. It took a little ingenuity to connect the new parts on the board.

The result? A working scope. Maybe the scope will help repair the next thing that comes out of the dumpster. Sometimes, the best dumpster dives involve intercepting the gear before it hits the dumpster. We keep hoping to run into one of these on the curb (the linked post seems dead, but the video is still there).