{"id":1729,"date":"2020-12-09T15:32:26","date_gmt":"2020-12-09T23:32:26","guid":{"rendered":"https:\/\/www.crystalfontz.com\/blog\/?p=1729"},"modified":"2021-07-21T07:13:35","modified_gmt":"2021-07-21T14:13:35","slug":"transparent-oled-on-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/","title":{"rendered":"Transparent OLED on Raspberry Pi"},"content":{"rendered":"\n<p>One of our most frequently asked questions is &ldquo;Can I use the <a href=\"https:\/\/www.crystalfontz.com\/product\/cfal12856a00151b-128x56-transparent-oled-screen\">transparent OLED<\/a> with a Raspberry Pi?&rdquo; The answer is a resounding Yes! <\/p>\n\n\n\n<p>The transparent <a href=\"https:\/\/www.crystalfontz.com\/blog\/glossary\/oled\/\" target=\"_self\" title=\"OLED stands for Organic Light Emitting Diode. OLEDs are used to make OLED Displays, which can either be PMOLED (Passive Matrix OLED) or AMOLED (Active Matrix OLED). Crystalfontz carries a full line of OLED modules. Detailed Definition What makes OLEDs useful for display construction is that they can be fabricated in bulk. For instance, to&hellip;\" class=\"encyclopedia\">OLED<\/a> can be driven by the GPIO pins of the RPi. And even better? It&rsquo;s really quite simple!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How To Use a Raspberry Pi to Run a Transparent Display<\/h2>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile\" style=\"grid-template-columns:auto 33%\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"604\" src=\"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20201209_091513.jpg\" alt=\"A raspberry pi, transparent OLED display, CFA10105 OLED breakout board, and four jumper wires laid out\" class=\"wp-image-1737 size-full\" srcset=\"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20201209_091513.jpg 800w, https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20201209_091513-300x227.jpg 300w, https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20201209_091513-150x113.jpg 150w, https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20201209_091513-768x580.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\"><\/figure><div class=\"wp-block-media-text__content\">\n<h3 class=\"wp-block-heading\">First, you&rsquo;ll need:<\/h3>\n\n\n\n<ul class=\"wp-block-list\" id=\"block-14427d80-31d6-4eb9-9deb-23c0c806895d\"><li>Raspberry Pi<\/li><li><a href=\"https:\/\/www.crystalfontz.com\/product\/cfal12856a00151b-128x56-transparent-oled-screen\">Transparent OLED Display<\/a><\/li><li><a href=\"https:\/\/www.crystalfontz.com\/product\/cfa10105\">Transparent OLED Breakout Board<\/a><\/li><li><a href=\"https:\/\/www.crystalfontz.com\/product\/wrjmpy40-pcb-jumper-wires\">4 Jumper Wires<\/a><\/li><li>Soldering iron<\/li><\/ul>\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Reference Docs:<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.crystalfontz.com\/products\/document\/4054\/CFAL12856A0-0151-B_Datasheet.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Transparent Display Datasheet<\/a><\/li><li><a href=\"https:\/\/www.crystalfontz.com\/products\/document\/4253\/CFA10105Datasheet.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Breakout Board Datasheet<\/a><\/li><li><a href=\"https:\/\/luma-oled.readthedocs.io\/en\/latest\/intro.html\" target=\"_blank\" rel=\"noreferrer noopener\">Luma.OLED&rsquo;s Documentation<\/a><\/li><li><a href=\"https:\/\/pinout.xyz\/\" target=\"_blank\" rel=\"noreferrer noopener\">RPi Pinout<\/a><\/li><\/ul>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile\" style=\"grid-template-columns:auto 32%\" id=\"I2C-Jumpers\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"604\" height=\"800\" src=\"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/CFA10105-soldered-for-I2C.jpg\" alt=\"CFA10105 breakout board with BS1=1 and SDA=SDA jumpers soldered closed\" class=\"wp-image-1733 size-full\" srcset=\"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/CFA10105-soldered-for-I2C.jpg 604w, https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/CFA10105-soldered-for-I2C-227x300.jpg 227w, https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/CFA10105-soldered-for-I2C-113x150.jpg 113w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\"><\/figure><div class=\"wp-block-media-text__content\">\n<h2 class=\"wp-block-heading\">Step 1: Close Jumpers to Convert to I2C<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Use solder to close BS1=1 and SDA=SDA.<\/h3>\n\n\n\n<p class=\"has-normal-font-size\">On the right side of the breakout board there is a group of five jumpers. To set the board up to communicate using <a href=\"https:\/\/www.crystalfontz.com\/blog\/glossary\/i2c\/\" target=\"_self\" title='I2C or IIC stands for \"Inter-Integrated Circuit,\" and was originally intended as a way to communicate from one IC to another, usually on the same PCB. I2C is a bi-directional serial bus that was originally created by Philips (now NXP). Detailed Definition In a typical I2C application, there will be one master, and one or&hellip;' class=\"encyclopedia\">I2C<\/a> two of the jumpers need to be closed. You can see that we have simply blobbed some solder to close the two jumpers. This is an engineering sample board, so it&rsquo;s not as clean as you might hope.<\/p>\n\n\n\n<p class=\"has-normal-font-size\">As described on the back of the board, and in the board&rsquo;s datasheet, the interface selection for I2C is BS1=1 and BS2=0. The breakout board also handles tying D1 and D2 together to serve as SDA when the jumper SDA=SDA is closed.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile\" style=\"grid-template-columns:auto 32%\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"800\" src=\"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/Connect-Display-to-ZIF.jpg\" alt=\"Display inserted into ZIF connector on breakout board with finger to close ZIF connector\" class=\"wp-image-1734 size-full\" srcset=\"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/Connect-Display-to-ZIF.jpg 600w, https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/Connect-Display-to-ZIF-225x300.jpg 225w, https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/Connect-Display-to-ZIF-113x150.jpg 113w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"><\/figure><div class=\"wp-block-media-text__content\">\n<h2 class=\"wp-block-heading\">Step 2: Connect the Transparent Display<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Insert the display tail into the ZIF connector and close the connector<\/h3>\n\n\n\n<p class=\"has-normal-font-size\">With the shiny pins facing up, gently slide the tail of the display into the <a href=\"https:\/\/www.crystalfontz.com\/blog\/glossary\/zif\/\" target=\"_self\" title='ZIF is short for Zero Insertion Force and refers to a type of connector. This kind of connector is intended to be used with FPC (Flexible Printed Circuit) or FFC (Flat Flexible Cable). Many of our display have \"ZIF tails\" that easily mate with a ZIF connector. ZIF tails are beneficial over solder down tails&hellip;' class=\"encyclopedia\">ZIF<\/a> connector. As the name implies, the tail should go into the connector with Zero Insertion Force. <\/p>\n\n\n\n<p class=\"has-normal-font-size\">Once the tail is well seated in the connector, close the connector by pressing down on the black hinge.<\/p>\n\n\n\n<p class=\"has-normal-font-size\">This would also be a good time to tape the display to the board, if desired. Simply peel the tape backing off, align the display, and press gently down to secure the display.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile\" style=\"grid-template-columns:auto 31%\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"795\" src=\"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20201209_125850.jpg\" alt=\"Transparent Display connected to raspberry pi using 4 wires\" class=\"wp-image-1736 size-full\" srcset=\"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20201209_125850.jpg 600w, https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20201209_125850-226x300.jpg 226w, https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20201209_125850-113x150.jpg 113w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"><\/figure><div class=\"wp-block-media-text__content\">\n<h2 class=\"wp-block-heading\">Step 3: Wire the Breakout Board to the Raspberry Pi<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Connect Power, Ground, SLC and SDA<\/h3>\n\n\n\n<p>Just four wires are needed to wire the transparent display to the RPi.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Power: The orange wire goes from the 3.3v pin on the breakout board to the 3.3v power on the RPi. We used Pin 1, but any of the 3.3v power pins will work.<\/li><li>Ground: The black wire goes from GND on the breakout board to pin 6 ground on the RPi.<\/li><li>SCL: The brown wire goes from D0 (SCL) to pin 5 (GPIO 3 (I2C Clock)) on the RPi.<\/li><li>SDA: The green wire goes from D1 (SDA) to pin 3 (GPIO 2 (I2C Data)) on the RPi. Or, if you&rsquo;re feeling weird, you can connect to D2, since the jumper SDA=SDA is closed tying D1 and D2 together.<\/li><\/ol>\n\n\n\n<p class=\"has-normal-font-size\">The RPi has internal pull ups for the I2C pins, so there&rsquo;s no need to use external pull ups.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Install the latest version of luma.OLED<\/h2>\n\n\n\n<p>First, make sure I2C is enabled on your Raspberry Pi. You can follow this <a href=\"https:\/\/www.raspberrypi-spy.co.uk\/2014\/11\/enabling-the-i2c-interface-on-the-raspberry-pi\/\">tutorial to enable it<\/a>.<\/p>\n\n\n\n<p>We&rsquo;re going to use the <a href=\"https:\/\/luma-oled.readthedocs.io\/en\/latest\/\">Luma OLED library<\/a> to get this display up and running. This command will install the latest version: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo -H pip3 install --upgrade luma.oled<\/code><\/pre>\n\n\n\n<p>You also need to give them permission to access some hardware interfaces, where &ldquo;pi&rdquo; is the name of the account you&rsquo;ll be using (the default is &ldquo;pi&rdquo;).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo usermod -a -G spi,gpio,i2c pi<\/code><\/pre>\n\n\n\n<p>If you need help troubleshooting visit <a href=\"https:\/\/luma-oled.readthedocs.io\/en\/latest\/software.html\">their explainer on how to install<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Display Something on Your Transparent OLED<\/h2>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile\" style=\"grid-template-columns:auto 27%\"><figure class=\"wp-block-media-text__media\"><img decoding=\"async\" src=\"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/hello-world-e1607614786597.jpg\" alt='transparent oled displaying \"hello world\" with raspberry pi visible through the display' class=\"wp-image-1739 size-full\"><\/figure><div class=\"wp-block-media-text__content\">\n<p>The code below will give you a hello world, just run it on the RPi.<\/p>\n\n\n\n<p>It&rsquo;s really that simple! <\/p>\n\n\n\n<p>Luma.OLED has a whole host of examples that can be <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/rm-hull\/luma.examples\" target=\"_blank\">downloaded from their github<\/a>.<\/p>\n<\/div><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>from luma.core.interface.serial import i2c\nfrom luma.core.render import canvas\nfrom luma.oled.device import ssd1309\n\nserial = i2c(port=1, address=0x3C)\ndevice = ssd1309(serial)\n\nwith canvas(device) as draw:\n    draw.rectangle(device.bounding_box, outline=\"white\", fill=\"black\")\n    draw.text((30, 40), \"Hello World\", fill=\"white\")<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">I Don&rsquo;t Have a Soldering Iron (or want to use SPI)<\/h2>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile\" style=\"grid-template-columns:auto 28%\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"600\" src=\"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20210301_165144-edited.jpg\" alt=\"\" class=\"wp-image-1798 size-full\" srcset=\"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20210301_165144-edited.jpg 600w, https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20210301_165144-edited-300x300.jpg 300w, https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/IMG_20210301_165144-edited-120x120.jpg 120w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"><\/figure><div class=\"wp-block-media-text__content\">\n<p>That&rsquo;s fine! You can use <a href=\"https:\/\/www.crystalfontz.com\/blog\/glossary\/spi\/\" target=\"_self\" title='SPI stands for Serial Peripheral Interface. SPI is a simple serial bus that is often used by LCD or OLED controllers. SPI as implemented for OLED and LCD controllers typically uses a \"3-wire SPI\" or \"4-wire SPI\" scheme. Detailed Definition SPI was originally championed by Motorola (now Freescale). In its original \"pure\" form SPI uses&hellip;' class=\"encyclopedia\">SPI<\/a>. <\/p>\n\n\n\n<p>If changing the interface on the breakout board isn&rsquo;t an option, change the code to use SPI instead. <a href=\"https:\/\/luma-oled.readthedocs.io\/en\/latest\/hardware.html#spi\">Make sure SPI is enabled on your Pi.<\/a> Then import &ldquo;spi&rdquo; instead of &ldquo;i2c&rdquo; and define serial as &ldquo;spi(device=0,port=0)&rdquo;. <\/p>\n\n\n\n<p>You&rsquo;ll also need to change the wiring a bit. Luma&rsquo;s documentation includes a nice <a href=\"https:\/\/luma-oled.readthedocs.io\/en\/latest\/hardware.html#spi\">SPI wiring table<\/a>, though you&rsquo;ll ignore the pin numbers for the display. It&rsquo;s also nice to look at the <a href=\"https:\/\/pinout.xyz\/pinout\/spi\">Raspberry Pi pinout<\/a> to remember that GPIO numbers are not the same as the pin numbers on the RPi.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Bringing up Other OLEDs on Raspberry Pi<\/h2>\n\n\n\n<p>This tutorial can be followed exactly for our three OLEDs that pair with the CFA10105 breakout board: the <a href=\"https:\/\/www.crystalfontz.com\/product\/cfal12856a00151b-128x56-transparent-oled-screen\">transparent OLED<\/a>, a <a href=\"https:\/\/www.crystalfontz.com\/product\/cfal12864d0154mw-128x64-white-graphic-oled\">white OLED<\/a>, and a <a href=\"https:\/\/www.crystalfontz.com\/product\/cfal12864d0154my-128x64-yellow-graphic-oled-154\">yellow OLED<\/a>.<\/p>\n\n\n\n<p>The luma.OLED library interfaces with many OLED controllers (SSD1306, SSD1309, SSD1322, SSD1325, SSD1327, SSD1331, SSD1351, SSD1362, SH1106, and WS0010), so with a few adjustments (changing the device define to match your display&rsquo;s controller, and having a compatible breakout board) this tutorial can be used for many of our <a href=\"https:\/\/www.crystalfontz.com\/c\/oled-displays\/29\">OLED displays<\/a>.<\/p>\n\n\n\n<p>Bonus good news on the breakout board front! This <a href=\"https:\/\/www.crystalfontz.com\/product\/cfa10102-oled-breakout-board\">generic breakout board simplifies creating a breakout board for any display<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Contact Us<\/h2>\n\n\n\n<p>If you have any questions, reach out to support@crystalfontz.com. We also provide <a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.crystalfontz.com\/contact.php\" target=\"_blank\" rel=\"noreferrer noopener\">chat and telephone support<\/a> Monday through Friday during our open hours.<\/p>\n\n\n\n<p>We love to hear about your projects! If you bring up a transparent OLED on raspberry pi, let us know!  Find us around the web (<a rel=\"noreferrer noopener\" href=\"https:\/\/www.youtube.com\/user\/CrystalfontzAmerica\/?mc_cid=364fa8437c&amp;mc_eid=%5BUNIQID%5D\" target=\"_blank\">YouTube<\/a>,&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.facebook.com\/CrystalfontzAmericaInc\/?mc_cid=364fa8437c&amp;mc_eid=%5BUNIQID%5D\" target=\"_blank\">Facebook<\/a>,&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.instagram.com\/crystalfontz\/?mc_cid=364fa8437c&amp;mc_eid=%5BUNIQID%5D\" target=\"_blank\">Instagram<\/a>,&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.linkedin.com\/company\/crystalfontz-america-inc\/?mc_cid=364fa8437c&amp;mc_eid=%5BUNIQID%5D\" target=\"_blank\">LinkedIn<\/a>, &nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/twitter.com\/Crystalfontz?mc_cid=364fa8437c&amp;mc_eid=%5BUNIQID%5D\" target=\"_blank\">Twitter<\/a>, <a rel=\"noreferrer noopener\" href=\"http:\/\/forum.crystalfontz.com\" target=\"_blank\">Forum<\/a>) and let us know what you&rsquo;re working on.<\/p>\n\n\n\n<p><a href=\"https:\/\/forum.crystalfontz.com\/threads\/raspberry-pi-running-a-transparent-oled.5804\/\">Join us discussing this project in our forum.<\/a><\/p>\n\n\n\n<!-- Begin Mailchimp Signup Form -->\n<link href=\"\/\/cdn-images.mailchimp.com\/embedcode\/horizontal-slim-10_7.css\" rel=\"stylesheet\" type=\"text\/css\">\n<style type=\"text\/css\">\n\t#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; width:100%;}\n<\/style>\n<div id=\"mc_embed_signup\">\n<form action=\"https:\/\/crystalfontz.us17.list-manage.com\/subscribe\/post?u=8a880dec17face7992ae6ef10&amp;id=7268847031\" method=\"post\" id=\"mc-embedded-subscribe-form\" name=\"mc-embedded-subscribe-form\" class=\"validate\" target=\"_blank\" novalidate=\"\">\n    <div id=\"mc_embed_signup_scroll\">\n\t<label for=\"mce-EMAIL\">Subscribe to our Newsletter<\/label>\n\t<input type=\"email\" value=\"\" name=\"EMAIL\" class=\"email\" id=\"mce-EMAIL\" placeholder=\"email address\" required=\"\">\n    <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->\n    <div style=\"position: absolute; left: -5000px;\" aria-hidden=\"true\"><input type=\"text\" name=\"b_8a880dec17face7992ae6ef10_7268847031\" tabindex=\"-1\" value=\"\"><\/div>\n    <div class=\"clear\"><input type=\"submit\" value=\"Subscribe\" name=\"subscribe\" id=\"mc-embedded-subscribe\" class=\"button\"><\/div>\n    <\/div>\n<\/form>\n<\/div>\n\n<!--End mc_embed_signup-->\n","protected":false},"excerpt":{"rendered":"<p>One of our most frequently asked questions is &#8220;Can I use the transparent OLED with a Raspberry Pi?&#8221; The answer is a resounding Yes! The transparent OLED can be driven by the GPIO pins of the RPi. And even better? It&#8217;s really quite simple! How To Use a Raspberry Pi to Run a Transparent Display [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":1739,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[4,31,5,9],"tags":[125,118,123,124],"class_list":["post-1729","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-frequently-asked-questions","category-oled","category-raspberry-pi","category-tutorial","tag-i2c","tag-raspberry-pi","tag-transparent-display","tag-transparent-oled"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Transparent OLED on Raspberry Pi<\/title>\n<meta name=\"description\" content=\"Transparent OLED on Raspberry Pi : One of our most frequently asked questions is &quot;Can I use the transparent OLED with a Raspberry Pi?&quot; The answer is a resounding Yes! The transparent OLED\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Transparent OLED on Raspberry Pi\" \/>\n<meta property=\"og:description\" content=\"Transparent OLED on Raspberry Pi : One of our most frequently asked questions is &quot;Can I use the transparent OLED with a Raspberry Pi?&quot; The answer is a resounding Yes! The transparent OLED\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/\" \/>\n<meta property=\"og:site_name\" content=\"Crystalfontz LCD Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pages\/Crystalfontz-America-Inc\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-09T23:32:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-21T14:13:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/hello-world-e1612973699579.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Kelsey\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@crystalfontz\" \/>\n<meta name=\"twitter:site\" content=\"@crystalfontz\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kelsey\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/transparent-oled-on-raspberry-pi\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/transparent-oled-on-raspberry-pi\\\/\"},\"author\":{\"name\":\"Kelsey\",\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/#\\\/schema\\\/person\\\/f772b1f8283f774bb64db68d76c95016\"},\"headline\":\"Transparent OLED on Raspberry Pi\",\"datePublished\":\"2020-12-09T23:32:26+00:00\",\"dateModified\":\"2021-07-21T14:13:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/transparent-oled-on-raspberry-pi\\\/\"},\"wordCount\":887,\"publisher\":{\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/transparent-oled-on-raspberry-pi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/wp-content\\\/uploads\\\/hello-world-e1612973699579.jpg\",\"keywords\":[\"i2c\",\"raspberry pi\",\"transparent display\",\"transparent oled\"],\"articleSection\":[\"Frequently Asked Questions\",\"OLED Projects and Solutions\",\"Raspberry Pi Projects\",\"Tutorial\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/transparent-oled-on-raspberry-pi\\\/\",\"url\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/transparent-oled-on-raspberry-pi\\\/\",\"name\":\"Transparent OLED on Raspberry Pi\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/transparent-oled-on-raspberry-pi\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/transparent-oled-on-raspberry-pi\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/wp-content\\\/uploads\\\/hello-world-e1612973699579.jpg\",\"datePublished\":\"2020-12-09T23:32:26+00:00\",\"dateModified\":\"2021-07-21T14:13:35+00:00\",\"description\":\"Transparent OLED on Raspberry Pi : One of our most frequently asked questions is \\\"Can I use the transparent OLED with a Raspberry Pi?\\\" The answer is a resounding Yes! The transparent OLED\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/transparent-oled-on-raspberry-pi\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/transparent-oled-on-raspberry-pi\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/transparent-oled-on-raspberry-pi\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/wp-content\\\/uploads\\\/hello-world-e1612973699579.jpg\",\"contentUrl\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/wp-content\\\/uploads\\\/hello-world-e1612973699579.jpg\",\"width\":150,\"height\":200,\"caption\":\"transparent oled displaying \\\"hello world\\\" with raspberry pi visible through the display\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/transparent-oled-on-raspberry-pi\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transparent OLED on Raspberry Pi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/\",\"name\":\"Crystalfontz LCD Blog\",\"description\":\"We have a display for that!\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/#organization\",\"name\":\"Crystalfontz America Inc.\",\"url\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/wp-content\\\/uploads\\\/CrystalfontzAmericaLogo-e1612976245961.jpg\",\"contentUrl\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/wp-content\\\/uploads\\\/CrystalfontzAmericaLogo-e1612976245961.jpg\",\"width\":120,\"height\":120,\"caption\":\"Crystalfontz America Inc.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/pages\\\/Crystalfontz-America-Inc\",\"https:\\\/\\\/x.com\\\/crystalfontz\",\"https:\\\/\\\/www.instagram.com\\\/crystalfontz\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/crystalfontz-america-inc\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/CrystalfontzAmerica\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.crystalfontz.com\\\/blog\\\/#\\\/schema\\\/person\\\/f772b1f8283f774bb64db68d76c95016\",\"name\":\"Kelsey\",\"description\":\"Kelsey is an engineer at Crystalfontz. She graduated from Gonzaga University with a BS in Electrical Engineering. Kelsey's roles at Crystalfontz include product design, custom parts, customer support, documentation, and product demonstrations. What our customers say about Kelsey: \\\"As a new user to the world of LCD electronics, Kelsey has been a Godsend in providing the hand-holding I needed to get my project up and running despite my own efforts at fouling things up! :-)\\\" - Owen M \\\"Kelsey got me through changing code for a new LCD in only two short emails.\\\" - Phillip V \\\"The agent that I talked with (Kelsey), is technically sound and she knows what she is doing. The support is what made my job easier to get started with the different display technologies. Thank you!\\\" - Vatsal S\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Transparent OLED on Raspberry Pi","description":"Transparent OLED on Raspberry Pi : One of our most frequently asked questions is \"Can I use the transparent OLED with a Raspberry Pi?\" The answer is a resounding Yes! The transparent OLED","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/","og_locale":"en_US","og_type":"article","og_title":"Transparent OLED on Raspberry Pi","og_description":"Transparent OLED on Raspberry Pi : One of our most frequently asked questions is \"Can I use the transparent OLED with a Raspberry Pi?\" The answer is a resounding Yes! The transparent OLED","og_url":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/","og_site_name":"Crystalfontz LCD Blog","article_publisher":"https:\/\/www.facebook.com\/pages\/Crystalfontz-America-Inc","article_published_time":"2020-12-09T23:32:26+00:00","article_modified_time":"2021-07-21T14:13:35+00:00","og_image":[{"width":150,"height":200,"url":"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/hello-world-e1612973699579.jpg","type":"image\/jpeg"}],"author":"Kelsey","twitter_card":"summary_large_image","twitter_creator":"@crystalfontz","twitter_site":"@crystalfontz","twitter_misc":{"Written by":"Kelsey","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/#article","isPartOf":{"@id":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/"},"author":{"name":"Kelsey","@id":"https:\/\/www.crystalfontz.com\/blog\/#\/schema\/person\/f772b1f8283f774bb64db68d76c95016"},"headline":"Transparent OLED on Raspberry Pi","datePublished":"2020-12-09T23:32:26+00:00","dateModified":"2021-07-21T14:13:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/"},"wordCount":887,"publisher":{"@id":"https:\/\/www.crystalfontz.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/hello-world-e1612973699579.jpg","keywords":["i2c","raspberry pi","transparent display","transparent oled"],"articleSection":["Frequently Asked Questions","OLED Projects and Solutions","Raspberry Pi Projects","Tutorial"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/","url":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/","name":"Transparent OLED on Raspberry Pi","isPartOf":{"@id":"https:\/\/www.crystalfontz.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/#primaryimage"},"image":{"@id":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/hello-world-e1612973699579.jpg","datePublished":"2020-12-09T23:32:26+00:00","dateModified":"2021-07-21T14:13:35+00:00","description":"Transparent OLED on Raspberry Pi : One of our most frequently asked questions is \"Can I use the transparent OLED with a Raspberry Pi?\" The answer is a resounding Yes! The transparent OLED","breadcrumb":{"@id":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/#primaryimage","url":"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/hello-world-e1612973699579.jpg","contentUrl":"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/hello-world-e1612973699579.jpg","width":150,"height":200,"caption":"transparent oled displaying \"hello world\" with raspberry pi visible through the display"},{"@type":"BreadcrumbList","@id":"https:\/\/www.crystalfontz.com\/blog\/transparent-oled-on-raspberry-pi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.crystalfontz.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Transparent OLED on Raspberry Pi"}]},{"@type":"WebSite","@id":"https:\/\/www.crystalfontz.com\/blog\/#website","url":"https:\/\/www.crystalfontz.com\/blog\/","name":"Crystalfontz LCD Blog","description":"We have a display for that!","publisher":{"@id":"https:\/\/www.crystalfontz.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.crystalfontz.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.crystalfontz.com\/blog\/#organization","name":"Crystalfontz America Inc.","url":"https:\/\/www.crystalfontz.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.crystalfontz.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/CrystalfontzAmericaLogo-e1612976245961.jpg","contentUrl":"https:\/\/www.crystalfontz.com\/blog\/wp-content\/uploads\/CrystalfontzAmericaLogo-e1612976245961.jpg","width":120,"height":120,"caption":"Crystalfontz America Inc."},"image":{"@id":"https:\/\/www.crystalfontz.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pages\/Crystalfontz-America-Inc","https:\/\/x.com\/crystalfontz","https:\/\/www.instagram.com\/crystalfontz\/","https:\/\/www.linkedin.com\/company\/crystalfontz-america-inc\/","https:\/\/www.youtube.com\/user\/CrystalfontzAmerica"]},{"@type":"Person","@id":"https:\/\/www.crystalfontz.com\/blog\/#\/schema\/person\/f772b1f8283f774bb64db68d76c95016","name":"Kelsey","description":"Kelsey is an engineer at Crystalfontz. She graduated from Gonzaga University with a BS in Electrical Engineering. Kelsey's roles at Crystalfontz include product design, custom parts, customer support, documentation, and product demonstrations. What our customers say about Kelsey: \"As a new user to the world of LCD electronics, Kelsey has been a Godsend in providing the hand-holding I needed to get my project up and running despite my own efforts at fouling things up! :-)\" - Owen M \"Kelsey got me through changing code for a new LCD in only two short emails.\" - Phillip V \"The agent that I talked with (Kelsey), is technically sound and she knows what she is doing. The support is what made my job easier to get started with the different display technologies. Thank you!\" - Vatsal S"}]}},"_links":{"self":[{"href":"https:\/\/www.crystalfontz.com\/blog\/wp-json\/wp\/v2\/posts\/1729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.crystalfontz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.crystalfontz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.crystalfontz.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.crystalfontz.com\/blog\/wp-json\/wp\/v2\/comments?post=1729"}],"version-history":[{"count":3,"href":"https:\/\/www.crystalfontz.com\/blog\/wp-json\/wp\/v2\/posts\/1729\/revisions"}],"predecessor-version":[{"id":1927,"href":"https:\/\/www.crystalfontz.com\/blog\/wp-json\/wp\/v2\/posts\/1729\/revisions\/1927"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.crystalfontz.com\/blog\/wp-json\/wp\/v2\/media\/1739"}],"wp:attachment":[{"href":"https:\/\/www.crystalfontz.com\/blog\/wp-json\/wp\/v2\/media?parent=1729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.crystalfontz.com\/blog\/wp-json\/wp\/v2\/categories?post=1729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.crystalfontz.com\/blog\/wp-json\/wp\/v2\/tags?post=1729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}