I am using the SparkFun Flexible Grayscale OLED Breakout - 1.81" for a project and am having some trouble. I was able to run the display fine off of an Arduino Uno. However, I am trying to switch over to an Arduino Micro and am not even able to get the example code working. I am using the same pin out as the Uno.
VIN->5V
GND->GND
RES->9
SDIN->11
SCLK->13
CS->10
The code is uploading fine and I’m getting the correct output on the serial monitor but the display hasn’t turned on. Any ideas to what might be happening?
Hi robyn1,
I think you are connecting the SPI lines to the wrong pins on your Arduino Micro. The Micro uses a different IC than the Uno (ATMega32U4) and the SPI pins are on the 2x3 ICSP Header or the nearby pins labeld for SPI. The [Arduino Product Page will have more information in the “Documentation” tab. This [pinout diagram will also help you get the correct connections for the display. You should be fine leaving CS at D10 but if the display is still not working after moving your SPI connections (MISO, MOSI and SCK) to their respective pins, try using a different digital pin for CS.
If you continue to have issues, please take a few photos of your OLED Breakout and the circuit you have it in and we can troubleshoot further.](https://www.arduino.cc/en/uploads/Main/ArduinoMicro_Pinout3.png)](Arduino Micro — Arduino Online Shop)
Hi
Did this work after the reply you got? Having similar issues. My best and stay safe and healthy, Nino
robyn1:
I am using the SparkFun Flexible Grayscale OLED Breakout - 1.81" for a project and am having some trouble. I was able to run the display fine off of an Arduino Uno. However, I am trying to switch over to an Arduino Micro and am not even able to get the example code working. I am using the same pin out as the Uno.
VIN->5V
GND->GND
RES->9
SDIN->11
SCLK->13
CS->10
The code is uploading fine and I’m getting the correct output on the serial monitor but the display hasn’t turned on. Any ideas to what might be happening?