End Of An Era, As LEGO To Discontinue Mindstorms

When there are so many single board computers and other products aimed at providing children with the means to learn about programming and other skills, it is easy to forget at time before the Arduino or the Raspberry Pi and their imitators, when a computer was very much an expensive closed box.

Into this late-’90s vacuum left in the wake of the 8-bit home computer revolution came LEGO’s Mindstorms kits, a box of interlocking goodies with a special programmable brick, which gave kids the chance to make free-form computerized robotic projects all of their own. The recent news that after 24 years the company will discontinue the Mindstorms range at the end of the year thus feels like the end of an era to anyone who has ridden the accessible microcontroller train since then.

What became Mindstorms has its roots in the MIT Media Lab’s Programmable Brick project, a series of chunky LEGO bricks with microcontrollers and the Mindstorms LEGO brick contacts for motors and sensors. Their Logo programming language implementation was eschewed by LEGO in favor of a graphical system on a host computer, and the Mindstorms kit was born. The brand has since been used on a series of iterations of the controller, and a range of different robotics kits.

In 1998, a home computer had morphed from something programmable in BASIC to a machine that ran Windows and Microsoft Office. Boards such as Parallax’s BASIC Stamp were available but expensive, and didn’t come with anything to control. The Mindstorms kit was revolutionary then in offering an accessible fully programmable microcontroller in a toy, along with a full set of LEGO including motors and sensors to use with it.

We’re guessing Mindstorms has been seen off by better and cheaper single board computers here in 2022, but that doesn’t take away its special place in providing ’90s kids with their first chance to make a proper robot their way. The kits have found their place here at Hackaday, but perhaps most of the projects we’ve featured using them being a few years old now underlines why they are to meet their end. So long Mindstorms, you won’t be forgotten!

Header image: Mairi, (CC BY-SA 3.0).

New Part Day: Raspberry Pi LEGO HAT

The Raspberry Pi Foundation have been busy little bees for the last couple of years producing their own silicon, new boards and now in collaboration with the LEGO Education team a new HAT to connect to the LEGO SPIKE education platform. This new HAT board will work with every Raspberry Pi board with a 40-pin GPIO header.

Based on the RPI2040 microcontroller, it makes an interesting detour away from dumb slave boards, although it looks like the firmware is closed (for now) so you’ll have to make do with the pre-baked capabilities and talk to it with the supplied python library.

According to the documentation, the communication between the Pi and the RPI2040 nestled beneath the HAT PCB is plaintext-over-serial, freeing up the majority of the GPIO pins for other uses. The board uses a surface mount pass-through type header which allows pins from the Pi to protrude through the PCB, allowing stacking more HATs on top. Curiously they decided to mount the PCB with active parts facing down, giving a flat rear surface to park things on. We suspect that decision was made to improve access to the LPF2 connectors, especially if they were surface mount parts.

Continue reading “New Part Day: Raspberry Pi LEGO HAT”

Magnetic Attraction Of Microduino MCookie Modules

We’ve seen countless different robot kits promoted for STEM education, every one of which can perform the robotic “Hello World” task of line following. Many were in attendance at Maker Faire Bay Area 2019 toiling in their endless loops. Walking past one such display by Microduino, Inc. our attention was caught by a demonstration of their mCookie modules in action: installing a peripheral module took less than a second with a “click” of magnets finding each other.

Many Arduino projects draw from an ecosystem of Arduino shields. Following that established path, Microduino had offered tiny Arduino-compatible boards and peripherals which connected with pins and headers just like their full-sized counterparts. Unfortunately their tiny size also meant their risk of pin misalignment and corresponding damage would be higher as well. mCookie addresses this challenge by using pogo pins for electrical contacts, and magnets to ensure proper alignment. Now even children with not-quite-there-yet dexterity can assemble these modules, opening up a market to a younger audience.

Spring loaded electric connections are a popular choice for programming jigs, and we’ve seen them combined with magnets for ideas like modular keyboards, and there are also LittleBits for building simple circuits. When packaged with bright colorful LEGO-compatible plastic mounts, we have the foundation of an interesting option for introductory electronics and programming. Microduino’s focus at Maker Faire was promoting their Itty Bitty Buggy, which at $60 USD is a significantly more affordable entry point to intelligent LEGO creations than LEGO’s own $300 USD Mindstorm EV3. It’ll be interesting to see if these nifty mCookie modules will help Microduino differentiate themselves from other LEGO compatible electronic kits following a similar playbook.

A Tabletop Star Wars Themed Lego Racer Game

When it comes to the title of undisputed king of the toy construction kit world, the Danes have it. Lego are ubiquitous in the toybox, and parents worldwide know the joy of stepping barefoot on a stray brick. Aside from the themed sets for youngsters and collectors, we see a lot of Lego in projects that make it to these pages. Sometimes they are from hardware hackers who’ve chosen Lego because they had some to hand or because of its utility, but at other times they come from the Lego community rather than the wider one.

Take the Star Racer from [Alexis Dos Santos] as an example of the former. It’s a table top racing game made entirely from Lego, and with control courtesy of Lego Mindstorms. It’s a real rolling road game, with a track made from five continuous belts of grey Lego sections, with obstacles attached to them. The Podracer slides from side to side at the front under user control, and the object is to avoid them as they come towards you at varying speed.

It’s a beautiful piece of work, and as well as the linked Flickr photographs it can be seen in the YouTube video below the break. The sticker says it’s a highly addictive game, and we’d be inclined not to disagree.

Continue reading “A Tabletop Star Wars Themed Lego Racer Game”

Solving A Rubik’s Cube With Just Two Motors

We’ve all seen videos of Rubik’s cube champions who can solve the puzzle in less than 5 seconds. And there are cube-twisting robots that can solve the cube even faster, often in under a second. This Rubik’s cube solver is not one of those robots, but it’s still pretty cool.

The reason we like Dexter Industries’ “BricKuber” is not for its lightning speed — it takes a minute or two to solve the puzzle. What we like is the simplicity of the approach to manipulating the cube. Built from LEGO parts, including Mindstorms motors and a BrickPi controller, the BricKuber uses only two motors to work the cube. One motor powers a square turntable upon which the cube sits, while the other powers an arm that does double duty — it either clamps the cube so the turntable can rotate a layer, or it rakes the cube to flip it 90° on the turntable. With a Pi Cam overhead, the rig images all six faces, calculates a solution to the cube, and then flips and twists the cube to solve it. It’s simultaneously mind-boggling and strangely relaxing to watch.

All the code is open source, and we strongly suspect a similar and possibly faster robot could be built without the LEGO parts. You might even be able to build one with popsicle sticks and an Arduino.

Continue reading “Solving A Rubik’s Cube With Just Two Motors”

Mindstorms Forkliftbots Gonna Take Your Job

With every advance in robotics, we get closer to being able to order stuff from Amazon and have no human being participate in its delivery. Key step in this dream: warehouse robots, smart forklifts able to control and inventory and entire warehouse full of pallets, without the meat community getting involved. [Thomas Risager] designed just such a system as part of his Masters Thesis in Software Engineering. It consists of five LEGO Mindstorms robots working in concert (video embedded below), linked via WiFi to a central laptop. Mindstorms’ native OS doesn’t support WiFi (!!!) so he reflashed the EV3’s ARM9 chip with software developed using Java and running under LeJOS. On the laptop side [Thomas] wrote a C++ application that handles the coordination and routing of the forklifts. We can see a lot of weary forklift drivers ready to kick back and let a robot have the full-time job for a change.

The robots use WiFi to a central laptop. Mindstorms’ native OS doesn’t support WiFi (!!!) so [Thomas] reflashed the EV3’s ARM9 chip with software developed using Java and running under LeJOS. On the laptop side he wrote a C++ application that handles the coordination and routing of the forklifts. [Thomas] is sharing his forklift design.

Now to scale up — maybe with DIY forklifts like we published earlier? We can see a lot of weary forklift drivers ready to kick back and let a robot have the full-time job for a change.

Continue reading “Mindstorms Forkliftbots Gonna Take Your Job”

Scary LEGO chocolate dispensing machine

Mechanical Marvel Trades Courage For Chocolate

When we see what [Jason Allemann] does with LEGO, we wonder why more one-offs aren’t made this way. This time he’s made a Halloween mechanical marvel that will surely scare more kids than anything else they’ll encounter on their rounds — so much so that many may even decline the chocolate it dispenses. Who wouldn’t when to get it you have to reach over an animatronic skeleton hand that may grab you while a similarly mechanized spider may lunge onto your hand.

The chocolate dispensing, the hand and the spider are all animated using four motors, a LEGO Mindstorms EV3 brick to control them, and a touch sensor. When a kid presses a pumpkin attached to the touch sensor, the next chocolate candy is lowered by gravity onto a conveyor belt and carried forward to the awaiting child. That much is automatic. At the discretion of [Jason] and his partner [Kristal], using an infrared remote control and sensor, they can activate the skeleton hand and the lunging spider at just the right moment. We’re just not sure who they’ll choose to spare. It is Halloween after all, and being scared is part of the fun, so maybe spare no one? Check out the video below and tell us if you’d prefer just the treat, or both the trick and treat.

We do have to wonder if there’s any project that can’t benefit from LEGO products, even if only at the prototype stage or to help visualize an idea. As a small sample, [Jason]’s also made a remote-controlled monowheel and an actual working printer along with a Morse key telegraph machine to send it something to print.

Continue reading “Mechanical Marvel Trades Courage For Chocolate”