Hobbyist installs Minecraft server on smart home lamp

A hobbyist has implemented a Minecraft server on a smart home lamp. However, large Minecraft games are not possible with it.

listen Print view
A Minecraft game runs on a mini-server installed on the microcontroller of a smart home lamp.

A Minecraft game runs on a mini-server installed on the microcontroller of a smart home lamp.

(Image: Vimpo/Screenshot)

2 min. read

Vimpo, a hobbyist and YouTuber, has realized a Minecraft server using an inexpensive smart home lamp from AliExpress. He used the microcontroller contained in the lamp, which offers enough performance to run a small Minecraft server on it.

Specifically, it is a BL602 microcontroller with a 32-bit RISC CPU clocked at 192 MHz. The processor has 128 KB of ROM and 276 KB of RAM available as memory. WLAN in the 2.4 GHz band and Bluetooth Low-Energy version 5.0 are also on board.

For the project, Vimpo uses the UCraft server, written in C, the Minecraft server, which he developed himself for computers with limited resources. However, full-fledged Minecraft games with all blocks and features cannot be realized with it. One option, for example, is to run the mini Minecraft game “TNT Run,” which Vimpo also uses in the demonstration video.

Empfohlener redaktioneller Inhalt

Mit Ihrer Zustimmung wird hier ein externes YouTube-Video (Google Ireland Limited) geladen.

Ich bin damit einverstanden, dass mir externe Inhalte angezeigt werden. Damit können personenbezogene Daten an Drittplattformen (Google Ireland Limited) übermittelt werden. Mehr dazu in unserer Datenschutzerklärung.

The server binary is about 46 KB without authentication. With authentication, it is 90 KB. The required memory also depends on the number of Minecraft players. Theoretically, up to 1024 clients are possible, but this has not been tested, according to the description of UCraft on GitHub. With a realistic ten players, dynamic memory of 70 KB with authentication and 20 KB without is required.

Vimpo transferred the server code to the microcontroller using a USB interface. He then reconnected the LED lamp to the microcontroller. In the video, Vimpo shows a test game. The lamp reacts to keyboard input and lights up.

Videos by heise

The project to realize a Minecraft server on a smart home lamp is available on GitHub under UCraft-bl602. However, a detailed description of the installation process is missing there.

(olb)

Don't miss any news – follow us on Facebook, LinkedIn or Mastodon.

This article was originally published in German. It was translated with technical assistance and editorially reviewed before publication.