Adafruit is open, safely ... and shipping all orders at this time! Read more!
0

Arduino code Not communicating with BNO055
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Arduino code Not communicating with BNO055

by jsniesen on Fri Nov 08, 2019 1:28 pm

Hello,
I have been working with the Adafruit BNO055 IMU provided from Adafruit. I have followed the setup procedures for the device and downloaded the two libraries specified by Adafruit in the instruction setup. However, when I then try to run the initialization software from the website, the serial monitor will only every display the message Orientation Sensor Test. Upon playing with the code, it seems that the only issues arise when portions contain references to the libraries. Therefore, I was wondering if I need to download more libraries, or what may be missing such that this code is not reading values from the IMU. I have tried restarting my laptop after downloading the libraries before I even try and use the IMU. Also, I have run tests to ensure proper communication occurs between arduino and my computer as well. Therefore, I am looking for a fix so that the arduino uno that I have can access the data being recorded by the IMU.

jsniesen
 
Posts: 10
Joined: Fri Nov 01, 2019 2:20 pm

Re: Arduino code Not communicating with BNO055

by adafruit_support_bill on Fri Nov 08, 2019 1:53 pm

Please post some photos showing your soldering and connections between the Arduino and the BNO055.

adafruit_support_bill
 
Posts: 77363
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino code Not communicating with BNO055

by jsniesen on Fri Nov 08, 2019 3:44 pm

I know that that soldering is not ideal. However, based on eye inspection, there are no solder connections that are touching.
Attachments
solder3.png
Here is the solder job.
solder3.png (561.28 KiB) Viewed 215 times

jsniesen
 
Posts: 10
Joined: Fri Nov 01, 2019 2:20 pm

Re: Arduino code Not communicating with BNO055

by adafruit_support_bill on Fri Nov 08, 2019 5:15 pm

The photo doesn't show any of your connections, but there are definitely some soldering issues there.

It looks like most of the solder joints have balled up around the pin and not flowed onto the solder pad. This usually occurs when you apply heat to the pin without also heating the pad. For a good connection, the ideal solder joint should have a cross section like the one below.

Please read through this soldering guide.
https://learn.adafruit.com/adafruit-gui ... -soldering

And refer to this page for tips on fixing common soldering problems:
https://learn.adafruit.com/adafruit-gui ... n-problems

Image

adafruit_support_bill
 
Posts: 77363
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino code Not communicating with BNO055

by jsniesen on Sat Nov 09, 2019 12:30 pm

Here is a side view. I know the joints are not ideal, but I believe all the connections should all still be occurring. I have soldered and resoldered twice and checked functionality both times. This was not the first solder job and the board has not worked in any of these cases.
Attachments
side view 1.png
side view 1.png (824.9 KiB) Viewed 184 times

jsniesen
 
Posts: 10
Joined: Fri Nov 01, 2019 2:20 pm

Re: Arduino code Not communicating with BNO055

by adafruit_support_bill on Sat Nov 09, 2019 12:50 pm


adafruit_support_bill
 
Posts: 77363
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino code Not communicating with BNO055

by gammaburst on Sun Nov 10, 2019 2:09 am

Hi jsniesen,
Remove your old solder blobs and try again with this technique:
https://www.youtube.com/watch?v=vAx89WhpZ3k#t=23

gammaburst
 
Posts: 474
Joined: Thu Dec 31, 2015 12:06 pm

Re: Arduino code Not communicating with BNO055

by jsniesen on Mon Nov 11, 2019 10:38 pm

Reapplied new type of solder with a new soldering iron and all connections now appear to be working. However, I am now receiving errors when I run default applications like sensorapi, rawdata, etc... where the system initializes one value, but then begins creating random characters and printing those periodically.

jsniesen
 
Posts: 10
Joined: Fri Nov 01, 2019 2:20 pm

Re: Arduino code Not communicating with BNO055

by adafruit_support_bill on Tue Nov 12, 2019 6:48 am

Please post the an example of the output showing those random characters.

adafruit_support_bill
 
Posts: 77363
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino code Not communicating with BNO055

by jsniesen on Fri Nov 22, 2019 4:51 pm

All These Issues have been resolved for communication. However, I now have another question. Our current design implements an Adafruit BNO055 IMU unit, which then communicates with an Arduino microcontroller to collect acceleration values. We then are using an Adafruit Bluefruit LE UART Friend which connects to the TX and RX pins of the Arduino, which then uploads these values printed by the Arduino to the Bluefruit app, which is created by Adafruit. We have been able to access IMU data values and print them to the screens of our phones, however, when we close the page where the values appear on our phone, we then lose all data that had previously been printed. Therefore, we were hoping you might have some advice regarding either using an Arduino command or some other method that would initiate a saving command to the phone storage for the values being printed. These values would then be exported from the phone for data analysis.

jsniesen
 
Posts: 10
Joined: Fri Nov 01, 2019 2:20 pm

Re: Arduino code Not communicating with BNO055

by adafruit_support_bill on Sun Nov 24, 2019 8:55 am

Which phone app are you using to communicate?

adafruit_support_bill
 
Posts: 77363
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino code Not communicating with BNO055

by jsniesen on Sun Nov 24, 2019 1:20 pm

We are using the adafruit bluefruit app. This is the app available on the google app store and the apple app store.

jsniesen
 
Posts: 10
Joined: Fri Nov 01, 2019 2:20 pm

Re: Arduino code Not communicating with BNO055

by adafruit_support_bill on Sun Nov 24, 2019 1:49 pm

Sources for the Android version are available here: https://github.com/adafruit/Bluefruit_L ... ct_Android
Sources for the Apple version can be found here: https://github.com/adafruit/Bluefruit_LE_Connect_v2

adafruit_support_bill
 
Posts: 77363
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino code Not communicating with BNO055

by jsniesen on Sun Nov 24, 2019 3:49 pm

Where would I be able to find arduino code for the Adafruit BNO055 that only ouputs accelerometer values?

jsniesen
 
Posts: 10
Joined: Fri Nov 01, 2019 2:20 pm

Re: Arduino code Not communicating with BNO055

by adafruit_support_bill on Sun Nov 24, 2019 4:41 pm

You can start with the "sensorAPI" example and comment out the serial output lines for the gyro and magnetometer.
https://github.com/adafruit/Adafruit_BN ... sorapi.ino

adafruit_support_bill
 
Posts: 77363
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.