Custom Bases Make LEGO Spacecraft Even Cooler

If you’re reading Hackaday, we’re willing to bet that you either own the LEGO Saturn V and Lunar Module models, or at the very least know somebody who does. Even if you thought you’d finally outgrown playing with little plastic bricks (a critical mistake, but one we’ll ignore for now), these two kits just have an undeniable appeal to them. You might never get a chance to work for NASA, but you can at least point to the Saturn V rocket hanging on your wall and say you built it yourself.

[Ben Brooks] thought these fantastic models deserved equally impressive stands, so he built “exhaust plumes” that both craft could proudly perch on. With the addition of some RGB LEDs and a Particle Photon to drive them, he added incredible lighting effects that really bring the display to life. There are also sound effects provided by an Adafruit Audio FX board, and for the Lander, an LCD display that mimics the Apollo Guidance Computer DSKY that astronauts used to safely navigate to the Moon and back.

In his write-up on Hackaday.io, [Ben] makes it clear that he was inspired by previous projects that added an illuminated column of smoke under the LEGO Saturn V, but we think his additions are more than worthy of praise. Playing real audio from the Apollo missions that’s synchronized to the light show honestly makes for a better display than we’ve seen in some museums, and he even rigged up a wireless link so that his neighbor’s kids can trigger a “launch” that they can watch from their window.

For the Lunar Module, he 3D printed an enclosure for the Photon and Adafruit quad alphanumeric display that stands in for the DSKY. There’s even lighted indicators for the 1201/1202 program alarms that popped up as Neil Armstrong and Buzz Aldrin descended to the lunar surface 50 years ago.

While many of us aren’t old enough to have our own first hand memories of the Moon landing, projects like this prove that the incredible accomplishments of the Apollo program never fail to inspire. Who knows? Those kids that are watching [Ben]’s Saturn V from next door might one day get to make the trip themselves.

Continue reading “Custom Bases Make LEGO Spacecraft Even Cooler”

A (Card) Table-Top Turing Machine Of Magic: The Gathering Cards

Within normal rules of collectible card game Magic: The Gathering a player may find themselves constrained to only a single legal course of action forward. It’s a situation players could craft to frustrate their opponents, though the victims usually break free after a few moves. But under a carefully crafted scenario, players would have no choice but to become the execution engine for a Turing-complete programming language written with Magic cards via techniques detailed in this paper.

One of the authors of this paper, [Alex Churchill], started working on this challenge in 2010. We covered an earlier iteration of his work here, and his own criticism that it was dependent on player cooperation. At various points, the game rules state a player “may” take certain actions and the construct falls apart if our player chooses the wrong thing. It would be as if a computer was built out of transistors that “may” switch as commanded or not, which would not be a very reliable method of computation.

To improve reliability of this particular Turing machine execution engine, the team combed through rules and cards to devise an encoding where the player is only ever presented with a single legal course forward. This ensures deterministic execution of the instruction stream, and now with proof of Turing-completeness in hand, we congratulate [Alex] on a successful conclusion to his decade-long quest.

We have a primer available for anyone who wants a refresher on Turing machines. They are utterly impractical but fun for hackers to build, and they are typically constructed of electronics and LEDs instead of ink on cardboard.

Via Ars Technica, who have presented their own analysis of this machine.

Main image: Unspecified set of Magic: The Gathering cards by [Robert] CC BY 2.0

Tic-Tac-Toe, In TTL

We’ll all be familiar with Tic-Tac-Toe, or Noughts and Crosses, a childhood pencil-and-paper diversion which has formed the basis of many a coding exercise. It’s an easy enough task to implement in software, but how many of us have seen it done in hardware alone? That’s just what [Warren Toomey] has done using TTL chips, and his method makes for a surprisingly simple circuit.

At its heart is an 8 kB ROM that contains precomputed move sequences that are selected via an address composed of the game states for both player and machine. A series of flip-flops control and buttons to make the board, and a 555 provides a clock.

The technique of using a ROM to replace complex logic is a very powerful one that is facilitated by the low price of relatively large devices that would once have been unaffordable. We’ve seen the technique used elsewhere, including as an ALU in a TTL CPU, and even for an entire CPU in its own right.

You can see the result in operation in the video below the break, and should you wish to have a go for yourself all the relevant information can be found in a GitHub repository.

Continue reading “Tic-Tac-Toe, In TTL”

This Upgraded Power Wheels Toy Is Powerful Enough To Need Traction Control

A Lamborghini Aventador Is beyond the budget of all but the most well-heeled fathers, but [CodeMakesItGo] came pretty close with a gift for his young son. It was a Lamborghini Aventador all right, but only the 6V Power Wheels ride-on version. As such it was laclustre even for a youngster in its performance, so he decided to give it a 12V upgrade. This proved to have enough grunt to cause wheelspin on those hard plastic wheels, so a further upgrade was a traction control system featuring a NodeMCU. No other child has such a conveyance!

Veterans of the Power Racing Series or Hacky Racers might have expected to see a Chinese motor controller in the mix, but instead he’s used a set of relays for simple on-off control. The traction control has a pair of 3D-printed sensor wheels that operate upon a corresponding  pair of optocouplers to provide feedback to the NodeMCU. A set of different drive options were tried, with finally an H-bridge board being found to be most reliable.

The video below the break shows the hardware, and goes into some detail on the software. The NodeMCU’s WiFi is used to provide some tweakability to the system on the go. The traction control turns out to lower the standing start speed a little, but makes the machine more controllable by its driver. he certainly seems happy with his toy!

Long-time readers will know this isn’t the first Power Wheels upgrade we’ve shown you.

Continue reading “This Upgraded Power Wheels Toy Is Powerful Enough To Need Traction Control”

Coffee Tables, Computers, And Railways

If you were a British kid at any time from the 1950s to the 1980s, the chances are that your toy shop had a train set in it. Not just any train set, but a full model railway layout in a glass case roughly the size of a pool table, with a button that when pressed started a timer and set a little tank engine off on a circuit with a pair of coaches. Magical for a generation raised on black-and-white TV, but probably not something that would cut it with today’s youth. A modern take on the glass-case layout comes from [Jack Flynn], who has created a coffee table with an automated and computerised N-gauge railway layout inside it. And this is definitely a railway rather than a railroad, the main locomotive is a Brush Type 4, a British Rail Class 47 diesel.

The modelling is a work of art, with a slightly idealised British street scene in an oval of double track against a backdrop of a rocky hillside. In the hill is an unexpected surprise which you can see on the video we’ve  placed below the break, and beneath it lie the electronics. A Teensy handles the track switching and all the various LED lights around the board, a Sprog DCC controller takes care of the trains, and overseeing everything is a Raspberry Pi running some custom software in Python with a web interface for control. We probably wouldn’t be able to resist a bit of remote-control railway action if our coffee table had a layout like this one!

Continue reading “Coffee Tables, Computers, And Railways”

Automated Dice Tester Uses Machine Vision To Ensure A Fair Game

People take their tabletop games very, very seriously. [Andrew Lauritzen], though, has gone far above and beyond in pursuit of a fair game. The game in question is Star War: X-Wing, a strategy wargame where miniature pieces are moved according to rolls of the dice. [Andrew] suspected that commercially available dice were skewing the game, and the automated machine-vision dice tester shown in the video after the break was the result.

The rig is a very clever design that maximizes the data set with as little motion as possible. The test chamber is a box with clear ends that can be flipped end-for-end by a motor; walls separate the chamber into four channels to test multiple dice on each throw, and baffles within the channels assure randomization. A webcam is positioned below the chamber to take a snapshot of each “throw”, which is then analyzed in OpenCV. This scheme has the unfortunate effect of looking at the dice from the table’s perspective, but [Andrew] dealt with that in true hacker fashion: he ignored it since it didn’t impact the statistics he was interested in.

And speaking of statistics, he generated a LOT of them. The 62-page report of results from his study is an impressive piece of work, which basically concludes that the dice aren’t fair due to manufacturing variability, and that players could use this fact to cheat. He recommends pooled sets of dice to eliminate advantages during competitive play. 

This isn’t the first automated dice roller we’ve seen around these parts. There was the tweeting dice-bot, the Dice-O-Matic, and all manner of electronic dice throwers. This one goes the extra mile to keep things fair, and we appreciate that.

Continue reading “Automated Dice Tester Uses Machine Vision To Ensure A Fair Game”

Lego Goes Underwater, With Model Submarines And Missiles

It is fun to make a toy vehicle with Lego, but it is even more fun to make one that actually works. [PeterSripol] made two Lego submarines, and you can see them in the video below. There isn’t a lot of build information, but watching the subs fire missiles and then getting destroyed by depth charges is worth something.

One of the subs is larger and uses a rudder to steer. It was apparently harder to control than the other smaller sub which used two motors thrusting opposite one another to steer. Looks like fun.

Continue reading “Lego Goes Underwater, With Model Submarines And Missiles”