DIY X-Rays Made Easy

Who doesn’t want an X-ray machine? But you need a special tube and super high voltage, right? [Project 326] says no, and produces a USB-powered device that uses a tube you can pick up two for a dollar. You might guess the machine doesn’t generate X-rays with a lot of energy, and you’d be right. But you can make up for it with long exposure times. Check out the video below, with host [Posh Arthur].

The video admits there are limitations, of course. We were somewhat sad that [Project 326] elected not to share the exact parts list and 3D printed files because in the unlikely event someone managed to hurt themselves with it, there could be a hysterical reaction. We agreed, though, that if you are smart enough to handle this, you’ll be smart enough to figure out how to duplicate it — it doesn’t look that hard, and there are plenty of not-so-subtle clues in the video.

The video points out that you can buy used X-ray tube for about $100, but then you need a 70kV power supply. A 1Z11 tube diode has the same basic internal structure, but isn’t optimized for the purpose. But it does emit X-rays as a natural byproduct of its operation, especially with filament voltage.

The high voltage supply needs to supply at least 1mA at about 20 kV. Part of the problem is that with low X-ray emission, you’ll need long exposure times and, thus, a power supply needs to be able to operate for an extended period. We wondered if you could reduce the duty cycle, which might make the exposure time even longer, but should be easier on the power supply.

The device features a wired remote, allowing for a slight distance between the user and the hot tube. USB power is supplied through a USB-C PD device, which provides a higher voltage. In this case, the project utilizes 20V, which is distributed to two DC-DC converters: one to supply the high-voltage anode and another to drive the filament.

To get the image, he’s using self-developing X-ray film made for dental use. It is relatively sensitive and inexpensive (about a dollar a shot). There are also some lead blocks to reduce stray X-ray emission. Many commercial machines are completely enclosed and we think you could do that with this one, if you wanted to.

You need something that will lie flat on the film. How long did it take? A leaf image needed a 50-minute exposure. Some small ICs took 16 hours! Good thing the film is cheap because you have to experiment to get the exposure correct.

This really makes us want to puzzle out the design and build one, too. If you do, please be careful. This project has a lot to not recommend it: high voltage, X-rays, and lead. If you laugh at danger and want a proper machine, you can build one of those, too.

30 thoughts on “DIY X-Rays Made Easy

  1. Rustin Cohle wearing a surgeon’s hat and dragging on a ciggy definitely inspires confidence in this endeavor, good choice.

    Driving the anode voltage out of USBC for extended periods is worth looking into by itself. All kinds of fun stuff you could do with that… most of them shady, I like it

    1. Filament voltage drives the tube’s heater (literally a tungsten filament like a light bulb), for this tube it’s 1.2V at probably 200 mA or so. This emits electrons, as the cathode.

      The high voltage (10s of kV, tiny currents in this case) accelerates the electrons, which hit the anode and generate X-rays.

      1. Thank you, that makes it clear. Here’s where I misunderstood: “But it does emit X-rays as a natural byproduct of its operation, especially with filament voltage.”

        1. The tube will produce a bit of output even without heating the filament. Apply a bit of voltage to the filament to heat it, and the x-ray output will increase dramatically.

          But, yeah, (sorry Al) it’s a little unclear as written.

    1. They’re basically taking advantage of the existing tiny x-ray output of a standard rectifier tube, and then using exposure times up to ten hours long at an extremely close distance. The emitted photons are completely blocked by even the thin copper layer of a PCB.

      So while you don’t want to put your finger directly on it, you’re probably as safe a few meters away as if you were near an old tube TV.

  2. I love the video, it is true, generating X-rays is easy enough it is not like it is some really complex process (X-rays were discovered by Wilhelm Conrad Röntgen in 1895). The main thing that has changed over the last 130 years years is our knowledge of how really bad they are for human health. Soft in some ways are even more scary than hard because they are so easily absorbed by soft tissue.

    1. True, low energy “soft” X-rays deposit almost twice as much dose in the first millimeter or two. Scary indeed. The more penetrating higher energy “hard” x-rays get absorbed less in the skin, and go right on through to deposit dose in internal organs.

      Sticking your fingertip on the output window of a low-energy x-ray tube is a dumb idea, not because low-energy x-rays deposit more dose, but because you’re sticking your finger a couple of millimeters away from a point radiation source, so the dose per square millimeter is many thousands of times higher than it would be in a usual x-ray imaging setup.

    1. Uh, no, not in most reasonable situations.

      If you have high contamination (noise) from other radiation sources and need to isolate the signal from your desired source then, yes, lock-in sensing can help.

      But in x-ray imaging you don’t usually have a high background radiation rate to contend with.

    2. I think you misunderstood lock-in sensing. The idea is to correlate the signal from your sensor with a signal you have control of in the device under test.

      You typically don’t have control on a millisecond time scale of the density of an item you want to x-ray.

    1. Nobody is talking about gamma rays here.

      But any material will absorb (“shield”) gamma rays. Denser materials allow you to make the absorber thinner for a given amount of shielding. To be more specific, you’ll need to know your gamma energy spectrum and the characteristics of the material.

      Interestingly, kilogram for kilogram, plain old air makes a wonderful shield, and has the neat property that its shielding goes as the square of the thickness used, where other materials’ shielding vs thickness are closer to linear. For a given cross section area, 10 meters of air weighs less than a millimeter of lead but usually provides much better dose reduction.

      1. That “square of the thickness” relationship is just the inverse-square law that governs free space loss, and it’s due to geometry, not the medium. You multiply that loss by the inverse-exponential attenuation that does depend on the medium but as the name suggests has diminishing effects as the shielding gets thicker.

        So it makes sense to use a combination of a shielding enclosure and distance from it.

      1. Interesting stuff to be sure, but be aware that although the “75% tungsten” (by weight) claim might be correct, that means that only one sixth of the volume is tungsten: the rest is PETG binder. If you’re looking for bulk shielding material, and don’t need the custom shapes afforded by 3D printing, even tin foil will perform as well. Plain old 63:37 solder melted into your desired mold shape will be much better.

        1. If you mean cataracts, yes, ionizing radiation has been identified as a risk factor, just like sunlight. Soft x-rays aren’t unique.

          In case it’s not clear: Yes, it’s not good to go dosing yourself with ionizing radiation at any level more than necessary. But soft x-rays aren’t especially worse than any other wavelength.

          1. They’re nasty in uses like x-ray crystallography as they are a beam and the whole energy lands on one spot.

            That spot goes necrotic and the gangrene kicks in.

  3. At 20 kv you’ll mostly produce x-rays at a 2-4 kv energy, a very soft beam that could be absorbed by even an inch or two of water.

    With a lot of time you might get a very detailed mamogram of a fruit, but you’d have to image for ages to do much with taxidermy.

    1. At 20 kV accelerating potential you might produce x-ray photons mostly in the sub-5keV range, but approximately zero of those will escape the anode and the glass envelope. Any that will would be mostly absorbed in much less than a millimeter of water ( a few dozen microns on average).

      The average energy of photons leaving a 20 kV source through a glass envelope will be more like 15 keV. About 1.5% of those will make it through an inch of water or fruit or body tissue — plenty to make an image.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.