Old Thermostat Gets Smarts

A smart thermostat is nothing new. But making one built a decade or more ago takes a few tricks. If you want to upgrade your thermostat without replacing it, [geektechniquestudios] shares their solution using a Raspberry Pi Zero to smarten up that dumb controller.

The hardware is decidedly simple: just a Pi Zero and a pair of relays. The relays act as button presses to the old thermostat. The software, though, is decidedly complex. There’s a React server and a Redis database along with some other bits and pieces.

Continue reading “Old Thermostat Gets Smarts” →

Stacked Material Makes Kitchen Temperature Superconductors

Belgian, Italian, and Australian researchers are proposing that by stacking semiconductor sheets, they should be able to observe superconducting behavior at what is known as “kitchen temperature” or temperatures you could get in a household freezer. That’s not quite as good as room temperature, but it isn’t bad, either. The paper is a bit technical but there is a very accessible write-up at Sci-Tech Daily that gives a good explanation.

Superconductors show no loss but currently require very cold temperatures outside of a few special cases. The new material exploits the idea that an electron and a hole in a semiconducting material will have a strong attraction to each other and will form a pair known as an exciton. Excitons move in a superfluid state which should exhibit superconductivity regardless of the temperature. However, the attraction is so strong that in conventional materials, the excitons only exist for the briefest blip of time before they cancel each other out.

Continue reading “Stacked Material Makes Kitchen Temperature Superconductors” →

BASH Template Promises Safer Scripts

Many bash scripts start out as something quick and dirty but then become so useful that they live for years, indeed sometimes seeing more use than our traditional programs. Now that you can even run bash well under Windows (although, you’ve always been able to run it there if you tried), there are even more opportunities for your five-minute bash script to proliferate. [Maciej] decided he was tired of always having to patch up his quick and dirty scripts to be more robust, so he created (and shared) his boilerplate template for scripts.

Probably most of us have at least some basic template we start with, even if it just our last script project. What’s nice about [Maciej’s] template is that he documents what’s going on with each part of it. It is also relatively short without a lot of excess stuff. Of course, you’ll probably customize it, but it is a great place to start.

Continue reading “BASH Template Promises Safer Scripts” →

Learn Compilers Online From Cornell

It sounds like the start of a joke, but what’s the difference between taking Cornell’s CS6120 online and in-person? The instructor, [Adrian Samspon] notes that the real class has deadlines, an end-of-semester project, and a discussion board that is only open to real-life students. He also notes that you only earn “imagination credits.”

Still, this is a great opportunity to essentially audit a PhD-level computer science class on a fascinating topic. The course consists of videos, papers, and open source projects using LLVM and a custom internal representation based on JSON that is made for the class. It is all open source, too. You do however need access to the papers, some of which are behind paywalls. Your local library can help if you can’t otherwise find copies of the papers.

Continue reading “Learn Compilers Online From Cornell” →

Russian Doomsday Radios Go Missing

Normally we like hearing about old military gear going on the surplus market. But if you encounter some late-model Russian radio and crypto equipment for sale you might want to make sure it isn’t hot (English translation). If you prefer not picking through the machine translation to English, the BBC also has a good write-up.

The Russians maintain four large planes set up as flying command and control bunkers in case of nuclear war — so-called “doomsday planes.” Like the U.S. ABNBC (better known as Looking Glass) fleet, the planes can provide the President or other senior leaders a complete command capability while in flight. As you might expect, the radios and gear on the plane are highly classified.

Continue reading “Russian Doomsday Radios Go Missing” →

15 Volts To 110,000 Volts

There’s something satisfying about creating high voltages. Sure, there are practical uses like neon signs or doing certain experiments, but be honest — you really just want to see some giant arcs lighting up your dark mad scientist lair. [Mircemk] has just the prescription for what ails you. Using a two-stage approach, he shows a simple setup that generates about 110KV from a pretty tame 15V supply.

From the 15V, there is a stage that uses a flyback transformer and a switch to generate a reasonably high voltage. The final stage is a Cockroft-Walton voltage multiplier that can produce quite a bit of voltage. You can see the impressive arcs in the video below.

The multiplier circuit found fame with experiments by Cockroft and Walton, obviously, but was actually originated in the early 1900s with a physicist named Greinacher. The circuit uses diodes as switches and charges a bank of capacitors in parallel. The discharge, however, puts the capacitors in series. Neglecting losses and loads, the output voltage is equal to the peak-to-peak input voltage times the number of stages present. Real-world considerations mean you won’t quite get that voltage out of it, but it can still provide a potent punch. Click through the break for a video of the circuit in action!

Continue reading “15 Volts To 110,000 Volts” →

Creality WiFi Takes On Octoprint

A very common hack to a 3D printer is to connect a Raspberry Pi to your printer and then load Octoprint or a similar program and send your files to the printer via the network. [Teaching Tech] noticed that Creality now has an inexpensive WiFi interface that promises to replace Octoprint and decided to give it a quick review.

You might wonder why you’d want this system when Octoprint exists? Mainly, the value proposition is the price. You can buy the Creality box for about $20. A Raspberry Pi with a similar case would be at least twice that price. In addition, the box integrates with a Thingiverse-like library and does cloud slicing, which is attractive when you have a very small computer connected to your printer.

However, [Teaching Tech] found some issues. The box was pretty picky about connecting to printers and there were many other problems. The 3D model library wasn’t very comprehensive, although that could change if the thing got very popular. Worse, the slicer didn’t really produce stellar results.

We have to admit, an attractive network interface for $20 would be of interest. But it is hard to see how this would be a better value than Octoprint unless you were very short on cash and had no Raspberry Pi surplus laying around. You still need an SD card and a power supply, so those extras are a wash.

On the other hand, if Creality fixes the problems and expands the 3D model library, we’d buy one. But it remains to be seen if either of those things will happen, much less both of them. We do wish [Teaching Tech] had opened the thing up for us. Maybe next time.

Continue reading “Creality WiFi Takes On Octoprint” →