Cov txheej txheem:
- Kauj Ruam 1: Kano Khoos Phis Tawj Khoos Phis Tawj Nrog Vijtsam thiab Keyboard
- Kauj Ruam 2: Elenco Snap Circuits Snapino Kit
- Kauj ruam 3:
- Kauj Ruam 4: Qhib "Blink" Arduino Sketch
- Kauj Ruam 5: Tshaj Tawm Cov Duab kos rau Arduino thiab Saib Arduino LED Flash
Video: Program Arduino Nrog Raspberry Pi: 5 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Hauv Cov Lus Qhia no, Kuv yuav qhia pom yuav ua li cas rau nruab Arduino nrog Raspberry Pi.
Kuv tus Twitter: twitter.com/steveschuler20
Qhov uas kuv siv rau txoj haujlwm no suav nrog Kano Khoos Phis Tawj Ua tiav (Raspberry Pi nrog lub vijtsam thiab keyboard) thiab Snapino cov khoom siv los ntawm Elenco (Snap Circuits Arduino thaiv, ntau yam Snap Cov Khoom Siv Hluav Taws Xob, cov roj teeb pob thiab cov phiaj xwm kab). Cov no yog nyob ntawm yeem. Txhua yam koj xav tau rau txoj haujlwm no yog cov hauv qab no:
Qhov Yuav Tsum Tau:
Arduino Ib
Raspberry Pi 3
Lub hwj chim rau Raspberry Pi 3 (AC Adapter, lossis lub xov tooj ntawm tes rov qab)
Keyboard rau Raspberry Pi
Screen (computer screen lossis TV nrog HDMI txuas)
HDMI kab
USB programming cable rau Arduino
Kev ua haujlwm rau Raspberry Pi uas tuaj yeem pom ntawm no lossis koj tuaj yeem sim Kano OS los ntawm rub nws los ntawm no.
Kauj Ruam 1: Kano Khoos Phis Tawj Khoos Phis Tawj Nrog Vijtsam thiab Keyboard
Daim duab saum toj no yog Kano lub computer (nrog lub vijtsam thiab keyboard) uas kuv siv rau txoj haujlwm no. Hauv thawj daim duab koj tuaj yeem pom Raspberry Pi 3 hauv nws rooj plaub ntawm sab xis, thiab nws txuas nrog lub vijtsam tsav tsheb ntawm sab laug. Cov kab daj yog HDMI cable, thiab cov kab liab liab khiav mus rau lub zog hloov pauv. Daim duab thib ob Puas yog Kano khoos phis tawj pib ua Kano Desktop.
Kauj Ruam 2: Elenco Snap Circuits Snapino Kit
Daim duab saum toj no yog cov khoom siv Snapino. Txawm hais tias cov khoom siv los nrog ntau yam Snap Cov Khoom Siv Hluav Taws Xob, rau qhov haujlwm no kuv tsuas yog siv cov txiv kab ntxwv Arduino thaiv thiab cov xaim hluav taws xob txuas.
Kauj ruam 3:
Txhawm rau program Arduino nrog Raspberry Pi Kuv xav tau los nruab Arduino IDE ntawm Kano Computer (xyuas kom tseeb tias koj tau txuas nrog Internet dhau WiFi). Ntawm Kano desktop, Kuv tau qhib cov apps, tom qab ntawd nyem rau ntawm kab ntawv thiab qhib qhov program program.
Ntawm lub davhlau ya nyob twg, kuv siv cov lus txib hauv qab no:
sudo apt-tau hloov tshiab
sudo apt-tau nruab arduino
Thaum qhov kev teeb tsa tiav kuv rov pib dua Kano lub computer
Kauj Ruam 4: Qhib "Blink" Arduino Sketch
Thaum Kano tau rov pib dua, ntawm Kano desktop, Kuv qhib cov apps, tom qab ntawd nyem rau ntawm "Lwm tus" tab, thiab qhib Arduino IDE. Hauv Arduino IDE Kuv tau mus rau Cov Ntaub Ntawv> Piv txwv> Hauv paus> Blink thiab thauj Blink Sketch piv txwv.
Kauj Ruam 5: Tshaj Tawm Cov Duab kos rau Arduino thiab Saib Arduino LED Flash
Tom ntej no kuv txuas nrog Snap Circuits Arduino thaiv mus rau USB chaw nres nkoj ntawm Raspberry Pi 3 board ntawm Kano computer.
Thaum Uno txuas nrog, nyem lub pob upload hauv Arduino IDE. Tom qab ob peb (lossis qee zaum ob peb) lub sijhawm cov duab kos tau muab tso rau Uno thiab LED ntawm Uno pib ntsais.
Txhawm rau xaus, qhov no yog qhov ua piv txwv yooj yim ntawm yuav ua li cas rau program Arduino nrog Raspberry Pi.
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 yees duab Lighbox Ua Los Ntawm Cov Duab Duab: 6 Kauj Ruam (nrog Duab)
Kev yees duab Lighbox Ua Los Ntawm Cov Duab Duab: Koj puas tau nyob hauv qhov xwm txheej uas koj yuav tsum tau thaij duab zoo ntawm qee yam thiab koj tsis muaj xob laim zoo nkauj lossis keeb kwm yav dhau zoo? Puas yog koj mus yees duab tab sis koj tsis muaj nyiaj ntau rau cov cuab yeej kim kim? Yog tias muaj, qhov no yog
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
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