Cov txheej txheem:

Project 1: Demo Video in C Language: 9 Kauj Ruam
Project 1: Demo Video in C Language: 9 Kauj Ruam

Video: Project 1: Demo Video in C Language: 9 Kauj Ruam

Video: Project 1: Demo Video in C Language: 9 Kauj Ruam
Video: Why There Is No 'E' Grade 🤔 (EXPLAINED) 2024, Hlis ntuj nqeg
Anonim
Image
Image

Nyob zoo phooj ywg hobbyist, Hauv txoj haujlwm no, kuv xav tsim qhov me me tso saib ua piv txwv uas yuav pab ua qhov qhia tau zoo rau kuv chav kuaj.

Ua li ntawd, Kuv tau siv qhov zoo ntawm cov khoom hauv qab no ntawm eBay:

-Arduino Nano:

-I2C OLED LCD Zaub:

-Cov Hluav Taws Xob Hluav Taws Xob: https://www.ebay.ca/itm/20W-Electric-Heating-Melt …

Cov hauv qab no yog cov kauj ruam xav tau kom ua tiav txoj haujlwm no

Kauj Ruam 1: Muab lub taub hau rau ob qho tib si Arduino thiab LCD Zaub

Kauj Ruam 2: Khoov lub JTAG Header ntawm Arduino Nano Uas Yuav Ua Haujlwm Ua Ntej Rau Peb Cov Zaub LCD

Kauj Ruam 3: Siv Cov Phiaj Xwm Sib Txuas, Ua Ntej Cov Zaub Me Me rau hauv Arduino Nano

Kauj Ruam 4: Ua Kev Sib Txuas Zoo

Tam sim no tias tag nrho cov teeb tsa tau muab tso ua ke, nws yog lub sijhawm los ua qee qhov kev sib txuas. Txog qhov ntawd, koj yuav tsum tsim kom muaj kev sib txuas hauv qab no.

Hauv kev ua li ntawd, koj tseem yuav xav kom luv cov xov hlau, yog tias koj yog tus qauv dhia raws li qhia hauv qab no. Txoj cai nrawm ntawm tus ntiv tes xoo yog txhawm rau xaim xaim xws li txhawm rau kwv yees qhov tseeb ntawm qhov chaw rau kev txiav.

Kauj Ruam 5: Tom qab Ua Kev Txiav, Koj Yuav Tsum Tau Siv Ob Qhov Kawg ntawm Jumper Wire Raws Li Hauv qab no

Kauj Ruam 6: Ua tiav Txhua Qhov Kev Sib Txuas. Ib Qhov Uas Ua Tiav, Nws Yog Tam Sim No Lub Sijhawm rau Txoj Haujlwm No Teeb Me Me

Kauj Ruam 7: Npaj Ua Kom Qee Coding

ua ntej tso cov cai rau hauv Arduino koj yuav tsum rub ob peb lub tsev qiv ntawv ua ntej. Ob qhov txuas hauv qab no yuav tsum coj koj mus rau qhov ntawd:

Adafruit-GFX-Library:

Adafruit-SSD1306:

Kuv xav tias koj paub yuav ntxiv lub tsev qiv ntawv compressed (.zip) rau Arduino IDE li cas. Yog tias tsis yog, thov siv qhov txuas hauv qab no kom paub ntau ntxiv txog cov ncauj lus:

Yuav ua li cas ntxiv.zip tsev qiv ntawv rau Arduino IDE:

Kauj Ruam 8: Ntxiv Ntau Yam Zoo rau Koj Txoj Haujlwm

Qhov no yog thev naus laus zis tsis yog ib qib, tab sis yog tias koj xav suav nrog cov yam ntxwv zoo dua xws li ntxiv cov duab rau hauv koj lub vijtsam, thiab rau kev ua haujlwm ntau dua, yuav ntxiv-g.webp

Txuas 1:

Txuas 2:

Thawj qhov txuas, txuas 1, pab koj hloov cov duab nrog TXHUA qhov loj me rau qhov tsim nyog ntawm 128X64 uas sawv cev rau qhov dav rau OLED zaub. Uas tau hais tias, koj tuaj yeem hloov pauv mus rau qhov me me lossis loj dua raws li qhov khoom kawg ntawm tes. Raws li rau qhov txuas thib ob, nws yuav tso cai rau koj hloov cov duab ua hom bitmap (pawg ntawm 0's thiab 1's sib koom ua ke rau hauv cov lej). Khaws qhov kawg hauv qhov kev nco nco ntawm Arduino yuav pab qhia nws tom qab siv "display.drawBitmap ()" ua haujlwm.

Kauj Ruam 9: Muaj tswv yim, Ntuj yog qhov txwv

Kuv tab tom txuas kuv cov lej kom ua tiav cov vis dis aus saum toj no (GitHub txuas). Kuv kuj tseem txuas qhov qeeb qeeb ntawm cov vis dis aus saum toj no.

txuas:

PS: thov ua tib zoo saib xyuas cov yees duab ua ntej hloov pauv mus ua cov duab monochrome. Qhov kawg tshwm sim tuaj yeem zoo lossis tsis zoo raws qhov ntawd. Kuv pom zoo kho qhov sib piv rau qib uas suav nrog lub lim dej pib uas yuav los tom qab.

Ua siab dawb kom tau txais kev tshoov siab, hloov pauv, thiab siv qee qhov tshwj xeeb suav nrog.

Yog koj nyiam no thov pab like, share, thiab subscribe rau cov ncauj lus uas txaus siab.

Pom zoo: