mdrwiega/bosch_imu_driver

BNO USB stick, no receiving data

Closed this issue · 11 comments

Hi, I have this BNO055 attached tu a usb: http://www.mouser.com/ds/2/783/bosch_BST-BNO055-AN009-00%20USB%20stick%20user%20guide-890618.pdf
the problem is that I do not get it to wokr with your driver, i sends data but do not receive anything, I keep getting these errors:
[ERROR] [WallTime: 1487591149.357895] Incorrect Bosh IMU device response.
[ERROR] [WallTime: 1487591149.358092] Device ID is incorrect. Shutdown.

do you know why could it be?

Thanks a lot for your work!

Hi,

Unfortunately I have no idea what can be a cause of your problem. I need a more informations.

Could you try to communicate manually with sensor by some kind of software like a UART Terminal (i.e. Hercules, RealTerm)? I mean that you should try to confirm that your sensor works correctly by manual reading data from registers (based on datasheet).

Best regards,
Michał Drwięga

I have tried it and I send the same commands you write, and there is no answer, no bytes waiting to be read or anything, but it says that the right port is open, so I really do not know what can be happening.
But your driver should work with that usb imu right? dont know what is going on, I have admin permissions, and same program works fine with an arduino
By the way, it works with its windows application without any problem

[INFO] [WallTime: 1487677016.015961] Opening serial port: /dev/ttyACM0...
('Reading, wr: ', 'aa010001', ' re: ', '')

Have you tried sensor with Development Desktop application from Bosch (installation procedure is in datasheet)? Could you confirm that your device is not corrupted?

I never tried my driver with that usb device. But there is the same sensor BN055 and I suppose that it uses USB->UART converter. So, if you're able to open serial port, I think it should work with this driver.

Best regards,
Michał Drwięga

Yeah, I have tried their Desktop application for Windows, I had to install the driver they provided, could that have something to do?
I have tried diferent interfaces in ubuntu and I get no response, either in C or in Python, nor with your driver. I have also tried just using cutecom for serial communication and it does not work for me, and with other serial devices it works fine. I have two usb BNo055, both work with their software but not in ubuntu. Maybe they are waiting for a different starting command? Don't know, I don´t think it is your driver's fault, but I wanted to know if you had any idea of how to solve it.

Thanks anyway!!

Hi,

have you set right permissions for this USB device in Ubuntu (/etc/udev/rules.d/)?
Without it you could have problems with access to device.
It's necessary to create file i.e. 99bosh.rule in specified directory (/etc/udev/rules.d)
with following content (only example):
ATTR{idVendor}=="1a86", ATTR{idProduct}=="7523", MODE:="0666"

You need to change idVendor from 1a86 to your's device vendor id and idProduct.

Best regards,
Michał Drwięga

Hi,

Have you guys managed to solve this problem? I am exactly at the same stage as Kailegh. Usb imu stick does work with windows application, but crashes on Device ID is incorrect, while using your node.

Best regards,
Krzysztof

I have the same issue, did someone figure out why?

Hi, This will not work with the BNO USB stick as is. The reason is that the sensor is not directly connected to USB, but there is a micro-controller which sits between the sensor and the PC and manages the USB communication and sends the commands to the sensor, something like this:
[ PC ] <---> { [ uC ] <---> [ BNO055 ] }
Having said that, there is a way to adapt USB Stick for this application, but not a plug-and-play solution.

I had the same issue. You guys can check again SDA and SCL pins. SDA <=> RX, SCL <=> TX.

Hi guys,

In case you are still having issues with BNO USB stick under Linux --
I have created a python driver for Linux to get the data from the BNO USB Stick:
check this repo, or this PyPI project.