Rubik’s Cube Solver Does It In 4.56 Seconds

Solving Rubik’s Cubes is a learnable skill. However, to compete at the top level, you’ll have to train hard. Speed cubers can solve a 3×3 cube in under ten seconds these days, after all. [aaedmusa] was a long way off that speed, but his robot is an absolute demon that solves at a rapid pace.

The robot relies on a Teensy 4.1 microcontroller to run the show, paired with its Ethernet kit for connectivity. It runs six stepper motors via TMC2208 drivers, enabling it to directly actuate each face of the cube. Purists will note, however, that the steppers are fitted with adapters that slot directly into modified center squares on the cube. A regulation Rubik’s, this is not.

The design doesn’t feature a machine vision system to capture the state of the cube. Instead, the cube’s status must be input to a web app on an attached computer. Once the cube’s state is loaded into the program, though, the mechanical job of solving the cube can be achieved in under five seconds. Even with six actuators, that’s not fast enough to beat the human world record of 3.47 seconds, but it’s still pretty darn good.

It’s funny to think that way back in 2011, both robots and humans were so much slower at solving cubes. If only all the world’s problems were as simple as a jumbled up toy from the 1970s.

Continue reading “Rubik’s Cube Solver Does It In 4.56 Seconds” →

Building An Energy Sword Replica From Halo

A good many of us whiled away the hours of our youths playing Swords Only deathmatch in Halo 2. The Energy Sword, aka the Plasma Sword, was the star of the show, with its devastating glowing blades granting us scoreboard domination. [Arnov Sharma] has now built a quality replica of this science-fiction weapon.

The build starts with a 3D design drawn up in Fusion 360. The parts are then 3D printed, with opaque filament used for the handle and translucent PLA filament for the “blade”. Inside the blade elements are twenty WS2812B LEDs, creating the characteristic glow that made the Energy Sword so tantalizing to find in game. An ATtiny85 is charged with running the LEDs, with the aid of an IP5306 chip to act as a boost converter for the lithium-ion battery supplying the juice.

[Anton] admits that the sword was built for the sole purpose of beautifying his maker space. That’s something we can respect, because we’d love to have one hanging on the wall at home. We’ve featured some other fun gaming replicas before, too.

Continue reading “Building An Energy Sword Replica From Halo“ →

Blender And OpenEMS Teamed Up Make Stunning Simulations

There’s tons of theory out there to explain the behavior of electronic circuits and electromagnetic waves. When it comes to visualization though, most of us have had to make do with our lecturer’s very finest blackboard scribbles, or some diagrams in a textbook. [Sam A] has been working on some glorious animated simulations, however, which show us various phenomena in a far more intuitive way.

The animations were created in Blender, the popular 3D animation software. As for the underlying simulation going on behind the scenes, this was created using the openEMS platform. [Sam] has used openEMS to run electromagnetic simulations of simple circuits via KiCAD. From there, it was a matter of finding a way to export the simulation results in a way that could be imported into Blender. This was achieved with Paraview software acting as a conduit, paired with a custom Python script.

The result is that [Sam] can produce visually pleasing electromagnetic simulations that are easy to understand. One needn’t imagine a RF signal’s behaviour in a theoretical coax cable with no termination, when one can simply see what happens in [Sam]’s animation. 

Simulation is a powerful tool which is often key to engineering workflows, as we’ve seen before.

Continue reading “Blender And OpenEMS Teamed Up Make Stunning Simulations” →

Working With Old High-Voltage EPROMs Is Fussy

EPROMs, those UV-erasable memory chips of the 80s and 90s, once played a crucial role in countless electronic devices. They’ve become relics of a bygone era, but for enthusiasts of vintage electronics, the allure of these light-sensitive devices remains strong. Today, we’re diving into [Kevin Osborn]’s nostalgic journey as he uncovers the secrets of old EPROMs loaded with Atari 7800 code.

[Kevin] used to work at General Computer Company, which produced the Atari 7800 and several games for the system. Thus, he had a handful of old carts and development EPROMs sitting up in his attic along with an old console. Recently, he decided to try and uncover what was on the EPROMs and begun an investigation. They wouldn’t run in his Atari, and he quickly realized why: the EPROMs weren’t cryptographically signed, so the system wouldn’t load them. Continue reading “Working With Old High-Voltage EPROMs Is Fussy” →

Tiny Yet Functional Bike Built From Scratch

Sometimes, you just want to go ride your bike in the great outdoors, but you can’t be bothered throwing it in the back of the car. That wouldn’t be a problem if you rode this latest build from [The Q]: a bike small enough to fit in a handbag.

The build starts by customizing a rollerblade wheel to act as the driven rear wheel of the bike. It’s fitted with a tiny sprocket allowing it to be chain driven. Welding some steel tubes then nets a small diamond-layout bike frame. It’s fitted with a chain ring, pedals, and steering assembly just like a full-sized bike, just in absolute miniature.

Riding the bike is “uncomfortable,” in [The Q]’s own terms, but entirely possible. It basically requires the same level of contortion and technique as displayed by the clowns of your local circus. Don’t expect to use it as viable transportation, though. Walking would be much faster.

We’ve seen [The Q] build some wild bikes before, too, like this great hubless design. Video after the break.

Continue reading “Tiny Yet Functional Bike Built From Scratch” →

GaN Charger Teardown Reveals Value Of This New Technology

Every so often, a new technology comes along that offers a broad range of benefits over what we already have. Just as lithium-ion batteries have made nickel-cadmium cells boring and old hat, gallium nitride semiconductors are making silicon parts look unimpressive by comparison. [Brian Dipert] looked at what this means in a practical sense by tearing down a GaN phone charger.

The charger in question is a 30 watt USB-C charger produced by Voltme. It cost [Brian] just $10, as prices of GaN hardware have come down significantly as economies of scale have kicked in. The charger measures just 1.2×1.3×1.2 inches, and weighs only 1.5 ounces. That compact size is thanks to GaN semiconductors, which are able to run cooler at higher power levels than their silicon forebearers.

Cracking into the charger required levering open the case. The back panel came off with some work, revealing the mains terminals, which deliver AC power to the PCB inside via the case holding them in contact. Interestingly, the entire circuit inside is filled with an adhesive thermal goop, which helps pass heat from the hottest components to the charger’s case. [Brian] is able to guide us through the circuit, and he identified many of the major components. However, some of the markings on chips were beyond his research skills, and he asks any knowing readers to contribute their own information.

It’s interesting to see just what makes the high-powered compact chargers of today tick. Plus, it’s a hallmark of progress that what was once considered a wonder material can now be had in a $10 commodity phone charger from Amazon. How times change!

Could 1080p Video Output From The RP2040 Be Possible?

Modern microcontrollers often have specs comparable with or exceeding early gaming consoles. However, where they tend to fall short is in the video department, due to their lack of dedicated graphics hardware. With some nifty coding, though, great things can be achieved  — as demonstrated by [TEC_IST]’s project that gets the RP2040 outputting 1080p video over HDMI.

The project builds on earlier work that saw the RP2040 outputting digital video over DVI. [TEC_IST] realized that earlier methods already used up 30% of the chip’s processing power just to reach 320×240 output. To get to 1080p resolution would require a different tack. The idea involved using the 32-bit architecture of the RP2040 to output a greater data rate to suit the higher resolution. The RP2040 can do a 32-bit move instruction in a single clock cycle, which, with 30 GPIO pins, would be capable of a data rate of 3.99 Gbits/second at the normal 133 MHz clock speed. That’s more than enough for 1080p at 60 Hz with a 24-bit color depth.

Due to the limitations of the chip, though, some extra hardware would be required. [TEC_IST] has drawn up a design that uses external RAM as a framebuffer, while using shift registers and other supporting logic to handle dumping out signals over HDMI. This would just leave the RP2040 to handle drawing new content, without having to redraw existing content every frame.

[TEC_IST] has shared the design for a potential 1080p HDMI output board for the RP2040 on GitHub and is inviting comment from the broader community. They’re yet to be built and tested, so it’s all theoretical at this stage. Obviously, a lot of heavy lifting is being done off-board the microcontroller here, but it’s still fun to think of such a humble chip doing such heavy-duty video output. Continue reading “Could 1080p Video Output From The RP2040 Be Possible?” →