Pico-Sense-HAT

From SB-Components Wiki

Revision as of 09:25, 8 January 2022 by Sbcshop (talk | contribs) (→‎MicroPython)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Pico Sense Hat

Sense HAT for Raspberry Pi Pico is a four-sensor environment monitoring device that measures temperature, air quality, humidity, and colour. The Sense HAT board is perfect for the environment monitoring project since it has multi-sensors with the ability to measure temperature, humidity, air quality and colours. A stylish 1.14" LCD screen is also installed on the board, allowing the user to quickly see the data from the sensors on the screen. It will assist you in keeping track of the environment of your arenas, such as the office, home, or anywhere else.

Features

  • Multi Sensor HAT
  • 1.14” LCD
  • Standard 40 Pins Header
  • Easy Interfacing
  • Compact Monitoring device


Specifications

  • Operating Voltage - 3.3 V
  • Humidity Sensor - BME280
  • Air Quality Sensor - SGP40
  • Temperature Sensor - SHT31
  • Colour Sensor - TCS34725
  • Communication - I2C/SPI


Pico Cube
Buy it From : Click Here


Installation

MicroPython

  • Stack Raspberry Pi Pico on the female header of Pico Sense HAT.
  • Connect USB cable on Raspberry Pi Pico USB port.
  • Choose interpreter as MicroPython (Raspberry Pi Pico).

Thonny-interpreter.PNG

  • Save all the libraries inside the raspberry pi pico.
  • Rename the pico_sense_hat.py to main.py and save it also inside pico (main.py code automatically run when pico power on).

Files in the folder

In the folder, you will see 6 python files

  • 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 runs the main code (this code display the sensor reading), this code import all the libraries of sensors and LCD display,
  * pico_sense_hat.py 
  • Download Pico sense hat repository from the below link:

Source code: https://github.com/sbcshop/Pico-Sense-HAT

Resources

Github