Working with Pico
This chapter contains the following sections. Please read as needed:
Setting Up Development Environment
1. Installation and Configuration
- For setting up the Raspberry Pi Pico environment and basic usage, please refer to the following links:
- After setting up the environment, connect the sensor and download the demo package.
Demo
Hardware Connection
- Refer to the following diagrams for connection

Run Arduino Pico Demo
- Navigate to Environment-X6-Sensor\examples\pico\arduino\environment_x6_sensor_test and double-click environment_x6_sensor_test.ino to open the project.
- Select the chip model and port.

- After uploading, open the serial port monitor, and the relevant information will be output.
Run MicroPython Demo
- First flash the Raspberry Pi Pico with MicroPython firmware.
- Navigate to Environment-X6-Sensor\examples\pico\micropython and double-click the environment_x6_sensor_test.py file.
- Select the development board.

- Select the port for the Raspberry Pi Pico, then run the program.
- The relevant information will be output in the Shell.