<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Community Feedback 09: Portable Rasberry Pi Tips</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/interactive/w/documents/3219/community-feedback-09-portable-rasberry-pi-tips</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Community Feedback 09: Portable Rasberry Pi Tips</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/interactive/w/documents/3219/community-feedback-09-portable-rasberry-pi-tips</link><pubDate>Fri, 18 Jan 2019 16:14:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8e1d5154-358a-46c0-b24c-8399250568fb</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/benheck/interactive/w/documents/3219/community-feedback-09-portable-rasberry-pi-tips#comments</comments><description>Current Revision posted to Documents by tariq.ahmad on 1/18/2019 4:14:57 PM&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" style="padding:0px;margin:0px;background-color:#c4e3ed;width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="3" style="padding:6px 0px 10px 11px;vertical-align:top;"&gt;&lt;a href="/e14/assets/legacy/TBHSlogo2.png"&gt;&lt;img alt="image" class="nolightbox" src="/e14/assets/legacy/TBHSlogo2.png"  /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan="3" style="vertical-align:top;padding:8px 13px 13px;"&gt;&lt;p style="margin:0;font-size:18px;font-weight:bold;padding-bottom:6px;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/"&gt;element14&amp;#39;s The Ben Heck Show&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding-bottom:6px;line-height:18px;"&gt;&lt;strong&gt;Join the Ben Heck team every week for amazing hacks!&lt;/strong&gt; Watch them build and mod community-inspired projects using electronics!&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a href="/challengesprojects/element14-presents/benheck/"&gt;Back to The Ben Heck Show homepage &lt;img loading="lazy" alt="image" src="/e14/assets/legacy/gen/LinkArrow.gif"  /&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#004156;vertical-align:middle;" width="30%"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/interactive/"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;Community Feedback&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#005973;vertical-align:middle;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/super-glue-gun/"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;Super Glue Gun&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#006f91;vertical-align:middle;"&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/9678/the-ben-heck-show-episode-archive"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;See All Episodes&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table style="width:80%;display:block;margin:0 auto;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="padding-bottom:12px;"&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=WIxB_JuDFIs"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p style="margin:0;border:1px solid #b8d7e5;background-color:#e9f6fc;padding:8px;max-width:634px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;Ben gives a community member a tip on connecting an unused LCD Screen from an ASUS Tablet.&amp;nbsp; He explains what LVDS (low differential signalling) means and how you can use a TI DS90C365A, a programmable LVDS transmitter 18 bit flat panel display link, to encode into a 4 channel LVDS signal that can be sent to an LCD panel. &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;&lt;strong&gt;Community Feedback comes from &lt;span&gt;&lt;a href="/members/wxam"&gt;wxam&lt;/a&gt;&lt;/span&gt; &lt;span style="color:#000000;font-size:14.6667px;font-family:Calibri, sans-serif;"&gt;&lt;strong&gt;!&lt;/strong&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;&lt;strong&gt;Congratulations you win a Free Ben Heck T-Shirt!&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;&lt;span&gt;&lt;a href="/members/wxam"&gt;wxam&lt;/a&gt;&lt;/span&gt; would like to make a portable Raspberry Pi.&amp;nbsp; He wants to know if he found an unused LCD screen from an ASUS tablet and &lt;a class="jive-link-message-small" href="https://www.element14.com/community/message/229908/l/tablet-lcd-screen-for-raspberry-pi#229908"&gt;wants to know if he&amp;#39;ll need to buy something&lt;/a&gt; in order to allow his ASUS tablet LCD screen to work with his Raspberry Pi. LVDS stands for low differential signalling, which is the kind of thing you would find on a USB connection or HDMI. Basically, it&amp;#39;s using a fewer number of wires to transmit a lot of data quickly in a serial manner using differential signalling. One signal is either higher or lower than the other in voltage and then they switch places in their voltage. Instead of going from 0 to 3 volts, 0 to 5 volts, or even 0 to 1.8 volts, their change is around .5 volts which means they can change faster allowing you to transfer data faster.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;Ben&amp;#39;s got something on his table that might be of some use to &lt;span&gt;&lt;a href="/members/wxam"&gt;wxam&lt;/a&gt;&lt;/span&gt;.&amp;nbsp; It&amp;#39;s a board that attaches to a Raspberry Pi. It uses all the GPIO. The reason it does that, there&amp;#39;s a mode you can load up in Raspberry Pi, its in the device config or device tree overlay, and it turns the GPIO into a TTL Level RGB LCD Driver. So, if you had an LCD screen that had RGB TTL Levels, such as Playstation Portable screen, you could hook that up here and then set up the parameters in your config file and a Raspberry Pi would boot into it. If you&amp;#39;re talking about an LVDS, you&amp;#39;ll probably want to get a &lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-sEWZ1P0O-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=1693936&amp;amp;nsku=41K2037&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=1693936&amp;amp;nsku=41K2037&amp;amp;COM=noscript" target="_blank"&gt;TI DS90C365AMT/NOPB&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-sEWZ1P0O-unlinked"&gt;TI DS90C365AMT/NOPB&lt;/span&gt;&lt;/span&gt;, a programmable LVDS transmitter 18 bit flat panel display link. What this chip does is take in your RGB TTL Signals (red, green, blue, sync, vsync, dot enabled, dot clock) and it encodes those into a 4 channel LVDS signal that can be sent to an LCD panel.&amp;nbsp; This is something you might want to look into if you want to have low-level controls of LCDs without having to use the HDMI interface of the Raspberry Pi. It&amp;#39;s a surface mount chip so if you were to sue this you could probably get one of those breakout board adapters, solder the chip to it, and solder it into your Raspbery Pi.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;Ben would like to do an episode in the future where they discuss device tree overlays and how to configure you Raspberry Pi to work with other LCDs. A similar question was asked in&amp;nbsp;&amp;nbsp; &lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/benheck/interactive/w/documents/3140/community-feedback-07-raspberry-pi-hacks"&gt;Community Feedback 07: Raspberry Pi Hacks&lt;/a&gt; when Ben touched on putting Raspberry Pi into TTL RGB mode. If you had an LCD that had those signals you could put the Raspberry Pi into TTL RGB mode and then as long as you had the timing correct you could directly drive an LCD with it. The 4:3 screen from the &lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/logic-gate-board-game/"&gt;Hex Game&lt;/a&gt; is basically the same screen that’s on the PlayStation portable.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;&lt;strong&gt;GPIO Pins&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The DPI (Display Parallel Interface) is a simple clocked parallel interface (up to 8 bits of R, G, B; clock, enable, hsync, and vsync).&amp;nbsp; Its one of the alternate functions selectable on bank 0 of the Raspberry Pi GPIO.&amp;nbsp; The interface is available as alternate function 2 (ALT2).&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/136x495/__key/communityserver-wikis-components-files/00-00-00-02-54/1273.contentimage_5F00_108003.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/02/54/1273.contentimage_108003.png-136x495.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=YeLCJtNcan%2FFH%2BrsaBij7S49kK0rSd5c9SCabyy69kE%3D&amp;amp;se=2026-05-20T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=ubQJKiy24SBEpQbpoxbzPw==" style="max-height: 495px;max-width: 136px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;There are various ways that color values can be presented on the DPI output pins in either 565, 666, or 24-bit modes:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/1103x310/__key/communityserver-wikis-components-files/00-00-00-02-54/3302.contentimage_5F00_108004.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/02/54/3302.contentimage_108004.png-620x174.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=neF2IxqI%2FnBwJu6ZECoN4hKOSnR%2BezMwjJ625p4%2B3CI%3D&amp;amp;se=2026-05-20T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=UKsheS5FcsVISUG3wszCow==" style="max-height: 174px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;strong&gt;Disable Other GPIO Peripherals&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;You&amp;#39;ll need to disable all other peripheral overlays that use conflicting GPIO pins by commenting out or inverting any dtparams that enable I2C or SPI in the config.txt file:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p style="margin:0;"&gt;dtparam=i2c_arm=off&lt;/p&gt;&lt;p style="margin:0;"&gt;dtparam=spi=off&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;strong&gt;Linux Device Tree Overlay&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The Linux Device Tree overlay is used to switch the GPIO pins into the correct mode (alt function 2).&amp;nbsp; The GPU is responsible for driving the DPI display.&amp;nbsp; There is no linux driver so the overlay simply sets the GPIO alt functions correctly.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;The &amp;#39;full fat&amp;#39; DPI overlay (dpi24.dtb) sets all 28 GPIOs to ALT2 mode to provide the full 24 bits of color bus as well as the h and v-sync, enable and dot clock.&amp;nbsp; This will use all the bank 0 GPIO pins.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Users can edit overlays to create a custom overlay to enable just the pins they want to use.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;strong&gt;Example 800x480 LCD Panel Config&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p style="margin:0;"&gt;&lt;code style="background:transparent;font-family:Courier, monospace;"&gt;dtoverlay=dpi24&lt;br /&gt;overscan_left=0&lt;br /&gt;overscan_right=0&lt;br /&gt;overscan_top=0&lt;br /&gt;overscan_bottom=0&lt;br /&gt;framebuffer_width=800&lt;br /&gt;framebuffer_height=480&lt;br /&gt;enable_dpi_lcd=1&lt;br /&gt;display_default_lcd=1&lt;br /&gt;dpi_group=2&lt;br /&gt;dpi_mode=87&lt;br /&gt;dpi_output_format=0x6f005&lt;br /&gt;hdmi_timings=800 0 40 48 88 480 0 13 3 32 0 0 0 60 0 32000000 6&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;span style="color:#3334ca;"&gt;&lt;strong&gt;Do you have any tips or experience re-purposing an LCD screen for the Raspberry Pi?&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h2&gt;&lt;span style="color:#3334ca;"&gt;&lt;strong&gt;Let us know in the comments below!&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: rpiintermediate, gpio, community feedback, raspberry pi lvds, raspberry pi gpio lvds, lvds, raspberry pi lvds screen, raspberry pi, rpiexpert, raspberry pi gpio&lt;/div&gt;
</description></item></channel></rss>