Make Your Lego Fly

We probably all used to make our Lego fly by throwing it across the room, but Flite Test have come up with a slightly more elegant solution: they converted a Lego quadcopter to fly. They did it by adding a  miniature flight controller, battery and motors/rotors to replace the Lego ones in the Lego City Arctic Air Transport kit. This combination flies surprisingly well, thanks to a thoughtful design that balances the heavier components inside the case.

Continue reading “Make Your Lego Fly”

Hackaday Links: January 20, 2019

Let’s say you’re an infosec company, and you want some free press. How would you do that? The answer is Fortnite. Yes, this is how you hack Fortnite. This is how to hack Fortnite. The phrase ‘how to hack Fortnite’ is a very popular search term, and simply by including that phrase into the opening paragraph of this post guarantees more views. This is how you SEO.

Lasers kill cameras. Someone at CES visited the AEye booth, snapped a picture of an autonomous car at AEye’s booth, and the LIDAR killed the sensor. Every subsequent picture had a purple spot in the same place. While we know lasers can kill camera sensors, and this is a great example of that, this does open the door to a few questions: if autonomous cars have LIDAR and are covered in cameras, what’s going to happen to the cameras in an autonomous car driving beside another autonomous car? Has anyone ever seen more than one Cruise or Waymo car in the same place at the same time? As an aside, AEye’s company website’s URL is aeye.ai, nearly beating penisland.net (they sell pens on Pen Island) as the worst company URL ever.

This is something I’ve been saying for years, but now there’s finally a study backing me up. Lego is a viable investment strategy. An economist at Russia’s Higher School of Economics published a study, collecting the initial sale price of Lego sets from 1987 to 2015. These were then compared to sales of full sets on the secondary market. Returns were anywhere between 10 and 20% per year, which is crazy. Smaller sets (up to about 100 pieces) had higher returns than larger sets. This goes against my previous belief that a Hogwarts Castle, Saturn V, and UCS Falcon-heavy portfolio would outperform a portfolio made of cheap Lego sets. However, this observation could be tied to the fact that smaller sets included minifig-only packaging, and we all know the Lego minifig market is a completely different ball of wax. The Darth Revan minifig, sold as an exclusive for $3.99 just a few years ago, now fetches $35 on Bricklink. Further study is needed, specifically to separate the minifig market from the complete set market, but the evidence is coming in: Lego is a viable investment strategy, even when you include the 1-2% yearly cost of storing the sets.

Relativity Space got a launchpad. Relativity Space is an aerospace startup that’s building a rocket capable of lobbing my car into Low Earth Orbit with a methalox engine. They’re doing it with 3D printing. [Bryce Salmi], one of the hardware engineers at Relativity Space, recently gave a talk at the Hackaday Superconference about printing an entire rocket. The design is ambitious, but if there’s one device that’s perfectly suited for 3D printing, it’s a rocket engine. There are a lot of nonmachinable tubes going everywhere in those things.

Turning LEGO Blocks into Music with OpenCV

We’re not sure what it is, but something about LEGO and music go together like milk and cookies when it comes to DIY musical projects. [Paul Wallace]’s Lego Music project is a sequencer that uses the colorful plastic pieces to build and control sound, but there’s a twist. The blocks aren’t snapped onto anything; the system is entirely visual. A computer running OpenCV uses a webcam to watch the arrangement of blocks, and overlays them onto a virtual grid where the positions of the pieces are used as inputs for the sequencer. The Y axis represents pitch, and the X axis represents time.

Embedded below are two videos. The first demonstrates how the music changes based on which blocks are placed, and where. The second is a view from the software’s perspective, and shows how the vision system processes the video by picking out the colored blocks, then using their positions to change different values which has an effect on the composition as a whole.

Continue reading “Turning LEGO Blocks into Music with OpenCV”

ABS: Three Plastics in One

It would be really hard to go through a typical day in the developed world without running across something made from ABS plastic. It’s literally all over the place, from toothbrush handles to refrigerator interiors to car dashboards to computer keyboards. Many houses are plumbed with pipes extruded from ABS, and it lives in rolls next to millions of 3D-printers, loved and hated by those who use and misuse it. And in the form of LEGO bricks, it lurks on carpets in the dark rooms of children around the world, ready to puncture the bare feet of their parents.

ABS is so ubiquitous that it makes sense to take a look at this material in terms of its chemistry and its properties. As we’ll see, ABS isn’t just a single plastic, but a mixture that takes the best properties of its components to create one of the most versatile plastics in the world.

Continue reading “ABS: Three Plastics in One”

Lego Tardis Spins Through the Void

Using LEGO Technic gears and rods seems like a great way of bringing animation to your regular LEGO creation. Using gears and crank shafts you can animate models from your favorite TV show or movie like LEGO kinetic sculpture maker, [Josh DaVid] has done when he created a spinning TARDIS.  Crank the handle and the sculpture spins through space and time.

The large gear stays in place. The hidden gears, turned by the crank, rotate a shaft from below that goes through the large gear making the TARDIS rotate around the main axis. Connected to the TARDIS model is a smaller gear, at an angle, that meshes with the larger, stationary, gear. This smaller gear is what causes the TARDIS to rotate around its own axis while the whole thing rotates around the main axis. If your hand gets too tired, you can substitute a LEGO motor.

It’s a neat effect, and you can get the plans [Josh]’s Etsy page. The best part, however, is that you can get a set with all the parts as well! The TARDIS is a popular item here and we’ve had plenty of projects with it as the focus: Everything from a tree topper to sub-woofers. The only question we have, of course, is, ‘Is it bigger on the inside?’

Continue reading “Lego Tardis Spins Through the Void”

Sorting LEGO Is Like Making A Box Of Chocolates

Did you know that chocolate candy production and sorting LEGO bricks have something in common? They both use the same techniques for turning clumps of chocolates or bricks into individual ones moving down a conveyor belt. At least that’s what [Paco Garcia] found out when making his LEGO Sorter.

Sorting LEGO bricks using guidesHowever, he didn’t find that out right away. He first experimented with his own techniques, learning that if he fed bricks to his conveyor belt by dropping a batch of them in a line perpendicular to the direction of belt travel then no subsequent separation attempt of his worked. He then turned to [akiyuky’s] LEGO sorter for inspiration and dropped them onto the belt at an angle, ensuring that some bricks would be in front of others. A further trick he found is very well demonstrated in the chocolate sorting video below and shown in the image here. That is to use guides on the belt which serve to create speed differentials. Bricks move slower than the conveyor belt while pressed against a guide but when a brick leaves the guide, it accelerates to the speed of the conveyor belt, pulling away from the bricks still at the guide and thus separating them.

A further discovery had nothing to do with chocolate production, unless maybe for quality control. Once an individual brick had been separated out, it had to be classified. To do that he used Google’s Inception v3 neural network. But first, he had to retrain it for recognizing different types of LEGO bricks, something we’ve seen done before for use with recognizing playing cards. And to do the retraining, he needed many images of different bricks all separated into their different types. That’s where he came up with a clever trick. He used his own sorter for that. For example, to get a bunch of images of 1×1 bricks of different colors and orientations, he simply ran them through the sorter, saving the images to files and assigning them to the 1×1 brick class. He then used his desktop machine with a GeForce GT 730 GPU for the retraining, taking around 2.7 seconds per brick. For sorting though, he runs the trained neural network on a Raspberry Pi, taking 3.8 seconds for each brick. The resulting sorter works quite well, sorting with 89% accuracy. Watch it in action in the video below.
Continue reading “Sorting LEGO Is Like Making A Box Of Chocolates”

FOSSCON 2018: Where Open Source and LEGO Collide

It probably won’t come as a surprise to anyone reading this, but hackers and makers absolutely love LEGO. We think you’d be hard pressed to find a Hackaday reader, young or old, that hasn’t spent some quality time with the little plastic bricks from Billund, Denmark. So it follows that there’s a considerable community of individuals who leverage their better than average technical prowess to utilize LEGO in new and unique ways. But the activities and history of these LEGO hackers is not exactly common knowledge to those who aren’t heavily vested in the hobby.

During the recent FOSSCON 2018 in Philadelphia, Daniel Pikora gave attendees a comprehensive look at the intersection of open source development and the world’s most popular brand of construction toys. A software developer with a penchant for open source code by trade, he’s also an avid member of what’s known as the Adult Fan of LEGO (AFOL) community who’s exhibited his creations at shows across the United States and Canada. Such a unique perspective, with a foot in both the FOSS and LEGO camps, makes Daniel an ideal tour guide for this particular microcosm of toys and tech.

In a whirlwind presentation that took attendees through 49 slides in about as many minutes, Daniel covered LEGO’s beginnings in the 1930s to the rise of 3D printed custom bricks, and everything in between. Some of the engineering-centric product lines, such as Technic and Mindstorms, were already fairly well known to the types of folk who spent a beautiful Saturday in Philadelphia at an open source conference. But Daniel’s deep-dive into the long history of open source LEGO projects brought to light the work of so many dedicated developers that everyone walked away with a newfound respect for the amount of work the AFOL community has put into elevating LEGO from a child’s toy to a legitimate tool. Join me below for a look at the particulars of that deep dive.

Continue reading “FOSSCON 2018: Where Open Source and LEGO Collide”