Cov txheej txheem:
- Kauj Ruam 1: Kauj Ruam 1: Flash Wemos D1 R2 Mini
- Kauj Ruam 2: Kauj Ruam 2: Xiam Kev Pabcuam Console ntawm Raspberry Pi
- Kauj Ruam 3: Kauj Ruam 3: Txuas Raspberry Pi Nrog Wemos D1 R2 Mini
- Kauj Ruam 4: Kauj Ruam 4: Upload Python Script
- Kauj Ruam 5: Kauj Ruam 5: Cov Ntaub Ntawv Teev Npe Hauv Putty
Video: Nyeem thiab Sau Los Ntawm Serial Port Nrog Raspberry Pi Siv Wemos: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Sib tham nrog Raspberry Pi siv Wemos D1 mini R2.
Kauj Ruam 1: Kauj Ruam 1: Flash Wemos D1 R2 Mini
Tshaj tawm cov cai hauv qab no rau Wemos D1 R2 mini:
/ * * ESP8266 Hom pw tsaug zog
*/
void teeb tsa () {
ESP.deepSleep (0);
}
void voj () {
}
Kauj Ruam 2: Kauj Ruam 2: Xiam Kev Pabcuam Console ntawm Raspberry Pi
Lov tes taw kev pabcuam serial-getty.
sudo systemctl lov tes taw [email protected]
Qhib "/boot/cmdline.txt".
sudo nano /boot /cmdline.txt
Tshem tawm "console = serial0, 115200", tom qab ntawd khaws cov ntawv.
Rov pib dua.
sudo rov pib dua
Kauj Ruam 3: Kauj Ruam 3: Txuas Raspberry Pi Nrog Wemos D1 R2 Mini
RX RX os
TX TX TX
GND GND
Kauj Ruam 4: Kauj Ruam 4: Upload Python Script
Khiav cov cai hauv qab no ntawm koj Raspberry Pi:
ntshuam sij hawm ntshuam serial
cov = serial. Serial (chaw nres nkoj = '/dev/ttyUSB0', baudrate = 9600, parity = serial. PARITY_NONE, stopbits = serial. STOPBITS_ONE, bytesize = serial. EIGHTBITS, timeout = 1) counter = 0
thaum 1:
x = ser.readline () print x
ssssss
Kauj Ruam 5: Kauj Ruam 5: Cov Ntaub Ntawv Teev Npe Hauv Putty
Sau cov ntaub ntawv tseem ceeb hauv Putty thiab pom cov ncha ntawm Raspberry Pi.
Pom zoo:
Cheeb Tsam Impedance Siv Cov Lej Nyeem Nyeem Nyeem Ntawv: 6 Kauj Ruam
Cheeb Tsam Impedance Siv Cov Zauv Ua Ntej: Nov yog daim ntawv thov siv ntawm cov lej ua lej sib luag.Qhov no yog qhov tseeb cov txheej txheem muaj txiaj ntsig zoo uas koj tuaj yeem siv los qhia tus yam ntxwv, lossis txawm tias lub kav hlau txais xov, ntawm qhov ua ntej ua ntej yog tias koj tau tinkering nrog hluav taws xob koj tej zaum yog fam
ScanUp NFC nyeem ntawv/sau ntawv thiab kaw lub suab rau qhov muag tsis pom, tsis pom kev thiab txhua tus neeg ntxiv: 4 Cov Kauj Ruam (nrog Duab)
ScanUp NFC Nyeem Ntawv/sau ntawv thiab kaw lub suab rau qhov muag tsis pom, Tsis pom kev thiab txhua tus neeg ntxiv: Kuv kawm kev tsim qauv tsim thiab txoj haujlwm yog ua haujlwm ntawm kuv lub semester. Lub hom phiaj yog txhawb nqa cov neeg tsis pom kev thiab cov neeg dig muag nrog cov khoom siv, uas tso cai sau cov suab hauv WAV hom ntawm SD daim npav thiab hu cov ntaub ntawv ntawd los ntawm NFC lossis. Yog li hauv
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
Nyeem Qhov Muaj Nqes Los Ntawm BLE Ntaus Siv CSR1010 thiab Dragonboard 410c: 6 Kauj Ruam
Nyeem Qhov Muaj Nqes Los Ntawm BLE Ntaus Siv CSR1010 thiab Dragonboard 410c: Cov ntawv qhia no qhia yuav ua li cas nyeem qhov tseem ceeb ntawm BLE ntaus ntawv CSR1010 siv Dragonboard 410c nrog Linaro Hauv qhov piv txwv no, CSR1010 tab tom ua raws lub plawv ntsuas
Arduino Nano thiab Visuino: Hloov Ua Ntej Los Ntawm Lub Cev Los Ntawm Accelerometer thiab Gyroscope MPU6050 I2C Sensor: 8 Kauj Ruam (nrog Duab)
Arduino Nano thiab Visuino: Hloov Ua Ntej Los Ntawm Lub Accelerometer thiab Gyroscope MPU6050 I2C Sensor: Ib pliag dhau los kuv tau tshaj tawm cov lus qhia yuav ua li cas koj tuaj yeem txuas MPU9250 Accelerometer, Gyroscope thiab Compass Sensor rau Arduino Nano thiab teeb tsa nws nrog Visuino kom xa cov ntaub ntawv pob thiab tso saib nws ntawm Scope thiab Visual Instruments.The Accelerometer xa X, Y