Would the LVGL be a good to pair with a MPU6050 gyro to display an attitude indicator like you would find in an airplane, sometimes called an artificial horizon gauge. If so any hints on how to begin. I’ve worked through most of the LVGL ebook and understand most of the projects so far, but am having a hard time making the jump to a more complex project like this.
I’ve yet to find a good example of a attitude indicator project and am thinking the LVGL might be a perfect candidate.
Hello Richard, unfortunately I couldn’t find any good option that would work out of the box…
This is probably the best example I could find that could be heavily modified for that application:
- https://docs.lvgl.io/master/examples.html (scroll down until you find the “Scale” section)
The gauge described in the image 3 could be modified to make it look like a compass:
Or you could load an image like that as the background image for the CYD board, then you would just add an indicator on top of that image that would move around based on the MPU6050 values.
I hope that helps!