A robotic ‘printer’ made totally out of Lego

0
7



In a video uploaded on June 8, Dutch YouTuber Sten, a Lego devotee who runs the Artistic Mindstorms channel on the social media platform, chronicles the creation of the Pixelbot 3000, from constructing its mechanism to ‘printing’ the ultimate product.The Pixelbot is basically a next-level model of the Bricasso printer, developed about 9 years in the past by JK Brickworks. Constructed totally from Lego components, the Bricasso scanned a pre-pixelated supply picture and saved it to a Lego Mindstorms EV3 unit. The saved knowledge was then used to supply a mosaic utilizing 1 x 1 bricks. Mindstorms, which has been discontinued, was launched as an academic equipment for constructing programmable robots from Lego bricks and parts.The creation of the Pixelbot concerned quite a lot of trial and error, one thing Sten repeatedly makes clear all through the video.“So, the plan is to make an AI picture generator, and I used to be considering it may be a good suggestion to make use of these 16 x 16 base plates after which make a pixel artwork out of these little 1 x 1 plates,” he says at first of the video.

YouTuber Sten, creator of the Pixelbot 3000 and his different AI-powered Lego creation, DaveCreative Mindstorms

Just a few days later, after “reconsidering”, he began over, changing the 16 x 16 base plate with a 32 x 32 one because it produced a superior picture. Just a few days after that, the unique rack and pinion mechanism that moved the platform was changed by screw items. After perfecting the machine, Sten labored on the software program that drives it.Fairly than utilizing a pre-pixelated scanned picture just like the Bricasso, Open AI’s DALL-E 3 generates a cartoon-like picture that’s ‘printed’ as a mosaic. Utilizing Python, the YouTuber wrote code that divided the high-resolution, 1024 x 1024 supply picture right into a 32 x 32 grid and picked the colour of the middle pixel of every area to enhance the sharpness of the ensuing mosaic.Nonetheless, that was nonetheless too many coloration values for Pixelbot to deal with (Lego solely has 70 colours), so Sten made the machine go over each pixel within the supply picture, select the closest coloration, and substitute it with a Lego-friendly coloration.

World’s Finest AI LEGO Robotic!

As a result of the machine must be ultra-precise when putting its bricks, Sten added contact sensors. After trialing the robotic, he observed that the bricks ran out shortly, so he added a “high quality of life function”: coding that made the machine cease when it ran out of any coloration.The ultimate step was selecting a picture to ‘print’. Sten left that call as much as his different creation, Dave, the world’s first AI-powered Lego robotic head. Dave determined the picture ought to be of a ‘quirky robotic holding a sunflower.’ You possibly can watch the 15-minute video of the Pixelbot 3000’s creation, together with seeing how the ultimate Lego mosaic picture turned out, under. The Pixelbot 3000 code is out there for obtain on GitHub.

I made an AI LEGO® PixelArt Robotic