Hardware hacker installs Minecraft server on a cheap smart lightbulb — single 192 MHz RISC-V core with 276KB of RAM, enough to run tiny 90K byte world
AliExpress-bought LED bulb includes a BL602 RISC-V-powered microcontroller.
A hardware hacker has installed a Minecraft server on a cheap smart lightbulb. Vimpo shows how this feat was completed and demonstrates the server working in a brief video, embedded below. Key to this achievement was the bulb’s BL602 RISC-V-powered microcontroller.
Hardware hacksawing
Vimpo begins their quest by taking a knife to the unfortunate AliExpress-bought LED bulb. Oldies like me still find it jarring to see a lightbulb popped open without terrible consequences – but LEDs don’t need to reside in a delicate vacuum.
Next up, our intrepid hacker desolders the microcontroller from the center of the bulb, where it sits surrounded by an array of LEDs. Remember, this lightbulb's microcontroller is powered by a BL602, which features a single RISC-V core, running at up to 192 MHz, and partnered with 276KB RAM, 128KB ROM, and sporting a modicum of I/O.
We then see the detached microcontroller with wires soldered individually to its headers. Vimpo confirms the connections are fine by quickly hooking up the wires to turn the lightbulb on and off.
A simple USB-to-serial adapter board is soldered to these connections for a steady, usable interface. We now have a ‘system’ ready, with monitor and input peripherals, upon which to run a Minecraft server.
Software shenanigans
Of course, hardware is only half of Vimpo’s solution. To get a Minecraft server operating on the limited resources of a smart bulb, the hacker has put together a system running an implementation dubbed Ucraft. You can find Ucraft code resources on GitHub, plus a guide to building the server system on a Linux machine.
Ucraft is gloriously compact, with a “binary size is approximately 46K bytes without authentication and 90K bytes with the authentication library,” says Vimpo. “Memory usage varies based on the number of active players. In the worst-case scenario with 10 players, heap usage will be around 70K bytes with authentication and 20K bytes without authentication.” However, the hacker is first to admit that Ucraft “lacks most, if not all, features of the vanilla server.”
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
In some ways, Minecraft is becoming the new Doom, used as a springboard for outlandish projects. Minecraft is now a leading light in inspiring hardware and software hackers to push the boundaries of the computing world. For example, in recent months, we’ve seen a 5-million-parameter ChatGPT AI model in Minecraft, as well as Minecraft running entirely in 8MB of VRAM on an old GPU, and another Minecraft server implemented using 63-year-old COBOL code.
Follow Tom's Hardware on Google News, or add us as a preferred source, to get our latest news, analysis, & reviews in your feeds.

Mark Tyson is a news editor at Tom's Hardware. He enjoys covering the full breadth of PC tech; from business and semiconductor design to products approaching the edge of reason.
-
hotaru251 this microcontroller is near 2x faster than the one yrs ago that a guy got Doom to run on.Reply
https://www.slashgear.com/ikea-tradfri-smart-lamp-can-sort-of-run-doom-14678171/
I love seeing popular games pushed to run on such limited tech -
Moxylite destabilized my brain for the rest of the day, but this device is quite the rabbit hole :P1 Introduction to BL6022 NuttX on BL6023 Projects and Libraries on BL6024 Flashing Firmware to BL6025 GPIO on BL6026 SPI on BL6027 I2C on BL6028 UART on BL6029 ADC on BL60210 DMA on BL60211 PWM on BL60212 WiFi on BL60213 Graphics on BL60214 Multitasking BL60215 LoRa on BL60216 Zig on BL60217 Rust on BL60218 BASIC on BL60219 Lisp on BL60220 Visual Programming on BL60221 Machine Learning on BL60222 Troubleshooting BL60223 Bootloader for BL60224 OpenOCD on BL60225 GDB and VSCode on BL60226 PineDio Stack BL60427 BL706 Audio Video Board28 Mynewt on BL60229 What’s Next30 About the AuthorReply -
Heat_Fan89 Reply
I was going to say that until I saw your comment. I like the new direction of Toms.Roland Of Gilead said:I do admit, I like these hack articles. Some ingenious thinking. -
DrFrankensteinMBChBMScFFP Whenever I see an article like this my reaction is that this guy is ingenious but needs to get out more.Reply -
hotaru251 Reply
yes as someone did it yrs ago on a microprocessor that was half as performant.Fruitmaniac said:But can it run Doom?