- Pico sense hat have four sensors and these sensors have definate addresses
- SGP40 Air quality sensor (addr=0x59)
- SHT31 Temperature and Humidity sensor (addr=0x45)
- BME280 Pressure sensor (0x76)
- TCS34725 Color sensor (addr=0x29)
-
There are 5 libraries in this folder you need to save these libraries in the raspberry pi pico, 4 libraries of sensors and 1 library of lcd display
- sgp40.py
- sht31.py
- bme280.py
- tcs34725.py
- Lcd1_14driver.py
-
One file is there in the folder which run the main code (this code display the sensor reading), this code import all the libraries of sensors and lcd display,
- pico_sense_hat.py
- Now connect USB Cable on USB Port of Pico.
- Open Thonny IDE and Choose interpreter as MicroPython (Raspberry Pi pico).
![](https://github.com/sbcshop/Pico-Sense-HAT/raw/main/Images/img2.jpg)
Rename the pico_sense_hat.py to main.py and save this also inside pico (main.py code automatically run when pico power on)
![](https://github.com/sbcshop/Pico-Sense-HAT/raw/main/Images/img1.jpg)
![](https://github.com/sbcshop/Pico-Sense-HAT/raw/main/Images/img4.jpg)