반응형

MCU/COMPONENT 7

[component] mpu9250 - magnetometer

오늘은 mpu9250 중 magnetometer에 대해서 상세하게 알아보자. 1. Magnetometer Features @ 16-bit adc @ full scale range of ±4800µT 2. Magnetometer Specifications 3. Magnetometer 사용하기(regster 설정) ① CNTL1 수정: 16bit resolution 설정, continuous mode 2 설정 ② calibration 실시하여 bias 계산 ③ mag 데이터 읽기 후 bias 빼기 ④ mag 데이터 * resolution 실제 값 계산하기 @ mpu9250 - temperature 내용은 아래 링크 참조 [component] mpu9250 - temperature t-shaped-person..

MCU/COMPONENT 2024.03.01

[component] mpu9250 - gyroscope

오늘은 mpu9250 중 gyroscope에 대해서 상세하게 알아보자. 1. Gyroscope Features @ 16-bit adc @ 프로그램 가능한 full scale range of ±250, ±500, ±1000, ±2000˚/sec @ 프로그램 가능한 low pass filter 2. Gyroscope Specifications 3. Gyroscope 사용하기(regster 설정) ① GYRO_CONFIG 수정: Full Scale 설정( ±250, ±500, ±1000, ±2000˚/sec ) ② CONFIG 수정: fchoice 및 Low Pass Filter 설정 ③ calibration 실시하여 bias 계산 및 레지스터 설정(자동연산) ④ gyro 데이터 읽기 후 bias 빼기(bia..

MCU/COMPONENT 2024.02.29

[component] mpu9250 - accelerometer

오늘은 mpu9250 중 accelerometer에 대해서 상세하게 알아보자. 1. Accelerometer Features @ 16-bit adc @ 프로그램 가능한 full scale range of ±2, ±4, ±8, ±16g 2. Accelerometer Specifications 3. Accelerometer 사용하기(regster 설정) ① ACCEL_CONFIG 수정: Full Scale 설정( ±2g, ±4g, ±8g, ±16g) ② ACCEL_CONFIG2 수정: fchoice 및 Low Pass Filter 설정 ③ calibration 실시하여 bias 계산 및 레지스터 설정(자동연산) ④ accel 데이터 읽기 후 bias 빼기(bias 자동 반영) ⑤ accel 데이터 * res..

MCU/COMPONENT 2024.02.28

[component] mpu9250

mpu9250은 9축 관성 측정 장치(IMU, Inertial Measurement Unit) 혹은 9축 측위 센서(positioning sensor)라고 불리우는 센서이다. mpu9250는 MCM(Multi Chip Module)으로 칩 내부가 크게 2부분으로 나눠져 있다. 첫번째가 가속도 센서(accelerometer) + 자이로 센서(gyroscope) 부분이고 두번째가 지자기 센서(magnetometer) 부분이다. 3개의 센서는 각각 3축으로 구성되어 있고 그래서 총합 9축 센서이다. 1. 주요 용도 @ 드론, 핸드폰, 블랙박스 등에서 회전, 기울기, 충격(가감속) 등의 상태를 파악 2. 통신 방식 @ 일반적으로 400kHz 속도의 I2C 통신 사용 가능 @ I2C 주소: 0x68(AD0), 0..

MCU/COMPONENT 2024.02.27
반응형