Transparent OLED Display hook up to Arduino Mega 2560 using SPI

My group and I have tried everything to try and get the display to work with the included test code and cannot debug this situation. Please help?

Hello, and thanks for posting.

You might try using an Uno first since SPI on the Mega is a bit different than on a Uno. Also, it looks like you’re connecting to the I2C pins. SPI won’t work over those pins. Make sure your connecting D/C and CS to the appropriate pins called out in the code as well.

Hi yazakilover,

Chris has some good points here but I have one other important note. The Transparent OLED is a 3.3V device meaning it should only be directly connected to other 3.3V devices. To use it with a 5V device like the Arduino Mega, you need to use a [level shifter to drop from 5V to 3.3V. If you are not familiar with digital logic levels, I would recommend reading through [this tutorial.

It may be that you have damaged the signal lines on the Transparent OLED by connecting them to the Mega. Try shifting to 3.3V and following the tips by TS-Chris and hopefully, that will get it working as expected.](Logic Levels - SparkFun Learn)](https://www.sparkfun.com/categories/361)