Address
304 North Cardinal
St. Dorchester Center, MA 02124
Work Hours
Monday to Friday: 7AM - 7PM
Weekend: 10AM - 5PM
Address
304 North Cardinal
St. Dorchester Center, MA 02124
Work Hours
Monday to Friday: 7AM - 7PM
Weekend: 10AM - 5PM
Original price was: ₹850.00.₹623.00Current price is: ₹623.00.
1.3 inch OLED HAT, SPI/I2C interfaces
PIN | Description |
VCC | Power input(3.3V) |
GND | Ground |
DIN | MOSI pin of SPI (Data input) |
CLK | SCLK pin of SPI (Clock input) |
CS | Chip selection, low active |
DC | Data/Command, Low for command and High for data |
RST | Reset, Low active |
The OLED module provides two drive interfaces: 4-wire SPI and I2C. There is a resistor that can be soldered on the back of the module, and the corresponding communication mode can be selected through the selection of the resistor, as shown in the figure:
The module uses 4-wire SPI communication mode by default, that is, IM is connected to 0 by default (1 and 0 do not represent the level, just the welding method of connecting or connecting the resistance, the specific hardware link is shown in the following table):
Note: The above picture is the welding on the hardware, the following table is the actual hardware connection
Communication Method | IM |
4-wire SPI | 0 |
I2C | 1 |
The specific hardware configuration is as follows:
That is, the factory program setting: IM is connected to 0 and connected to the ground;
IM is connected to 1 to VCC (3.3V);
When using I2C: The high and low state of DC can control the address of the slave device. If it receives a low level, then the 7-bit address of I2C is: 0x3C;
PS: The program defaults to SPI mode. If you need to switch the mode, please modify DEV_Config.h. For details, please refer to the program description – bottom hardware interface – interface selection
This OLED integrates the SH1107 controller which has 128×128 bits SRAM, supports 128×128 resolution. The controller features SPI/IIC/ 6800/8080 interface and 256 brightness levels. The resolution of this 1.3inch OLED is only 64×128, only half of the SRAM is used.
This OLED use four-line SPI and I2C interface for communicating, which supports higher compatibility and speed.
1 X 1.3inch OLED Display Module
Reviews
There are no reviews yet.