Skip to content

Commit c80b0ba

Browse files
authored
fix: update MPU-6000 to MPU-6500 and fix anchor links in Lab 05
1 parent bb24a60 commit c80b0ba

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

website/lab/05/index.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import TabItem from '@theme/TabItem';
1919
- Chapter 12 - *Peripherals*
2020
- Chapter 12.3 - *SPI*
2121

22-
4. **Invensense**, *[MPU-6000 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking™ Device](https://invensense.tdk.com/products/motion-tracking/6-axis/mpu-6500/#documentation)*
22+
4. **Invensense**, *[MPU-6500 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking™ Device](https://invensense.tdk.com/products/motion-tracking/6-axis/mpu-6500/#documentation)*
2323

2424
5. **Paul Denisowski**, *[Understanding SPI](https://www.youtube.com/watch?v=0nVNwozXsIc)*
2525

@@ -281,16 +281,16 @@ For this lab, we will be using a *digital sensor*, which is an *upgraded* versio
281281

282282
![Digital_Sensor](images/digital_sensor.svg)
283283

284-
## MPU-6000 Inertial Measurement Unit
284+
## MPU-6500 Inertial Measurement Unit
285285

286-
The **MPU-6000** is a *digital* gyroscope and accelerometer designed by InvenSense. It can be interfaced both with SPI and with I2C. This means that we can read the acceleration and angular velocity values directly from the registers of the MPU-6000 using SPI.
286+
The **MPU-6500** is a *digital* gyroscope and accelerometer designed by InvenSense. It can be interfaced both with SPI and with I2C. This means that we can read the acceleration and angular velocity values directly from the registers of the MPU-6500 using SPI.
287287

288288
:::info
289289
**[DATASHEET](https://invensense.tdk.com/wp-content/uploads/2020/06/PS-MPU-6500A-01-v1.3.pdf)**: Describes the chip and its capabilities. \
290290
**[REGISTER MAP](https://invensense.tdk.com/wp-content/uploads/2015/02/MPU-6500-Register-Map2.pdf)**: Describes how to configure and get values from the sensor.
291291
:::
292292

293-
### MPU-6000 Memory Map
293+
### MPU-6500 Memory Map
294294

295295
| address (HEX) | Name | Access
296296
|-|-|-|
@@ -315,7 +315,7 @@ The **MPU-6000** is a *digital* gyroscope and accelerometer designed by InvenSen
315315

316316
#### Registers
317317

318-
`WHO_AM_I` register - contains the ID of the MPU-6000
318+
`WHO_AM_I` register - contains the ID of the MPU-6500
319319

320320
`GYRO_CONFIG` register - used for configuring the gyroscope
321321

@@ -363,9 +363,9 @@ The values read from the sensor are 16-bit signed integers and must be interpret
363363
:::
364364

365365

366-
### MPU-6000 wiring
366+
### MPU-6500 wiring
367367

368-
The MPU-6000 has 5 pins:
368+
The MPU-6500 breakout board has the following pins:
369369

370370
| Pin | Function |
371371
|-|-|
@@ -383,17 +383,17 @@ The MPU-6000 has 5 pins:
383383
![mpu6500_wiring](images/mpu6500_wiring.png)
384384

385385
:::note
386-
The MPU-6000 can also be interfaced through I2C, using the same pins but with different functions.
386+
The MPU-6500 can also be interfaced through I2C, using the same pins but with different functions.
387387
:::
388388

389389
:::note
390-
The MPU-6000 can also act as an I2C master and communicate with external sensors. This functionality will be ignored.
390+
The MPU-6500 can also act as an I2C master and communicate with external sensors. This functionality will be ignored.
391391
:::
392392

393393

394-
### Reading data from the MPU-6000 sensor using Embassy
394+
### Reading data from the MPU-6500 sensor using Embassy
395395

396-
To get the data we want from the digital sensor, we need to access its internal registers. The MPU-6000 has some rules when it comes to reading and writing to these registers, that must be extracted from the [datasheets](https://invensense.tdk.com/products/motion-tracking/6-axis/mpu-6500/#documentation). Every sensor has different registers, and different ways of interfacing them, so reading the datasheet is usually required, especially when we don't have the leverage of using already existing libraries for these sensors.
396+
To get the data we want from the digital sensor, we need to access its internal registers. The MPU-6500 has some rules when it comes to reading and writing to these registers, that must be extracted from the [datasheets](https://invensense.tdk.com/products/motion-tracking/6-axis/mpu-6500/#documentation). Every sensor has different registers, and different ways of interfacing them, so reading the datasheet is usually required, especially when we don't have the leverage of using already existing libraries for these sensors.
397397

398398
First, we make sure our SPI is initialized correctly.
399399

@@ -440,7 +440,7 @@ let mut cs = Output::new(p.PIN_N, Level::High);
440440

441441
</Tabs>
442442

443-
In section 6.5 of the [datasheet](https://invensense.tdk.com/wp-content/uploads/2020/06/PS-MPU-6500A-01-v1.3.pdf), we get the information we need in order to read/write to a register of the MPU-6000.
443+
In section 6.5 of the [datasheet](https://invensense.tdk.com/wp-content/uploads/2020/06/PS-MPU-6500A-01-v1.3.pdf), we get the information we need in order to read/write to a register of the MPU-6500.
444444

445445
![SPI_read_write_MPU6500](images/spi_read_write_mpu6500.png)
446446

@@ -644,11 +644,11 @@ Make sure to check out the [documentation](https://docs.rs/embedded-graphics/lat
644644

645645
## Exercises
646646

647-
1. Connect the MPU-6000 as described in the [wiring configuration](#mpu-6500-wiring) (**1p**)
648-
2. Read and create a debug log with the [WHO_AM_I](#mpu-6000-memory-map) register. Does the result match the [data sheet](https://invensense.tdk.com/wp-content/uploads/2015/02/MPU-6500-Register-Map2.pdf)? (**1p**)
647+
1. Connect the MPU-6500 as described in the [wiring configuration](#mpu-6500-wiring) (**1p**)
648+
2. Read and create a debug log with the [WHO_AM_I](#mpu-6500-memory-map) register. Does the result match the [data sheet](https://invensense.tdk.com/wp-content/uploads/2015/02/MPU-6500-Register-Map2.pdf)? (**1p**)
649649

650650
:::tip
651-
Take a look at the [Reading data from the MPU-6000 sensor using Embassy](#reading-data-from-the-mpu-6500-sensor-using-embassy) section.
651+
Take a look at the [Reading data from the MPU-6500 sensor using Embassy](#reading-data-from-the-mpu-6500-sensor-using-embassy) section.
652652
:::
653653

654654
3. Get the acceleration and angular velocity readings from the sensor.

0 commit comments

Comments
 (0)