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.
53 questions
1
vote
0
answers
84
views
Not getting continuous motion data with Arduino Nano 33 BLE Sense Rev2 on Google's Tiny motion trainer
I'm using an Arduino Nano 33 BLE Sense Rev2 with the Tiny Motion Trainer by Google to train for certain movements. The original code was designed for the Arduino Nano 33 BLE Sense, which uses the ...
0
votes
1
answer
145
views
How to connect two devices via i2c?
I am working with 2 Pololu Altimu-10 V6 connected to the same ESP32 board. Both of them are connected via i2c protocol and have different addresses. The addresses are 0x1C and 0x1E.
I have this code ...
2
votes
1
answer
2k
views
Why am I getting wrong compass heading using magnetometer readings?
I have been trying to calculate the compass heading using the magnetometer in an MPU9250 sensor. But the result is not making sense to me. I am completely new in this and do not have much ...
1
vote
2
answers
3k
views
Using Software Serial on Arduino Mega
So Im using this sensor:
https://wiki.dfrobot.com/Serial_6_Axis_Accelerometer_SKU_SEN0386 with this library https://github.com/DFRobotdl/DFRobot_WT61PC
Im using 2 sensors but got poor frequency on ...
-1
votes
1
answer
101
views
Getting more Hz while working with 3 serial ports (IMU sensors)
im doing a university project where we use 2 IMU sensors and a SD card reader to save the data from sensors.
As you will probably see from the code, we specify the sensor port we listen to, save data ...
3
votes
1
answer
246
views
SPI synchronization with Arduino DUE and ADIS16364 IMU
I'm trying to use an Arduino Due to interface with an ADIS16364 IMU from Analog Devices (product info here) via SPI.
There are two modes for retrieving the measurements from this particular IMU (six ...
0
votes
1
answer
150
views
Best way to obtain angular velocity from a 9 DoF sensor
I have been using a BNO055 sensor (9° dof IMU) for a project which will use angular velocity to the mouse cursor on screen.
So far, I have gotten quaternion output from the sensor and been able to ...
1
vote
1
answer
154
views
What pins to use on a Teensy to get data from multiple peripherals?
I'm using a Teensy to keep records on the location, speed, altitude, and direction of a weather balloon I'm hoping to launch. I have an Adafruit LSM9DS1 and a Ublox NEO-M8N with compass (HMC5833L) so ...
2
votes
2
answers
2k
views
Most precise way to measure linear distance travelled by a wheel
Suppose a bot with wheels is traveling in a a straight line, and we want to measure this linear distance traversed by it as accurately as possible.
One of the ways is to use an optical encoder to ...
3
votes
1
answer
945
views
Getting Accurate Velocity Readings From IMU
Hi I am currently using a BNO055 for a design project. This sensor outputs a linear acceleration vector corresponding to three (xyz) directions. I am trying to "integrate" the acceleration ...
0
votes
1
answer
345
views
IMU (MPU9250) and Ticker on ESP32
I want to read the data from an IMU (MPU9250) periodically. To do that I use a ticker as shown in the following code:
#include <Ticker.h>
#include "MPU9250.h"
constexpr int ...
1
vote
1
answer
107
views
Setup/Debug affordable 9DOF IMU
I bought a 9 DOF IMU from AliExpress (pictures below), asking because this seems to be somewhat of a common issue (and I'm a bleeding noob). I tried setting up this board using example codes from ...
0
votes
0
answers
364
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
1
answer
101
views
Is it possible to preform VIO from two cameras/IMUs 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.
A lot of people ...
1
vote
0
answers
240
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 ...
1
vote
0
answers
121
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
1
answer
494
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?
0
votes
1
answer
324
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 ...
0
votes
1
answer
556
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)
1
vote
0
answers
788
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 ...
2
votes
3
answers
11k
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/...
1
vote
1
answer
447
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
3
answers
1k
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 ...
1
vote
1
answer
910
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/...
0
votes
1
answer
9k
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 ...