Round ESP32 Panel Turns a Model Plane Into Flight Instruments

Nov 26, 2026 Last reply: 2 days ago 3 Replies
Jump to replies (3)

The detail that caught me off guard is the sensor package: an MPU-6050 accelerometer and gyroscope plus a QMC5883L magnetometer are mounted on a small model aircraft, and that little plane talks to the display base through a flexible ribbon cable. Tilting the model is what drives the instruments, which makes the whole thing feel like a proper bench test rig rather than a static gadget.



The hardware choices stand out. The display is a 2.1-inch round IPS panel running at 480x480, built on an ESP32-S3 module with an integrated rotary encoder ring and a push-button switch. A round face is a neat match for this kind of instrumentation, and having both rotation and a button on the bezel keeps the controls tidy.



Software-wise, the maker wrote everything in the Arduino IDE using the Arduino_GFX library with custom frame buffering, and sensor values travel over I2C and get rendered in real time. Four modes live on the circular display: an artificial horizon with a sky and ground division plus pitch and roll markers, a rotating magnetic compass card with cardinal directions, an analog altimeter that starts at 6300 feet and climbs or descends with pitch angle, and a multi-axis vector orientation graphic. Spinning the encoder ring sets backlight brightness through pulse-width modulation, and a press of the button cycles screens.



The one open point for me is the ribbon cable: the sensors stay tethered to the base, so how far the model can actually move seems limited. Detailed instructions, a schematic and the code are published on a project page, so anyone curious can dig in.



Project by Mirko Pavleski. Watch it on their YouTube channel:

formatting link


Putting both sensors on the model aircraft instead of inside the base seems like the smart call here, since the horizon and compass react directly to how the plane is tilted and turned. The trade-off is the flexible ribbon cable tying it to the display, but for a bench simulator that looks like a fair price to pay.

Curious about the altimeter mode: it starts at 6300 feet and climbs or descends with pitch angle, so how is the pitch mapped to the needle movement? Is there a fixed scale per degree of pitch, and does the reading keep drifting upward as long as the nose stays raised?

One variation worth trying: mount the MPU-6050 and QMC5883L on a larger model with a control surface or two, so you could feed pitch and roll in by hand and watch the artificial horizon and vector graphic respond together. Since the ribbon cable carries I2C anyway, a longer tether might make that easier without touching the code.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required