Cov txheej txheem:
- Kauj Ruam 1: Kev Npaj Khoom
- Kauj Ruam 2: Kev Kho Vajtse
- Kauj ruam 3: Source Code
- Kauj Ruam 4: Cov txiaj ntsig
Video: GY-521 MPU6050 3-Axis Acceleration Gyroscope 6DOF Module Tutorial: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Nqe lus piav qhia
Cov qauv yooj yim no muaj txhua yam xav tau los cuam tshuam rau Arduino thiab lwm tus tswj hwm ntawm I2C (siv Cov Xov Xwm Hlau Arduino) thiab muab cov lus qhia paub txog lub zog rau 3 txoj kab - X, Y thiab Z.
Kev qhia tshwj xeeb
- Accelerometer ntau yam: ± 2, ± 4, ± 8, ± 16g
- Gyroscope ntau: ± 250, 500, 1000, 2000 °/s
- Voltage ntau: 3.3V - 5V (tus qauv suav nrog qhov tso tawm qhov ntsuas hluav taws xob qis)
Kauj Ruam 1: Kev Npaj Khoom
Hauv qhov kev qhia no, peb yuav qhia koj li cas cov qauv ua haujlwm hauv cov ncauj lus kom ntxaws. Ua ntej, peb yuav tsum npaj cov ntaub ntawv teev tseg hauv qab no:
- Arduino Ib
- Txiv neej rau poj niam jumper hlau
- USB Cable Hom A rau B.
- Cov qhob cij
Kauj Ruam 2: Kev Kho Vajtse
Tom qab tau txais cov ntaub ntawv npaj tiav, Peb yuav txuas tus qauv nrog Arduino Uno. Cov ncauj lus kom ntxaws txuas yuav raug sau hauv qab no:
- VCC -> 5V
- GND -> GND
- SCL -> A5
- SDA -> A4
- INT -> D2
Kauj ruam 3: Source Code
Txhawm rau sim Arduino MPU 6050,
- Ua ntej, rub Arduino lub tsev qiv ntawv rau MPU 6050. Qhov txuas tau muab ntawm no.
- Tom ntej no, unzip/rho tawm lub tsev qiv ntawv no thiab txav cov npe hu ua "MPU6050" hauv Arduino's "library" folder.
- Nruab I2Cdev lub tsev qiv ntawv yog tias koj tsis muaj nws rau koj Arduino. Ua tib cov txheej txheem raws li tau hais los saum toj no rau nruab nws. Koj tuaj yeem pom cov ntawv no.
- Qhib Arduino IDE thiab ua raws cov theem: [File]-> [Piv txwv]-> [MPU6050]-> [Piv txwv]-> [MPU6050_DMP6].
- Rub tawm qhov chaws rau koj Arduino.
Kauj Ruam 4: Cov txiaj ntsig
- Tom qab rub tawm cov cai, qhib qhov saib ua ntej thiab teeb tsa tus nqi baud li 115200.
- Tom ntej no, txheeb xyuas yog tias koj pom qee yam xws li "Kev pib ua I2C cov cuab yeej …" ntawm cov saib txuas. Yog tias koj tsis ua, tsuas yog nias lub pob pib dua.
- Tam sim no, koj yuav pom kab hais tias, "Xa ib tus cim kom pib DMP cov phiaj xwm thiab ua kom pom tseeb." Tsuas yog ntaus tus cim ntawm tus saib hauv xov tooj thiab xa nws, thiab koj yuav tsum pib pom yaw, suab, thiab yob qhov txiaj ntsig los ntawm MPU 6050.
Cov Lus Cim: DMP sawv rau Kev Ua Yeeb Yaj Kiab Digital. MPU 6050 muaj lub tshuab ua haujlwm built-in. Nws ua cov txheej txheem los ntawm kev ntsuas tus ntsuas thiab ntsuas lub ntsej muag kom muab qhov tseeb 3D rau peb. Tsis tas li, koj yuav tsum tau tos txog 10 vib nas this ua ntej koj tau txais qhov txiaj ntsig raug nyob hauv kev saib xyuas, tom qab uas qhov txiaj ntsig yuav pib ruaj khov.
Pom zoo:
Pob Zeb Lcd + Acceleration Gyroscope Sensor: 5 Kauj Ruam
Pob Zeb Lcd +Acceleration Gyroscope Sensor: Cov ntawv no yuav qhia koj li cas siv STM32 MCU +MPU6050 ntsuas lub ntsuas cua gyroscope sensor +STONE STVC070WT qhov chaw nres nkoj tso saib rau DEMO.STVC070WT yog cov lej ntawm peb lub tuam txhab, nws txoj kev txhim kho yog yooj yim, siv tau yooj yim. , koj tuaj yeem mus rau peb
ArDrone 2.0 Quadcopter Control Unit ntawm MPU6050 thiab ESP8266 Module: 7 Kauj Ruam
ArDrone 2.0 Quadcopter Control Unit ntawm MPU6050 thiab ESP8266 Module: Qhov loj me, tus nqi thiab muaj Wi-nkaus tso cai rau koj los ua pob nyiaj tswj hwm chav rau ArDrone 2.0 quadrocopter ntawm ESP8266 tus qauv (tus nqi ntawm AliExpress, Gearbest). Txog kev tswj hwm, peb yuav siv Gy-521 Module ntawm MPU6050 nti (gyroscope, acc
MPU6050-Accelerometer+Gyroscope Sensor Basics: 3 Kauj Ruam
MPU6050-Accelerometer+Gyroscope Sensor Basics: MPU6050 yog qhov muaj txiaj ntsig zoo tshaj plaws.Mpu 6050 yog IMU: Chav ntsuas inertial (IMU) yog lub tshuab hluav taws xob uas ntsuas thiab tshaj tawm lub cev tshwj xeeb quab yuam, tus nqi kaum, thiab qee zaum kev qhia ntawm lub cev, siv kev sib xyaw
E32-433T LoRa Module Tutorial - DIY Breakout Board rau E32 Module: 6 Kauj Ruam
E32-433T LoRa Module Tutorial | DIY Breakout Board rau E32 Module: Hav, yog dab tsi, Men! Akarsh ntawm no los ntawm CETech Qhov phiaj xwm no ntawm kuv yog kev kawm nkhaus kom nkag siab txog kev ua haujlwm ntawm E32 LoRa module los ntawm eByte uas yog lub zog loj 1-watt transceiver module. Thaum peb nkag siab txog kev ua haujlwm, Kuv tau tsim
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