Zum Inhalt springen

WSAL19486 – Environment Sensor for Jetson Nano/en

Aus JW Tech Wiki

Documentation notice: This technical documentation was independently rewritten from an archived supplier source. Check technical details and commands against the product version and manufacturer documentation before use.

Summary

Technical overview of the Waveshare environment sensors module for the NVIDIA Jetson Nano Developer Kit. The module collects environmental data such as temperature, humidity, air pressure, ambient light, IR/UV and VOC via an I2C bus and displays values on an integrated OLED display.

Related products at JW Tech

Technical overview

  • The module is tailored for the Jetson Nano Developer Kit and connects via an I2C bus using two wires.
  • Integrated sensors: TSL2591FN (ambient light), BME280 (temperature, humidity, pressure), ICM20948 (9-axis motion sensor), LTR390-UV-1 (IR/UV) and SGP40 (VOC).
  • A 1.3-inch OLED display (128x64 resolution, blue, SH1106 driver, I2C address 0x3C) shows environmental data in real time.
  • The BME280 measures temperature from -40 to 85 °C (0.01 °C resolution, ±1 °C accuracy), humidity from 0 to 100 %RH (±3 %RH) and air pressure from 300 to 1100 hPa (±1 hPa).
  • The ICM20948 provides 9 degrees of freedom: accelerometer (±2/4/8/16 g), gyroscope (±250/500/1000/2000 °/s) and magnetometer (±49 gauss), each with 16-bit resolution.
  • The SGP40 VOC sensor measures 0 to 1,000 ppm ethanol equivalent; response time is under 10 s (tau 63 %) and start-up time under 60 s.
  • Installation requires the packages python-smbus, python-pil and i2c-tools; the demo is downloaded via wget and started with sudo python test.py.
  • A voltage level translator converts 5 V to 3.3 V for communication with the Jetson Nano.

Commands and examples – verify before use: 

sudo apt-get install python-smbus
sudo -H apt-get install python-pil
sudo apt-get install i2c-tools
sudo apt-get install p7zip-full
wget https://files.waveshare.com/upload/f/f5/Environment_sensor_fot_jetson_nano_rev3.zip
unzip Environment_sensor_fot_jetson_nano_rev3.zip
cd Environment_sensor_fot_jetson_nano
sudo python test.py
sudo python TSL2591.py
sudo python BME280.py
sudo python ICM20948.py
sudo python LTR390.py
sudo python3 SGP40.py

Notes and version constraints

  • Demo rev3 may be faulty; the source recommends using the rev4 or rev5 version if problems occur.
  • Measured temperature can be affected by heat dissipation from the Jetson Nano; adding a fan can help.
  • The VOC sensor needs about one minute to stabilize because its internal heater warms up slowly.
  • For use with the Jetson Xavier NX, the I2C bus must be changed from bus 1 to bus 8, which requires code modifications.
  • The exact filenames of the individual sensor demos may vary by version; verify the directory structure before execution.

Source and revision record