← All projects in the gallery

Block Explorer (unofficial)

by jonathan harrocks

I wanted to know how much of a real, online gadget could be built without writing a line of code or paying for anything. So I picked a subject with a lot of data behind it: the tools, blocks and food of Minecraft. The board is an LCDWIKI ES3C35P, the 3.5 inch ESP32-S3 with a touch screen and a speaker. It has three tabs. GEAR asks a free service for whatever word you press (SWORD, PICK, SHOVEL, HELMET) and steps through what comes back with two big arrow keys. Each item shows its picture, fetched from the web as you land on it, its name, how many uses it has and how well it takes enchantments. BLOCKS does the same for ore, planks, wool and stone. FOOD reads a plain file from GitHub and shows how much hunger each thing restores. The service has numbers but no descriptions, so the board writes its own. "Flimsy. Bring a spare." "Solid and dependable." "Built to outlast you." Three labels sit in the same place and each is hidden unless the number says it is the right one. Along the bottom a stream of public-domain classical music starts as soon as the board is online, with a volume slider and a key to stop it. How it is made, if you open a copy: - Data tab, Web data: three sources, each added by hand. An address, an answer pasted in, and one press of "A list from the answer". The two that search have a variable's name in braces in the address, so a key can change the word and ask again. - Each list has a chosen item. Variables read that item's fields; labels and bars are bound to the variables; the arrow keys are the Choose list item action. - The picture is an ordinary Image with a "Picture from a web address" binding: the item's name, with the rest of the address written before and after it. - Wi-Fi is set up from a phone (the WiFi by phone widget). There is no password in the design. - The backdrop and keys are my own pixel art, six small pictures. A copy from the gallery arrives without the pasted answers, so the canvas shows empty names until you paste them again: open each address in a browser, copy, and paste it into the source's "A sample of the answer". The board does not need them. Data: blocksitems.com (gear, blocks and every icon) and PrismarineJS minecraft-data (food). Music: Public Domain Classical, publicdomainproject.org. NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT. Minecraft is a trademark of Mojang Studios. None of the game's artwork is in this design: the pictures in it are original, and the game's own icons are fetched by the board from the service above when it runs.

About this design

Block Explorer (unofficial) is an LVGL interface for the LCDWIKI 3.5" ESP32-S3 (ES3C35P) (ST77922 320 x 480, ST77922 (touch half) touch), with 1 screen and 76 widgets, made for Arduino (C++) on LVGL 9.

Screens

  • Explorer

Hardware and build

Board
LCDWIKI 3.5" ESP32-S3 (ES3C35P)
MCU
ESP32-S3
Display
ST77922
Resolution
320 x 480
Touch
ST77922 (touch half)
Graphics library
GFX Library for Arduino
LVGL
v9
Exports to
Arduino (C++)
Peripherals
SD card (SDMMC, 4-bit), NeoPixel string (WS2812 / SK6812)
Libraries
lvgl, ESP8266Audio, JPEGDEC, GFX Library for Arduino, Adafruit NeoPixel

Purchase this boardAs an Amazon Associate, LCD Wizard earns from qualifying purchases.

Notes from the author

Swords, ores and suppers from a free web service, their pictures fetched live, with music from a stream. No Pro part, no key, no code.

Using it

Open a copy in the designer and it is yours to edit: restyle the screens, move it to another board, and export the Arduino (C++) project. Designing is free, and a copy needs no account. Open the designer.