element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products & Partners
    Products & Partners
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Blog The User Interface Dilemma: The Display Is Not Enough
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: shabaz
  • Date Created: 22 Nov 2026 11:27 PM Date Created
  • Views 22 views
  • Likes 3 likes
  • Comments 0 comments
  • B3F
  • lcd
  • ER-TFT2.25-1
  • tft
  • EC12E
  • 1593W
  • ST7789P3
Related
Recommended

The User Interface Dilemma: The Display Is Not Enough

shabaz
shabaz
22 Nov 2026

Introduction

There must be a thousand and one LCD or LED display and button boards out there. Here is one more to add to that!

image

It is a generic display/control board that could be easily added to microcontroller projects. There’s not a lot that I have done for this project so far, so I won’t write much.

I’m actually more interested in what other people use, and how; off-the-shelf boards? Do you drill and create your own enclosures, or 3D-print? And what do you do regarding user menus? How do you code them?

For example, for this project, there are six buttons, and clearly four of them can be used as soft-buttons that alter their purpose depending on what is indicated on the display, but there are also two buttons below the rotary control; I don't know whether to use those as Back/Menu buttons, or perhaps to move the cursor left/right, or to adjust the rotary encoder speed.

Circuit

Unsurprisingly, the circuit consists of buttons and a display. Still, the buttons footprint can accommodate at least four different varieties of push-buttons, to use whatever you can get access to:

• 6x6 mm Omron/Aratas B3F style tact buttons
• Kailh Mute Mini microswitches
• E-Switch 5.8 x 5.8 mm TL2203 series
• E-Switch 7 x 7 mm TL2230 series

The E-Switch options are also available in latching versions, so in theory one of the buttons could be a physical power button if desired.

The display is a very low-cost ER-TFT2.25-1 TFT screen. It contains a ST7789P3 display controller. The resolution is 284 x 76, and there is a backlight.

The rotary encoder is an Alps EC12E series part. I purchased EC12E24104A6 which is smooth-turning (no detents) but there are various other options, including ones with a built-in push-button which mine doesn’t have. The EC12E series is not particularly high quality, but these encoders are not as bad as they could be, and they are low-cost and easily available.

image

For the full parts list and CAD files, see the Github repo.

Printed Circuit Board

I spent a bit of time compacting the board, so that it could potentially fit into a lot of different enclosures. The PCB size is 81 x 29 mm. In theory if the rotary encoder and a couple of buttons are not needed, perhaps that end could be hacksawed off, and the board should still work.

As you can see in the render below, the connections to the board use normal 0.1” DIL pin headers, to attach to any desired microcontroller of choice (3.3V logic levels) - but alternatively there is also a 1mm pitch flat-flex cable (FFC) connector, because I don’t like making up 20-way 0.1” header cables if I can help it.

image

For drilling the enclosure, all the buttons are on nice round-number dimensions, so that the holes can be marked out easily. However, there is another option, discussed next.

Enclosure Front Panel

If the enclosure has a removable front panel, then it could be swapped out with a PCB if desired.

image

I decided to create a front panel PCB for Hammond 1593W enclosures (pictured above). These enclosures are of size 105 x 110 x 35 mm overall. The KiCad and Gerber files for this are in the GitHub repo, they could be used as-is, or modified for a different enclosure.

image

The button holes are 5.6 mm diameter, which are suitable for “A30 button caps” which should fit genuine Omron B3F-1050 tact buttons with 2.4x2.4mm square actuator (see the photo). With different switches or caps, the holes in the front panel PCB will need to be changed.

image

One more enclosure option: use a 3D printer : ) However I don’t have that option, hence the desire to make a front panel that fits commonly-available enclosures.

The front panel has no screw-holes, so I’ll need to glue spacers onto the back of it, to attach the display board. I’ll use M2 spacers, 6mm tall, and that would be just right for the buttons and the rotary encoder. The TFT screen will need to be cushioned on foam 3.6 mm thick according to back-of-the-envelope calculations.

Summary

A small TFT screen with buttons was created using KiCad (Github repo). If it works (I have not built it yet!) I’ll use it with a Pi Pico microcontroller initially. The intended use-case is really any project that requires a display or controls beyond just an LED or two. Of course, the hardware is just one part of the system. A lot hinges on how well the software is implemented.

What do you use as a user interface for your projects, both software- and hardware-wise? And what kinds of enclosures are your favorites? Any recommendations? Let me know!

Thanks for reading.

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube