Pico Environment Sensor

From Waveshare Wiki
Jump to: navigation, search
Pico Environment Sensor
Pico Environment Sensor
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Primary Attribute
Category:
{{{userDefinedInfo}}}: {{{userdefinedvalue}}}
Brand: Waveshare
Website
International: Waveshare website
Chinese: 官方中文站点
Onboard Interfaces
Related Products

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 0x29
Effective range 0~88000Lux
BME280 TEMPERATURE, HUMIDITY, AND AIR PRESSURE SENSOR
I2C address 0x76
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 0x68
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 0x53
Response wavelength 280nm - 430nm
SGP40 VOC Sensor
I2C address 0x59
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.

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