Skip to main content

https://shop.pimoroni.com/products/enviro-phat

The Pimoroni Enviro pHAT boast a plethora of sensors and connectivity for measuring your environment.

Enviro pHAT includes:

  • An LSM303D accelerometer/magnetometer for detecting orientation, motion and heading

  • A BMP280 temperature/pressure sensor

  • A TCS3472 colour sensor, for detecting the amount and colour of light

  • An ADS1015 analog sensor with four 3.3v tolerant channels for your external sensors

  • A 5v power supply pin for powering your sensors, which you can regulate or divide to 3v if needed

  • Two LEDs connected to GPIO #4 for illuminating objects over the colour sensor

Installing

Manual install:

Library install for Python 3:

on Raspbian:

sudo apt-get install python3-envirophat

other environments:

sudo pip3 install envirophat

Library install for Python 2:

on Raspbian:

sudo apt-get install python-envirophat

other environments:

sudo pip2 install envirophat

Development:

If you want to contribute, or like living on the edge of your seat by having the latest code, you should clone this repository, cd to the library directory, and run:

sudo python3 setup.py install

(or sudo python setup.py install whichever your primary Python environment may be)

In all cases you will have to enable the i2c bus.

Documentation & Support

1.0.1

  • Fix: Corrected upper bounds check for tilt_heading

1.0.0

  • Fix: Defer setup to avoid import side-effects

  • Fix: QNH changed to ISA standard

  • Tweak: New Enviro pHAT I2C addr now default

  • Added: unit argument to pressure to choose Pa or hPa

0.0.6

  • Added __version__ to module

  • Added DocStrings

0.0.5

  • Bug fix to lsm303d raw_heading

0.0.4

  • Tidy up of read functions in bmp280

  • Fixed incorrect call to pressure method

0.0.3

  • Python3 fix

0.0.2

  • Bug fixes

0.0.1

  • Initial release

Release files for envirophat 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for envirophat 1.0.1
File Size Uploaded
envirophat-1.0.1.tar.gz 11.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for envirophat 1.0.1
File Interpreter ABI Platform
envirophat-1.0.1-py3-none-any.whl Python 3 none any Details
envirophat-1.0.1-py2-none-any.whl Python 2 none any Details

Total release size: 35.9 kB

Release files / envirophat-1.0.1.tar.gz

Download URL envirophat-1.0.1.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8a015a9fadf6bc90e67bdfde9ee0466d0c05dfeae2fe5b0ac8fa7b15ad540f83
BLAKE2b-256 checksum
How to use checksums
de345450a17923a459eda8b4423b909ce271bf50d6fb0d91c3f2aa6387cd5d45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

Release files / envirophat-1.0.1-py3-none-any.whl

Download URL envirophat-1.0.1-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ddca374999ccd32ecddc44ba6f94196e3d4cd63178c4ea4e31ccc3653a94620
BLAKE2b-256 checksum
How to use checksums
8af15b0f260678298dcc1204ae73d2c8c60e669a65eed4ab4f579960d0d0c801
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

Release files / envirophat-1.0.1-py2-none-any.whl

Download URL envirophat-1.0.1-py2-none-any.whl
Size 12.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
b36739af897e06f6b2a1e5b456f90bbe04d5c6052182be505d6ae90517c4c4bb
BLAKE2b-256 checksum
How to use checksums
f35dd6d1db6e9f3fa9633e2ff3b2d6cc15bc92fba06aa3c30cdfa5a1d70e4938
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.16

Release history Release notifications | RSS feed

This release

1.0.1 This release

3 release files

1.0.0

3 release files

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page