0.96 oled SPI configuration
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 40
- Joined: 13 Dec 2016, 15:25
0.96 oled SPI configuration
Hi.
In hardware settings I read:
Init SPI: (Note : Chip Select (CS) config must be done in the plugin)
I know how connet I2C oled, but what about SPI connection to ESP?
I have 6 pins SPI oled:
GND
VCC
SCL:CLK clock
SDA : MOSI data
RST: MOSI data
D/C data/command
thanks
Alberto
In hardware settings I read:
Init SPI: (Note : Chip Select (CS) config must be done in the plugin)
I know how connet I2C oled, but what about SPI connection to ESP?
I have 6 pins SPI oled:
GND
VCC
SCL:CLK clock
SDA : MOSI data
RST: MOSI data
D/C data/command
thanks
Alberto
-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: 0.96 oled SPI configuration
SDA and SCL are I2C. MISO and MOSI are described under "Hardware --> SPI Interface" where to connect to.
-
- Normal user
- Posts: 40
- Joined: 13 Dec 2016, 15:25
Re: 0.96 oled SPI configuration
OK... I see this in MEGA version:
Note: CLK=GPIO-14 (D5), MISO=GPIO-12 (D6), MOSI=GPIO-13 (D7)
Note: Chip Select (CS) config must be done in the plugin
But what about CS? Where I have to connect this?
Regards
Alberto
Note: CLK=GPIO-14 (D5), MISO=GPIO-12 (D6), MOSI=GPIO-13 (D7)
Note: Chip Select (CS) config must be done in the plugin
But what about CS? Where I have to connect this?
Regards
Alberto
-
- Core team member
- Posts: 9904
- Joined: 01 Sep 2017, 22:13
- Location: the Netherlands
Re: 0.96 oled SPI configuration
Are you really sure you have the SPI version?
You describe pins for I2C (SDA/SCL)
SPI is using a clk, MISO & MOSI pins and a chip-select line.
I thought the SPI versions had 7 pins: https://www.banggood.com/7Pin-0_96-Inch ... ?rmmds=buy
You describe pins for I2C (SDA/SCL)
SPI is using a clk, MISO & MOSI pins and a chip-select line.
I thought the SPI versions had 7 pins: https://www.banggood.com/7Pin-0_96-Inch ... ?rmmds=buy
-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: 0.96 oled SPI configuration
There is only 1 Pin left: D/C. The "C" could be Chip Select!? Try it. No risk, no fun. 

-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: 0.96 oled SPI configuration
Must not be! Look here:TD-er wrote: ↑31 Oct 2017, 23:53 Are you really sure you have the SPI version?
You describe pins for I2C (SDA/SCL)
SPI is using a clk, MISO & MOSI pins and a chip-select line.
I thought the SPI versions had 7 pins: https://www.banggood.com/7Pin-0_96-Inch ... ?rmmds=buy
http://www.rhydolabz.com/displays-c-88/ ... -2260.html
-
- Normal user
- Posts: 40
- Joined: 13 Dec 2016, 15:25
Re: 0.96 oled SPI configuration
Well..I have 7 pin version and 6 pins version.
In 7 pin version it's possible to set I2C or SPI interface changing SMD resistor position, I used them but only in I2C mode.
In 6 pins version you can't do this (I think..) and it's only SPI interface, although pin name is SDA/SCL.
My 6 pin version is exactly this:
http://www.rhydolabz.com/displays-c-88/ ... -2260.html
I tryed in I2C mode but don't work.
So I tryed to use it in SPI mode with ESP8266, with Arduino board it work fine but I can see in sketch pin assignament.
In ESP Easy normal version, in hardware page I foun only this:
Note: Chip Select (CS) config must be done in the plugin
In MEGA version a further help:
Note: CLK=GPIO-14 (D5), MISO=GPIO-12 (D6), MOSI=GPIO-13 (D7)
Note: Chip Select (CS) config must be done in the plugin
So I know how to connect SCL, SDA, RST (referring pin names in my board) but don't work, maybe I have to connect DC pin too, but where?
I don't find documentation about this....
Best regards
Alberto
In 7 pin version it's possible to set I2C or SPI interface changing SMD resistor position, I used them but only in I2C mode.
In 6 pins version you can't do this (I think..) and it's only SPI interface, although pin name is SDA/SCL.
My 6 pin version is exactly this:
http://www.rhydolabz.com/displays-c-88/ ... -2260.html
I tryed in I2C mode but don't work.
So I tryed to use it in SPI mode with ESP8266, with Arduino board it work fine but I can see in sketch pin assignament.
In ESP Easy normal version, in hardware page I foun only this:
Note: Chip Select (CS) config must be done in the plugin
In MEGA version a further help:
Note: CLK=GPIO-14 (D5), MISO=GPIO-12 (D6), MOSI=GPIO-13 (D7)
Note: Chip Select (CS) config must be done in the plugin
So I know how to connect SCL, SDA, RST (referring pin names in my board) but don't work, maybe I have to connect DC pin too, but where?
I don't find documentation about this....
Best regards
Alberto
-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: 0.96 oled SPI configuration
Have you read the item description from my link above? The solution stand there (you are in advantage if you had read it!)
.....
For the I2C setup it demands a little bit of work on the module. Actually it was one of our customers who shared these simple configuration steps with us, start with resoldering the resistor from position R3 to R1 and then short the R8 resistor with some solder tin (0 Ohm resistor). The R6 and R7 pullup resistors are already soldered, nothing to do there. Once done, the module is ready for I2C communication! The CS Pin is not necessarily needed, so just connect it to GND. The DC Pin selects the address. For standard address wire it to GND. The RES-pin needs a low pulse at startup and high voltage during operation (as in SPI mode), a 100nF capacitor to GND and a 10k res to VCC would be ideal!
.....
.....
For the I2C setup it demands a little bit of work on the module. Actually it was one of our customers who shared these simple configuration steps with us, start with resoldering the resistor from position R3 to R1 and then short the R8 resistor with some solder tin (0 Ohm resistor). The R6 and R7 pullup resistors are already soldered, nothing to do there. Once done, the module is ready for I2C communication! The CS Pin is not necessarily needed, so just connect it to GND. The DC Pin selects the address. For standard address wire it to GND. The RES-pin needs a low pulse at startup and high voltage during operation (as in SPI mode), a 100nF capacitor to GND and a 10k res to VCC would be ideal!
.....
-
- Normal user
- Posts: 40
- Joined: 13 Dec 2016, 15:25
Re: 0.96 oled SPI configuration
Sorry, I did a mistake... this is my module:
https://www.amazon.it/gp/product/B074M9 ... UTF8&psc=1
It look like your at front side, but not at back side...
specifications:
0,96 pollici OLED Display - alleu d9011 2pcs 128 X 64 Pixel OLED Display per Arduino, Raspberry Pi e microcontroller
Caratteristiche dell' articolo:
Non richiede l' unità può essere anche di retroilluminazione, il display luminoso
Alta risoluzione: 128 X 64
Angolo di visione: più di 160 gradi
Supporta molti Control chip: pienamente compatibile con Arduino, 51 Series, MSP430 Series, STM32/2, CSR IC, ecc.
Basso consumo energetico ultra: Full Screen Lit 0,08 W
Tensione: V ~ 5 V DC
Temperatura di funzionamento: -20 ~ 30 gradi Celsius a 70 gradi Celsius
Modulo Dimensioni: 27,0 mm x 27,0 mm x 4.1 mm
Interfaccia SPI
Driver IC: SSD1306
Package:
2 X 0,96 OLED
I'ts only a SPI device...and I want to use it with this interface if possible.
Regards
Alberto
https://www.amazon.it/gp/product/B074M9 ... UTF8&psc=1
It look like your at front side, but not at back side...
specifications:
0,96 pollici OLED Display - alleu d9011 2pcs 128 X 64 Pixel OLED Display per Arduino, Raspberry Pi e microcontroller
Caratteristiche dell' articolo:
Non richiede l' unità può essere anche di retroilluminazione, il display luminoso
Alta risoluzione: 128 X 64
Angolo di visione: più di 160 gradi
Supporta molti Control chip: pienamente compatibile con Arduino, 51 Series, MSP430 Series, STM32/2, CSR IC, ecc.
Basso consumo energetico ultra: Full Screen Lit 0,08 W
Tensione: V ~ 5 V DC
Temperatura di funzionamento: -20 ~ 30 gradi Celsius a 70 gradi Celsius
Modulo Dimensioni: 27,0 mm x 27,0 mm x 4.1 mm
Interfaccia SPI
Driver IC: SSD1306
Package:
2 X 0,96 OLED
I'ts only a SPI device...and I want to use it with this interface if possible.
Regards
Alberto
-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
-
- Normal user
- Posts: 40
- Joined: 13 Dec 2016, 15:25
Re: 0.96 oled SPI configuration
Thanks, but on my arduino it work fine...
I need a solution for ESP8266 and ESP Easy...
Regards
Alberto
I need a solution for ESP8266 and ESP Easy...
Regards
Alberto
-
- Normal user
- Posts: 300
- Joined: 07 Feb 2016, 11:56
Re: 0.96 oled SPI configuration
I do know the ESP8266 will support SPI displays. I have a adafruit 2.4 inch TFT featherwing and it works with the examples provided. Getting it to wok on ESPEasy is another thing all together. I have been working on it, but I am not sure if this is possible for me. Time will tell....
Who is online
Users browsing this forum: Ahrefs [Bot], Anthropic Claude Bot [bot] and 15 guests