Electric LEGO Longboard Now Complete with Epic Road Test

We recently posted about [James Bruton]’s most excellent oversized LEGO electric longboard. Well, now he has completed the project by tidying a few things and building oversized versions of classic light-up bricks to serve as headlamps and the tail light. Most importantly, he’s hitting the road with it!

He built a LEGO-looking enclosure for the battery as well, based on a 2×6 brick. The battery pack sits behind the motor with the tail light on top and holds the radio control receiver as well the twin LiPos. The head and tail lights pack 24-LED discs and are controlled by [James]’ FS-GT2B 3-channel RC transmitter. Its third channel is just a button, and he can trip that button to activate the lights with the help of a Turnigy receiver-controlled switch.

For an added touch he printed some LEGO flowers and a minifig, suitably oversized, and took the skateboard on the road. The thing has some zip! [James] kept his balance while holding the controller in one hand and a selfie stick with the other. The headlamp housings fell off, and a while later the minifig fell off. Fortunately [James] was able to snap them back into place, in proper LEGO fashion.

[James] runs XRobots and also served as a judge for the 2016 Hackaday Prize. We wrote up his Star Wars builds a while back, as well as his tutorial on mixed reality filming without a green screen.

Continue reading “Electric LEGO Longboard Now Complete with Epic Road Test”

Electric Skateboard Rocks the Giant LEGO

[James Bruton] built an electric skateboard out of oversized LEGO bricks he printed himself, and equipped the board with an excellent re-creation of a classic motor.

He began by downloading brick, gear, and pulley designs from Thingiverse and printing them up five times their normal size, taking 600 hours. The deck consists of 8M Technic bricks lengthwise and 4M bricks crosswise, with plates covering top. There’s even a monster 5×6 plate that’s clearly courtesy of a parametric brick design because you won’t find that configuration among LEGO’s official parts.

The coolest part of the project is probably [James]’ re-creation of an old school LEGO motor. He sized up a 6216M Technic motor originally rated for 4.5V swapping in a 1.5 kW, 24V motor controlled by a 120A ESC and powered pair of Turnigy 5000mAh LiPos wired in series.

[James] had to design his own casing in Blender because couldn’t find a file for the original LEGO part—pro tip for the future, LDraw has the 6216 design and it can be dropped into Blender.

Another nice touch are the wheels, with hubs based off upsized 40-tooth Technic gears with Ninjaflex tires that weigh half-a-kilo each and took 32 hours apiece to print.

We’ve published a lot of [James] ‘ work, including his BB-8 model and some of his other Star Wars models. Continue reading “Electric Skateboard Rocks the Giant LEGO”

We Dig This LEGO Excavator Conversion

[Frank] was lucky enough to score a bucket wheel excavator LEGO set as a birthday present, and we won’t lie – we’re jealous. However, out of the box, the kit is somewhat limited; there is only one motor to animate the entire machine and it can’t be fully remote controlled. But don’t worry — [Frank] set out to change that (Google Translation).

The first part of the build was to add motors to control the different functions of the excavator. One motor was added for each of the two tracks to allow the machine to drive forwards, backwards, and turn. Two more motors were added to raise and lower the digging buckets, and spin the tower. Finally, the original motor was left in place to turn the conveyor.

With that done, [Frank] then used a Raspberry Pi 3 to control all the hardware, being sure to house the new electronics in LEGO for an original look. The Raspberry Pi might be a lot of muscle to simply control a few motors, but it made it quick and easy for [Frank] to implement a Wiimote as a controller over Bluetooth. You can check out a couple demo videos in his most recent update.

It’s a great project, and we’d love to see the Raspberry Pi put to good use by allowing control over the Internet so we can dig in the sand over lunch breaks. We’ve seen some great LEGO hacks before, like this method of modifying cheap gear motors to work with LEGO parts.

Making Spirographs with LEGO and Math

Master LEGO builder [Yoshihito Isogawa] has been on a roll lately, cranking out a number of robots that make drawings reminiscent of the classic Spirograph toy. For instance, he built an elegant drawbot out of LEGO elements, seen above. At first glance the monicker “spirograph” seems wrong, because where are the gears? However, [Yoshihito] has them stashed underneath the sheet of paper, with magnets controlling the pens.

His drawbot consists of a platform (cleverly, an inverted LEGO plate) upon which a sheet of paper is laid. One or two pen holders, each with a pair of magnets underneath, rest on the sheet of paper. Beneath the plate, two pairs of spinning magnets rotate around a double layer of 11×11 curved racks, which then play the role of the classic spirograph rings. An EV3-controlled motor powers the whole thing.

He also makes use of an obscure part–the 14-tooth bevel gear, last manufactured by LEGO in 2002 and even then it was mostly sold in part assortments intended for the education market. It’s so obscure LEGO doesn’t even provide the gear in their online building program LEGO Digital Designer, though (of course) the LDraw folks re-created it — it’s brick 4143 in the library, seen below.

Spirograph Gear Math

This gear becomes important in spirograph-style projects because tooth count is everything. There really aren’t that many spirograph designs that can be made with LEGO, because there are a limited number of gears and they mostly have the same tooth counts–the smaller ones sport 8, 12, or 16 teeth, medium-sized ones 20 or 24 teeth, and larger ones 36 or 40 — see a pattern? Such predictability may be great for a building set, but it doesn’t engender a lot of spirograph diversity.

When you compute the number of vertices in a spirograph shape, you take the least common multiple of the two gears (or sets of gears) and divide by the small gear. So a 60-tooth turntable turning a pair of 14-tooth gears has an LCM of 420, and you divide by 28 to get the number of vertices: 15. Remove one of those smaller gears and the vertices increase to 30. The challenge in creating new shapes with a LEGO spirograph lays in swapping in new gears, just like the original toy, and having more ways to come up with unusual gear ratios makes for more interesting drawings.

Another that makes the 14-tooth gear so alluring to [Yoshihito] is that it’s one of the few LEGO gears with a number of teeth not divisible by 4. Among other things this means the gear meshes with an identical gear at 90 degrees. Usually the gears have the same number for each quarter of the circumference and meshing becomes a matter of jogging one gear a scosh. This can be a problem because LEGO axles have a “plus” shaped profile, and you may not want everything on that axle tilted as well — having a 90-degree solution makes a lot of sense.

[Yoshihito] designs LEGO robots out of Isogawa Studio and has written several books on advanced LEGO techniques, published by No Starch. He specializes in small and elegant mechanisms — finding the perfect set of elements that work together effortlessly. You can see an example in the gear assembly to the right — a pair of the aforementioned 14-tooth bevel gears, turned into a normal gear with the help of that golden spacer, none other than a One Ring from LEGO’s Lord of the Rings product line. You can find videos of his projects on YouTube.

[Yoshihito] has released a number of variants of the spirographing drawbot. What’s next? Maybe a harmonograph?

Continue reading “Making Spirographs with LEGO and Math”

EV3DEV Lego Linux Updated

The ev3dev Linux distribution got an update this month. The distribution targets the Lego EV3 which is a CPU Lego provides to drive their Mindstorm robots. The new release includes the most recent kernel and updates from Debian 8.8. It also contains tools needed for some Wi-Fi dongles and other updates.

If you haven’t seen ev3dev before, it is quite simply Linux that boots on the EV3 hardware using an SD card. You don’t have to reflash the computer and if you want to return to stock, just take out the SD card. You can also use ev3dev on a Raspberry Pi or BeagleBone, if you like. There’s a driver framework included for handling sensors, motors, and other items using the file system.

Continue reading “EV3DEV Lego Linux Updated”

Converting a Robotic Motor For Lego Blocks

The Internet has brought a lot of advantage to life, not the least of which is access to really cheap electronic parts. [KarelK166] was buying cheap geared motors for projects, but they didn’t easily work with Lego blocks. He found an easy way to adapt them and–lucky for us–decided to share.

The process is pretty simple. The gearbox has two screws and an elastic band holding it together. Once the gears are exposed, you can drill a hole in two of them with a 4.8mm drill bit. This might take a little practice since the gear needs to hold still, but you also don’t want to crush the plastic teeth. You also need to enlarge a hole in the casing, but that’s easier to clamp down in a vise.

Continue reading “Converting a Robotic Motor For Lego Blocks”

Universal Robots Vision-Based LEGO Stacker

[Thomas Kølbæk Jespersen] and his classmates at Aalborg University’s Robot Vision course used MATLAB code and URscript to program a Universal Robots UR5 to stack up Duplo bricks. The Duplo bricks are stacked into low-fi Simpsons characters — yellow for Homer’s head, white for his shirt, and blue for his pants, for example.

The bricks are scattered randomly on a nearby table, while a camera mounted above the table scans the bricks and assists in determining the location, color, and orientation of the elements. This involves blob analysis which helps the computer decide what pixel is part of a brick and what isn’t. After running a recursive grassfire algorithm with 4-connectivity, the computer gives each pixel a number and assigns it to a blob.

To determine the orientation (the bricks are all assumed to be stud-side up and not overlapping) the blob is divided into quadrants and within each quadrant, the distance between the center of the blob and its farthest pixel is measured. This technique is not likely to work as well with a brick that isn’t square. Each brick’s location in pixels is translated into Cartesian coordinates, making it a cinch for the robot to pick it up. See [Thomas]’s GitHub for MATLAB and URscript code.

Looking for more UR5 projects? Check out the Sewbo garment-making robot we published last year.

Continue reading “Universal Robots Vision-Based LEGO Stacker”