Cov txheej txheem:

ESP32 Nrog Kev Sib Koom OLED (WEMOS/Lolin) - Pib Pib Arduino Style: 4 Kauj Ruam
ESP32 Nrog Kev Sib Koom OLED (WEMOS/Lolin) - Pib Pib Arduino Style: 4 Kauj Ruam

Video: ESP32 Nrog Kev Sib Koom OLED (WEMOS/Lolin) - Pib Pib Arduino Style: 4 Kauj Ruam

Video: ESP32 Nrog Kev Sib Koom OLED (WEMOS/Lolin) - Pib Pib Arduino Style: 4 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
Image
Image
Dab Tsi Xav Tau
Dab Tsi Xav Tau

Yog tias koj zoo li kuv, koj dhia ntawm txoj hauv kev kom tau txais koj txhais tes ntawm qhov tseeb thiab loj tshaj ESP8266/thiab lwm yam … thiab muab tso rau hauv nws qhov nrawm. ESP32 tsis txawv tab sis kuv tau pom tias tsis muaj ntau heev nyob rau ntawd tseem tsis tau hais txog cov ntaub ntawv. Thawj 2 cov kauj ruam yuav tsum cuam tshuam rau feem ntau ESP32 tsw qab thiab tsis yog ib qho piv txwv nrog OLED. Vam tias cov 'ob peb ntawm cov kauj ruam' yuav ua rau koj pib. Hmoov zoo…. Muaj kev lom zem… Qhia rau kuv paub yog nws ua haujlwm rau koj. Ob peb qhov kev xav yog tias koj paub yuav ua li cas mus rau Arduino IDE thiab ua haujlwm nrog lawv cov tsev qiv ntawv.

Hloov tshiab: 05Jan18 - Nco ntsoov xyuas qee qhov hloov tshiab ESP32 cov yeeb yaj kiab thaum kawg ntawm Cov Lus Qhia no. Mloog Internet thiab Bluetooth BLE hauv kev nqis tes ua. Saib hauv YouTube cov ntawv sau tseg rau cov kab ntawv txuas.

Kauj Ruam 1: Dab Tsi Xav Tau

Dab Tsi Xav Tau
Dab Tsi Xav Tau
Dab Tsi Xav Tau
Dab Tsi Xav Tau

ESP32 SOJ

USB cable

Arduino IDE Cov

Kauj Ruam 2: Xav tias Arduino IDE twb tau teeb tsa lawm

Piv txwv tias Arduino IDE twb tau teeb tsa lawm
Piv txwv tias Arduino IDE twb tau teeb tsa lawm

Los ntawm lub neej ntawd, ESP32 tseem tsis tau qhia nrog tus txheej txheem tus thawj tswj hwm nkag nkag mus rau

Vim li no peb yuav tsum tau muab lawv tus kheej ntxiv rau lub sijhawm tam sim no.

Ua raws txhua qib hauv qhov chaw hauv qab no los npaj koj Arduino IDE rau koj pawg ESP32 tshiab.

github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/windows.md

Yog tias koj muaj OLED ua ke, thiab xav sim thiab ua kom nws khiav, mus rau kauj ruam tom ntej.

Kauj Ruam 3: Tau OLED Ua Haujlwm ntawm Arduino

Tau txais OLED Ua Haujlwm ntawm Arduino
Tau txais OLED Ua Haujlwm ntawm Arduino
Tau txais OLED Ua Haujlwm ntawm Arduino
Tau txais OLED Ua Haujlwm ntawm Arduino
Tau txais OLED Ua Haujlwm ntawm Arduino
Tau txais OLED Ua Haujlwm ntawm Arduino

Tam sim no koj tau zaum tau rub daim duab Arduino ntawm koj ESP32, cov duab 'zoo nkauj' uas tau khiav ntawm nws thaum koj thawj zaug ntsaws rau hauv tej zaum yuav ploj mus.

Qhov tshwj xeeb no ESP32 siv SSD1306 cov tsev qiv ntawv los sib tham nrog OLED zaub. Kuv tau muaj hmoo tau pib los ntawm kev rub cov tsev qiv ntawv Arduino hauv qab no thiab sim ib qho ntawm SSD1306 suav nrog piv txwv kos duab. Yog tias daim duab tsis suav nrog qhov ua yuam kev, nco ntsoov tias koj hloov chaw nyob uas nws ua tsis tiav rau (0x3c, 5, 4).

Qhov ESP no tau mob siab rau I2C pins nyob ntawm GPIO 5 thiab 4 rau cov ntaub ntawv thiab moos feem.

Cov ntawv ESP32_Wemos_I2C_Scanner txuas nrog yuav qhia meej yog tias koj cov pins tau hais kom raug. Thauj nws ntawm koj ESP32 thiab tshawb xyuas cov ntawv txuas.

github.com/squix78/esp8266-oled-ssd1306

Kauj Ruam 4: Ua Haujlwm OLED Nrog Arduino LDR Analog Input

**** Hloov kho 28Dec17 Txheeb xyuas cov vis dis aus ntawm ESP32 nrog Internet ua haujlwm/NTP moos. Code download URL's muaj nyob hauv YouTube hauv qab cov vis dis aus

Kuv txiav txim siab kom cia li txuas nrog qhov no thiab tswj kom tau OLED ua haujlwm nrog 'cov ntaub ntawv tiag' thiab tsis yog cov piv txwv. Analog LDR pub. Kuv tau txuas daim duab Arduino rau qhov no los pab. Coj nws mus rau qhov tig thiab qhia rau kuv paub tias koj ua li cas! Yog tias koj xav tau 'txhuam txhuam' ntawm kev ua haujlwm ntawm Arduino thiab Analog, mus rau https://programmingelectronics.com/tutorial-21-ana …

Kuv tau pib ntawm kuv qhov kev lom zem Arduino nrog cov hais mav no … chav kawm yog qhov muaj txiaj ntsig.

Pom zoo: