From: msr on
Hello,

Could someone point me to something that could help me
creating/understanding GUI for embedded systems in general? What's the
"easier" (I know "easy" could be relative) to get GUI on an embedded
system?

The hardware I'm looking for is ARM-based microcontrollers (Cortex M3, ARM7
or ARM9).

I think Qt could be a solution right? However I would like to know
"lighter" alternatives.

Thank you!

---------------------------------------
Posted through http://www.EmbeddedRelated.com
From: Tim Wescott on
msr wrote:
> Hello,
>
> Could someone point me to something that could help me
> creating/understanding GUI for embedded systems in general? What's the
> "easier" (I know "easy" could be relative) to get GUI on an embedded
> system?
>
> The hardware I'm looking for is ARM-based microcontrollers (Cortex M3, ARM7
> or ARM9).
>
> I think Qt could be a solution right? However I would like to know
> "lighter" alternatives.

Search around for "PEG" (I think it stands for "Portable Embeddable
Graphics"). I've seen it used to great advantage in a nice small
system. At the time (10 years ago) the licensing was reasonable, but it
is $$ software.

Depending on the demands of your GUI you may just want to roll your own
-- Qt is, AFAIK, a "big system" GUI-maker; I very much doubt that it'll
be even remotely as light weight as PEG.

--
Tim Wescott
Control system and signal processing consulting
www.wescottdesign.com
From: D Yuniskis on
msr wrote:
> Could someone point me to something that could help me
> creating/understanding GUI for embedded systems in general? What's the
> "easier" (I know "easy" could be relative) to get GUI on an embedded
> system?

That depends a lot on the nature of your application -- the
hardware you have available (for the display, "pointing device",
etc.) as well as the sophistication of that UI and the other
responsibilities of the system as a whole...

> The hardware I'm looking for is ARM-based microcontrollers (Cortex M3, ARM7
> or ARM9).

And what are you planning on using for the display, etc.?
Are you looking at a QVGA panel? Something *smaller*?
Larger? Color/monochrome, etc.?

> I think Qt could be a solution right? However I would like to know
> "lighter" alternatives.

Qt is bloated. What can you *afford* in your hardware budget
(processing power, CODE+DATA resources, etc.)?

I've enjoyed using Inferno for small/quick-turnaround projects.
The UI is Tk based (some folks find that wonderful; others
find it regrettable :> ). Not as glitzy as some other approaches
but you can hammer out a UI in very little time (taking advantage
of the nature of Tk).

I haven't sorted out where it sits on the performance curve...
but, I imagine it is on a par with a Qt solution in terms of
processor burden. (I have an app running on a 90MHz *486*
that yields "tolerable" response times!)

Of course, you're pretty much stuck with Inferno itself if you
go this route (which "some folks find that wonderful; others
find it regrettable" ;-)

HTH
From: Rich Webb on
On Wed, 12 May 2010 16:27:06 -0500, "msr"
<mario.ribas(a)n_o_s_p_a_m.gmail.com> wrote:

>Hello,
>
>Could someone point me to something that could help me
>creating/understanding GUI for embedded systems in general? What's the
>"easier" (I know "easy" could be relative) to get GUI on an embedded
>system?
>
>The hardware I'm looking for is ARM-based microcontrollers (Cortex M3, ARM7
>or ARM9).
>
>I think Qt could be a solution right? However I would like to know
>"lighter" alternatives.

Scale? A one-off for your own learning/experimenting or thousands of
units per month in a life-critical application environment?

On the one-off, it's for fun end of things, look at the BlueScreen dev
board at Sparkfun
<http://www.sparkfun.com/commerce/product_info.php?products_id=8858>
The color touchscreen LCD is pretty easy to drive and it gives you a
chance to roll yer own primitives and build up from there.

--
Rich Webb Norfolk, VA
From: tim.... on

"Tim Wescott" <tim(a)seemywebsite.now> wrote in message
news:vLKdnU6MRaGTqHbWnZ2dnUVZ_tgAAAAA(a)web-ster.com...
> msr wrote:
>> Hello,
>>
>> Could someone point me to something that could help me
>> creating/understanding GUI for embedded systems in general? What's the
>> "easier" (I know "easy" could be relative) to get GUI on an embedded
>> system?
>>
>> The hardware I'm looking for is ARM-based microcontrollers (Cortex M3,
>> ARM7
>> or ARM9).
>>
>> I think Qt could be a solution right? However I would like to know
>> "lighter" alternatives.
>
> Search around for "PEG" (I think it stands for "Portable Embeddable
> Graphics"). I've seen it used to great advantage in a nice small system.
> At the time (10 years ago) the licensing was reasonable, but it is $$
> software.
>
> Depending on the demands of your GUI you may just want to roll your own --
> Qt is, AFAIK, a "big system" GUI-maker; I very much doubt that it'll be
> even remotely as light weight as PEG.

Though PEG has some limitations. (Unless it has changed since I looked at
it) it doesn't provide built in menu/dialog creation. If your GUI requires
these features you have to build them yourself from the basis building
blocks that PEG provides.

BTW PEG is a C++ class library. If the OP wants to code in C he needs the
C/PEG varient

tim