Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Txhim Kho Cov Khoom Uas Yuav Tsum Tau Muaj Hauv MATLAB
- Kauj ruam 2: Tau txais Txoj Cai
- Kauj ruam 3: Coding
- Kauj Ruam 4: Khiav Txoj Cai hauv Ntu
- Kauj ruam 5: Nws yog
Video: Tswj Raspberry Pi Siv Matlab: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Hav, qhov kev qhia no yog hais txog kev tswj hwm koj lub taub hau raspberry pi siv matlab. Koj yuav tsum tau teeb tsa matlab mus rau qhov hloov tshiab kawg rau kev txhawb nqa rau pawg tshiab raspberry pi.
Khoom siv
Raspberry pi 3 (txhua tus qauv tshiab)
Matlab software
ib lub teeb LED
220 ohm resistor
Kauj Ruam 1: Txhim Kho Cov Khoom Uas Yuav Tsum Tau Muaj Hauv MATLAB
- Nyem rau lub cim addon ntawm cov ntawv qhia zaub mov matlab.
- Tshawb nrhiav MATLAB Txhawb Pob rau Raspberry Pi Kho vajtse
- Rub tawm thiab teeb tsa pob
- Ua raws cov txheej txheem rau thawj zaug teeb tsa nrog matlab
Kauj ruam 2: Tau txais Txoj Cai
Rub tus lej matlab los ntawm qhov txuas hauv qab no.
MATLAB File
Kauj ruam 3: Coding
rpi = raspi ('raspberrypi.mshome.net', 'pi', 'qwerty');
- raspi yog siv los tsim kev sib txuas nrog raspberry pi los ntawm ssh
- raspberrypi.mshome.net- IP ntawm pi pi-tus neeg siv lub npe ntawm koj pawg pi
- qwerty-password ntawm koj tus lej siv
showPins (rpi);
showPins yog cov lus txib los qhia tus pin tawm kev sib txuas ntawm koj lub rooj sib tham pi. Koj tuaj yeem nrhiav tus lej GPIO tus lej siv qhov lus txib no
rau kuv = 1:10
writeDigitalPin (rpi, 21, 1); ncua (1); writeDigitalPin (rpi, 21, 0); ncua (1); kawg
- rau lub voj yog siv los ua qhov kev txiav txim tshwj xeeb rau cov sijhawm tshwj xeeb.
- writeDigitalPin yog siv los sau GPIO pins li siab thiab qis outputs ncua yog tsim ncua ncua teev nyob rau hauv cov nqe lus ntawm vib nas this
Kauj Ruam 4: Khiav Txoj Cai hauv Ntu
Khiav thawj ntu (CTRL+ENTER) thiab qhib qhov sib txawv uas tau tsim hauv chaw ua haujlwm.
- Sim tshuaj xyuas qhov sib txawv hauv rpi.
- Nws muab tag nrho cov lus piav qhia ntawm koj lub rooj tsav xwm pi zoo li tus lej tus lej, tus lej ntawm lub leds, i2c thiab txhua yam muaj nyob hauv nkoj.
Tom qab ntawd khiav ntu thib ob los tso saib raspberry pi board pin daim duab.
Saib xyuas tus lej GPIO tus lej los ntawm daim duab no
Hauv daim duab thib peb txheeb xyuas qhov coj ntsais tsis pom raws li qhov koj xav tau.
- Koj tuaj yeem hloov tus nqi ncua los kho qhov ncua.
- Hloov tus nqi txhawm rau txheeb xyuas tus naj npawb ntawm lub sijhawm koj xav kom ntsais muag kom ua tiav.
Kauj ruam 5: Nws yog
Koj tau ua koj thawj qhov kev sim ntawm raspberry pi siv matlab.
Pom zoo:
Tswj Koj Lub Tshuab Siv Android WiFi Esp8266 Kev Tswj: 6 Cov Kauj Ruam
Tswj Koj Lub Ntaus Siv Android WiFi Esp8266 Tswj: tam sim no peb yuav paub tswj hwm cov cuab yeej siv esp8266 WiFi module thiab Arduino tswj koj lub cuab yeej siv Android WiFi tswj kom paub ntau ntxiv. nyem qhov txuas mohamed Ashraf
Phab Ntsa Mount rau IPad Raws Li Tsev Automation Tswj Vaj Huam Sib Luag, Siv Servo Tswj Cov Hlau nplaum los Qhib Screen: 4 Cov Kauj Ruam (nrog Duab)
Phab Ntsa Mount rau IPad Raws Li Tsev Automation Tswj Vaj Huam Sib Luag, Siv Servo Tswj Cov Hlau nplaum los Qhib Screen: Tsis ntev los no kuv tau siv sijhawm qee lub sijhawm siv khoom hauv thiab ib puag ncig kuv lub tsev. Kuv tab tom siv Domoticz ua kuv daim ntawv thov Tsev Automation, saib www.domoticz.com kom paub meej. Hauv kuv tshawb nrhiav daim ntawv thov daim ntawv qhia uas qhia tag nrho Domoticz cov ntaub ntawv tog
Tsheb Tswj Chaw Taws Teeb - Tswj Kev Siv Wireless Xbox 360 Tus Tswj: 5 Kauj Ruam
Lub Tsheb Tswj Chaw Taws Teeb - Tswj Kev Siv Wireless Xbox 360 Tus Tswj: Cov no yog cov lus qhia txhawm rau tsim koj tus kheej lub tsheb tswj chaw taws teeb, tswj siv wireless Xbox 360 maub los
ESP8266 RGB LED Sawb WIFI Tswj - NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi - RGB LED Sawb Smartphone Tswj: 4 Cov Kauj Ruam
ESP8266 RGB LED Sawb WIFI Tswj | NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi | RGB LED Sawb Smartphone Tswj: Nyob zoo cov neeg hauv qhov kev qhia no peb yuav kawm paub siv nodemcu lossis esp8266 li IR chaw taws teeb los tswj RGB LED sawb thiab Nodemcu yuav raug tswj los ntawm smartphone dhau wifi. Yog li hauv paus koj tuaj yeem tswj RGB LED Sawb nrog koj lub xov tooj
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