Загрузка страницы

Calibrating MPU6050 6 DOF Gyro Accelerometer Module

This video is really two (2) individual clips merged together to form a single topic. The first half describes why I initially wanted to use the MPU6050 module in an Arduino project. I found the interaction between the Arduino IDE output via the serial monitor and the numeric data passed to the Processing IDE to be displayed in a real-time 3D image very cool. I didn't show the calibration sketch running because it is literally 20 seconds of nothing with 2 seconds at the end of values being displayed...not really exciting at all. But the sketch code is informative and works really well...so, I included that instead. I know this is a slight deviation from all of my other videos, but I have developed several calibration tools that are handy to have for other Arduino projects. Normally, I bury these in a long video never to be found again. So I want to make them easily accessible and to reduce the length of many of my Arduino project videos.

Lastly, the Processing portion of this project is based on the Teapot demo found here:

https://www.youtube.com/watch?v=nlXqIe9-R7s
Note: Use this sketch to modify the gyro offsets in your line of code...
.
.
.
// supply your own gyro offsets here, scaled for min sensitivity
mpu.setXGyroOffset(220);
mpu.setYGyroOffset(76);
mpu.setZGyroOffset(-85);
mpu.setZAccelOffset(1788); // 1688 factory default for my test chip
.
.
.

Hope this helps!!! Scott

Download the sketch here:

http://www.mediafire.com/file/y61135vx0dk9ca2/Yaw_Calibration_from_Website.ino

Видео Calibrating MPU6050 6 DOF Gyro Accelerometer Module канала Scott Mon
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
9 сентября 2016 г. 1:10:07
00:13:10
Яндекс.Метрика