More Detail On That Fantastic Lego OLED Brick

It’s always great when we get a chance to follow up on a previous project with more information, or further developments. So we’re happy that [“Ancient” James Brown] just dropped a new video showing the assembly of his Lego brick with a tiny OLED screen inside it. The readers are too, apparently — we got at least half a dozen tips on this one.

We’ve got to admit that this one’s a real treat, with a host of interesting skills on display. Our previous coverage on these bedazzled bricks was disappointingly thin on details, and now the original tweets even seem to have disappeared entirely. In case you didn’t catch the original post, [James] found a way to embed a microcontroller and a remarkably small OLED screen into a Lego-compatible brick — technically a “slope 45 2×2, #3039” — that does a great job of standing in for a tiny computer monitor.

Continue reading “More Detail On That Fantastic Lego OLED Brick”

All About USB-C: Connector Mechanics

There’s two cases when hackers have to think about USB-C connector mechanics. The first is when a USB-C connector physically breaks, and the second is when we need to put a connector on our own board. Let’s go through both of them.

Clean That Connector

What if a socket on your phone or laptop fails? First off, it could be due to dust or debris. There’s swabs you can buy to clean a USB-C connector; perhaps adding some isopropyl alcohol or other cleaning-suitable liquids, you can get to a “good enough” state. You can also reflow pins on your connector, equipped with hot air or a sharp soldering iron tip, as well as some flux – when it comes to mechanical failures, this tends to remedy them, even for a short period of time.

How could a connector fail, exactly? Well, one of the pins could break off inside the plastic, or just get too dirty to make contact. Consider a device with a USB-C charging and data socket, with USB 2.0 but without high-speed pairs – which is to say, sadly, the majority of the phones out there. Try plugging it into a USB-A charger using a USB-A to USB-C cable. Does it charge, even if slowly? Then, your VBUS pins are okay.

Plug it into a Type-C charger using a Type-C cable, and now the CC pins are involved. Does it charge in both orientations? Then both of your CC pins are okay. Does it charge in only one orientation? One of the CC pins has to be busted. Then, you can check USB 2.0 pins, used for data transfer and legacy charging. Plug the phone into a computer using a USB-A to USB-C cable. Does it enumerate as a device? Does it enumerate in both orientations? If not, you might want to clean D- and D+ pins specifically, maybe even both sets. Continue reading “All About USB-C: Connector Mechanics”

A Love Letter To My Lost Amiga

My first love was a black wedge. It was 1982, and I had saved up to buy a Sinclair ZX81. That little computer remains the only one of the huge number that I have owned over the years about which I can truly say that I understood its workings completely; while I know how the i7 laptop on which this is being written works I can only say so in a loose way as it is an immensely complex device.

Computing allegiance is fickle, and while I never lost an affection for the little Sinclair I would meet my true electronic soulmate around eight years later as an electronic engineering student. It no longer graces my bench, but this was the computer against which all subsequent machines I have owned would be measured, the one which I wish had not been taken from me before its time, and with which I wish I could have grown old together. That machine was a Commodore Amiga, and this is part love letter, part wistful musing about what could have been, and part rant about what went wrong for the best desktop computer platform ever made. Continue reading “A Love Letter To My Lost Amiga”

See The ATARI GEM Desktop Running On A Portable Word Processor… Thing

Get ready for vintage computing aplenty in [David Given]’s project to port EmuTOS to the AlphaSmart Dana. He’s got it all on video, too. All 38 hours of it over 13 episodes!

The GEM desktop, as seen on the Atari ST line of computers.

[David]’s fork of EmuTOS is an open source version of the Atari TOS, which is itself the 68000-based OS for the Atari ST line of computers.

As for the AlphaSmart Dana, it is a roughly twenty-year-old portable word processor thing with pen input which runs a version of PalmOS. It’s a slightly oddball piece of hardware, but quite capable in its own way. A match obviously made in heaven? It is if you have [David]’s skill and drive!

To get EmuTOS working on the Dana, the first step was figuring out how to find and work with the Dana’s debug port, using it to get direct access to the CPU while bypassing the boot ROM. Turns out that the Dana’s 68000-compatible processor has a handy feature: by manipulating the right pin, one can remote-control the CPU (to a certain extent) via the UARTs. That’s the entry point for a whole lot of hacking that ultimately results in firing up the GEM desktop on the Dana, and being able to run (some) original Atari ST software. Probably the biggest issue is that the screen size isn’t a great match for what the OS expects, but it works.

Continue reading “See The ATARI GEM Desktop Running On A Portable Word Processor… Thing”

Snail Mail Notifier’s Simple Power Management To Maximize Battery Life

There are no weird, specialized components nor esoteric sleep mode tricks behind the long battery life of [Zak]’s WiFi mail slot watcher. Just some sensible design and clever focus on the device’s purpose: to send an HTTP request whenever it detects that the front door’s mail slot has been opened. The HTTP request is what kicks off useful notifications, but it’s the hardware design that’s really worth a peek.

The watcher’s main components are a ESP-M2 WiFi module, a reed switch, and a single lithium cell. Here’s how it works at a high level: when the mail slot is opened (detected by the reed switch), the ESP module is powered up just long enough to connect to the local WiFi network and send a single HTTP request, after which it shuts back down. The whole process takes between four and ten seconds.

As mentioned, the power control isn’t managed by any unusual components; it comes down to a NAND gate with a single inverted input, and a MIC5504 3.3 V regulator responsible for feeding the ESP board. The logic gate controls whether the voltage regulator is enabled or disabled, and therefore whether the microcontroller receives any power at all. Most of the time the regulator is disabled, but when the reed switch triggers, its input to the NAND gate is pulled low and the regulator is turned on, booting up the ESP board.

In order to stay on, the first thing the ESP board does is use a GPIO pin to drive the inverted input of the NAND gate high in order to keep the regulator enabled, and it has a window of about half a second to do this. Once the HTTP request is sent (and the battery voltage sensed), the ESP board pulls that pin low, disabling the regulator and turning itself off until the reed switch once again begins the process.

After seven months of use, the battery has dropped from 4.2 V to 3.9 V, so there’s plenty of life left. The project’s GitHub repository has the necessary code if you’d like to apply some of its ideas to your own projects. Alternately, you may wish to consider supercapacitors and solar in lieu of batteries. Even if ultra-level power savings isn’t your bag, when WiFi and networking is involved, there are software-level opportunities to be more efficient. Even a judicious 1 ms delay can save a surprising amount of power in the right circumstances.

Laser Fusion Ignition: Putting Nuclear Fusion Breakthroughs Into Perspective

This month the media was abuzz with the announcement that the US National Ignition Facility (NIF) had accomplished a significant breakthrough in the quest to achieve commercial nuclear fusion. Specifically, the announcement was that a net fusion energy gain (Q) had been measured of about 1.5: for an input of 2.05 MJ, 3.15 MJ was produced.

What was remarkable about this event compared to last year’s 1.3 MJ production is that it demonstrates an optimized firing routine for the NIF’s lasers, and that changes to how the Hohlraum – containing the deuterium-tritium (D-T) fuel – is targeted result in more effective compression. Within this Hohlraum, X-rays are produced that serve to compress the fuel. With enough pressure, the Coulomb barrier that generally keeps nuclei from getting near each other can be overcome, and that’s fusion.

Based on the preliminary results, it would appear that a few percent of the D-T fuel did undergo fusion. So then the next question: does this really mean that we’re any closer to having commercial fusion reactors churning out plentiful of power?

Continue reading “Laser Fusion Ignition: Putting Nuclear Fusion Breakthroughs Into Perspective”

Damaged Soyuz May Leave Crew Without A Ride Home

Though oddly beautiful in its own way, it’s a sight no astronaut wants to see: their spacecraft, the only way they have to return to Earth, ejecting countless iridescent droplets of something into space.

When the crew of Apollo 13 saw their craft literally bleeding out on their trip to the Moon it was clear the mission, and ultimately their lives, were in real jeopardy. Luckily the current situation is not nearly as dire, as the leaking Soyuz MS-22 spacecraft docked to the International Space Station doesn’t pose any immediate danger to those aboard the orbiting laboratory. But it’s still an unprecedented situation, and getting its crew home will require engineers on the ground to make some very difficult decisions.

This situation is still developing, and neither NASA nor their Russian counterpart Roscosmos have released much in the way of specifics. But we can make some educated guesses from the video and images we’ve seen of the stricken Soyuz capsule, and from what’s been shown to the public so far, things aren’t looking good.

Continue reading “Damaged Soyuz May Leave Crew Without A Ride Home”