Bosch Sensortec Community

    Showing results for 
    Search instead for 
    Did you mean: 

    Nicla Sense ME - I2C Other Sensors

    Nicla Sense ME - I2C Other Sensors

    Established Member

    Hello there,

    I have been trying to wrap my head around the Nicla Sense ME for the past few days, without much luck.

    1. Firstly, the temperature and humidity data seems incorrect.
    2. Secondly, I had to update the firmware by using the GitHub repo in order to get BTEC to work (legacy sensor id issue)
    3. Thirdly, tusing :


    namespace nicla;


    Doesn't actually work, it tells me "nicla is not a namepace-name". So in order to get the led to blink, I have to use the full nicla::leds.begin and nicla::begin().

    Now leaving everything else asside, which by the way if anyone knows why the temps are incorrect please let me know. I am having issues using the I2C, I have an Adafruit SI1145 and MLX90614, both working perfectly fine with 3.3v and I2C on an Arduino Mega. On the Nicle Sense ME, I cannot get the board to identify the sensors.

    If anyone can just show/demonstrate a simple I2C example with any sensor, connected to the Nicla Sense ME, I would be more than happy.

    Thank you!

    12 REPLIES 12

    Occasional Visitor
    Hi BSTRobin, I have the same I2C problem to communicate Nicla Sense Me with ATTINY 1624. Do you have any code to try it?

    Community Moderator
    Community Moderator

    The MCU used by the Nicla Sense Me board is Nordic's nRF52832. For information on how to use the Nicla Sense ME board to access other peripherals through I2C, please refer to the example on the Arduino forum on how to use I2C. For example:

    Established Member

    Hey Duby,

    Been a long time since I made this post and been here, but ensure you have either a proper 5V usb power to the NICLA (use different PCs or power supplies) or that your battery is charged if you are using the battery power.

    The waveform was not present for me with 5V over USB from my desktop PC, but worked with 5V over USB from my laptop, that was the only thing that changed between different "environments", and that fixed my I2C issues, and the waveform can seen on an oscilloscope, check the photo attached.

    Screenshot 2024-03-08 at 20.51.31.png