SNES Controllers Are (Almost) SPI-Compatible

Considering that the Serial Peripheral Interface bus semi-standard has been around since the early 1980s, it’s perhaps not that shocking that the controllers of the Super Nintendo Entertainment System (SNES) would take at least some strong design hints for the used protocol. This does however raise the question of exactly how compatible a SNES controller is when connected to the SPI master peripheral of any random MCU. Recently [James Sharman] set out to answer this question decisively.

The impetus for answering this question came after [James] designed a separate SNES controller board for his homebrew computer system, which led to many comments on that video saying that he could just have hooked the controller up to the SPI board in said homebrew system.

Here the short answer is that the SNES controller protocol is very close to SPI Mode-1, with a similar arrangement of clock/data/chip select (latch) lines and clocking. If you think of the SNES controller as an SPI device with just a MISO line, you’re basically there already. The only niggle that popped up was that the ‘MISO’ line does not get pulled into a high-impedance state when the active-low latch connection is pulled high.

This was fixable by introducing a 74HC125 tri-state buffer IC, after which both the original SD card and twin SNES controllers could be used simultaneously.

Continue reading “SNES Controllers Are (Almost) SPI-Compatible”

Cynus Chess Robot: A Chess Board With A Robotic Arm

Downward-facing camera and microphone in the arm. (Credit: Techmoan, YouTube)
Downward-facing camera and microphone in the arm. (Credit: Techmoan, YouTube)

There are many chess robots, most of which require the human player to move the opposing pieces themselves, or have a built-in mechanism that can slide the opposing pieces around to their new location. Ideally, such a chess robot would move the pieces just like how a human would, of course. That’s pretty much the promise behind the Manya Cynus chess robot, which [Matt] over at the Techmoan YouTube channel bought from the Kickstarter campaign.

Advertising itself as a ‘Portable AI Chess Robot’, the Manya Cynus chess robot comes in the form of a case that unfolds into a chess board and also contains the robotic arm that contains the guts of the operation. Powered by the open source Stockfish chess engine, it can play games against a human opponent at a few difficulty levels without requiring any online connectivity or a companion app. It moves its own pieces by picking up the metal-cored chess pieces with its arm, while its front display tries to display basic emotions with animated eyes. A 3-MP downward-facing camera is located on the head section, along with a microphone.

As for how well it works, [Matt] isn’t the best chess player, but he had a fair bit of fun with the machine. His major complaints circle around how unfinished the firmware still feels, with e.g., invalid moves basically ignored with only a barely visible warning popping up on the screen. In general, he’d rather classify it as an interesting development kit for a chess robot, which is where the BLE 5.1-based interface and a purported Python-based development environment provided by Manya seem to come into focus.

Continue reading “Cynus Chess Robot: A Chess Board With A Robotic Arm”

LED Printers: The Quiet Achievers You May Not Have Heard Of

Many different types of printers have entered the market over the years. Most of us are intimately familiar with the common inkjet and laser, both of which can be found in homes and offices all over the world. Then there are those old dot matrix printers that were so noisy in use, thermal printers, and even solid ink printers that occupied a weird niche for a time.

However, very little attention is ever paid to the LED printer. They’re not actually that uncommon, and they work in a very familiar way. It’s just that because these printers are so similar to an existing technology, they largely escaped any real notability in the marketplace. Let’s explore the inner workings of the printer tech that the world forgot.

Continue reading “LED Printers: The Quiet Achievers You May Not Have Heard Of”

A cylindrical neodymium-iron-boron magnet in shown on a grey background. A white line of boiling liquid surrounds the top edge of the magnet, and a cloud of condensing vapor hangs over it.

Homemade Liquid Oxygen Demonstrates Paramagnetism

Liquid nitrogen isn’t exactly an everyday material, but it’s acquired conveniently enough to be used in extreme overclocking experiments, classroom demonstrations, chemistry and physics experiments, and a number of other niche applications. Liquid oxygen, by contrast, is dangerous enough that it’s only really used in rocket engines. Nevertheless, [Electron Impressions] made some of his own, and beyond the obvious pyrotechnic experimentation, demonstrated its unusual magnetic properties. Check out the video, below.

The oxygen in this case was produced by electrolysis through a proton-exchange membrane, which vented the hydrogen into the atmosphere and routed the oxygen into a Dewar flask mounted at the cold end of a Stirling cryo-cooler. The cooler had enough power to produce about 30 to 40 milliliters of liquid oxygen per hour, enough to build up an appreciable amount in short order. As expected, the pale blue liquid caused burning paper to disappear in a violent flame, and a piece of paper soaked in it almost exploded when ignited.

Continue reading “Homemade Liquid Oxygen Demonstrates Paramagnetism”

Accidental Climate Engineering With Disintegrating Satellites

For many decades humankind has entertained the notion that we can maybe tweak the Earth’s atmosphere or biosphere in such a way that we can for example undo the harms of climate change, or otherwise affect the climate for our own benefit. This often involves spreading certain substances in parts of the atmosphere in order to reflect or retain thermal solar radiation or induce rain.

Yet despite how limited in scope these attempts at such intentional experiments have been so far – with most proposals dying somewhere before being implemented – we have already embarked on a potentially planet-wide atmospheric reconfiguration that could affect life on Earth for centuries to come. This accidental experiment comes in the form of rocket stages, discarded satellites, and other human-made space litter that burn up in the atmosphere at ever increasing rates.

Rather than burning up cleanly into harmless components, this actually introduces metals and other compounds into the upper parts of the atmosphere. What the long-term effects of this will be is still uncertain, but with the most dire scenarios involving significant climate change and ozone layer degradation, we ought to figure this one out sooner rather than later.

Continue reading “Accidental Climate Engineering With Disintegrating Satellites”

Simple D-STAR Transceiver Uses Inexpensive Hardware

[Yeckel] recently put the finishing touches on an ambitious implementation of a simple D-STAR (Digital Smart Technologies for Amateur Radio) transceiver using some very accessible and affordable hardware. The project is D-StarBeacon, and [Yeckel] shows it working on a LilyGO TTGO T-Beam, an ESP32-based development board that includes a SX1278 radio module and GPS receiver. It even serves a web interface for easy configuration.

What is D-STAR? It’s a protocol used by radio operators for voice that also allows transmitting low-speed data, such as short text messages or GPS coordinates. While voice is out of scope for [Yeckel]’s project (more on that in a moment) it can do all the rest, including send images. That makes beacon-type functions possible on inexpensive hardware, instead of requiring a full-blown radio.

As mentioned, voice is a big part of D-STAR. While [Yeckel] was able to access the voice data, attempts to decode it were unsuccessful. A valiant effort, but we suppose voice decoding isn’t terribly relevant to beacon-type operations like transmitting APRS (Automatic Packet Reporting System).

So far as [Yeckel] is aware, D-StarBeacon is currently the only open-source implementation of a D-STAR radio available on the internet, which is pretty interesting. We’ve seen projects that touch indirectly on D-STAR, but nothing like this.

Watch it go through its paces in the video embedded below. Since the T-Beam is just a microcontroller development board, the user interface comes from an Android app on a mobile phone, which is why you see a phone in the video.

Continue reading “Simple D-STAR Transceiver Uses Inexpensive Hardware”

Examining A World’s Record From The Age Of Steam

There aren’t many speed records that remain unbroken for the greater part of a century, but one of them is that of the fastest steam locomotive. As with so many such things, there’s a bit of controversy and more than one contender, but the one in the record books is the A4 Pacific, Mallard. In 1938, this locomotive thundered down an incline on the London & North Eastern Railway’s mainline in the north of England at 126 MPH. But can that number be taken as reliable? The Institute of Mechanical Engineers has a video in which they investigate.

It’s a fascinating look at the science of railway speed measurement as it existed in 1938, the record itself, and the paper dynamometer roll which recorded it. We’ve placed the video below the break, and in it, we see an in-depth analysis of the noise and inconsistencies in the recording, and see them come to the conclusion that a safer figure to quote would be 124 MPH.

Our assessment is that, of course, the LNER wanted to squeeze every morsel of publicity from it in a game of one-upmanship with their arch-rivals in the London Midland and Scottish railway, so it’s likely that their use of a momentary figure makes sense in that light. Even the best-laid 1930s jointed track would have been bumpy compared to modern continuous rail, and we are guessing that the ancient clerestory dynamometer car would hardly be as smooth-riding as a modern express coach. The achievement of measuring at all with mechanical instruments in such an environment at those speeds would have been tricky, to say the least. It leaves us wondering whether 1930s electronics could have produced some kind of trackside measurement device, but perhaps the LNER trusted their mechanical instruments more. Perhaps the Pennsylvania Railroad should have followed its example.

Continue reading “Examining A World’s Record From The Age Of Steam”