Sensors not working on arduino nano 33 ble sense rev 2

I am reaching out to seek your insights and guidance regarding challenges I have been encountering while working with the Arduino Nano 33 BLE Sense Rev 2 board. Specifically, I am facing issues related to I2C communication and sensor detection, and I am reaching out to the community for assistance.

Here's a brief overview of what I've already tried and the issues I've been facing:

  1. I2C Communication: I have been working on establishing I2C communication with various sensors on the Arduino Nano 33 BLE Sense Rev 2. Despite my best efforts to ensure correct wiring, library usage, and code implementation, I have encountered difficulties in establishing reliable communication with the sensors.
  2. Sensor Detection: I have attempted to utilize the I2C scanner code to detect connected sensors on the bus. However, each attempt has resulted in the scanner reporting "No devices found," even when only the Nano 33 BLE Sense Rev 2 board is connected. I have followed recommended pin connections and verified library usage, but this issue persists.

Steps I've Taken So Far:

  • Verified Wiring: I have carefully checked and rechecked the wiring connections to ensure they are correct.
  • Reviewed Libraries: I have made sure to use the appropriate libraries for the sensors and followed their documentation.
  • Power Supply: I've confirmed that the board is receiving a stable power supply, as I suspected power fluctuations might be causing issues.
  • Sensor Addresses: I have double-checked the I2C addresses of the sensors to ensure they are correctly specified in the code.
  • Firmware and Software: I have updated the firmware and used the latest Arduino IDE version to rule out any potential software-related issues.

Despite my efforts, I haven't been able to overcome these challenges. I am genuinely passionate about Arduino and eager to learn and grow, but these roadblocks have been hindering my progress.

I kindly request your expertise and assistance in identifying potential solutions or troubleshooting steps that I might have missed. If you have encountered similar challenges with I2C communication or sensor detection on the Arduino Nano 33 BLE Sense Rev 2, or if you have any insights to share, your input would be greatly appreciated.

I believe that the collective knowledge of the Arduino community can help me navigate through these challenges and continue my journey of learning and discovery. Thank you in advance for any guidance you can provide.

First things first.

Always show us a good schematic of your proposed circuit.
Show us a good image of your ‘actual’ wiring. Give links to components.


In the Arduino IDE, use Ctrl T or CMD T to format your code then copy the complete sketch.
Use the < CODE / > icon from the ‘posting menu’ to attach the copied sketch.

There is no schematic or circuit just the nano sense rev2 itself

You wrote that you have connected sensors. So there must be some wiring

I've modified the topic title to make it clear that this is about a Nano 33 BLE sense and not a classic Nano.

  1. Sensor Detection: I have attempted to utilize the I2C scanner code to detect connected sensors on the bus. However, each attempt has resulted in the scanner reporting "No devices found," even when only the Nano 33 BLE Sense Rev 2 board is connected. I have followed recommended pin connections and verified library usage, but this issue persists.

The internal i2c bus used by the sensors is Wire1. You can run this modified scanner program to look for them.

#include <Wire.h>

void setup() {
  Serial.begin (115200);

  // Leonardo: wait for serial port to connect
  while (!Serial) 
    {
    }
  delay(2000);
  Serial.println ();
  Serial.println ("I2C scanner. Scanning ...");
  byte count = 0;
  
  Wire1.begin();
  for (byte i = 8; i < 120; i++)
  {
    Wire1.beginTransmission (i);
    if (Wire1.endTransmission () == 0)
      {
      Serial.print ("Found address: ");
      Serial.print (i, DEC);
      Serial.print (" (0x");
      Serial.print (i, HEX);
      Serial.println (")");
      count++;
      delay (1);  // maybe unneeded?
      } // end of good response
  } // end of for loop
  Serial.println ("Done.");
  Serial.print ("Found ");
  Serial.print (count, DEC);
  Serial.println (" device(s).");
}  // end of setup

void loop() {}

See this thread
https://forum.arduino.cc/t/diagnostics-for-nano-33-ble-sense/1089740/10

After uploading your code in the serial monitor it gave me this, I'm an unsure of what it means could you break it down for me.

Found address: 57 (0x39)

Found address: 68 (0x44)

Found address: 92 (0x5C)

Found address: 104 (0x68)

Done.

Found 5 device(s).

There are indeed i2c sensors on the board and they are seen on the bus. Why the libraries are not finding them and giving values is not clear to me. You may need to read the source code of the libraries and see what addresses they are using.

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