Cov txheej txheem:

Nruab Arduino ntawm Linux: 3 Kauj Ruam
Nruab Arduino ntawm Linux: 3 Kauj Ruam

Video: Nruab Arduino ntawm Linux: 3 Kauj Ruam

Video: Nruab Arduino ntawm Linux: 3 Kauj Ruam
Video: RISC-V: открытая эра вычислений 2024, Kaum ib hlis
Anonim
Nruab Arduino ntawm Linux
Nruab Arduino ntawm Linux
Nruab Arduino ntawm Linux
Nruab Arduino ntawm Linux

Yuav ua li cas rau nruab qhov hloov tshiab kawg ntawm Arduino hauv Ubuntu

Kauj Ruam 1: Rub Tawm Qhov Tseeb Tseeb Ntawm Lub Vev Xaib

Rub tawm Qhov Tseeb Tseeb Tshaj Plaws ntawm Lub Vev Xaib
Rub tawm Qhov Tseeb Tseeb Tshaj Plaws ntawm Lub Vev Xaib
Rub tawm Qhov Tseeb Tseeb Tshaj Plaws ntawm Lub Vev Xaib
Rub tawm Qhov Tseeb Tseeb Tshaj Plaws ntawm Lub Vev Xaib

Nkag mus rau qhov chaw https://www.arduino.cc/en/Main/Software thiab rub lub pob uas haum rau lub khoos phis tawj uas koj siv, hauv kuv cov ntaub ntawv nws yog Ubuntu x64. Koj yuav raug xa mus rau nplooj ntawv uas koj tuaj yeem xaiv los pab nrog Arduino software lossis tsis yog, yog tias koj tsis xav koom nrog nyem rau "JUST DOWNLOAD" txuas

Kauj Ruam 2: Txhim Kho Arduino

Txhim kho Arduino
Txhim kho Arduino

Tom qab rub tawm, qhib lub davhlau ya nyob twg thiab ntaus:

cd rub tawm/

Cov lus txib no yuav ua rau lub davhlau ya nyob twg mus rau qhov rub tawm qhov twg lub pob teeb tsa tau rub tawm

ntaus nws:

ls ua

Cov lus txib no teev cov ntaub ntawv hauv daim nplaub tshev, nws yog ib qho tseem ceeb kom paub lub npe pob Hauv Kuv qhov xwm txheej

"arduino-1.8.3-linux64.tar.xz"

Txhawm rau ntim lub pob:

tar -Jxf arduino-1.8.3-linux64.tar.xz

Nco ntsoov tias yog tias koj muaj lub npe sib txawv koj yuav tsum hloov lub npe raug hauv kab lus

Yog tias koj ua "ls" dua koj yuav tau txais:

"arduino-1.8.3 arduino-1.8.3-linux64.tar.xz"

Yog li daim nplaub tshev tsis nyob hauv rub tawm, cia peb txav nws mus rau daim nplaub tshev uas tsim nyog dua, siv cov lus txib:

sudo mv arduino-1.8.3 /usr /qhia tawm

Cia peb nkag mus rau daim nplaub tshev uas siv:

cd /usr/share/arduino-1.8.3/

Yog tias koj ua "ls" dua yuav tsum tau txais:

"arduino kho vajtse lib hloov kho.txt uninstall.sh arduino-builder install.sh cov tsev qiv ntawv piv txwv java siv cuab yeej-tsim"

Thiab thaum kawg khiav cov ntawv teeb tsa uas los nrog pob siv:

sudo./install.sh

Thaum kawg lub davhlau ya nyob twg yuav tsum zoo ib yam li hauv Daim Duab

Kauj Ruam 3: Xeem

Kev Xeem
Kev Xeem
Kev Xeem
Kev Xeem
Kev Xeem
Kev Xeem
Kev Xeem
Kev Xeem

Txhawm rau khiav qhov program nkag mus:

sudo./arduino

Nco ntsoov tias cov lus txib no tsuas yog ua haujlwm sab hauv daim nplaub tshev uas qhov kev teeb tsa tau ua tiav

Tom qab cov lus txib lub qhov rai yuav tsum qhib

Xaiv qhov chaw nres nkoj tau siv "Tool> Port:> port_that_the_arduino_is_connected"

Qhib Blink piv txwv "Cov ntaub ntawv> Piv txwv> 01. Cov hauv paus> Blink"

Nyem rau ntawm txoj cai upload khawm

Txheeb xyuas yog qhov program puas tuaj yeem thauj cov cai ntawm Arduino

Pom zoo: