Hackaday Links Column Banner

Hackaday Links: October 22, 2017

A few weeks ago, the popcorn overflowed because of an ambiguous tweet from AdafruitDid Adafruit just buy Radio Shack? While everyone else was foaming at the mouth, we called it unlikely. The smart money is that Adafruit just bought a few fancy stock certificates, incorporation papers, and other official-looking documents at the Radio Shack corporate auction a few months ago. They also didn’t pick up that monster cache of Trash-80s, but I digress.

Here’s some more popcorn: Adafruit just applied for the ‘Radiofruit’ trademark. Is this Adafruit’s play to take over the Radio Shack brand? Probably not; they put a bunch of radio modules on Feather boards, and are just doing what they do. It does demonstrate Adafruit’s masterful manipulation effective use of social media, though.

Remember those 2D tilty maze rolling marble labyrinth game things? Here’s a 3D version on Kickstarter. It’s handheld, so this really needs a gimbal and associated twisty knobs.

In a video making the meme rounds, someone found an easter egg in the gauge cluster of a Russian GAZ van. It plays Tetris.

It’s Sunday, so it’s time to talk Star Trek. Here’s something interesting that hit my email: a press release telling me, “Trekkies Scramble To Get The First Toothbrush In Space As Seen On Star Trek Discovery”. This is the toothbrush, and here is the press kit. Dumb? Not at all. Star Trek has a long history of using off-the-shelf tools and devices for props. For example, the hyperspanners seen in Star Trek: Enterprise were actually this non-contact thermometer available from Harbor Freight. At least the hyperspanners and thermometers came out of the same injection mold.

There’s a new LimeSDR board on CrowdSupply. It extends any LimeSDR to 10 GHz.

Kerf bending is the application of (usually laser-cut) slots to bend plywood around corners. You’ve seen it a million times before, and done correctly the technique can produce some very interesting results. What about metal, though? You need a pretty big laser for that. [Proto G] is using a 2000 W fiber laser to experiment with kerf bending in stainless steel. It works as you would expect, and we eagerly await someone to replicate this, if only to see another 2000 Watt laser in action.

Building A Working Game Of Tetris In Conway’s Game Of Life

If you haven’t been following along with Conway’s Game of Life, it’s come a long way from the mathematical puzzle published in Scientific American in 1970. Over the years, mathematicians have discovered a wide array of constructs that operate within Life’s rules, including many that can be leveraged to perform programming functions — logic gates, latches, multiplexers, and so on. Some of these creations have gotten rather huge and complicated, at least in terms of Life cells. For instance, the OTCA metapixel is comprised of 64,691 cells and has the ability to mimic any cellular automata found in Life.

A group of hackers has used OTCA metapixels to create a Tetris game out of Life elements. The game features all 7 shapes as well as the the movement, rotation, and drops one would expect. You can even preview the next piece. The game is the creation of many people who worked on individual parts of the larger program. They built a RISC computer out of Game of Life elements, as well as am assembler and compiler for it, with the OTCA metapixels doing the heavy lifting. (The image at the top of the post is the program’s data synchronizer.

Check out the project’s source code on GitHub, and use this interpreter. Set the RAM to 3-32 and hit run.

For a couple of other examples of Life creations, check out the Game of Life clock and music synthesized from Life automata we published earlier.

Mini Tetris Game Packs A Tiny85

[dombeef] originally built pocketTETRIS as a Father’s Day gift for his Tetris-loving pops. However, having finished the project he’s decided to share it with the universe, and it’s looking rather sweet.

He made the game the smallest he could make, with size limitations imposed by a 0.96” OLED display, the coin-cell battery pack, and his desire for a durable 3D-printed case. It uses a ATtiny85 for the brains, mounted on a custom PCB that [dombeef] designed in KiCad. The Arduino code was modified from Andy Jackson’s ATtinyArcade code, giving it three-button capability instead of two. [dombeef] has details on the project page on Hackaday.io as well as 3D-design and PCB-design files on the project’s code repository on GitHub.

We’ve published a fair number of Tetris posts in the past, including skyscraper Tetris, playing Tetris on a soldering iron, and Tetris in 446 bytes. What’s the smallest Tetris you’ve seen?

Tetris On A Soldering Iron

Our commenteers have all said good things about the open-source TS100 soldering iron pencil: things like “it solders well”. But we’ve all got soldering irons that solder well. What possible extra value does having open-source firmware on a soldering iron bring? [Joric] answered that question for us — it can play Tetris. (Video embedded below.)

While that’s cool and all, it wasn’t until we were reading through the README over at GitHub that the funniest part of this hack hit us. Every time you lose a game, the iron tip temperature increases by 10 degrees. Tetris for masochists? The makings of some horrible bar bets? We’re just glad that it’s open-source, because we’re not that good and it would get too hot to handle fast.

We haven’t tried out a TS100 yet, but this hack is almost pushing us to impulse purchase. There are alternative versions of the firmware if you just don’t like the font, for instance. And now, Tetris. Will this become the hot new gaming platform that you’ve been waiting for? Let us know in the comments.

Continue reading “Tetris On A Soldering Iron”

An Awesome Interactive LED Table

If you want to create a large display with a matrix of LEDs, it’s a relatively straightforward process. Thanks to addressable LED tape and microcontrollers it becomes more of a software issue than one of hardware. [Vincent Deconinck] had some inexpensive WS2812 strips, so he sliced into an inexpensive IKEA coffee table  and mounted them in a grid beneath an acrylic sheet. Some work with Arduino Nanos and a Raspberry Pi later, and he had a very acceptable LED matrix table.

An attractive hack, you might say, and leave it at that. But he wasn’t satisfied enough to leave it there, and so to make something rather special he decided to add interactivity. With an infra-red emitter and receiver as part of each pixel, he was able to turn an LED table into an LED touchscreen, though to be slightly pedantic it’s not sensing touch as such.

The design of the IR sensors was not entirely straightforward though, because to ensure reliable detection and avoid illumination from the LED they had to be carefully mounted and enclosed in a tube. He also goes into some detail on the multiplexing circuitry he used to drive the whole array from more Arduinos and a GPIO expander.

The write-up for this project is a long one, but it’s well worth the read as the result is very impressive. There are several videos but we’ll show you the final one, the table playing touch screen Tetris.

Continue reading “An Awesome Interactive LED Table”

LED Tetris Table

No hackspace is complete without an arcade game project or two. Usually these projects are time-worn generic cabinets scarred by the frustrated kicks of a million teenagers, the decades-old Japanese CRT monitors inside of which are ready to shuffle off this mortal coil. You are lucky if you catch them on a rare moment of functioning, and their owners are always hovering ready to attend to any soon-to-expire electronics.

York Hackspace have done things a little differently though. Their member [John] has an arcade game project, but instead of an aged cabinet he’s produced his own tabletop game with an array of multicolour addressable LED strips powered by a Raspberry Pi. Each LED sits in its own foam cell under the translucent surface, so it forms a low resolution color block display.

It’s a Tetris game in its first incarnation, but there is also a copy of Snake underway for it. If it catches your attention you can write your own games, because all its resources are available in a GitHub repository.

This is one of many Tetris interfaces we’ve seen over the years. Largest was probably this skyscraper, but this oscilloscope version is particularly well-executed. One of our most recent forays into Tetris-land though is also one of the most technically interesting, a 446-byte implementation in a master boot record.

Tetris In 446 Bytes

You want to play Tetris. You want to play Tetris on any operating system. You want to play on an old IBM PC, you want to play Tetris on a new MacBook. You want a Tetris that’ll fit inside the master boot record of a disk. You want Tetris as an operating system. You want TetrOS.

Or maybe you don’t, but it’s a fantastic piece of work, and we love tiny demos. Check it out below the break. Or read through the source code in the banner image.

Continue reading “Tetris In 446 Bytes”