Vacuum Chamber Gets Automation

[Nick Poole] does a lot of custom work with vacuum tubes — so much so that he builds his own vacuum tubes of various shapes, sizes, and functions right on his own workbench. While the theory of vacuum tubes is pretty straightforward, at least to those of us who haven’t only been exposed to semiconductors, producing them requires some specialized equipment. A simple vacuum won’t get you all the way there, and the complexity of the setup that’s needed certainly calls for some automation.

The vacuum system that [Nick] uses involves three sections separated by high-vacuum valves in order to achieve the pressures required for vacuum tube construction. There’s a rough vacuum section driven by one pump, a high vacuum section driven by a second pump, and a third section called the evac port where the tube is connected. Each second must be prepared properly before the next section can be engaged or disengaged. An Arduino Pro is tasked with all of this, chosen for its large amount of ADC inputs for the instrumentation monitoring the pressures in each section, as well as the digital I/O to control the valves and switches on the system.

The control system is built into a 19-inch equipment rack with custom faceplates which outline the operation of the vacuum system. A set of addressable LEDs provide the status of the various parts of the system, and mechanical keyboard switches are used to control everything, including one which functions as an emergency stop. The automation provided by the Arduino reduces the chances for any mistakes to be caused by human error, allows the human operator to focus on other tasks like forming the glass, and can also react much faster to any potentially damaging situations such as the high-pressure pump being exposed to atmospheric pressure.

As you can probably tell, [Nick] is pretty passionate about this stuff — last year he gave a talk at the Hackaday Supercon that went over all the intricacies of building one’s own vacuum tubes.

Continue reading “Vacuum Chamber Gets Automation”

Self-Hosted Chatbot Focuses On Privacy

Large language models (LLMs) have been all the rage lately, assisting from all kinds of tasks from programming to devising Excel formulas to shortcutting school work. They’re also relatively easy to access for the most part, but as the old saying goes, if something on the Internet is free the real product is you (and your data). Luckily there are ways of hosting LLMs on your own to avoid your personal data getting harvested, as well as taking advantage of open-source solutions, but building these systems takes a little bit of effort. [Stephen] and a team from Mozilla walk us through this process and show us a number of options currently available.

Working from the ground up, the group first decides on hosting, which (unsurprisingly) involves using Mozilla hosting services. The choice of runtime environment was a little bit more challenging. The project was time constrained, so they looked at two options here: Hugging Face and llama.cpp. Eventually deciding to move forward with llama.cpp largely due to its ability to run on more consumer-oriented hardware (especially Apple silicon) and the fact that it doesn’t need a powerful GPU, the next task was to choose the model. Settling on the LLaMa model that Facebook recently open-sourced, this model works well with the runtime environment and is essentially the only one that does.

From there, the team at Mozilla wanted to make sure their chat bot would be able to provide other Mozilla employees with information more readily pertinent to their jobs, so they trained their model with some internal Mozilla data as well as other more generic information. This doesn’t mean the job is done, though, there are a number of other factors that went in to designing this system before it was finally complete. Even then, since they built this in a week it’s not perfect; there are some issues with non-permissive licensing of some of the components and many of the design choices may not have been ideal. It’s impressive what’s out there if you’re hosting your own system, though, and while this might be a little more advanced for a self-hosted project, take a look at some other more beginner-friendly projects you can try if you’re just starting out on the self-hosted path.

A ZX Spectrum with a Microdrive emulator plugged into its expansion port

A Modern Replacement For The ZX Spectrum’s Odd Tape Storage System

Unless you were lucky enough to be able to afford a floppy disk drive, you probably used cassette tapes to store programs and data if you used pretty much any home computer in the 1980s. ZX Spectrum users, however, had another option in the form of the Microdrive. This was a rather unusual continuous-loop mini-tape cartridge that could store around 100 kB and load it at lightning speed, all at a much lower price point than a floppy drive. The low price came at the cost of poor durability however, and after four decades it’s becoming harder and harder to find cartridges that work reliably. [Derek Fountain] therefore set out to make a modern Microdrive emulator that stores data on SD cards.

Several projects already exist to replace Microdrives, but they typically also need the ZX Interface 1, a serial/network expansion module that’s becoming equally hard to find. Hence [Derek]’s choice to make his emulator a completely standalone system that directly plugs into the Spectrum’s expansion port.

A 3D-printed box with a PCB inside holding three Raspberry Pi Picos and an SD cardThe system is housed in a 3D-printed enclosure that holds two PCBs. Three Raspberry Pi Picos run the show inside: one to hold the ZX Interface 1’s ROM image and interface with the Spectrum’s bus, another to simulate the Microdrive, and a third to run the user interface and communicate with the SD card. The user can choose between eight tape images stored in .MDR format by using two pushbuttons and a rotary encoder, with a small OLED display showing the machine’s configuration.

While you might think that three dual-core 133 MHz ARM CPUs would run circles around the Spectrum’s Z80, it actually took quite a bit of work to get everyting running properly in real time. The 3.5 MHz bus clock rate gave the second Pico precious little time to fetch the required bytes out of its flash memory. Its RAM was fast enough for that, but too small to hold all eight tape images at the same time. In the end, [Derek] settled on using a separate 8 MB SPI DRAM chip that could easily keep up the data rate, with the Pi just using its GPIO ports to shuttle the data around.

All source code and extensive documentation are available on Derek’s excellent blog post and GitHub page. Be sure to also check out [Jenny]’s detailed review and teardown if you’d like to know more about the weird and wonderful Microdrive system.

Thanks for the tip, [Andrew]! Continue reading “A Modern Replacement For The ZX Spectrum’s Odd Tape Storage System”

Fiber-Infused Ink Allows 3D-Printed Heart Muscle To Beat

Illustration from Anatomy & Physiology, Connexions Web site. http://cnx.org/content/col11496/1.6/, Jun 19, 2013.
Illustration from Anatomy & Physiology, Connexions Web site. http://cnx.org/content/col11496/1.6/, Jun 19, 2013.

What makes a body’s organs into what they are is more than just a grouping of specialized cells. They also need to be oriented and attached to each other and scaffolding in order to create structures which can effectively perform the desired function. A good example here is the heart, which requires a large number of muscle cells to contract in unison in order for the heart component (like a ventricle) to effectively pump blood. This complication is what has so far complicated efforts to 3D print complex tissues and entire organs, but recently researchers have demonstrated a way to 3D print heart muscle which can contract when stimulated similarly to a human heart’s ventricle.

At the center of this technique lies a hydrogel that is infused with gelatin fibers. Using a previously developed Rotary Jet-Spinning technology that was reported on in 2016, a sheet of spun fibers was produced that were then cut up into micrometer-sized fibers which were dispersed into the hydrogel. After printing the desired structure – taking into account the fiber alignment – it was found that the cardiomyocytes (the cells responsible for carrying the contractile signal in the heart muscle) align along the thus laid out pattern, ultimately creating a cardiac muscle capable of organized contraction.

These findings come after many years of research into the topic, with e.g. Zihan Wang and colleagues in a 2021 paper reporting on the challenges remaining with 3D printing cardiac tissue, yet also the massive opportunities that this could provide. Although entire heart replacements (via therapeutic cloning with the patient’s own cells) might become possible too, more immediate applications would involve replacements for damaged cardiac muscle and other large structures of the heart.

Mechanical Pencil Solder Feeder Hack

Want a better way to feed solder, but want to do it on the quick and cheap? Well [ptkrf] has a solution for you in an old instructables post we stumbled upon recently. You might have, or can inexpensively buy, a mechanical pencil which has the feeder button on the side rather than on top, as usual. With the pencil in hand, [ptkrf] shows you the simple procedure for modifying the pencil into a solder feeder. You might need to experiment with different size pencils and solders to get a perfect match. Common mechanical pencils come in sizes to accommodate 0.5, 0.7, and 0.9 mm leads, but there are bigger and smaller ones available. Perhaps one of those really large drafting lead holders could be repurposed as a solder dispenser for the bigger jobs.

We discussed a 3D printed solder feeder a few days ago, but if you don’t have one, this may be a good way to go. Thanks to [iliis] for sending in this tip.

Automate Your Pin Header Chopping Chores Away

In most cases, cutting pin headers is a pretty simple job to tackle with a pair of cutters or even your bare fingers. But if you’re doing a lot of it, like for kitting up lots of projects for customers, then you might want to look at something like this automatic pin header cutter.

Even if you don’t need to follow [Mr. Innovative]’s lead on this, it’s worth taking a look at the video below, which has a couple of cool ideas that are probably applicable to other automation projects, especially those where lots of small parts are handled. Processing begins with a hopper that holds a stack of header strips over what we’d call a “reverse guillotine,” consisting of a spring-loaded plunger riding on a cam. A header strip is pushed out of the hopper to expose the specified number of terminals, the cam rotates and raises the plunger, and the correct length header is snapped off.

For our money, the neatest part of this build is the feed mechanism for the hopper. Rather than anything complicated like a rack-and-pinion, [Mr. Innovative] opted for a pusher made from a stiff yet flexible strip of plastic, which is forced along the bottom of the hopper by a pair of stepper-driven drive rollers. The plastic pusher is stored rolled up in a spiral fixture so it doesn’t take up much room.

Overall, it’s a simple and largely effective design. [Mr. Innovative] does express a little dissatisfaction with some aspects of the build, though; it looks like the stack of header strips needs a little weight on top of it to keep them feeding properly, and we notice a couple of iterations of the cutting mechanism in the video. The cut headers do seem to either fly off into the stratosphere or stay attached to each other, which could lead to jamming problems.

But still, it’s a solid design and reminds us of some other projects by [Mr. Innovative], like this SMD tape slicer or a CNC gear cutter.

Continue reading “Automate Your Pin Header Chopping Chores Away”

Voyager Command Glitch Causes Unplanned Pause In Communications

Important safety tip: When you’re sending commands to the second-most-distant space probe ever launched, make really, really sure that what you send isn’t going to cause any problems.

According to NASA, that’s just what happened to Voyager 2 last week, when uplinked commands unexpectedly shifted the 46-year-old spacecraft’s orientation by just a couple of degrees. Of course, at a distance of nearly 20 billion kilometers, even fractions of a degree can make a huge difference, especially since the spacecraft’s high-gain antenna (HGA) is set up for very narrow beamwidths; 2.3° on the S-band channel, and a razor-thin 0.5° on the X-band side. That means that communications between the spacecraft and the Canberra Deep Space Communication Complex — the only station capable of talking to Voyager 2 now that it has dipped so far below the plane of the ecliptic — are on pause until the spacecraft is reoriented.

Luckily, NASA considered this as a possibility and built safety routines into Voyager‘s program that will hopefully get it back on track. The program uses the onboard star tracker to get a fix on the bright star Canopus, and from there figures out which way the spacecraft needs to move to get pointed back at Earth. The contingency program runs automatically several times a year, just in case something like this happens.

That’s the good news; the bad news is that the program won’t run again until October 15. While that’s really not that far away, mission controllers will no doubt find it an agonizingly long time to be incommunicado. And while NASA is outwardly confident that communications will be restored, there’s no way to be sure until we actually get to October and see what happens. Fingers crossed.