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”
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.
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”
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”
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”
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”
Within the last few years, a lot of companies have started with the aim to disrupt the educational electronics industry using their LEGO-compatible sets. Now they’re ubiquitous, and fighting each other for their slice of space in your child’s box of bricks. What’s going on here?
The main reason for LEGO-compatibility is familiarity. Parents and children get LEGO. They have used it. They already have a bunch. When it comes to leveling up and learning about electronics, it makes sense to do that by adding on to a thing they already know and understand, and it means they can continue to play with and get more use from their existing sets. The parent choosing between something that’s LEGO-compatible and a completely separate ecosystem like littleBits (or Capsela) sees having to set aside all the LEGO and buy all new plastic parts and learn the new ecosystem, which is a significant re-investment. littleBits eventually caught on and started offering adapter plates, and that fact demonstrates how much demand there is to stick with the studs.
Continue reading “LEGO-compatible Electronics Kits Everywhere!”