<?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>Building a Low Power Compact LCD Display</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/w/documents/1504/building-a-low-power-compact-lcd-display</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Building a Low Power Compact LCD Display</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/w/documents/1504/building-a-low-power-compact-lcd-display</link><pubDate>Mon, 10 May 2021 18:52:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:1ff4be8a-cabc-4c0b-890d-bcd152d8b299</guid><dc:creator>shabaz</dc:creator><comments>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/w/documents/1504/building-a-low-power-compact-lcd-display#comments</comments><description>Current Revision posted to Documents by shabaz on 5/10/2021 6:52:08 PM&lt;br /&gt;
&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;&lt;em&gt;(Note: For a follow-up project which uses a larger screen, click here:&lt;a class="jive-link-blog-small" href="/products/raspberry-pi/raspberrypi_projects/b/blog/posts/building-a-3-5-digit-low-power-lcd-module"&gt;Building a 3.5 Digit Low Power LCD Module&lt;/a&gt;&amp;nbsp; )&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/811x542/__key/communityserver-wikis-components-files/00-00-00-01-66/8637.contentimage_5F00_199797.jpg"&gt;&lt;img alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/8637.contentimage_199797.jpg-811x541.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=ojsb41a4wTPOIV2hPQByOUbPBoEeJgaIdwskGgoaz%2BY%3D&amp;amp;se=2026-04-30T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=KyWqkQKn5mYjyQEvo1OVkw==" style="max-height: 541px;max-width: 811px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;h1&gt;Introduction&lt;/h1&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;Sometimes a really simple, low power display is needed. A lot of information can be shown on even a 7-segment display!&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;span style="font-size:12pt;"&gt;This LCD board project could be useful for such purposes. The three 7-segment digits (and two decimal places total, between the digits) can show percentages, hexadecimal values, voltages and current readings. Plenty of characters can be represented too.&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;span style="font-size:12pt;"&gt;Up to four of these displays can be connected to a single I2C bus so (for example) a power supply project could use one display for voltage and another for current, for two channels. To save costs for smaller projects a single display could be used to show more than one item of information using&amp;nbsp; a button press or periodic cycling of data on the display.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/1475x894/__key/communityserver-wikis-components-files/00-00-00-01-66/5584.contentimage_5F00_199798.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/5584.contentimage_199798.jpg-620x376.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=zFPjCqzk8IgpQmLHxc%2FmDXkeXtnYoe%2BxIUaekuQYRU8%3D&amp;amp;se=2026-04-30T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=jHrOQLRX1EKf11CovYp8NQ==" style="max-height: 376px;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;span style="font-size:12pt;"&gt;The reflective LCD that is used has no backlight but has very good contrast and in tests had excellent visibility even in dim light. The power consumption is extremely low and this makes it ideal for portable projects which might need to run for years on batteries without charging. The entire bill-of-materials is less than £5GBP (or lower if multiple displays are purchased).&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;The schematic and plot (gerber) files and source code is attached to this post. I had 20 PCBs made for less than the cost of a pizza.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/1598x637/__key/communityserver-wikis-components-files/00-00-00-01-66/5516.contentimage_5F00_199799.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/5516.contentimage_199799.png-620x247.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=2Xqkm0ueEri0Rwzz8M4Stw5mTlT%2BQ5xNMuT4qVlMADA%3D&amp;amp;se=2026-04-30T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=tJYjceDlBginmxoKFwhpVA==" style="max-height: 247px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;As a quick test I tried it using a Raspberry Pi just counting up from 0.0 to 99.9. With very little effort it would be possible to use it to display Pi stats – for example temperature, or the IP address (one byte at a time) upon start-up. It is easy to get any script to write to the display from the command line.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span id="15e6ab97_2ef4_4a0f_8ede_8982858d49f6"&gt;&lt;span&gt;&lt;a href="https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=4857763821001"&gt;players.brightcove.net/.../index.html&lt;/a&gt;&lt;/span&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;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h1&gt;Features Summary&lt;/h1&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:12pt;"&gt;3.3V or 5V capable&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12pt;"&gt;Ultra-low current consumption (24uA at 3.3V)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12pt;"&gt;Extremely compact; 32x21mm&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12pt;"&gt;Just a 4 wire connection; I2C Interface, 0V and VDD (3.3V or 5V)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12pt;"&gt;Individually addressable segments for alphanumeric and other symbol use&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12pt;"&gt;Quick to assemble; less than a dozen parts&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:12pt;"&gt;Low cost; about £5GBP in quantities of 1&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h1&gt;Parts List&lt;/h1&gt;&lt;table border="1" class="jiveBorder" style="border:1px solid #c6c6c6;width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;background-color:#f2f2f2;width:10%;padding:6px;color:#505050;text-align:left;" valign="middle"&gt;&lt;strong&gt;Ref&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;background-color:#f2f2f2;width:10%;padding:6px;color:#505050;text-align:left;" valign="middle"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;background-color:#f2f2f2;width:22%;padding:6px;color:#505050;text-align:left;" valign="middle"&gt;&lt;strong&gt;Mnfr Part #&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;color:#505050;background-color:#f2f2f2;text-align:left;" valign="middle"&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;background-color:#f2f2f2;width:8%;padding:6px;color:#505050;text-align:left;" valign="middle"&gt;&lt;strong&gt;Qty&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;background-color:#f2f2f2;width:10%;padding:6px;color:#505050;text-align:left;" valign="middle"&gt;&lt;strong&gt;GBP Each&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;LCD1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-bWvLt3O7-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=1838930&amp;amp;nsku=19J7539&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=1838930&amp;amp;nsku=19J7539&amp;amp;COM=noscript" target="_blank"&gt;1838930&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-bWvLt3O7-unlinked"&gt;1838930&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-NuiskGAK-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=1838930&amp;amp;nsku=19J7539&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=1838930&amp;amp;nsku=19J7539&amp;amp;COM=noscript" target="_blank"&gt;LCD-S301C31TR&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-NuiskGAK-unlinked"&gt;LCD-S301C31TR&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;LCD 3-digit&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;1.85&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;U1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-g9bpJcTJ-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2400460&amp;amp;nsku=NULL&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=2400460&amp;amp;nsku=NULL&amp;amp;COM=noscript" target="_blank"&gt;2400460&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-g9bpJcTJ-unlinked"&gt;2400460&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;PCF85176T&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;LCD Driver&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;1.18&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;C3&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-8qO8TrzY-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=1759122&amp;amp;nsku=&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=1759122&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;1759122&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-8qO8TrzY-unlinked"&gt;1759122&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;MC0603B104K500CT&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;100N 0603 x7r&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;0.01&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;R1, R3&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-YWolPZXe-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2073349&amp;amp;nsku=NULL&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=2073349&amp;amp;nsku=NULL&amp;amp;COM=noscript" target="_blank"&gt;2073349&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-YWolPZXe-unlinked"&gt;2073349&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-O1h3sxja-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2073349&amp;amp;nsku=NULL&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=2073349&amp;amp;nsku=NULL&amp;amp;COM=noscript" target="_blank"&gt;MCMR06X1002FTL&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-O1h3sxja-unlinked"&gt;MCMR06X1002FTL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;10K Res 0603&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;2&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;0.01&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;R2, R4, R5&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;D.N.F.&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;0&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;0.00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;R6, R7&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-50yNlAJF-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=9331972&amp;amp;nsku=NULL&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=9331972&amp;amp;nsku=NULL&amp;amp;COM=noscript" target="_blank"&gt;9331972&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-50yNlAJF-unlinked"&gt;9331972&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-ZHdNKHKm-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=9331972&amp;amp;nsku=NULL&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=9331972&amp;amp;nsku=NULL&amp;amp;COM=noscript" target="_blank"&gt;MC0063W060352K7&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-ZHdNKHKm-unlinked"&gt;MC0063W060352K7&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;2.7k Res 0603&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;2&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;0.01&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;J1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-AHvo9zE8-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=1593415&amp;amp;nsku=08N6748&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=1593415&amp;amp;nsku=08N6748&amp;amp;COM=noscript" target="_blank"&gt;1593415&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-AHvo9zE8-unlinked"&gt;1593415&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-Sjf0mrw4-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=1593415&amp;amp;nsku=08N6748&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=1593415&amp;amp;nsku=08N6748&amp;amp;COM=noscript" target="_blank"&gt;2211S-06G&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-Sjf0mrw4-unlinked"&gt;2211S-06G&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;SIL header 6-way&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;0.26&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;Optional&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-EwQNV5C0-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=177848&amp;amp;nsku=NULL&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=177848&amp;amp;nsku=NULL&amp;amp;COM=noscript" target="_blank"&gt;177848&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-EwQNV5C0-unlinked"&gt;177848&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;D01-99012 01&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;PCB pin sockets 12-way&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;2&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;1.18&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;Optional&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-E3inYtLn-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2299856&amp;amp;nsku=&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=2299856&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;2299856&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-E3inYtLn-unlinked"&gt;2299856&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-6Ysg5EkA-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=NULL&amp;amp;nsku=86C2869&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=NULL&amp;amp;nsku=86C2869&amp;amp;COM=noscript" target="_blank"&gt;0552-2-15-01-21-27-10-0&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-6Ysg5EkA-unlinked"&gt;0552-2-15-01-21-27-10-0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;PCB pin sockets (alternative)&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;24&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;0.07&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;"&gt;Additional components for 5V operation&lt;/p&gt;&lt;table border="1" class="jiveBorder" style="border:1px solid #c6c6c6;width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;background-color:#f2f2f2;width:10%;padding:6px;color:#505050;text-align:left;" valign="middle"&gt;&lt;strong&gt;Ref&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;background-color:#f2f2f2;width:10%;padding:6px;color:#505050;text-align:left;" valign="middle"&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;background-color:#f2f2f2;width:22%;padding:6px;color:#505050;text-align:left;" valign="middle"&gt;&lt;strong&gt;Mnfr Part #&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;color:#505050;background-color:#f2f2f2;text-align:left;" valign="middle"&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;background-color:#f2f2f2;width:8%;padding:6px;color:#505050;text-align:left;" valign="middle"&gt;&lt;strong&gt;Qty&lt;/strong&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;background-color:#f2f2f2;width:10%;padding:6px;color:#505050;text-align:left;" valign="middle"&gt;&lt;strong&gt;GBP Each&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;U2&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-fAtZH94s-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2314372&amp;amp;nsku=NULL&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=2314372&amp;amp;nsku=NULL&amp;amp;COM=noscript" target="_blank"&gt;2314372&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-fAtZH94s-unlinked"&gt;2314372&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-pCv44LQp-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=2314372&amp;amp;nsku=NULL&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=2314372&amp;amp;nsku=NULL&amp;amp;COM=noscript" target="_blank"&gt;TPS70925DBVT&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-pCv44LQp-unlinked"&gt;TPS70925DBVT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;LDO 2.5V Voltage Regulator&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;0.82&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;C1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-jxH9BvOy-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=1907343&amp;amp;nsku=&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=1907343&amp;amp;nsku=&amp;amp;COM=noscript" target="_blank"&gt;1907343&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-jxH9BvOy-unlinked"&gt;1907343&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;C1608X7R1C105K080AC&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;1u 0603 X7R&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;0.04&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;C2&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-4vD7RKEx-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=1735542&amp;amp;nsku=24R6341&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=1735542&amp;amp;nsku=24R6341&amp;amp;COM=noscript" target="_blank"&gt;1735542&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-4vD7RKEx-unlinked"&gt;1735542&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;&lt;span&gt;&lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-QJPVILTV-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=1735542&amp;amp;nsku=24R6341&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=1735542&amp;amp;nsku=24R6341&amp;amp;COM=noscript" target="_blank"&gt;GRM21BR71E225KA73L&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-QJPVILTV-unlinked"&gt;GRM21BR71E225KA73L&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;2.2u 0805 X7R&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;1&lt;/td&gt;&lt;td style="border:1px solid black;border:1px solid #c6c6c6;padding:6px;"&gt;0.24&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;h1&gt;How it Works&lt;/h1&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;There are different types of LCDs, but in general they require an alternating current (AC) signal to turn on segments. Some use a square wave, others require multiple voltage levels in order to achieve high segment density with low pin count through multiplexing.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;The particular LCD chosen requires a square wave, and has the benefit of providing high contrast digits. Reflective displays offer high contrast but have the disadvantage that they are opaque from the underside and cannot be lit from behind so require either ambient light to be visible or a side light.&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;span style="font-size:12pt;"&gt;Some microcontrollers feature LCD driving capability but there is a classic integrated circuit from NXP that is useful to offload the task from microcontrollers and allow the use of an I2C bus for interfacing. That IC is the PCF8576 which has been around for more than two decades. NXP have a more recent IC called PCF85176 (it appears to be backwards-compatible) and that is the one used for this project because it has very low power consumption requirements and a higher speed I2C bus capability than its predecessor.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;Nothing else is needed apart from a few resistors and capacitors.&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;span style="font-size:12pt;"&gt;The LCD needs a few volts peak voltage in order to function. For 5V operation a linear regulator provides the lower voltage to run the LCD.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h1&gt;Building It&lt;/h1&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/848x632/__key/communityserver-wikis-components-files/00-00-00-01-66/6177.contentimage_5F00_199800.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/6177.contentimage_199800.png-848x631.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=2IQ%2FNoM4Acf21foc6qenKdnH9HnnderIHqqb1fWENH0%3D&amp;amp;se=2026-04-30T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=AhP0iwbXUugt9BaQh9dPhA==" style="max-height: 631px;max-width: 848px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;Order the boards from a PCB firm (the files are attached to this post). Once the PCBs arrive, the first step is to solder the PCF85176 chip. It is quite small (0.5mm spaced pins) but hand-soldering is still possible. A hot plate and solder paste would be another option. I just used a normal soldering iron (2mm tip) and no-clean flux (cleaned up afterwards) and thin solder.&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;span style="font-size:12pt;"&gt;The hardest part is perfect alignment. The way I do it is to tape the IC onto the PCB first. Then, inspect the pins using a magnifying lens. If it looks incorrect, peel the tape from one end but keep the IC attached to the tape. Move the tape and re-stick it onto the PCB. It becomes quite easy to align the IC and secure it in this manner, just moving the tape from one side at a time.&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;span style="font-size:12pt;"&gt;Next, apply a small amount of no-clean flux and start soldering. Any bridges will fall away if you re-heat with the iron, but if the bridge is persistent then use de-soldering braid. The soldering iron needs a bit of solder applied to the tip in order to get the solder-wicking effect when using the braid.&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;span style="font-size:12pt;"&gt;Optionally use pin sockets (or SIL sockets) so that the LCD does not need to be soldered. It is highly recommended that sockets are used to protect the LCD and also because it would be difficult to unsolder the LCD if there was a problem with the PCF85176 that needed examining.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;After all the parts have been soldered clean the board using an IPA solution and then examine each pin on the PCF85176 under a lens (push each pin gently with the side of a scalpel blade) to verify all is well.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/1233x823/__key/communityserver-wikis-components-files/00-00-00-01-66/7658.contentimage_5F00_199801.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/7658.contentimage_199801.jpg-620x414.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=mgvDUZN6E0a6SwGWx6QBKQGiKFUyxKHXcd%2BuNPkmD24%3D&amp;amp;se=2026-04-30T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=NAEW+ysW7lWpQ8OmQtWXHA==" style="max-height: 414px;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;span style="font-size:12pt;"&gt;If the display only needs to operate from 3.3V then you don’t need to solder the linear regulator IC and its associated capacitors. If multiple displays on the same I2C bus are needed then the addresses are programmed using two 10k resistors that can be soldered in different positions (see the source code for a table which indicates this).&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/726x365/__key/communityserver-wikis-components-files/00-00-00-01-66/5504.contentimage_5F00_199802.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/5504.contentimage_199802.png-620x312.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=mpSiiZeOcD2MbkS5BsAnMuUvl2n88dmlGo8%2FKFgY%2BjQ%3D&amp;amp;se=2026-04-30T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=RQ6k9nPPiEXtnTKLFLPdlQ==" style="max-height: 312px;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;span style="font-size:12pt;"&gt;The attached files are slightly improved to the boards that I used, in that there is a white space for labelling them if multiple displays are needed for a single project.&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;span style="font-size:12pt;"&gt;After checks for any short circuits, the LCD can now be connected up to the Pi.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/782x197/__key/communityserver-wikis-components-files/00-00-00-01-66/2451.contentimage_5F00_199803.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/2451.contentimage_199803.png-782x196.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=QrFJJumH%2B26f9ND0DvRy%2B3n4V%2BsVQmU4wMzYh0joP4Y%3D&amp;amp;se=2026-04-30T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=aahoOpbuEMo2uJpZ13ewNw==" style="max-height: 196px;max-width: 782px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h1&gt;Software&lt;/h1&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;As a quick test some C code was written for the ‘Pi. It was tested using a Pi 2 but should work on others, there is nothing special to the code.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;To enable I2C on the ‘Pi, add the following line to /boot/config.txt (you need to be root user to do this):&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;dtparam i2c_arm=on&lt;/pre&gt;&lt;/p&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;Reboot the Pi and then type (as root user):&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;modprobe i2c_dev&lt;/pre&gt;&lt;/p&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;To make it persistent across reboots you can add the following (as root user) to the /etc/modules file:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;i2c-dev&lt;/pre&gt;&lt;/p&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;&lt;a class="jive-link-external-small" href="https://github.com/shabaz123/lcd3" rel="nofollow ugc noopener" target="_blank"&gt;Grab the code from github&lt;/a&gt;. To compile the code type the following:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;gcc -c i2cfunc.c -o i2cfunc.o
ar rcs libi2cfunc.a i2cfunc.o
gcc lcd3-test.c -L. -li2cfunc -o lcd3-test&lt;/pre&gt;&lt;/p&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;To run it, type:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;./lcd-test&lt;/pre&gt;&lt;/p&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;Currently the code can display decimal points, digits 0-9 and space.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;To use it, call the print_line() function. Here are some examples:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;print_line(&amp;quot; 0.0&amp;quot;);
print_line(&amp;quot;1.23&amp;quot;);
print_line(&amp;quot;   &amp;quot;); // clear the screen&lt;/pre&gt;&lt;/p&gt;&lt;div style="display:none;"&gt;&lt;/div&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/764x510/__key/communityserver-wikis-components-files/00-00-00-01-66/0317.contentimage_5F00_199804.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/0317.contentimage_199804.jpg-764x510.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=9KNgKlPJD5isjz%2FzBKNz%2B1ePgaA%2BckqOyV1K4yIdYqE%3D&amp;amp;se=2026-04-30T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=t0D7n7lpocL8inhhOIZlKg==" style="max-height: 510px;max-width: 764px;" /&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;span style="font-size:12pt;"&gt;The I2C interface is a standard, and it would be very easy to port the code across to any microcontroller/Arduino/etc.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h1&gt;Summary&lt;/h1&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;NXP’s I2C LCD chip continues to be useful after two decades. The cost, size and low power consumption are attractive for some use-cases. Although this project uses surface mount components they are cheap enough that it could be a useful board to practice with. The very low power consumption means that a couple of AA batteries should last for five years or more with the display always on.&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;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/807x451/__key/communityserver-wikis-components-files/00-00-00-01-66/3750.contentimage_5F00_199805.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/3750.contentimage_199805.jpg-807x451.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=7vAgFYyYAVArfFqUQdlmJDZVMCjUnXHo6bKsHZIfdDM%3D&amp;amp;se=2026-04-30T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=v8eu1LXYGb4LIJyKeaWHMw==" style="max-height: 451px;max-width: 807px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h1&gt;Advanced Use: Extending the Character Set&lt;/h1&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;Many characters are possible with 7-segment displays.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/709x214/__key/communityserver-wikis-components-files/00-00-00-01-66/1616.contentimage_5F00_199806.jpg"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/1616.contentimage_199806.jpg-620x188.jpg?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=UqK6B%2FyUIEnNCKJ11Rz6wrAHYN0aLvOT7X%2BnaJ2PL7A%3D&amp;amp;se=2026-04-30T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=5oJCXdVkq/hNbdfdhsWKGw==" style="max-height: 188px;max-width: 620px;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;Three bytes represent which segments are to be activated. Refer to the diagram to see the bit mappings.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;&lt;a href="https://community.element14.com/resized-image/__size/645x337/__key/communityserver-wikis-components-files/00-00-00-01-66/7563.contentimage_5F00_199807.png"&gt;&lt;img loading="lazy" alt="image" src="https://community-storage.element14.com/communityserver-components-secureimagefileviewer/communityserver/wikis/components/files/00/00/00/01/66/7563.contentimage_199807.png-645x337.png?sv=2016-05-31&amp;amp;sr=b&amp;amp;sig=Zm5ZAN62MdMH7o71gFOlFkiFQz9bwmD8pe2tCok7hjs%3D&amp;amp;se=2026-04-30T23%3A59%3A59Z&amp;amp;sp=r&amp;amp;_=/3c100AMVXKNgdOrN1+q1g==" style="max-height: 337px;max-width: 645px;" /&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;span style="font-size:12pt;"&gt;To extend the character set to display hyphens or alphabet characters, the following array needs to be extended:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;const char bit_table[]=
{
  0x38, 0x00, 0x86,    0x00, 0xbe, 0x00,    0x86, 0x00, 0x38,    /* 0 */
  0x08, 0x00, 0x02,    0x00, 0x0a, 0x00,    0x02, 0x00, 0x08,    /* 1 */
  0x30, 0x00, 0x46,    0x00, 0x76, 0x00,    0x46, 0x00, 0x30,    /* 2 */
  0x18, 0x00, 0x46,    0x00, 0x5e, 0x00,    0x46, 0x00, 0x18,    /* 3 */
  0x08, 0x00, 0xc2,    0x00, 0xca, 0x00,    0xc2, 0x00, 0x08,    /* 4 */
  0x18, 0x00, 0xc4,    0x00, 0xdc, 0x00,    0xc4, 0x00, 0x18,    /* 5 */
  0x38, 0x00, 0xc4,    0x00, 0xfc, 0x00,    0xc4, 0x00, 0x38,    /* 6 */
  0x08, 0x00, 0x06,    0x00, 0x0e, 0x00,    0x06, 0x00, 0x08,    /* 7 */
  0x38, 0x00, 0xc6,    0x00, 0xfe, 0x00,    0xc6, 0x00, 0x38,    /* 8 */
  0x18, 0x00, 0xc6,    0x00, 0xde, 0x00,    0xc6, 0x00, 0x18     /* 9 */
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:12pt;"&gt;The first group of three bytes indicates the segments that need to be turned on for the digit in the leftmost position, the second group of three refer to the center digit and the last three refer to the rightmost digit. If ASCII sequence is not followed then modify the char_prog function accordingly.&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;span style="font-size:12pt;"&gt;To enable the extra characters, the print_line function case statement checks can be extended.&lt;/span&gt;&lt;/p&gt;
&lt;div class="migration-injected-attachments"&gt;&lt;div style="font-weight:bold;margin:15px 0 5px 0;"&gt;Attachments:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;table style="border:0;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan="2"&gt;&lt;span class="_se_attachment" id="attid_https://www.element14.com/community/api/core/v3/attachments/205128"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-01-66/export_2D00_lcd3.zip"&gt;community.element14.com/.../export_2D00_lcd3.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="2"&gt;&lt;span class="_se_attachment" id="attid_https://www.element14.com/community/api/core/v3/attachments/212652"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-01-66/export_2D00_lcd3_2D00_rev2.zip"&gt;community.element14.com/.../export_2D00_lcd3_2D00_rev2.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan="2"&gt;&lt;span class="_se_attachment" id="attid_https://www.element14.com/community/api/core/v3/attachments/256758"&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-01-66/export_2D00_lcd3_2D00_rev2_2D00_with_2D00_board_2D00_outline.zip"&gt;community.element14.com/.../export_2D00_lcd3_2D00_rev2_2D00_with_2D00_board_2D00_outline.zip&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: low_power, eagle, eagle-cad, lcd, rpiintermediate, lcd display, eagle_cad, raspberry_pi, display, nxp, raspberry_pi_projects, feature_tutorial&lt;/div&gt;
</description></item></channel></rss>