google / periph

Older version of periph, see new version at https://github.com/periph
https://periph.io
Apache License 2.0
1.75k stars 167 forks source link

new: Support devices on the Enviro pHAT #141

Closed maxekman closed 1 year ago

maxekman commented 7 years ago

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:

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

maruel commented 7 years ago

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.

maxekman commented 7 years ago

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?

maruel commented 7 years ago

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

maxekman commented 7 years ago

Got it.

UnAfraid commented 7 years ago

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

maxekman commented 7 years ago

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

bezineb5 commented 6 years ago

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

NeuralSpaz commented 5 years ago

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

maruel commented 1 year ago

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