Arduino Uno Wifi Rev2 - What sensors?

Is there somewhere i can read or someone can tell me just what sensors does the arduino uno rev2 wifi include

I thought it would include a temperature sensors but i can not figure out how to use it or find any info.

This is my first Arduino and first of anything like this.... so i am trying to figure out how these things works :slight_smile:

https://store.arduino.cc/usa/arduino-uno-wifi-rev2

Radio module u-blox NINA-W102 (datasheet)
Secure Element ATECC608A (datasheet)
Inertial Measurement Unit LSM6DS3TR (datasheet)

Schematic

You can look up chip part numbers at https://www.digikey.com/ to see what they do.

What does the add tell you is included. The arduino uno rev2 wifi is one board all inclusive. You will need to determine anything else you want to use with it. Best to look at a few tutorials, find one you like and order parts accordingly.

The IMU on the Arduino Uno WiFi Rev2 board has an embedded temperature sensor.

On the Arduino Uno WiFi Rev2 board, the 4809 miroprocessor communicates with the IMU via SPI.
In the Arduino reference, there is a library for the LSM6DS3 IMU. Unfortunately, it does not implement the function for reading out the embedded temperature.
There is also a library by Sparkfun ; it is written for its LSM6DS3 breakout board and it allows to read out the embedded temperature. You have to set it up for SPI communication and you have to specify the SPI chip select and interrupt pins. On the Arduino Uno WiFi Rev2, these pins are not broken out and they don't have standard Arduino names. But the Arduino library gives us a clue about their internal names (I guess that they are defined somewhere in one of the definition files in the megaavr package) :

#ifdef ARDUINO_AVR_UNO_WIFI_REV2
LSM6DS3Class IMU(SPI, SPIIMU_SS, SPIIMU_INT);
#else
LSM6DS3Class IMU(Wire, LSM6DS3_ADDRESS);
#endif

To implement a simple temperature read with the Arduino Uno WiFi Rev2, I suggest the following :

  • Install the SparkFun LSM6DS3 library with the Arduino IDE library manager.
  • Look at the example sketches that come with the library, and open the MinimalistExample sketch.
  • Replace the statement
    LSM6DS3 myIMU;
    with
    LSM6DS3 myIMU(SPI_MODE,SPIIMU_SS);
  • Upload the sketch.
  • In the serial monitor, you will get the accelerator, gyro and temperature reading.

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