Questions tagged [imu]

An inertial measurement unit (IMU) is an electronic device that measures and reports a body's specific force, angular rate, and sometimes the orientation of the body, using a combination of accelerometers, gyroscopes, and sometimes magnetometers.

Filter by
Sorted by
Tagged with
1
vote
1answer
42 views

MPU6050 Problem with NodeMCU

I am using MPU6050 as a part of IMU of my drone, and I wrote this program for Arduino Nano to fetch the orientation of the MPU6050 module in 3D space. And that works perfectly fine, but when I ...
0
votes
0answers
51 views

SPI communications with an IMU

I am pairing an Arduino UNO with a Yost Labs 3-Space Sensor Nano, the user manual for said sensor can be found here: 1. This is my code, pretty straight forward (although this is my first time working ...
0
votes
1answer
35 views

Relative position using Accelerometer

I have a simple scenario please: Two Arduino Nano 33 IoT devices started moving randomly from the same exact origin(Point = [X0, Y0, Z0]); Can I use the coordinates queried from each device ...
0
votes
1answer
18 views

possible to preform VIO from two cameras/imu's on a dual-core esp32?

Like the title says, I want to take in the synchronised data from two NXP breakout boards and two Ueye 1220LE Cameras, and use VIO to fuse their data and get positions for both setups. Alot of people ...
0
votes
0answers
18 views

General help with running 2 motors simultaneously using NodeMCU, on IMU sensor data

IMU Sensor - rotation data Transmitting NodeMCU - Sending rotation data to Console NodeMCU over WiFi Console NodeMCU - controlling motors 2 motors - X axis motor, Y axis motor Motor driver module(...
0
votes
1answer
48 views

MPU-9250 compass always returns to zero

I am trying to build a 9-DOF IMU using the MPU-9250 chip which contains a gyro, accelerometer and compass. I have successfully realized 6-DOF sensor fusion using the DMP chip and Sparkfun's library, ...
0
votes
0answers
43 views

Saving Power :: Reducing Power Consumption

For Arduino Nano 33 IoT, I want to turn off everything except Bluetooth and Wireless since I don't use them. My question please: Can I switch off / deactivate the IMU sensors completely? If yes, How ...
0
votes
0answers
48 views

Yaw drift curve over 1 day, with SparkFun 9DoF Razor M0 IMU

I have a SparkFun 9DoF Razor M0 IMU (accelerometer, gyroscope, magnetometer) and I use their SparkFun MPU-9250 Digital Motion Processor (DMP) Arduino Library (with some minor adjustment, see here) for ...
0
votes
1answer
28 views

How can I declare custom pins when using with ESP8266 in MPU9250 library

I want to declare SCL and SCK pins like Wire.begin(sda_pin, scl_pin); to use with ESP8266 to integrate a MPU 9250/6500 sensor. I can't figure out a way to declare that in this code exaample provided ...
0
votes
0answers
39 views

10 DOF gyro and accelerometer to x,y,z displacement

I have a 10 DOF sensor with wire outputs labeled "VIN", "GND", "SCL", and "SDA". I would like to wire these into my arduino and ultimately obtain x, y, and z displacement. This might sound like a ...
0
votes
0answers
51 views

MKR 1000 not found in ports when MKR IMU Shield is connected

I am trying to connect my MKR IMU Shield to my MKR1000 by placing the IMU shield in the MKR1000. When I do this, however, the Arduino IDE and Simulink are unable to find the port that my Arduino is ...
0
votes
1answer
55 views

Is there a library for non-SAMD Arduinos to use the DMP on MPU9250

I would like to use the DMP of the MPU9250 with my BTLE Feather board but the docu of the official library says that only SAMP-Processors are supported. Is the a different library I can use?
-1
votes
1answer
62 views

Trouble in sensor data reading sequence

I am reading from two MPU6050 sensors using Arduino Uno but it give trouble in squence. The code is perfect and also sensors reading is done. See image of serial monitor. You can see the above ...
0
votes
1answer
117 views

Remote Controlled Self-Balancing Robot - how to mix control input with IMU input?

I'm building a two-wheeled, self-balancing, remote-controlled robot. I'm familiar enough with the IMU and PID to get it working to just stand up but I need to drive it via remote control. I've got no ...
-1
votes
1answer
44 views

How to power and switch on / off multiple boards at the same time?

I have many nodes. Each node consists of an MPU9250 and ESP32. Each node functions independently. They don't interact with each other. How can I power all of them at the same time, and switch them ...
0
votes
1answer
130 views

GY91 IMU module, Interrupt?

Are there interrupt Pin in the GY91 Module? If not, are there good alternative for periodic sensor reading? (apart from mcu schedule/external timer)
5
votes
1answer
1k views

A proper way to get the roll, pitch and yaw values

TL, DR : What is the method(in terms of sensors and algorithm) to get the roll, pitch angles of an aircraft at any instant. I am planning to build a hobby aircraft. I am so confused about which kind ...
0
votes
0answers
237 views

using two mpu6050 to get more accurate and precise angles

i have been using this gyro for a while, now i am aware of all measures taken, to improve the outcome of this board. my question is: would using two at the same time improve the results? if yes how ...
0
votes
1answer
365 views

Possible to connect 3 MPU9250 to Node MCU without multiplixer?

Is the idea of connecting AD0 pins of MPU9250 is still valid like the 2nd answer of this question? - How to change i2c address for mpu9250? I have connected 2 sensor as test. SCL & SDA of both ...
1
vote
2answers
2k views

How to connect MPU9250 with NodeMCU using SPI or I2C Slave?

I want to connect 3 MPU9250 sensors, but since there is just one I2C bus, so there are another 2 sensors I want to connect through SPI. Library used - https://github.com/bolderflight/MPU9250/blob/...
0
votes
0answers
80 views

How to connect 3 MPU9250 to Node Mcu together?

I don't know how to connect 3 MPU9250 together on Node Mcu. There is not much information available. I am using bolder flight library for imu sensor - https://github.com/bolderflight/MPU9250 Can ...
0
votes
1answer
109 views

Not able to convert String to Integer when receiving data from pubnub?

I did managed to upload mpu9250 sensor data on PubNub and nodeMcu but not able to use the received data to control servo Look at the Port reading and see that servo angle is still showing '0' Code:-...
0
votes
1answer
406 views

Not able to find right library for MPU9250

I am using an Arduino Uno and learning to use the motion sensor. Currently I was not able to find the library which looks simple and would like to get your suggestion. I found this https://github.com/...
0
votes
2answers
464 views

Determining direction from IMU accelerometer data

I am learning how to integrate sensors on arduinos and read their data. My ultimate purpose is to place the IMU on a robot and use it in determining the robots location in an environment. Using the ...
0
votes
0answers
851 views

MPU6500 via SPI

I'm trying to communicate with an MPU6500 sensor via SPI as I need the fastest possible update rate. I have trouble finding an easy to understand sample code, or perhaps a lightweight library how to ...
1
vote
1answer
385 views

Does the position in which you mount an IMU matter?

Forgive me, I'm sure this is a total noob question, but I have never seen it actually addressed in any example or demo. When using something like a MinIMU-9 board (https://www.pololu.com/product/...
1
vote
1answer
161 views

Circuit works on breadboard but has power problems on protoboard

I'm building a simple circuit that takes data from an IMU (using MPU6050), sends it to a microprocessor (Arduino Pro Mini 5V) to apply data smoothing and averaging, and then this data is sent using an ...
-1
votes
1answer
5k views

'import' does not name type ERROR

I am working with a group of people on an arduino controlled BB8 robot. We are using an IMU unit (accelerometer+gyroscope). I found a processing example for the IMU unit we are using. The code is ...
0
votes
1answer
166 views

MPU9250+arduino pro micro strange behaviour after reset

I have an arduino pro micro + mpu9250. For test sketch I'm using https://github.com/sparkfun/SparkFun_MPU-9250-DMP_Arduino_Library It works as intended after the first sketch upload. After that if I ...
0
votes
1answer
663 views

Store values in array

I'm trying to implement the "BNO055 9 Axes Motion Shield". There is an existing Arduino sketch GitHub that reads out the Euler data, I changed it a bit to print out quaternion data. #include "...
1
vote
1answer
3k views

Getting stable measurements with the BNO055 IMU

I bought the BNO055 "smart" IMU from Adafruit, thinking it would be a simple way to get orientation data for a small mobile robot project, but I've found the thing to be very difficult to use and ...
0
votes
1answer
20 views

rev id and read_rev_id() function

What is a rev id? I have looked everywhere for a proper definition but I haven't found anything. I am trying to understand the code below. I don't understand why this read_rev_id function is necessary ...