Cov txheej txheem:

Oled Display Programing: 5 Kauj Ruam
Oled Display Programing: 5 Kauj Ruam

Video: Oled Display Programing: 5 Kauj Ruam

Video: Oled Display Programing: 5 Kauj Ruam
Video: Ресурсный тест OLED-дисплеев 2024, Kaum ib hlis
Anonim
Oled Zaub Programing
Oled Zaub Programing

Oled yog qhov yooj yim tshaj plaws thiab siv tau zoo. Koj tuaj yeem ua wearables lossis txhua yam khoom siv tshuaj xyuas. siv OLED koj tuaj yeem ua chaw nres tsheb huab cua lossis koj tuaj yeem tso cov duab lom zem. Kuv tshawb nrhiav ntau yam khoom DIY ntawm OLED zaub tsis muaj kev piav qhia raug rau nws. Yog li hauv kab lus no, peb tab tom npaj rau OLED hauv txoj kev yooj yim tshaj plaws.

Kauj Ruam 1: Cov Khoom Yuav Tsum Tau

Cov Khoom Yuav Tsum Tau
Cov Khoom Yuav Tsum Tau

Arduino UNO * 1

Oled Zaub * 1

jumper cov xov hlau

Lub khob cij * 1

Txoj kab hluav taws xob * 1

Kauj ruam 2: Kev sib txuas

Kev sib txuas
Kev sib txuas

Muaj ntau hom Oled muaj nyob hauv khw tab sis lawv yeej sib txuas lus ntawm Serial lossis I2C raws tu qauv.

Pin lub npe yuav txawv vim li ntawd kuv tab tom muab lub rooj raws li nws koj tuaj yeem txuas lawv.

Kuv siv lub rooj no los ntawm circuitdigest.com

Lawv muaj cov lus piav qhia ntxaws heev rau tus neeg nruab nrab lossis tus kws tshaj lij. Yog tias koj yog tus pib ces tsuas yog txuas koj li OLED raws li lub rooj thiab txav mus rau kauj ruam tom ntej.

Kauj Ruam 3: Kev Txhim Kho Tsev Qiv Ntawv

Kev Txhim Kho Tsev Qiv Ntawv
Kev Txhim Kho Tsev Qiv Ntawv

Qhib koj Arduino lub tswv yim software yog tias koj tsis muaj, txheeb xyuas kuv lub vev xaib www.electronicsmith.com Kuv piav qhia ntxaws txog yuav ua li cas rub tawm thiab teeb tsa software Arduino hauv 2 kauj ruam.

Nias ctrl+ua haujlwm+kuv hauv serch liab qab sau

adafruit ssd 1306 ua

nruab thawj qhov kev xaiv

Kauj ruam 4: Upload Code

Upload Code
Upload Code

Peb tab tom yuav teeb tsa tus qauv piv txwv.

qhib

file> piv txwv> Adafruit SSD1306> ssd1306_128x64_spi

Txuas koj Arduino UNO thiab xa cov cai.

Kauj ruam 5:

Duab
Duab

Kev ua yeeb yaj kiab pib ntawm koj li OLED zaub

Koj tuaj yeem ua lub ntsej muag ntse saib, lub chaw saib huab cua lossis lub moos desktop, thiab lwm yam …

Yog tias koj tab tom npaj yuav ua ib qho ntawm lawv NextPCB.com nyob ntawm no los muab koj cov PCB zoo. kev cai xim xaiv thiab xa khoom sai. Qhov zoo tshaj yog tsis muaj qhov tsawg kawg nkaus kom muaj nuj nqis thiab hais tawm sai. Kuv tabtom tawm qhov txuas ntawm no yuav tsum txheeb xyuas ib zaug.

www. NextPCB.com

Pom zoo: