I have a 0.96" OLED that has 6 pins. I have seen I2C versions with 4 pins and spi versions with seven pins; I haven't (previously) seen one with six pins. There isn't a reset pin so I don't know how to connect it to a Nano or Uno. The pins on the module are:
VCC
GND
CLK
MOSI
CS
D/C
Any help will be greatly appreciated.
Thanks
Hello CyberBob
Post a picture of the display.
Hello bob
good day.
please check this project, I feel this could help you.
Oled096
Best regards Markus
Hello Markus
Thank you for your reply
The link that you sent is for a seven pin module with a reset pin. Mine is a six pin module without a reset pin.
Thanks
Hello Bob,
If you have no reset pin then no problem.
Connct the 6 like in project and check if the example is working fine.
Posting a link to the technical information on the part helps us help you.
gilshultz
Sorry, I don't have any technical information on the part
I would contact your vendor and ask for it or next pick a vendor that supplies the needed information.
ledsyn
October 6, 2023, 4:35pm
10
Try do what @mascho11 tells you.
I have tried following the article that was referenced above. The pins in the article are connected thus:
GND GND
VCC VCC
D0 13
D1 11
RES 9
DC 8
CS 10
I connected an UNO as below but there was no response.
VCC VCC
GND GND
CLK 13
MOSI 11
CS 10
D/C 8
I switched pins 10 and 11 around but I still didn't get any response
ledsyn
October 6, 2023, 4:39pm
12
What library do you use, and what does setup() look like?
Explain why would you do that?
Here are the first few lines of the sketch:
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
ledsyn
October 6, 2023, 4:46pm
14
Ok, now show what
void setup ()
looks like.
Sorry everyone. I changed the pins to what was defined in the example sketch from the Arduino IDE and everything works!
Again, accept my apologies for wasting your time.
Here's the pin-out scheme that works:
|VCC|VCC|
|GND|GND|
|CLK|10|
|MOSI|9|
|CS|12|
|D/C|11|
Cheers
1 Like
ledsyn
October 6, 2023, 4:53pm
16
Happy it worked out for you!
system
Closed
April 3, 2024, 4:54pm
18
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.