Solutions to common problems with OLED screens

 > Solutions to common problems of OLED screen

summary

Small oled display usually uses I2C interface and SPI interface. The wiring is relatively simple and easy to drive. When your oled display cannot be lit, you can see our collection of trouble shutting.

1. The first problem: the display not working

2.The second problem: display exception

3.The third question: how to modify SPI to IIC

4.The fourth problem: screen image is not centered

5.The fifth question: splash screen

 The first problem: the display not working

  1. The circuit structure and component parameters are unreasonable.

Please refer to the schematic diagram in the specification or the schematic diagram provided by us.

  1. Incorrect connection or poor contact.

Incorrect connection: For example: 0.96″ 4-pin IIC interface, some start with GND (the first pin), some start with VDD (the first pin), if the connection is reversed, it will not light up. Four The lines must be seated and connected according to the number.

The pin sequence of the interface in the above figure is GND ground, VDD power supply positive, SCK clock line, and SDA data line from pin 1 to pin 4.

Poor contact: For example, if the Dupont cable is used too many times, the connection is loose and the connection is not tight. Replace it with a connecting cable with good contact.

  1. The screen has cracks or missing corners.
  2. The software interface definition does not match the hardware connection.

For example, P3.0 is set as the SCK clock line, but it is connected to SDA, which causes a mismatch and does not light up.

        5.There is a problem with the content of the program code,

Please refer to our program code,

The second problem: display exception

Reset or reboot to see if the fault can be resolved, if not, start to analyze the reason from the software and hardware aspects, as follows:

  1. The circuit structure and component parameters are unreasonable,

Please refer to the schematic diagram in the specification or the schematic diagram provided by our company,

  1. Poor contact,

For example, if the DuPont line is used too many times, the connection is not tight, and the connection is not tight. Replace it with a good-contact connection line.

  1. The screen has cracks or missing corners.
  2. If there are missing pictures on the screen display, most of them are problems with the screen itself, and the goods can be returned or exchanged.
  3. There is a problem with the content of the program code.
  4. The modulo setting is incorrect, Reconfirm the modulo settings.

The third question: how to modify SPI to IIC

Only the words “…SPI” are marked on the PCB, and the default interface is SPI. If there is no word “IIC”, it cannot be changed from SPI to IIC.

Example: 7-pin 0.96″ module SPI to IIC:

  1. Connect jumper resistors R1, R4, R8,
  2. DC CS grounding,
  3. IIC communication,

The fourth problem: screen image is not centered

Because the address settings of the SH1106 and SSD1306 driver chips are different,

The driver chip used by the screen is SSD1306, the starting column address is 0x00

The driver chip used by the screen is SH1106, the starting column address is 0x02

The fifth question: splash screen

  1. The working voltage is not suitable, the list is as follows:

        0.91″ for 3.3V,

        0.96″ is 3.3~5.0V,

        1.30″ is 3.3~5.0V,……

  1. Increase the brightness to more than 50%.
Scroll to Top