• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microcontroller Tips

Microcontroller engineering resources, new microcontroller products and electronics engineering news

  • Products
    • 8-bit
    • 16-bit
    • 32-bit
    • 64-bit
  • Applications
    • 5G
    • Automotive
    • Connectivity
    • Consumer Electronics
    • EV Engineering
    • Industrial
    • IoT
    • Medical
    • Security
    • Telecommunications
    • Wearables
    • Wireless
  • Learn
    • eBooks / Tech Tips
    • EE Training Days
    • FAQs
    • Learning Center
    • Tech Toolboxes
    • Webinars/Digital Events
  • Resources
    • Design Guide Library
    • DesignFast
    • LEAP Awards
    • Podcasts
    • White Papers
  • Videos
    • EE Videos & Interviews
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Engineering Training Days
  • Advertise
  • Subscribe

Starting an HMI design? Here are four things to watch

May 7, 2020 By Majeed Ahmad Leave a Comment

The human-machine interface (HMI) is growing in consumer as well as industrial applications ranging from lighting to HVAC to digital signage. There are many HMI solutions, including the ones that use buttons, sliders, wheels, capacitive proximity sensing, and even human voice.

HMI design
Figure 1: The basic description of an HMI design that delivers graphics via an LCD panel. (Image: Renesas)

There are tools and kits available that simplify the fine-tuning of HMI designs. What’s critical is that the interfaces should be fast and accurate. And it all begins with responsive graphics, and subsequently, the processing that efficiently facilitates it on displays.

  1. Graphics development

As mentioned above, the HMI undertaking starts with implementing the graphics software on an embedded system and ensuring that the graphical user interface (GUI) matches the application requirements. Robust graphics is synonymous with sophisticated HMI, and here, developers have several venues for GUI development.

They can write the code themselves, or they can use a code generator by employing the GUI frameworks. Or, developers can use a secondary scripting language and process the script using a graphics engine that is usually built into MCUs or MPUs.

Finally, in the binary GUI approach, embedded system designers can take the hand-written code and create a pixel-perfect GUI while using GUI building tools, embedded graphics engine, and software APIs. The GUI and the associated APIs manipulate and display the graphical data stored in a binary data file.

Figure 2: The block diagram of an HMI design serving the HVAC system. (Image: Microchip)
  1. The memory question

Is there enough flash memory to store the graphics engine, as well as RAM needed to execute the code during the runtime? So, if HMI developers are using a microcontroller, they should make sure that there is sufficient memory to fulfill the graphics requirements.

First, make sure that there is sufficient flash to store the graphics code and graphics engine if there is one. Second, ensure there is enough RAM to store the graphics and then forward it to the display controller. Microcontrollers usually use two buffers: back buffer and front buffer.

  1. Power efficiency

The HMI applications demand MCUs with the lowest energy consumption in the active, sleep, and deep-sleep modes. A shorter wake time, for instance, minimizes energy consumption while transitioning from sleep to active mode. Likewise, the wake-on-touch current should be minimal to ensure faster sensing without sacrificing sensitivity performance. In other words, a tight power budget is a must for HMI designs, especially for battery-powered devices.

  1. GUI development kits

Microcontroller suppliers often provide HMI development boards and kits that enable designers to prototype GUIs. The development kits include display panels and external memory extensions on the hardware side and hardware abstraction layer (HAL) drivers and middleware on the software side.

Graphics libraries and tools include graphics interface and application examples that help designers display and demonstrate HMIs using MCUs. These GUI frameworks — which come equipped with pre-integrated middleware for communication, security, USB, GUI, and file system — allow designers to generate C code that is compatible with the GUI library and is ready to be compiled and run on MCUs.

 

You may also like:

  • Touchscreen controllers
    Touchscreen controllers boost SNR in 9-20-in. touchscreens
  • EVE toolchain conversion utility
    Toolchain conversion utility simplifies HMI construction
  • AI design
    The three approaches to AI design

Filed Under: FAQ, Featured, microcontroller Tagged With: FAQ

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Featured Contributions

Five challenges for developing next-generation ADAS and autonomous vehicles

Securing IoT devices against quantum computing risks

RISC-V implementation strategies for certification of safety-critical systems

What’s new with Matter: how Matter 1.4 is reshaping interoperability and energy management

Edge AI: Revolutionizing real-time data processing and automation

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE Learning Center

EE Learning Center

EE ENGINEERING TRAINING DAYS

engineering
“bills
“microcontroller
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

DesignFast

Design Fast Logo
Component Selection Made Simple.

Try it Today
design fast globle

Footer

Microcontroller Tips

EE World Online Network

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

Microcontroller Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy