<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alex Sleat &#187; screen</title>
	<atom:link href="https://alexsleat.co.uk/tag/screen/feed/" rel="self" type="application/rss+xml" />
	<link>https://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Tue, 19 Jun 2012 13:34:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Densitron &#8211; DD-160128FC-2A &#8211; Review</title>
		<link>https://alexsleat.co.uk/2011/10/28/densitron-dd-160128fc-2a-review/</link>
		<comments>https://alexsleat.co.uk/2011/10/28/densitron-dd-160128fc-2a-review/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 09:33:51 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[cheap oled]]></category>
		<category><![CDATA[DD-160128FC-2A]]></category>
		<category><![CDATA[densitron]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[farnell]]></category>
		<category><![CDATA[hobby]]></category>
		<category><![CDATA[mbed]]></category>
		<category><![CDATA[oled]]></category>
		<category><![CDATA[pcb]]></category>
		<category><![CDATA[product road testing]]></category>
		<category><![CDATA[prt]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">https://alexsleat.co.uk/?p=16483</guid>
		<description><![CDATA[<br/><p></p> <p>Product: RGB OLED 160X128 Display Manufacturer: Densitron Price: £20.33 (At the time of this review.)</p> <p>Datasheet: DD-160128FC-2A Datasheet &#124; Farnell Mirror EAGLE library: http://prusadjs.cz/eagle/OLED.lbr</p> <p>The DD-160128FC-2A is a solid little screen, at around 4.3cm (from corner to corner) it&#8217;s perfect for displaying information on small mobile robots, a little serial terminal screen for [...]]]></description>
			<content:encoded><![CDATA[<br/><p><a href="https://alexsleat.co.uk/wp-content/uploads/2011/06/2011-05-31-13.05.59.jpg"><img class="aligncenter size-large wp-image-16800" title="Densitron - DD-160128FC-2A" src="https://alexsleat.co.uk/wp-content/uploads/2011/06/2011-05-31-13.05.59-1024x614.jpg" alt="" width="640" height="383" /></a></p>
<p><strong>Product:</strong> <a href="http://uk.farnell.com/densitron/dd-160128fc-2a/display-oled-rgb-160x128/dp/1498858">RGB OLED 160X128 Display</a><br />
<strong>Manufacturer:</strong> Densitron<br />
<strong>Price:</strong> £20.33 (At the time of this review.)</p>
<p><strong>Datasheet:</strong> <a href="https://alexsleat.co.uk/wp-content/uploads/2011/05/4146.pdf">DD-160128FC-2A Datasheet</a> | <a href="http://www.farnell.com/datasheets/4146.pdf">Farnell Mirror</a><br />
<strong>EAGLE library:</strong> <a href="http://prusadjs.cz/eagle/OLED.lbr">http://prusadjs.cz/eagle/OLED.lbr</a></p>
<p>The DD-160128FC-2A is a solid little screen, at around 4.3cm (from corner to corner) it&#8217;s perfect for displaying information on small mobile robots, a little serial terminal screen for desktops, wrist mounted electronics and a whole bunch more. The only issue with the design of the screen is that it doesn&#8217;t come with any mount holes, leaving the only real option of mounting this to a case or project box with glue on the back (which makes it not reusable) or sandwiching the displays edges between two layers (which could prove difficult with only a few millimetres border).</p>
<p>The display boasts a bright back-light thanks to the use of OLED (organic light-emitting diode) which also keep the power consumption low (3.3V input) making this an awesome little display for mobile use when a power supply isn&#8217;t available. The colours are surprisingly deep and vibrant for such a small display and there is no visible flicker from the refresh rate. The 160&#215;128 resolution is easily enough to display around 10 lines each with 18 characters on, alternatively it would look great displaying a camera video feed or a slideshow of pictures.</p>
<p>An EAGLE library was created for this OLED screen which includes pin descriptions and correct sizing for those wishing to create their own PCBs for projects using this display. It can be found <a href="http://prusadjs.cz/eagle/OLED.lbr">here</a>.</p>
<p><a href="https://alexsleat.co.uk/wp-content/uploads/2011/10/Screenshot-261011-173651.png"><img class="aligncenter size-full wp-image-22808" title="Screenshot - 261011 - 17:36:51" src="https://alexsleat.co.uk/wp-content/uploads/2011/10/Screenshot-261011-173651.png" alt="" width="772" height="213" /></a></p>
<p>For those wishing to use this product in conjunction with an mbed (<a href="http://mbed.org/">more info here</a>) someone (<a href="http://mbed.org/users/simonb">simonb</a>, over at the mbed community) has created a driver for the &#8220;Densitron DD-160128FC-1A&#8221;, this should work perfectly well with this newer module screen and all the source code and much more information is available through the mbed website &#8211; <a href="http://mbed.org/users/simonb/notebook/oled/">here</a>. This is a great library which allows you full control over colour, fills, text, individual pixels and even the orientation of the screen.</p>
<p>If you&#8217;d prefer not to attempt creating your own PCB and all that pesky soldering, or are not very good at soldering I strongly advise buying the breakout board for this screen (this can be found at <a href="http://uk.farnell.com/densitron/evk-connect-010/connection-board-for-1498857-8/dp/1500758">Farnell here</a>), it&#8217;ll allow you to develop and play around with the board much easier and it&#8217;s only around £15.</p>
<p>Densitron also offer a bunch of other screens with a range of sizes, resolutions and prices and due to the ease of use of their products they seem to be an ideal for hobbyists, students and anyone looking to prototype a product quickly. Check out their entire range over at Farnell &#8211; <a href="http://uk.farnell.com/densitron/">http://uk.farnell.com/densitron/</a></p>
<p>Keep tuned for more projects using this, all will include schematics and source code.</p>
<p><span id="more-16483"></span></p>
<blockquote><p><strong>Full Description:</strong><br />
DISPLAY, OLED, RGB, 160X128<br />
Screen Size:42.926mm<br />
Resolution:160 x 128<br />
Viewing Area (H x W):28.864mm x 35.575mm<br />
Pixel Size (H x W):0.045mm x 0.194mm<br />
Voltage Rating:2.8V<br />
SVHC:No SVHC (15-Dec-2010)<br />
External Depth:1.7mm<br />
External Length / Height:34mm<br />
External Width:39.9mm<br />
Interface Type:Parallel, Serial<br />
Standard:160 x 128<br />
Connector Type:EVK-Connect<br />
Display Technology:Organic LED</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>https://alexsleat.co.uk/2011/10/28/densitron-dd-160128fc-2a-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching Between Two Resolutions in Linux</title>
		<link>https://alexsleat.co.uk/2011/10/24/switching-between-two-resolutions-in-linux/</link>
		<comments>https://alexsleat.co.uk/2011/10/24/switching-between-two-resolutions-in-linux/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 19:56:06 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[blog1]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[10.10]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[isadora]]></category>
		<category><![CDATA[julia]]></category>
		<category><![CDATA[katya]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[lisa]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[resolution]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[tv]]></category>
		<category><![CDATA[xorg]]></category>
		<category><![CDATA[xrandr]]></category>

		<guid isPermaLink="false">https://alexsleat.co.uk/?p=22690</guid>
		<description><![CDATA[<br/><p>I have a TV and my monitor connected to my PC by a VGA switch box but what&#8217;s annoying is they aren&#8217;t the same resolution. This causes problems because I can&#8217;t see what I&#8217;m doing when I have switched to TV and usually have to leave the setting manager open so that when I [...]]]></description>
			<content:encoded><![CDATA[<br/><p>I have a TV and my monitor connected to my PC by a VGA switch box but what&#8217;s annoying is they aren&#8217;t the same resolution. This causes problems because I can&#8217;t see what I&#8217;m doing when I have switched to TV and usually have to leave the setting manager open so that when I change between them I just have to hit return and the resolution changes. That&#8217;s great and all but it&#8217;s far more effort than I want for something I do fairly often.</p>
<p>My plan was initially to create two xorg.conf files and switch between them using a script, I figured this would be the easiest way even though I haven&#8217;t messed around with xorg stuff for a few years ever since things just started working better in Linux. Turns out I couldn&#8217;t even find where they keep the xorg.conf file, it sure isn&#8217;t in /etc/X11 where it was the last time I looked..</p>
<p>On the search for this file though I came across another useful tool called xrandr, which essentially allows you to change the resolution from the command line.</p>
<blockquote>
<p style="text-align: left;">Xrandr is used to set the size, orientation and/or reflection of the outputs for a<br />
screen. It can also set the screen size.</p>
<p style="text-align: left;">If invoked without any option, it will dump the state of the outputs, showing the<br />
existing modes for each of them, with a &#8216;+&#8217; after the preferred mode and a &#8216;*&#8217;<br />
after the current mode.</p>
<p style="text-align: left;">There are a few global options. Other options modify the last output that is spec‐<br />
ified in earlier parameters in the command line. Multiple outputs may be modified<br />
at the same time by passing multiple &#8211;output options followed immediately by<br />
their corresponding modifying options.</p>
</blockquote>
<p style="text-align: right;">For more information on xrandr check out the <a href="http://linux.die.net/man/1/xrandr">manual page</a> (or type <em>man xrandr</em> in terminal).</p>
<p style="text-align: left;">It turns out it&#8217;s an extremely easy tool to use, with a command as simple as the following changing the resolution:</p>
<div class="dean_ch" style="white-space: wrap;">xrandr &#8211;output VGA1 &#8211;mode 1440&#215;900</div>
<p>So the next thing I did was create the following script which allows the resolution to switch between 1440&#215;900 and 1360&#215;768 (my monitor and my TV native resolutions).</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re3">#!/bin/bash</span></p>
<p><span class="re2">TV=</span><span class="st0">&quot;1360 x 768&quot;</span><br />
<span class="re2">MONITOR=</span><span class="st0">&quot;1440 x 900&quot;</span></p>
<p><span class="re2">TEST=</span><span class="st0">&quot;$(xrandr | grep current | sed -e &#8216;s/.*current //;s/, maximum.*//&#8217;)&quot;</span></p>
<p><span class="re3">#echo <span class="re1">$TEST</span></span></p>
<p><span class="kw1">if</span> <span class="br0">&#91;</span> <span class="st0">&quot;$TEST&quot;</span> == <span class="st0">&quot;$MONITOR&quot;</span> <span class="br0">&#93;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xrandr &#8211;output VGA1 &#8211;mode 1360&#215;768</p>
<p><span class="kw1">elif</span> <span class="br0">&#91;</span> <span class="st0">&quot;$TEST&quot;</span> == <span class="st0">&quot;$TV&quot;</span> <span class="br0">&#93;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xrandr &#8211;output VGA1 &#8211;mode 1440&#215;900</p>
<p><span class="kw1">else</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">exit</span></p>
<p><span class="kw1">fi</span></div>
<p>This script simply checks what the current resolution is being used and then toggles between the two set resolutions.</p>
]]></content:encoded>
			<wfw:commentRss>https://alexsleat.co.uk/2011/10/24/switching-between-two-resolutions-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
