Page 1 of 12 Photon OLED Shield Hookup Guide Introduction Want your Photon projects to display sensor readings, play pong, or draw little doodles The Photon OLED Shield might be the perfect fit, and were going to show you how to use it. If the OLED screen in the picture above looks familiar, its probably because we use the same component in our Microview and Micro OLED Breakout products, as well as the OLED Block for the Edison. We love it for its combination of small footprint yet surprisingly clear graphics the screen itself is 0.66 across, with a display area measuring 64 pixels wide by 48 pixels tall. Please Note: All SparkFun shields for the Photon are also compatible with the Core from Particle. The WKP, DAC and VBT pins on the Photon will be labeled A7, A6 and 3V3*, respectively, on the Core, but will not alter the functionality of any of the Shields. Covered in this Tutorial This tutorial will cover the functionality of the OLED shield, how to hook it up in your project, and how to program with it using the SparkFun Micro OLED Library. Required MaterialsPage 2 of 12 All you need to get started with the Photon OLED Shield is a Photon, a micro-USB cable, and the OLED shield. Youll also want to sign up for an account on particle.io and register your photon. Instructions on how to do this can be found at docs.particle.io. Photon Kit SparkFun Photon Micro KIT-13345 OLED Shield DEV-13628 9 6 Suggested Reading Serial Peripheral Interface (SPI) SPI is the preferred method of communication with the display. 22 I C Alternatively, I C can be used to control the display. It uses less wires, but is quite a bit slower. OLED Shield Overview Pin Descriptions Since the shield does all of the work for you, theres no need to actually wire these connections - but in case youre looking at datasheets, or code for the Microview or OLED breakout, this table will give you a clue as to what the shield is doing. As always, you can check the schematic for more info. OLED Photon SPI 2 I C Function Notes Shield Pin Pin Function GND GND Ground Ground 0V Should be a regulated 3V3 (VDD) 3V3 Power Power 3.3V supply. D1 A5 MOSI SDA Serial data in (SDI/MOSI) 2 D0 (SCK) A3 SCK SCL SPI and I C clock Can be unused in D2 (SDO) MISO SPI mode. No 2 function for I C. Digital pin to signal if 2 Data / I C address incoming byte is a D/C D6 Command selection command or screen data.