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
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
Sci Fi Your Pi
  • Challenges & Projects
  • Design Challenges
  • Sci Fi Your Pi
  • More
  • Cancel
Sci Fi Your Pi
Blog Medtiech: The display unit
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: balearicdynamics
  • Date Created: 23 May 2015 2:28 PM Date Created
  • Views 530 views
  • Likes 2 likes
  • Comments 0 comments
  • display_unit
  • meditech_project
  • monitor
  • boot_config
  • screen_ratio
  • hdmi
  • gpu
  • config_txt
  • configuration
  • screen_size
  • file
Related
Recommended

Medtiech: The display unit

balearicdynamics
balearicdynamics
23 May 2015

The HDMI Monitor

As I mentioned in some post before, the initial idea to use a separate tablet as display unit has been expanded and simplified, using an LCD display integrated with the device. With the advantage to use the external smartphone or tablet as the access point for tethering only.

The two images below shows the prototype display. It was already available so it is sufficient to make tests but it is 4:3.

 

imageimage

The used monitor is a non-standard HDMI; I mean that it supports the HDMI input but as a matter of fact it is a 4:3 proportion screen so you can see the image is stretched.

 

The screen resolution fine-tuning

If the monitor is not the standard HDMI, frequency etc, there is a complete wiki page explaining how to properly set the file /boot/config.txt accordingly with the monitor characteristics.

Following the clear explained settings it is possible to calibrate the GPU settings at boot to manage the display accordingly with the screen size, resolution, aspect ratio and scan frequency. It is not possible to write down a tutorial due the wide number of options and the fact that in most cases these settings strictly depends on a certain screen characteristics. In fact it is not a too risky operation to make tests if the boot is set to not start immediately the graphical environment. If something goes wrong it is always possible to step back with the settings without problems. Just following this empirical method I have set the display changing the following parameters (the order they appear in the config.txt file does not matter):

 

# Custom resolution settings

hdmi_group=2

# Set to 1024x768 60Hz

hdmi_mode=16

 

# Set the screen to composite PAL (maybe meaningless for the HDMI output)
sdtv_mode=2
# Screen aspect ratio  (maybe meaningless for the HDMI output)
sdtv_aspect=2

 

The following image shows the correct proportions on the screen after reboot.

 

image

 

Now the proportions are correct but the screen resolution was too low as far as I know for this LCD. Keeping the same aspect ration and the same refresh rate the screen settings has been changed again to

 

#  Custom resolution settings
hdmi_group=2
# 1280x950 60 Hz
htmi_mode=32

 

As shown in the next image now aspect ration and resolution are correct (note the different size and disposition of the icons on the desktop in these last two images). All the settings tables are included in the mentioned wiki page that is attached to this post in PDF format for any use.

 

image

Attachments:
imageRPiconfig - eLinux.org.pdf
  • 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.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube