Cov txheej txheem:
- Kauj Ruam 1: Txhim Kho Arduino IDE
- Kauj ruam 2: Rub tawm Lub Tsev Qiv Ntawv
- Kauj Ruam 3: Txuas rau Programmer Cable
- Kauj Ruam 4: Tshaj Tawm Cov Qauv Piv Txwv
- Kauj Ruam 5: Cov Kauj Ruam Tom ntej
Video: ArduinOLED: 5 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
ArduinOLED yog lub platform rau cov khoom siv hluav taws xob thiab lwm yam haujlwm. Nws suav nrog lub vijtsam OLED, tus joystick, qee lub nyees khawm, lub suab nrov, thiab tus nab kuab txuas cov ntsiab lus los cuam tshuam nrog ntau lwm yam khoom siv. Mus ntsib https://johanv.xyz/ArduinOLED yog xav paub ntxiv.
Cov ntawv qhia no qhia txog yuav teeb tsa software rau pawg thawj coj. Txhawm rau kawm paub yuav ua li cas thiaj xaj cov khoom thiab tsim lub rooj tsavxwm, mus saib
Kauj Ruam 1: Txhim Kho Arduino IDE
Mus ntsib Arduino Software Page thiab nyem rau kab ntawv txuas rau koj lub operating system.
Kuv xaiv "Windows Installer", tab sis yog tias koj tsis muaj admin nkag, rub tawm "Windows ZIP cov ntaub ntawv rau tsis yog admin teeb tsa".
Nyem "Yog" thaum nws nug koj yog tias lub app yuav tsum raug tso cai hloov pauv. Tom qab ntawv nyem "Tom ntej" kom txog thaum cov kauj ruam ua tiav.
Kauj ruam 2: Rub tawm Lub Tsev Qiv Ntawv
Koj xav tau peb lub tsev qiv ntawv los siv ArduinOLED: U8g2 library, DirectIO library, thiab ArduinOLED library.
U8g2 lub tsev qiv ntawv
Qhib Arduino IDE thiab nyem "Sketch", tom qab ntawd "suav nrog Lub Tsev Qiv Ntawv", tom qab ntawd "Tswj Cov Tsev Qiv Ntawv …"
Ntaus "U8g2" hauv kab tshawb nrhiav thiab nyem "Nruab".
Tom qab nws teeb tsa, nyem "Kaw".
DirectIO Library
Lub tsev qiv ntawv DirectIO muab txoj hauv kev nrawm dua los teeb I pins ntawm Arduino yog tias tus lej tus lej yog qhov tas li. Nws xav tau los ntawm ArduinOLED lub tsev qiv ntawv hauv qib tom ntej.
mmarchetti/DirectIO DirectIO - Yooj yim, yooj yim I/O tsev qiv ntawv rau Arduino GitHub
Mus rau qhov txuas saum toj no, nyem rau "Clone lossis Download" khawm, tom qab ntawv nyem "Download ZIP".
Xwb, nyem qhov txuas no txhawm rau rub tawm ZIP cov ntaub ntawv:
github.com/mmarchetti/DirectIO/archive/master.zip
Tom qab ntawd, hauv Arduino IDE, nyem "Sketch", "Include Library", tom qab ntawd "Ntxiv. ZIP Library".
Nkag mus rau "Downloads" nplaub tshev, xaiv "DirectIO-master.zip" uas koj nyuam qhuav rub tawm, thiab nyem "Qhib".
Lub Tsev Kawm Ntawv ArduinOLED
Lub tsev qiv ntawv ArduinOLED tau sau los ntawm kuv tshwj xeeb rau pawg no. Kev teeb tsa zoo ib yam li DirectIO hauv cov kauj ruam dhau los.
johanvandegriff/ArduinOLED Library rau ArduinOLED board. GitHub
Mus rau qhov txuas saum toj no, nyem rau "Clone lossis Download" khawm, tom qab ntawv nyem "Download ZIP".
Xwb, nyem qhov txuas no txhawm rau rub tawm ZIP cov ntaub ntawv:
github.com/johanvandegriff/ArduinOLED/archive/master.zip
Tom qab ntawd, hauv Arduino IDE, nyem "Sketch", "Include Library", tom qab ntawd "Ntxiv. ZIP Library".
Nkag mus rau "Downloads" nplaub tshev, xaiv "ArduinOLED-master.zip" uas koj nyuam qhuav rub tawm, thiab nyem "Qhib".
Yeem: Mus rau Arduino cov tsev qiv ntawv tais ceev tseg (Cov Ntaub Ntawv/Arduino/tsev qiv ntawv) thiab hloov npe "DirectIO-master" rau "DirectIO" thiab "ArduinOLED-master" rau "ArduinOLED".
Kauj Ruam 3: Txuas rau Programmer Cable
Saib tom qab ntawm tus programmer thiab pom tus pin sau tias "GND". Ua ib daim ntawv ntawm tus pin xim.
Tom qab ntawd ntsaws lub xov tooj mus rau hauv nruab nrab 4 tus pin ntawm qhov txuas ntawm ArduinOLED lub rooj tsavxwm, ua kom ntseeg tau tias cov xim koj tau sau tseg yog nyob rau sab sau "GND".
Thaum kawg, ntsaws USB kawg ntawm tus programmer cable rau hauv koj lub computer.
Kauj Ruam 4: Tshaj Tawm Cov Qauv Piv Txwv
Nyem rau "File", "Piv txwv", "ArduinOLED", tom qab ntawd "ArduinOLED_u8g2_StackerGame".
Nyem rau ntawm "Cov cuab yeej", "Pawg", tom qab ntawd "Arduino Pro lossis Pro Mini".
Nyem rau ntawm "Tools", "Processor", tom qab ntawd "ATmega328 (5V, 16MHz)".
Nyem rau ntawm "Cov Cuab Yeej", "Chaw Nres Nkoj", tom qab ntawd xaiv qhov chaw nres nkoj uas pom thaum lub xov tooj txuas nrog.
Tuav lub pob ntawv sau "RST" ntawm ArduinOLED board.
Nyem rau "Upload" khawm hauv Arduino IDE.
Thaum qhov xwm txheej hloov pauv los ntawm "Sib Sau …" thiab "Uploading …", tso lub pob "RST".
Cov ntawv yuav tsum tshwm ntawm qhov screen.
Nrog koj zoo siab! Koj ua nws!
Koj yuav pom tias qhov qhab nias siab tshaj rau qhov kev ua si yog 255. Txhawm rau rov pib dua nws, tuav lub pob "R" thaum lub zog ArduinOLED nce (txawm yog los ntawm lub zog hloov lossis khawm rov pib dua). Koj yuav pom ib qho screen qhia koj tias qhov qhab nia siab tau rov pib dua.
Kauj Ruam 5: Cov Kauj Ruam Tom ntej
- Sim tawm lwm qhov piv txwv piv txwv
- Sim ua qee qhov ntawm lwm txoj haujlwm tau teev tseg ntawm
Pom zoo:
YADPF (YET Lwm Tus Duab Duab Duab): 7 Kauj Ruam (nrog Duab)
YADPF (YET Lwm Tus Duab Duab Duab): Kuv paub qhov no tsis yog khoom tshiab, Kuv paub, Kuv tau pom qee qhov ntawm cov haujlwm no ntawm no, tab sis kuv ib txwm xav tsim kuv tus kheej cov duab thav duab. Txhua daim duab thav duab kuv tau pom yog qhov zoo, tab sis kuv tab tom nrhiav lwm yam, Kuv tab tom nrhiav qhov zoo nkauj tiag tiag
Kev Tsim Qauv Duab Duab/Duab Duab Duab: 4 Kauj Ruam
Kev Tsim Qauv Duab Duab/Duab Duab Duab: Nyob zoo txhua tus, Hauv qhov kev qhia no, Kuv yuav qhia koj cov txheej txheem ntawm yuav ua li cas thiaj tsim 3D qauv siv cov duab digital. Cov txheej txheem hu ua Photogrammetry, tseem hu ua Image-Based Modeling (IBM). Tshwj xeeb, hom txheej txheem no tau siv los rov ua dua
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Yuav Ua Li Cas Thiaj Li Tshem Tawm Lub Computer Nrog Cov Kauj Ruam Yooj Yim thiab Duab: 13 Kauj Ruam (nrog Duab)
Yuav Tsum Tshem Tawm Lub Khoos Phis Tawj Li Cas Nrog Cov Kauj Ruam Yooj Yim thiab Duab: Nov yog cov lus qhia txog yuav ua li cas tshem lub PC. Feem ntau ntawm cov khoom siv yooj yim yog hloov pauv thiab tshem tawm tau yooj yim. Txawm li cas los xij nws yog ib qho tseem ceeb uas koj tau koom nrog nws. Qhov no yuav pab tiv thaiv koj kom tsis txhob poob ib feem, thiab tseem ua rau kev rov ua dua tshiab
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv