GUI-Library for microcontroller [closed]

2019-01-21 07:59发布

I want to create a GUI driven application for a micro-controller (Atmel XMEGA) that is connected to a 128x64 dots graphics LCD (EA DOGL128-6) and 4 buttons for navigation.

Controlling the display itself (e.g. drawing pixels and characters) is no problem but in order to prevent me from reinventing the wheel I was googling for a GUI-Library/-Toolkit that is written in c, includes its source code, will run on a 32 MHz 8-bit micro-controller and provides at least the following controls:

  • panel (to group elements)
  • menu (scrollable)
  • icon
  • label
  • button
  • line-graph (optional)

But I didn't find any thing useful. Does anyone know (or better uses) such a library(preferably for free)?

13条回答
再贱就再见
2楼-- · 2019-01-21 08:42

I also wrote a library which supports nearly any display technology: µGUI

http://www.embeddedlightning.com/ugui/

µGUI is a free and open source graphic library for embedded systems. It is platform-independent and can be easily ported to almost every micro-controller system. As long as the display is capable of showing graphics, µGUI is not restricted to a certain display technology. Therefore display technologies such as LCD, TFT, E-Paper, LED or OLED are supported. The whole module consists of two files: ugui.c and ugui.h.

This might be helpful as well

查看更多
狗以群分
3楼-- · 2019-01-21 08:42

NuttX is a real-time operating system for microcontrollers. The author has starting a developing some gui primitives for LCD displays for it.

查看更多
仙女界的扛把子
4楼-- · 2019-01-21 08:45

I have been working on a similar project. Closest thing I could find are in the following links, but I doubt you will find a library with all the features you desire. These will only setup basic drawing functions, but it's a start. There are also some useful tools for bitmap converting and font creators if you dig around.

http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/glcd_dcf77/index.html

http://en.radzio.dxp.pl/

Almost everything else I have seen here is way overkill for what the poster seems to be asking for.

查看更多
\"骚年 ilove
5楼-- · 2019-01-21 08:46

I personally used PEG (at work), but it is not for free. You just need to write a small layer of adaptation and use it. You can also look at Qt or minigui.

查看更多
The star\"
6楼-- · 2019-01-21 08:47

You can use the "Microchip Graphics Library" for free.

This includes GUI tool "Graphics Display Designer X" for designing screens and this outputs the "C" files for your designed screen.

I am using this tool which is very user friendly, but some of the widgets what you are looking you may not find.

Here is the link for GUI tool: Click here!

查看更多
淡お忘
7楼-- · 2019-01-21 08:48

Rich Quinnell mentions "... I saw a demonstration of Java applications running on an STM32-F3 MCU..." http://www.microcontrollercentral.com/author.asp?section_id=1741&doc_id=253618

I guess it is what you are looking for?

查看更多
登录 后发表回答