Nano 33 BLE sense rev2 sensors not working

There are several issues, let me tell you one by one:

  1. Nothing gets printed on Arduino IDE serial monitor, only serial monitor of arduino cloud works
  2. No option for firmware updater present in Arduino IDE for my board
  3. Several official libraries with exact same code that is present on Arduino official website are not working, like when i upload pressure sensor official code then it says "failed to initialize", gyroscope and accelerometer official codes give "sampling rate = 0.39hz" and then no further values comes up.

I have tried enough resources like arduino forum, chatgpt and what not but its simply not working, i2c scanner is showing 5-6 addresses of components using wire1 but still no resort when trying to get data from those sensors, chatgpt helped in writing codes using register level programming, that too worked only with sound sensor and maybe temperature sensor too, not sure if the temp sensor readings are correct or incorrect.

There are examples to use in the IDE.

The ‘Sense’ and ‘Sense Rev.2’ have different IMUs. The example sketches, the libraries used, are not interchangeable.

Hi @anshul_tuli. I see @runaway_pancake has already addressed your issue 3, so I'll attempt to address 1 and 2:

Do you have the port of the Nano 33 BLE Sense board selected from Arduino IDE's Tools > Port menu?

Do you see any error messages on the Serial Monitor panel? If yes, please provide the full and exact text of the message.

This is expected. The firmware updater is used to update the firmware of supplemental modules that are present on certain Arduino boards. The Nano 33 BLE Sense board does not have a supplemental module, so there is no such firmware to update. The only firmware on the Nano 33 BLE Sense board is the sketch program. So you update the firmware on the board by simply uploading a sketch.

I have used BMI270_BMM150 only, even I have used all OFFICIAL sketches available yet no response, only output I get is “IMU intialized, Sampling rate = 0.39hz”.
Tried only Rev2 examples.

Yes, COM7 is for upload mode and COM6 is for another mode in Arduino IDE, chosen correct ports because online arduino cloud is working.

Inbuild LED example is working fine, main problem is with sensors, not even one sensor is functioning correctly except microphone.

“0.3Hz” - I don’t know where that comes from.

I made this when I was playing around with one initially ─

#include "Arduino_BMI270_BMM150.h"

float pitch, roll, orient;  // formerly "x, y, z"

void setup() 
{
  Serial.begin(19200);
  while (!Serial);
  Serial.println("Started");

  if (!IMU.begin()) 
  {
    Serial.println("Failed to initialize IMU!");
    while (1);
  }
}

void loop() 
{
  do
  {
    IMU.readAcceleration(pitch, roll, orient);
    Serial.print(pitch);
    Serial.print("  ");
    Serial.print(roll);
    Serial.print("  ");
    Serial.println(orient);
  }while( (orient > -0.8) && (pitch < 0.8) );
  
  if(pitch >= 0.8)
  {
    Serial.println("UP");
  }
  if(orient <= -0.8)
  {
    Serial.println("FLIP");
  }
  delay(1000);
 
}

I put the dreaded delay(1000) in there to slow things down. Without any intervention, readings fly by.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.