Page 1 of 1

DK2 Screen Size

Posted: Wed Aug 20, 2014 5:43 am
by DrBeef
I realise the screen on the DK2 is just taken from a Galaxy Note 3, but I can't seem to find the actual physical dimensions of the screen anywhere (I am sure I am just not looking in the right place). Does anybody know it in mm?

Please don't just convert 5.7 inches to millimeters, I can do that myself, it's the X and Y physical dimensions I am curious about.

Thank-you!

Re: DK2 Screen Size

Posted: Wed Aug 20, 2014 6:12 am
by Fredz
From http://pdadb.net/index.php?m=specs&id=5 ... e_3_td-lte :
- 2.79 " x 4.95 " (70.74 x 125.77 millimetres)

I did find other references with the same values in the Android GPU implementation IIRC but I can't find them anymore.

Re: DK2 Screen Size

Posted: Wed Aug 20, 2014 6:39 am
by DrBeef
Thanks Fredz

Re: DK2 Screen Size

Posted: Wed Aug 20, 2014 1:36 pm
by Inscothen
Just a note for future reference in case you only find one dimensions listed, there are 3 measurements for screen dimensions.

Like here is the Sharp 5.9"

Active Area : 72.9×129.6 mm (W×H)
Bezel Area : 73.9×130.6 mm (W×H)
Outline : 76.2×139.1×1.65 mm (W×H×D)

If you only find one listed measurement, it may not be the one you need. Like if the display you want is part of an assembly it may be listed as much larger than the display panel itself.

Re: DK2 Screen Size

Posted: Wed Aug 20, 2014 4:26 pm
by Fredz
In this specific case the values are given for the viewable display size though, but thanks for the precision.

Re: DK2 Screen Size

Posted: Tue Sep 16, 2014 7:45 pm
by cgp44
If you know x and y resolutions hence aspect ratio you can do calcs


#
# panelSides.pl
#
# get the panel sides from the diagonal and resolutions
#
use Carp;
use CGPW::MiscUtils;
use strict;


my ($x, $y, $x2, $y2, $entry, $diagonal, $name, $ppi, $ppiX, $ppiY);

foreach $entry (['HTC One', '4.7in', 1080, 1920, 468],
['HTC Droid DNA', '5.0in', 1080, 1920, 441],
['Sam Galaxy S4', '4.99in', 1080, 1920, 441],
['Sam Galaxy Note II', '5.5in', 720, 1280, 267],
['iPad', '9.7in', 768, 1024, 132],
['iPad3', '9.7in', 1536, 2048, 264],
['iPhone5', '4.0in', 640, 1136, 326],
['ipad mini', '7.9in', 768, 1024, 162],
['Pantech Vega No 6', '5.9in', 1080, 1920, 373], # Korean market
['Pantech Vega Racer 2', '4.8in', 720, 1280, 306],
['Pantech Vega LTE', '4.5in', 800, 1280, 335],
['LG Lucid2', '4.3in', 540, 960, 256],
['LG Optimus', '4.7in', 720, 1280, 312],
['7 inches', '7.0in', 800, 1280, 215],

) {
($name, $diagonal, $x, $y, $ppi) = @$entry;
($x2, $y2, $ppiX, $ppiY) = panelSides($diagonal, $x, $y, 0);
print "$name ($diagonal, $x,$y, ppi:$ppi) x:$x2 y:$y2 ||| ppiX:$ppiX ppiY:$ppiY\n";
}

sub panelSides($$$;$) {
my ($diagonal, $x, $y, $convert) = @_;

my ($value, @units, $unit, $x2, $y2, $hypo, $factor, $ppiX, $ppiY);

if( not defined $convert) {
$convert = 0;
}
if( isDimension($diagonal)) {
$value = getDimensionValue($diagonal);
@units = getDimensionUnits($diagonal);
$unit = $units[0];
# print "... $value $unit \n";
}
else {
confess "$diagonal is not a dimensioned Value";
}
$hypo = sqrt($x*$x + $y*$y);
$value /= $hypo;
$y2 = $y*$value;
$x2 = $x*$value;
$ppiX = round(0, $x/$x2);
$ppiY = round(0, $y/$y2);

if( $convert) {
if( $convert == 1) {
$factor = 2.45; # in => cm
$unit = 'cm';
}
$x2 *= $factor;
$y2 *= $factor;
}
$y2 = round(1, $y2);
$x2 = round(1, $x2);

return ($x2.$unit, $y2.$unit, $ppiX, $ppiY);
}