Were you to mention Texas to a European, they’d maybe think of cowboys, oil, the hit TV show Dallas, and if they were European Hackaday readers, probably the semiconductor giant Texas Instruments. The only state of the USA with a secession clause also turns out to to have their own power grid independent of neighboring states.
An accurate and contemporary portrait of a typical Texan, as understood by Europeans. Carol M. Highsmith, Public domain.
Surely America is a place of such resourcefulness that this would be impossible, we cry as we watch from afar the red squares proliferating across the outage map. It turns out that for once the independent streak that we’re told defines Texas may be its undoing. We’re used to our European countries being tied into the rest of the continental grid, but because the Texan grid stands alone it’s unable to sip power from its neighbours in times of need.
Let’s dive into the mechanics of maintaining an electricity grid, with the unfortunate Texans for the moment standing in as the test subject.
Surely BASIC is properly obsolete by now, right? Perhaps not. In addition to inspiring a large part of home computing today, BASIC is still very much alive today, even outside of retro computing.
There was a time, not even that long ago, when the lingua franca of the home computer world was BASIC. This wasn’t necessarily always the exact same BASIC; the commands and syntax differed between whatever BASIC dialect came with any given model of home computer (Commodore, Atari, Texas Instruments, Sinclair or any of the countless others). Fortunately most of these licensed or were derived from the most popular microcomputer implementation of BASIC: Microsoft BASIC.
BASIC has its roots in academics, where it was intended to be an easy to use programming language for every student, even those outside the traditional STEM fields. Taking its cues from popular 1960s languages like FORTRAN and ALGOL, it saw widespread use on time-sharing systems at schools, with even IBM joining the party in 1973 with VS-BASIC. When the 1970s saw the arrival of microcomputers, small and cheap enough to be bought by anyone and used at home, it seemed only natural that they too would run BASIC.
The advantage of having BASICÂ integrated into these systems was obvious: not only were most people who bought such a home computer already familiar with BASIC, it allows programs to be run without first being compiled. This was good, because compiling a program takes a lot of RAM and storage, neither of which were plentiful in microcomputers. Instead of compiling BASIC source code, BASIC interpreters would interpret and run the code one line at a time, trading execution speed for flexibility and low resource use.
After turning on one’s microcomputer, the BASIC interpreter would usually be loaded straight from an onboard ROM in lieu of a full-blown operating system. In this interpreter shell, one could use the hardware, write and load BASIC programs and save them to tape or disk. Running existing BASIC code as well as compiled programs on one’s computer, or even typing them in from a listing in a magazine all belonged to the options. As BASIC implementations between different home computers were relatively consistent, this provided for a lot of portability.
That was then, and this is now. Are people actually still using the Basic language?
If you’re running an army, chances are good that you need a lot of portable power for everything from communications to weapons control systems. When it comes to your generators, every ounce counts. The smaller and lighter you can get them, the better.
Co-founder and CEO Alex Schkolnik describes the design as a combination of the best parts of the Otto and Atkinson cycle engines, the Diesel, and the Wankel rotary while solving the big problems of the latter two. That sounds impressive, but it doesn’t mean much unless you understand how each of these engines work and what their various advantages and disadvantages are. So let’s take a look under the hood, shall we?
These days, NASA deciding to launch one of their future missions on a commercial rocket is hardly a surprise. After all, the agency is now willing to fly their astronauts on boosters and spacecraft built and operated by SpaceX. Increased competition has made getting to space cheaper and easier than ever before, so it’s only logical that NASA would reap the benefits of a market they helped create.
So the recent announcement that NASA’s Europa Clipper mission will officially fly on a commercial launch vehicle might seem like more of the same. But this isn’t just any mission. It’s a flagship interplanetary probe designed to study and map Jupiter’s moon Europa in unprecedented detail, and will serve as a pathfinder for a future mission that will actually touch down on the moon’s frigid surface. Due to the extreme distance from Earth and the intense radiation of the Jovian system, it’s considered one of the most ambitious missions NASA has ever attempted.
With no margin for error and a total cost of more than $4 billion, the fact that NASA trusts a commercially operated booster to carry this exceptionally valuable payload is significant in itself. But perhaps even more importantly, up until now, Europa Clipper was mandated by Congress to fly on NASA’s Space Launch System (SLS). This was at least partly due to the incredible power of the SLS, which would have put the Clipper on the fastest route towards Jupiter. But more pragmatically, it was also seen as a way to ensure that work on the Shuttle-derived super heavy-lift rocket would continue at a swift enough pace to be ready for the mission’s 2024 launch window.
But with that deadline fast approaching, and engineers feeling the pressure to put the final touches on the spacecraft before it gets mated to the launch vehicle, NASA appealed to Congress for the flexibility to fly Europa Clipper on a commercial rocket. The agency’s official line is that they can’t spare an SLS launch for the Europa mission while simultaneously supporting the Artemis Moon program, but by allowing the Clipper to fly on another rocket in the 2021 Consolidated Appropriations Act, Congress effectively removed one of the only justifications that still existed for the troubled Space Launch System.
A trip to a supermarket is a rare luxury in a pandemic lockdown, but were I to cruise the aisles with my basket today I’d probably come away with a healthy pile of fruit and veg, a bit of meat and fish, and maybe some cheese. My shopping basket in 2031 though might have a few extras, and perhaps surprisingly some of them might be derived from insects. That’s a future made a little closer, by EU scientists declaring that farmed insect products are safe for humans and animals to eat.
Is meat consumption at this level sustainable? Our World In Data, CC BY 3.0.
We humans, like some of our fellow great ape cousins, are omnivores. We can eat anything, even if we might not always want to eat some things twice. As such, the diets of individual populations would in the past have varied hugely depending on the conditions that existed wherever they lived, giving us the ability to spread to almost anywhere on the planet — and we have.
Over the past few hundred years this need to subsist only on foods locally available has been marginalized by advances in agriculture. For those of us in developed countries, any foodstuff that takes our fancy can be ours for a trivial effort. This has meant an explosion of meat consumption as what was once a luxury food has become affordable to the masses, and in turn a corresponding agricultural expansion to meet demand that has placed intolerable stresses on ecosystems and is contributing significantly to global warming. It’s very clear that a mass conversion to veganism is unlikely to take place, so could farmed insects be the answer to our cravings for meat protein? It’s likely to be a tough sell to consumers, but it’s a subject that bears more examination. Continue reading “Would You Like Fries With Your Insect Burger, Ma’am?”→
How do you rapidly record the output from your three million dollar analog computer in the 1940s when the results are only available on analog meters? The team responsible for the Westinghouse 1947 AC Network Calculator at Georgia Tech was faced with just this problem and came up with a nifty solution — hack the control panel and wire in a special-purpose drafting table.
What Is It?
What is this beast of a computer? Machines of this type were developed during and after World War 2, and strictly speaking, belong in the category of scale models rather than true computers. Although these machines were very flexible, they were primarily designed to simulate power distribution grids. There is a lot of theory under the hood, but basically a real world, multi-phase distribution system would be scaled to single-phase at 400 Hz for modeling.
The engineers would “program” the machine by connecting together the appropriate circuit elements (like capacitors, inductors, transmission lines, generators, etc.) on big patch panels. Thus programmed, a 10 kW motor-generator located in the basement would be started up and the simulation was underway. Continue reading “The Modding, Restoration, And Demise Of A $3M Analog Computer”→
We just got our hands on some engineering pre-samples of the ESP32-C3 chip and modules, and there’s a lot to like about this chip. The question is what should you compare this to; is it more an ESP32 or an ESP8266? The new “C3” variant has a single 160 MHz RISC-V core that out-performs the ESP8266, and at the same time includes most of the peripheral set of an ESP32. While RAM often ends up scarce on an ESP8266 with around 40 kB or so, the ESP32-C3 sports 400 kB of RAM, and manages to keep it all running while burning less power. Like the ESP32, it has Bluetooth LE 5.0 in addition to WiFi.
Espressif’s website says multiple times that it’s going to be “cost-effective”, which is secret code for cheap. Rumors are that there will be eight-pin ESP-O1 modules hitting the streets priced as low as $1. We usually require more pins, but if medium-sized ESP32-C3 modules are priced near the ESP8266-12-style modules, we can’t see any reason to buy the latter; for us it will literally be an ESP8266 killer.
On the other hand, it lacks the dual cores of the ESP32, and simply doesn’t have as many GPIO pins. If you’re a die-hard ESP32 abuser, you’ll doubtless find some features missing, like the ultra-low-power coprocessor or the DACs. But it does share a lot of the ESP32 standouts: the LEDC (PWM) peripheral and the unique parallel I2S come to mind. Moreover, it shares the ESP-IDF framework with the ESP32, so despite running on an entirely different CPU architecture, a lot of code will run without change on both chips just by tweaking the build environment with a one-liner.
One of these things is not like the other
If you were confused by the chip’s name, like we were, a week or so playing with the new chip will make it all clear. The ESP32-C3 is a lot more like a reduced version of the ESP32 than it is like an improvement over the ESP8266, even though it’s probably destined to play the latter role in our projects. If you count in the new ESP32-S3 that brings in USB, the ESP32 family is bigger than just one chip. Although it does seem odd to lump the RISC-V and Tensilica CPUs together, at the end of the day it’s the peripherals more than the CPUs that differentiate microcontrollers, and on that front the C3 is firmly in the ESP32 family.
Our takeaway: the ESP32-C3 is going to replace the ESP8266 in our projects, but it won’t replace the ESP32 which simply has more of everything when we need it. The shared codebase and peripheral architecture makes it easier to switch between the two when we don’t need the full-blown ESP32. In that spirit, we welcome the newcomer to the family.
But naturally, we’ve got a lot more to say about it. Specifically, we were interested in exactly what the RISC-V core brought to the table, and ran the module through power and speed comparisons with the ESP32 and ESP8266 — and it beats them both by a small margin in our benchmarks. We’ve also become a lot closer friends with the ESP-IDF SDK that all of the ESP32 family chips use, and love how far it has come in the last year or so. It’s not as newbie-friendly as ESP-Arduino, for sure, but it’s a ton more powerful, and we’re totally happy to leave the ESP8266 SDK behind us.