Community
cancel
Showing results for 
Search instead for 
Did you mean: 
KKamb
Beginner
1,663 Views

Python driver for BNO05 IMU to Edison Arduino breakout board

I am wondering if anyone was able to connect BNO05 to Edison on an arduino breakout board and make it work ?

I am looking for a python driver to connect BNO05 to edison. The one provided by Adafruit on its github, apparently states its only for Rasp Pi and Beaglebone, Do you think it works for Edison? Thanks for your time.

Sincerely,

Karthik

0 Kudos
5 Replies
idata
Community Manager
68 Views

Hi Karthik,

 

 

Thank you for contacting us.

 

 

I was checking the library that you mentioned, and I don't know if it works for the Edison.

 

 

Nevertheless, I investigated about libraries that should work with this sensor in the Edison, and I found that UPM has a library for it, take a look at this sample: https://github.com/intel-iot-devkit/upm/blob/master/examples/python/bno055.py, we normally recommend the UPM library for the users of our platforms like Edison.

 

 

If you need help installing UPM on your Edison, please follow the next steps in the serial terminal:

 

 

echo "src mraa-upm http://iotdk.intel.com/repos/3.5/intelgalactic/opkg/i586" > /etc/opkg/mraa-upm.conf opkg update opkg install mraa opkg install upm

 

 

I hope you find this helpful.

 

 

Have a nice day.

 

 

Regards,

 

Leonardo R.
idata
Community Manager
68 Views

Hi Karthik,

 

 

Do you have any updates?

 

 

Regards,

 

Leonardo R.
KKamb
Beginner
68 Views

Hi Leonardo,

I am using the driver. However sometimes I get this message: BNO055: bno055_init() failed

I've mounted the IMU on a mobile robot. Once I get the above message I've to reset the IMU to get it to work again.

Can you please look in to this issue.

Sincerely,

Karthik

idata
Community Manager
68 Views

Hi Karthik,

 

 

The best recommendation that I can give you is to try to contact the author of the code ( https://github.com/intel-iot-devkit/upm/blob/master/examples/python/bno055.py), we can't test it because we don't have this sensor.

 

 

You can also try to submit the issue here https://github.com/intel-iot-devkit/upm/issues, or you can try to modify the code by yourself.

 

 

Have a nice day.

 

 

Regards,

 

Leonardo R.
KKamb
Beginner
68 Views

Hi Leonardo,

It worked thank you.

Reply