Giter VIP home page Giter VIP logo

Comments (5)

unlogisch04 avatar unlogisch04 commented on August 19, 2024

Hi
Yes, that is intended. Because if the sensor times out, there is something wrong that mostly can maybe solved with a reboot or not even with that (extension cable disconnected,..)
The BNO085 uses Interrupt Pins. If you have problems with the Sensor it might be, that the interrupt pin is assigned wrong. (From Version 0.4.0 the Interrupt pin gets handled a bit different when you have only 1 imu connected, and it does not have the correct address for the first one.

So more information would probably help.

from slimevr-tracker-esp.

Kingwulin avatar Kingwulin commented on August 19, 2024

Hi Yes, that is intended. Because if the sensor times out, there is something wrong that mostly can maybe solved with a reboot or not even with that (extension cable disconnected,..) The BNO085 uses Interrupt Pins. If you have problems with the Sensor it might be, that the interrupt pin is assigned wrong. (From Version 0.4.0 the Interrupt pin gets handled a bit different when you have only 1 imu connected, and it does not have the correct address for the first one.

So more information would probably help.

Yes, only one bno085 sensor is connected to ESP32, but I have also made the following settings

#define MAX_IMU_COUNT 1

// Axis mapping example
/*
#include "sensors/axisremap.h"
#define BMI160_QMC_REMAP AXIS_REMAP_BUILD(AXIS_REMAP_USE_Y, AXIS_REMAP_USE_XN, AXIS_REMAP_USE_Z, \
                                       AXIS_REMAP_USE_YN, AXIS_REMAP_USE_X, AXIS_REMAP_USE_Z)

IMU_DESC_ENTRY(IMU_BMP160, PRIMARY_IMU_ADDRESS_ONE, IMU_ROTATION, PIN_IMU_SCL, PIN_IMU_SDA, BMI160_QMC_REMAP) \
*/

#ifndef IMU_DESC_LIST
#define IMU_DESC_LIST \
        IMU_DESC_ENTRY(IMU,        SECONDARY_IMU_ADDRESS_TWO,   IMU_ROTATION,        PIN_IMU_SCL, PIN_IMU_SDA, PRIMARY_IMU_OPTIONAL,   PIN_IMU_INT)
        
#endif

from slimevr-tracker-esp.

unlogisch04 avatar unlogisch04 commented on August 19, 2024

If this is the full defines.h, the it is not complete.

What i think could be the problem is SECONDARY_IMU_ADDRESS_TWO
As you did probably remove the line for SECOND_IMU

If you want the PRIMARY_IMU_ADDRESS_ONE or PRIMARY_IMU_ADDRESS_TWO
or directly 0x4A or 0x4B

Please make sure to follow the Schematic:
https://docs.slimevr.dev/diy/tracker-schematics.html
For the BNO itself you can look at that schematic: https://oshwlab.com/slimevr/imu-breakout-board-bno085-rev-2-2

from slimevr-tracker-esp.

suikabreaker avatar suikabreaker commented on August 19, 2024

I have the same issue. 1 BNO085 set to primary and connect with D1,D2,D5, address 0x4B. So I need to mannually assign the address?

from slimevr-tracker-esp.

unlogisch04 avatar unlogisch04 commented on August 19, 2024

Yes, if you don't want to solder you have to change the address. The online flasher does currently not support that.

from slimevr-tracker-esp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.