Cov txheej txheem:

Arduino Yuav Siv Li Cas 1.3 Nti OLED Zaub SH1106: 7 Cov Kauj Ruam
Arduino Yuav Siv Li Cas 1.3 Nti OLED Zaub SH1106: 7 Cov Kauj Ruam

Video: Arduino Yuav Siv Li Cas 1.3 Nti OLED Zaub SH1106: 7 Cov Kauj Ruam

Video: Arduino Yuav Siv Li Cas 1.3 Nti OLED Zaub SH1106: 7 Cov Kauj Ruam
Video: ua neej tiam no tsis cia siab lawm ( zoo xyooj ) C.V 2024, Kaum ib hlis
Anonim

Hauv qhov kev qhia no peb yuav kawm paub siv 1.3 Inch OLED Display SH1106 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
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
  • 1.3 "Nti I2C 128X64 OLED LCD Zaub
  • Jumper xov hlau
  • Cov qhob cij
  • Arduino Uno lossis lwm lub Rooj Tswjhwm Saib Arduino
  • Visuino software: Rub tawm ntawm no

Kauj ruam 2: Circuit Court

Qhov Circuit
Qhov Circuit
  • Txuas OLED Display pin [VCC] rau Arduino tus pin [5V]
  • Txuas OLED Display pin [GND] rau Arduino tus pin [GND]
  • Txuas OLED Display pin [SDA] rau Arduino tus pin [SDA]
  • Txuas OLED Display pin [SCL] rau Arduino tus pin [SCL]

Kauj Ruam 3: 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 tseem yuav tsum tau teeb tsa. Rub tawm Dawb version lossis sau npe rau Kev Sim Dawb.

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 4: hauv Visuino Ntxiv, Teeb & Txuas Txuas

hauv Visuino Ntxiv, Teeb & Txuas Cov Khoom Siv
hauv Visuino Ntxiv, Teeb & Txuas Cov Khoom Siv
hauv Visuino Ntxiv, Teeb & Txuas Cov Khoom Siv
hauv Visuino Ntxiv, Teeb & Txuas Cov Khoom Siv
hauv Visuino Ntxiv, Teeb & Txuas Cov Khoom Siv
hauv Visuino Ntxiv, Teeb & Txuas Cov Khoom Siv
  • Ntxiv "OLED" zaub tivthaiv
  • Xaiv "DisplayOLED1" thiab hauv cov khoom vaj huam sib luag teeb tsa Hom rau odtSH1106
  • Ob npaug nias rau ntawm "DisplayOLED1"
  • Hauv cov ntsiab lus qhov rai rub "Kos Cov Ntawv" rau sab laug
  • Hauv qhov khoom qhov rai teeb tsa me me rau 2 thiab sau ntawv mus rau: Nyob Zoo Ntiaj Teb
  • Kaw lub Elements window
  • Txuas "DisplayOLED1" tus pin I2C Tawm rau Arduino board tus pin I2C Hauv

Kauj Ruam 5: Yuav Ua Li Cas Hloov Cov Ntawv Font

Yuav Ua Li Cas Hloov Cov Ntawv Font
Yuav Ua Li Cas Hloov Cov Ntawv Font
Yuav Ua Li Cas Hloov Cov Ntawv Font
Yuav Ua Li Cas Hloov Cov Ntawv Font
Yuav Ua Li Cas Hloov Cov Ntawv Font
Yuav Ua Li Cas Hloov Cov Ntawv Font
Yuav Ua Li Cas Hloov Cov Ntawv Font
Yuav Ua Li Cas Hloov Cov Ntawv Font
  • Thaum koj ntxiv Element hauv "Elements" window, los ntawm kev rub nws mus rau sab laug (Pic.1), hauv cov khoom qhov rai xaiv "Elements" thiab nyem rau ntawm 3 dots (Pic.2).
  • Lub Element window tshiab yuav qhib, Luag lub "Font" element mus rau sab laug (Pic.3) thiab hauv cov khoom teeb tsa font (Pic.4)
  • Kaw ob qho tib si "ntsiab lus" qhov rai

Kauj Ruam 6: 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 7: Ua si

Yog tias koj ua lub zog Arduino UNO module, OLED Display yuav pib qhia cov lus "Nyob Zoo Ntiaj Teb".

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: