Hardware → Arduino(MKR WIFI 1010) + BNO055
Communication → Wifi
Smartphone → Android
BLYNK server I Think.
Hello this is 1st time for me on this forum please pardon me if I missed anything. I am using BNO055 Absolute Orientation Sensor for calculating Heading. I am using accelerometer, Gyro, magnetometer from this sensor. For me the issue is when I comment 2 lines for BLYNK in below code, it gives me right readings from sensor but as soon as I uncomment those 2 line i start getting wrong values. 2 line are “Blynk.begin(auth, ssid, pass);” and “Blynk.run();”. So my question is why code is working fine without BLYNK code and not with BLYNK code. I believe there is some sort of conflict between BLYNK and BNO055 not sure what. I can provide output and other details if required. I am using I2C for communication between Arduino and BNO055. I can see device is online on my phone but value of sensor are not correct. Any help would be appreciated. Thank you.
First of all, copy and paste the contents of your serial monitor using triple backticks, rather than a screenshot.
Secondly, I was wanting to see the serial monitor from boot-up, especially the Blynk connection part, rather than just a screen full of sensor readings.
Is the sensor physically close to the WiFi chip on the MKR?
The sensor is prone to interference from high frequency signals, and may be that it works fine when you have no WiFi connection in your sketch, but when you connect to WiFi (as in when you are using Blynk) the WiFi signals are causing a problem.
I have moved sensor 5 feet away from WIFI chip and result is still same. I am not electronic expert but I feel there is some sort of resource/Logic conflict which happen randomly.
Hey Pete, I now see wrong value even if I comment 2 line for BLYNK. Looks like board(MKR wifi 1010) is not producing consistent result(May be due to firmware update?). I have just completed testing on Arduino UNO and BNO055 and it is working fine on UNO and sensor is produce good result and it is not damaged. I will keep everyone posted here if I find anything for MKR WIFI 1010 but meanwhile let me know if you have any suggestion/feedback.