Cov txheej txheem:
- Kauj Ruam 1: Cov Cuab Yeej thiab Cov Khoom
- Kauj ruam 2: Sib dhos
- Kauj Ruam 3: Teeb Jumper
- Kauj ruam 4: Raspbian
- Kauj Ruam 5: Kho I2C
- Kauj Ruam 6: Xeem I2C Interface
- Kauj Ruam 7: Txhim Kho Tsev Qiv Ntawv Ntxiv
- Kauj Ruam 8: Kuaj Koj Txoj Haujlwm
Video: Siv Arduino MKR Shields Nrog Raspberry Pi: 8 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Peb PiMKRHAT yog lub khoos phis tawj HAT siv Arduino MKR cov laug cam thiab thaiv ua ke nrog Raspberry Pi. Txawv Arduino MKR Shields tuaj yeem siv ntawm peb HAT raws li txuas ntxiv rau Raspberry Pi. Kuv xav qhia hauv qhov haujlwm me me no yuav siv Arduino MKR ENV daim ntaub thaiv nrog Raspberry Pi hauv qab Python li cas.
Kauj Ruam 1: Cov Cuab Yeej thiab Cov Khoom
Cov ntaub ntawv:
- Raspberry Pi
- SD daim npav
- Arduino MKR ENV daim thaiv
- PiMKRHAT
Cov Cuab Yeej:
- Soldering hlau
- hlau xaim
- sab txiav
- khoov cuab yeej
Kauj ruam 2: Sib dhos
PiMKRHAT los ua cov khoom siv. Koj yuav tsum sib sau ua ntej. Thov ua raws li cov lus qhia los ua ke
Kauj Ruam 3: Teeb Jumper
Thov teeb tsa rau Arduino MKR ENV daim thaiv tsuas yog 5V thiab 3, 3V Jumper ntawm lub txhab nyiaj fais fab. Cia tag nrho lwm cov dhia dhia qhib.
Kauj ruam 4: Raspbian
Thov rub tawm Raspbian OS tshiab tshaj plaws rau Raspberry Pi thiab luam nws mus rau SD daim npav ntawm Pi imager lossis Win32diskimager.
Kauj Ruam 5: Kho I2C
Cov ntsuas ntawm MKR ENV daim thaiv yog siv I2C kev sib txuas lus. Koj yuav tsum teeb tsa qee lub tsev qiv ntawv ua ntej ntawm bash:
sudo apt-tau nruab -y nab hab sej-smbus
sudo apt-tau nruab -y i2c-cuab yeej
Tam sim no koj yuav tsum pab kom I2C interface:
sudo raspi-teeb tsa
5 Kev sib cuam tshuam kev xaiv P5 I2C YOG YOG sudo rov pib dua
Kauj Ruam 6: Xeem I2C Interface
Tam sim no nws yog lub sijhawm los sim I2C interface:
sudo i2cdetect -y 1
Qhov no qhia tau tias peb qhov chaw nyob I2C tau siv - 0x10, 0x5c thiab 0x5f
Kauj Ruam 7: Txhim Kho Tsev Qiv Ntawv Ntxiv
sudo apt nruab python-pip
sudo pip nruab veml6075
Kauj Ruam 8: Kuaj Koj Txoj Haujlwm
3 qhov khoos phis tawj me me muaj nyob ntawm Github txhawm rau ntsuas UV hluav taws xob, ntsuas kub & av noo thiab ntsuas qhov ntsuas ntawm MKR ENV daim thaiv:
- HTS221.py -kub thiab av noo
- LPS22HB.py - siab
- VEML6075.py - UV tawg
Lub teeb pom kev zoo sib xws xav tau cov lus sib piv thiab tsis tuaj yeem siv nrog Raspberry Pi.
Pom zoo:
NBIoT Cov Ntaub Ntawv Xa Mus Yuav Siv Li Cas BC95G Modem Raws Shields - UDP Test thiab Network Status Signaling: 4 Kauj Ruam
NBIoT Cov Ntaub Ntawv Xa Mus Yuav Ua Li Cas Siv BC95G Modem Raws Shields - UDP Test thiab Network Status Signaling: Txog qhov haujlwm no: Xeem NB IoT network muaj peev xwm thiab siv UDP cov ntaub ntawv nyoos siv xyz -mIoT los ntawm itbrainpower.net ntaub thaiv npog nrog Quectel BC95G modem.Lwm sij hawm: 10-15 feeb.Kev nyuaj: nruab nrab.Remarque: kev txawj ntse yuav tsum tau
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
Lub Suab Siv Cov Khoom Siv Media Siv Alexa: 9 Kauj Ruam (nrog Duab)
Lub Suab Siv Cov Khoom Siv Media Siv Alexa: Chav tsim los ntawm no ua rau koj cov cuab yeej siv xws li TV, tshuab raj, CD thiab DVD players tswj nrog lub suab txib siv Alexa thiab Arduino. Qhov zoo ntawm chav tsev no yog tias koj yuav tsum tsuas yog muab lub suab lus txib. Chav tsev no tuaj yeem ua haujlwm nrog txhua yam khoom siv tha
Yuav Ua Li Cas Bluetooth Shields rau Upload Sketch rau Arduino: 9 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Bluetooth Shields Rau Upload Sketch rau Arduino: Koj tuaj yeem tso daim duab kos rau Arduino los ntawm hauv xov tooj ntawd lossis pc dhau bluetooth, ua nws koj xav tau qee qhov ntxiv me me xws li bluetooth module, capacitor, resistor, beardboard thiab jumper xov ces koj nqes ua ke thiab txuas rau Arduino tus pin