Cov txheej txheem:

Yuav Ua Li Cas Qhib Cov Ntawv ntawm I2C 0.91 "128X32 OLED DISPLAY: 6 Kauj Ruam
Yuav Ua Li Cas Qhib Cov Ntawv ntawm I2C 0.91 "128X32 OLED DISPLAY: 6 Kauj Ruam

Video: Yuav Ua Li Cas Qhib Cov Ntawv ntawm I2C 0.91 "128X32 OLED DISPLAY: 6 Kauj Ruam

Video: Yuav Ua Li Cas Qhib Cov Ntawv ntawm I2C 0.91
Video: Xav kawm ntawv keej yuav ua li cas 2024, Hlis ntuj nqeg
Anonim
Image
Image

Hauv qhov kev qhia no peb yuav kawm paub yuav ua li cas TEXT ntawm I2C 0.91 128X32 OLED DISPLAY siv Arduino thiab Visuino software.

Saib Video!

Kauj ruam 1: Yam Koj Yuav Tsum Tau

Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi

Arduino UNO (lossis lwm lub rooj tsavxwm)

  • OLED Zaub
  • Cov qhob cij
  • Jumper xov hlau
  • Visuino program: Rub tawm Visuino

Kauj Ruam 2: Pib Visuino, thiab Xaiv Arduino UNO Board Type

Pib Visuino, thiab Xaiv Arduino UNO Board Type
Pib Visuino, thiab Xaiv Arduino UNO Board Type
Pib Visuino, thiab Xaiv Arduino UNO Board Type
Pib Visuino, thiab Xaiv Arduino UNO Board Type

Visuino: https://www.visuino.eu xav tau kev teeb tsa. Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cov cuab yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "Arduino UNO" raws li qhia hauv daim duab 2

Kauj Ruam 3: Hauv Visuino Ntxiv Cheebtsam

Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
  • Ntxiv "Sine Integer Generator" tivthaiv
  • Ntxiv "OLED" tivthaiv
  • Xaiv "SineIntegerGenerator1" thiab hauv cov khoom qhov rai teeb tsa "Amplitude" txog 70, "Zaus (Hz)" txog 0.2, "Offset" txog 70
  • Xaiv "DisplayOLED1" thiab hauv cov khoom qhov rai teeb tsa "Qhov siab" rau 32
  • Ob npaug nias rau ntawm "DisplayOLED1" thiab hauv Elements window rub "Kos Cov Ntawv" mus rau sab laug, hauv cov khoom qhov rai teeb tsa Loj rau 3, Ntawv rau VISUINO, Y txog 10, xaiv X thiab nyem rau ntawm Pin cim thiab xaiv Integer SinkPin
  • Hauv Elements window Drag "Fill Screen" mus rau sab laug
  • Kaw Elements window

Kauj Ruam 4: Hauv Visuino Connect Components

Hauv Visuino Connect Components
Hauv Visuino Connect Components
  • Txuas "SineIntegerGenerator1" tus pin tawm mus rau "DisplayOLED1> DrawText1" tus pin X
  • Txuas "SineIntegerGenerator1" tus pin tawm mus rau "DisplayOLED1> DrawText1" tus pin moos
  • Txuas "SineIntegerGenerator1" tus pin tawm mus rau "DisplayOLED1> Sau Screen1" tus pin moos

Kauj Ruam 5: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code

Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso Tawm Arduino Code

Hauv Visuino, hauv qab nyem rau ntawm "Tsim" Tab, xyuas kom tseeb tias qhov chaw nres nkoj raug xaiv, tom qab ntawd nyem rau ntawm "Compile/Build and Upload" khawm.

Kauj ruam 6: Ua si

Yog tias koj ua lub zog Arduino UNO module, OLED Display yuav pib nqes mus rau "VISUINO" cov ntawv, saib cov vis dis aus kom pom meej.

Nrog koj zoo siab! Koj tau ua tiav koj txoj haujlwm nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau Cov Lus Qhia no, koj tuaj yeem rub nws thiab qhib nws hauv Visuino:

Pom zoo: