Cov txheej txheem:

ESP32 Interface Nrog SSD1306 Oled Nrog MicroPython: 5 Kauj Ruam
ESP32 Interface Nrog SSD1306 Oled Nrog MicroPython: 5 Kauj Ruam

Video: ESP32 Interface Nrog SSD1306 Oled Nrog MicroPython: 5 Kauj Ruam

Video: ESP32 Interface Nrog SSD1306 Oled Nrog MicroPython: 5 Kauj Ruam
Video: NETWORK 11: Cấu hình tên miền cho Web server sử dụng IP WAN động 2024, Kaum ib hlis
Anonim
ESP32 Interface Nrog SSD1306 Oled Nrog MicroPython
ESP32 Interface Nrog SSD1306 Oled Nrog MicroPython
ESP32 Interface Nrog SSD1306 Oled Nrog MicroPython
ESP32 Interface Nrog SSD1306 Oled Nrog MicroPython

Micropython yog nab nab qhov ua kom zoo dua thiab hneev taw me me ntawm nab nab. Uas txhais tau tias tsim los rau cov cuab yeej kos uas muaj lub cim xeeb txwv thiab kev siv hluav taws xob tsawg. Micropython muaj rau ntau tsev neeg tswj hwm uas suav nrog ESP8266, ESP32, Arduino Boards zoo li MEGA2560 thiab qee qhov nordic tus tswj.

Hauv kab lus no peb yuav pom yuav siv interface ESP32 nrog oled ssd1306 zaub siv i2c interface.

Peb yuav ua rau lub ntsej muag micropython kos rau ntawm ESP32 thiab peb lub tsev qiv ntawv thiab daim ntawv thov yuav raug sau ua kab lus nab.

Kauj ruam 1: Cov cuab yeej rub tawm

Cov cuab yeej los rub tawm
Cov cuab yeej los rub tawm
Cov cuab yeej los rub tawm
Cov cuab yeej los rub tawm

Rub tawm binary rau kev hloov pauv ntawm lub rooj tsavxwm tau siv

Rub tawm binaries los ntawm qhov txuas hauv qab no, micropython.org/

Rub tawm esptool uas ua haujlwm nyeem, sau thiab tshem tawm ntawm ESP32/ESP8266, github.com/espressif/esptool

Kauj Ruam 2: Cov Cheeb Tsam Xav Tau

Cov khoom siv xav tau yog:

1. ESP32

ESP32 hauv Is Nrias teb - https://amzn.to/2NpbsE2ESP32 hauv tebchaws Askiv -

ESP32 hauv Asmeskas -

2. SSD1306 OLED Display SSD1306 hauv Is Nrias teb-

SSD1306 hauv Asmeskas -

SSD1306 hauv UK -

3. Cov qhob cij

BreadBoard hauv Is Nrias teb- https://amzn.to/2MW0OpbBreadBoard hauv Asmeskas-

BreadBoard hauv UK-

4. Ob peb xov hlau

Kauj ruam 3: Kev sib txuas

Kev sib txuas
Kev sib txuas

Nram qab no yog cov ntsiab lus sib txuas ntawm ESP32 thiab SSD1306 oled display. SSD1306 los hauv ob qhov sib txawv raws li kev sib txuas uas yog I2C raws thiab SPI raws. Peb yuav siv I2C raws qhov sib txawv hauv qhov project tawm.

ESP32 -> SSD1306

GND -> GND

3.3V -> VDD

SCK/CLK-> PIN4

SDA -> PIN5

Kauj ruam 4: Qhia

Kauj ruam 5: Code

Nrhiav tus lej ntawm Github.

github.com/stechiez/esp32-upython.git

Pom zoo: