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”

Lego Microscope Aims To Discover Future Scientists

When it comes to inspiring a lifelong appreciation of science, few experiences are as powerful as that first glimpse of the world swimming in a drop of pond water as seen through a decent microscope. But sadly, access to a microscope is hardly universal, denying that life-changing view of the world to far too many people.

There have been plenty of attempts to fix this problem before, but we’re intrigued to see Legos used to build a usable microscope, primarily for STEM outreach. It’s the subject of a scholarly paper (preprint) by [Bart E. Vos], [Emil Betz Blesa], and [Timo Betz]. The build almost exclusively uses Lego parts — pretty common ones at that — and there’s a complete list of the parts needed, which can either be sourced from online suppliers, who will kit up the parts for you, or by digging through the old Lego bin. Even the illuminator is a stock part, although you’ll likely want to replace the orange LED buried within with a white one. The only major non-Lego parts are the lenses, which can either be sourced online or, for the high-power objective, pulled from an old iPhone camera. The really slick part is the build instructions (PDF), which are formatted exactly like the manual from any Lego kit, making the build process easily accessible to anyone who has built Lego before.

As for results, they’re really not bad. Images of typical samples, like salt crystal, red onion cells, and water fleas are remarkably clear and detailed. It might no be a lab-grade Lego microscope, but it looks like it’s more than up to its intended use.

Thanks for the heads up on this, [Jef].

Large Format Lego Camera Is A Bit Near-Sighted

Photography doesn’t have to be expensive, something that’s especially true in the realm of film photography, where the imperfections of the medium can be half the appeal. There are many DIY plans and kits available for analog cameras, but [bhiga143] had couple spare components and a pile of small, colorful bricks lying around, so he decided to build a functional 4×5″ film camera out of Lego.

Details are light for this build, but with a little knowledge about camera structure we can guess at what’s going on inside. Simplicity makes for robust design, and what we have here is in effect a box with a lens on one side and photographic film on the other. The center section of the front, which actually supports the lens, is capable of sliding in and out to adjust focus. On the far side (not pictured) is a slot just wide enough to insert a standard film holder.

The camera really is a hack. [bhiga143] stayed true to the “Lego” part of Lego camera, so there is no glue, no black paper lining, and no frills. The tripod is whatever stack of books lay underneath it. The lens is, quote, “barely functional”. There are light leaks galore, and it can’t focus beyond about 3 feet (1 meter). But every one of those points just makes us love it more. Every nugget of imperfection is a few words added to the story each picture tells. And we honestly can’t wait to see more pictures.

Other Lego cameras we’ve seen have been smaller and less colorful, but using a simple pinhole lens can reduce the overall cost. Of course, you’re not limited to Lego if you want to build your own pinhole camera. Although, the ubiquitous plastic bricks can also be useful in later stages of the film photography process.

Lego Tank Fires Soccer Ball Cannon

Back in the 20th century, Lego Technic was a popular toy designed to teach kids about mechanical technology, and be a lot of fun to boot. Motors and pneumatics were available, but by and large you had to move your creations and make the noises yourself. That’s not the case these days, as the [Brick Experiment Channel] demonstrates with this impressive Lego tank.

The drivetrain is straightforward, using standard Lego tank treads with each side given its own motor for easy skid steering. However, the real party piece is the slingshot cannon, which launches Lego soccer balls at 60 km/h. Utilizing several motors, it’s complete with elevation adjustment for accurate ranging, and a 6 round magazine so you can (slowly) prosecute your targets with rounds downrange.

What really makes this build great is the control system, with the tank being controlled by a PS4 controller via Sbrick, a device that lets Lego motors be controlled via Bluetooth. We’d love to build a couple of Lego vehicles and have them blast away at each other. We’ve seen the technology used before for a secret heist robot. Video after the break.

Continue reading “Lego Tank Fires Soccer Ball Cannon”

Animatronic Saturn V Launch Tower Sends Lego Model To The Moon

When it comes to their more adult-oriented models, Lego really knocked it out of the park with their Saturn V rocket model. Within the constraints of the universe of Lego parts, the one-meter-tall model is incredibly detailed, and thousands of space fans eagerly snapped up the kit when it came out.

But a rocket without a launchpad is just a little sad, which is why [Mark Howe] came up with this animatronic Saturn V launch pad and gantry for his rocket model. The level of detail in the launchpad complements the features of the Saturn V model perfectly, and highlights just what it took to service the crew and the rocket once it was rolled out to the pad. As you can imagine, extensive use of 3D-printed parts was the key to getting the look just right, and to making parts that actually move.

When it’s time for a launch, the sway control arm and hammerhead crane swing out of the way under servo control as the Arduino embedded in the base plays authentic countdown audio. The crew catwalk swings away, the engines light, and the service arms swing back. Then for the pièce de résistance, the Saturn V begins rising slowly from the pad on five columns of flame. [Mark] uses a trio of steppers driving linear actuators to lift the model; the flame effect is cleverly provided by strings of WS2812s inside five clear plastic tubes. We have to say it took some guts to put the precious 1,969-piece model on a lift like that, but the effect was well worth the risk.

This project has a great look and is obviously a labor of love, and a great homage to the Apollo program’s many successes. We’ve got a ton of other Apollo-era hacks on our pages, including a replica DSKY, a rejuvenated AGC, and a look behind the big boards of mission control.

Continue reading “Animatronic Saturn V Launch Tower Sends Lego Model To The Moon”

A Real Working Lego NES

Lego is an entry into the world of engineering for many a youngster, and an enjoyable pursuit for many more. These days, high quality kits are available to make everything from the Tower of Pisa to Nintendo’s venerated NES console. [TronicsFix] picked up the latter set, and decided it needed to be fully functional.

Consisting of 2646 pieces, the official Lego NES is a faithful recreation of the original, albeit at approximately 80% of the size. After building the kit to spec, [TronicsFix] noted that there was no way a cartridge would fit in the slot.

Given this failing, a ground-up rebuild was in order. Starting with the internals from an original NES, [TronicsFix] set about building an appropriately sized base and working from there. Supports were built to mount the various components, with the controller ports being particularly well done, and the video output and power switches being a little more tricky. The many cosmetic pieces from the official kit came in handy here, giving the final product the aesthetic touches it needed to fit the bill.

The final result is an authentic, functional NES in a LEGO case. [TronicsFix] demonstrates as such, showing the console playing Super Mario 3. Nintendo consoles remain a favorite amongst modders; some going so far as to build fire-breathing creations. Video after the break.

Continue reading “A Real Working Lego NES”

Bringing The Pi Camera Into Focus With LEGO

Ever since the high-quality camera for the Raspberry Pi was released a few months back it has been the center of attention for many hacks. In this quick build [Martin Mander] shows us how to make a servo-powered focusing mechanism entirely from LEGO.

The inspiration for this project came to him while he was working on his 1979 Merlin Pi Camera and found that setting the focus just right is vital in order to get good quality pictures. So he set himself the goal to build a mechanism that allows him to focus the camera precisely and remotely.

It is the plethora of LEGO-compatible parts that are available off-the-shelf that make such a project possible without the use of any 3D printed components. He not only found a LEGO-compatible continuous rotating servo but also a LEGO-compatible case for the Pi, and a LEGO cogwheel which almost fits exactly onto the camera lens. He also added a tripod mount to the case that allows him to set up the camera anywhere. The camera and focussing mechanism are controlled with a custom GUI based on guizero Python 3 library and the camera can be accessed remotely via VNCViewer.

If you prefer 3D printing over LEGO there are also other stylish Raspi HQ camera builds.

Video after the break.

Continue reading “Bringing The Pi Camera Into Focus With LEGO”