periph icon indicating copy to clipboard operation
periph copied to clipboard

new: Support devices on the Enviro pHAT

Open maxekman opened this issue 8 years ago • 8 comments

The Enviro pHAT is an affordable set of sensors for environment sensing. This issue is a public todo for me when implementing the drivers for it

Devices on the HAT:

  • [x] BMP280, temperature/pressure sensor
  • [ ] TCS3472, light and RGB colour sensor
  • [ ] LSM303D, accelerometer/magnetometer sensor
  • [x] ADS1015, 4-channel 5v tolerant 12-bit ADC
  • [ ] Two GPIO controlled LEDs for illumination of the light sensor, not really a device

Manufacturer: https://shop.pimoroni.com/products/enviro-phat Device info: https://pinout.xyz/pinout/enviro_phat

maxekman avatar May 31 '17 05:05 maxekman

I found it on Adafruit but it's out of stock. Pimoroni has even more reasonable shipping rates to Canada than Adafruit so I may order from there.

For now add it to experimental/ and once you have a smoke test and good unit test coverage, we can move it back into the official tree.

maruel avatar May 31 '17 12:05 maruel

That sounds good. I'm in Europe (Sweden) making it fairly easy to get here. Maybe also ordering a a Zero W to put it on is a good idea?

I'll add the device drivers one by one to experimental. Do you want the smoke tests to be per device or for the whole HAT?

maxekman avatar May 31 '17 13:05 maxekman

I prefer per device smoketest, as it's more reusable.

maruel avatar May 31 '17 13:05 maruel

Got it.

maxekman avatar May 31 '17 13:05 maxekman

We may scratch BMP280 of the list since https://github.com/google/periph/commit/252733acf606c513fa14dcff77a61fe0051b67d6

UnAfraid avatar Aug 25 '17 14:08 UnAfraid

I'll leave it checked in the list as that device is still on the Enviro pHAT.

maxekman avatar Aug 27 '17 11:08 maxekman

PR #304 implemented ADS1015, so you can check it.

bezineb5 avatar Nov 03 '18 14:11 bezineb5

I have a discrete TCS3472 and am willing to contribute device driver.

NeuralSpaz avatar Dec 18 '18 11:12 NeuralSpaz

Ported to https://github.com/periph/devices/issues/61.

maruel avatar Sep 20 '23 17:09 maruel