overview & datasheet
SSD1306 OLED Display Pinout, Features & Datasheet (components101.com)
nodeMCU+IIC(oled ssd1306)
Pin Configuration:
ssd 1306 (7pins)支持SPI
和IIC
两种通信方式
Pin No: | Pin Name: | Description |
---|---|---|
1 | Ground (Gnd) | Connected to the ground of the circuit |
2 | Supply (Vdd,Vcc,5V) | Can be powered by either 3.3V or 5V |
3 | SCK (D0,SCL,CLK) | The display supports both IIC and SPI, for which clock is supplied through this pin |
4 | SDA (D1,MOSI) | This is the data pin of the both, it can either be used for IIC or for SPI |
5 | RES(RST,RESET) | When held to ground momentarily this pin resets the module |
6 | DC (A0) | This is command pin, can either be used for SPI or for IIC |
7 | Chip Select (CS) | Normally held low, used only when more than one SPI device is connected to MCU |
单向spi
ssd 1306 不可以作为主设备,没有对应于MISO
的接口(但是有MOSI
来接受主设备发来的数据)
datasheet
SSD1306 Datasheet (components101.com)
fritzing 元件(fzpz)文件
link1.fzpz
下载打开/导入后搜索元件1(不好找)
link2.fzpz
从gitee 下载
gitee:fzz文件
点击raw