Pico Environment Sensor

From Waveshare Wiki
Revision as of 07:47, 9 August 2022 by Eng52 (talk | contribs) (→‎Documents)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Pico Environment Sensor
Pico Environment Sensor
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Overview

The Pico-Environment-Sensor gives Raspberry Pi Pico the ability to collect environment data like temperature & humidity, air pressure, ambient light intensity, VOC, UV ray, etc. It can also be used to build a robot that can detect motion and orientation.

Features

  • Standard Raspberry Pi Pico header, supports Raspberry Pi Pico series.
  • Onboard TSL25911FN digital ambient light sensor, for measuring IR and visible light.
  • Onboard BME280 sensor, for measuring temperature, humidity, and air pressure.
  • Onboard ICM20948 motion sensor, accelerometer, gyroscope, and magnetometer.
  • Onboard LTR390-UV-1 sensor, for measuring UV rays.
  • Onboard SGP40 sensor, for detecting ambient VOC.
  • I2C bus, allows retrieving data by just using two wires.

Specifications

TSL25911FN DIGITAL AMBIENT LIGHT SENSOR
I2C address 0 x 29
Effective range 0~88000 Lux
BME280 TEMPERATURE, HUMIDITY, AND AIR PRESSURE SENSOR
I2C address 0 x 76
Temperature detection -40 ~ 85℃ (0.01℃ resolution, ±1℃ accuracy)
Humidity detection 0~100%RH (0.008%RH resolution, ±3%RH accuracy, 1s response time, ≤2%RH delay)
Air presure detection 300~1100hPa (0.18Pa resolution, ±1hPa accuracy)
ICM20948 MOTION SENSOR
(9-DOF: 3-AXIS ACCELEROMETER, 3-AXIS GYROSCROPE, 3-AXIS MAGNETOMETER)
I2C address 0 x 68
Accelerometer resolution 16-bit
Accelerometer range (configurable) 2, ±4, ±8, ±16g
Gyroscope resolution 16-bit
Gyroscope range (configurable) ±250, ±500, ±1000, ±2000°/sec
Magnetometer resolution 16-bit
Magnetometer range ±4900µT
LTR390-UV-1 UV SENSOR
I2C address 0 x 53
Response wavelength 280nm - 430nm
SGP40 VOC Sensor
I2C address 0 x 59
Measuring range 0 ~ 1,000 ppm ethanol equivalent
Limit condition < 0.05 ppm ethanol equivalent OR < 10 % preset concentration point (the larger one should prevail)
Response time < 10 s (tau 63 %)
Start time < 60 s
On-chip humidity compensation support

Pinouts

Pico-Environment-Sensor-details-inter.jpg

Dimensions

Pico-Environment-Sensor-details-size.jpg

Setup environment

Please refer to Raspberry Pi's guide: https://www.raspberrypi.org/documentation/pico/getting-started/

python

1. Refer to Raspberry Pi's guides to setup Micropython firmware for Pico.
2. Download the codes with commands.

sudo apt-get install p7zip-full
cd ~
sudo wget  https://www.waveshare.com/w/upload/f/f9/Pico-Environment-Sensor-code.7z
7z x Pico-Environment-Sensor-code.7z -o./Pico-Environment-Sensor-code
cd ~/Pico-Environment-Sensor-code

3. Open the Thonny IDE, and select the board (MicroPython(Raspberry Pi Pico)) and the port (ttyACM0).

Pico-lcd-0.96-img-config2.png

4. Click File -> Open ->test.py to open and run the codes.

Windows

  • Download and unzip the demo to your Windows desktop, refer to Raspberry Pi's guides to set up the Windows software environment settings.
  • Press and hold the BOOTSEL button of Pico, connect the USB of Pico to the PC with a MicroUSB cable. Import c or python program into Pico to make it run.

Support

If you require technical support, please go to the Support page and open a ticket.