Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

new: Support devices on the Enviro pHAT #141

Closed
2 of 5 tasks
maxekman opened this issue May 31, 2017 · 9 comments
Closed
2 of 5 tasks

new: Support devices on the Enviro pHAT #141

maxekman opened this issue May 31, 2017 · 9 comments

Comments

@maxekman
Copy link
Contributor

maxekman commented May 31, 2017

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:

  • BMP280, temperature/pressure sensor
  • TCS3472, light and RGB colour sensor
  • LSM303D, accelerometer/magnetometer sensor
  • 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

@maruel
Copy link
Contributor

maruel commented May 31, 2017

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
Copy link
Contributor Author

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
Copy link
Contributor

maruel commented May 31, 2017

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

@maxekman
Copy link
Contributor Author

Got it.

@UnAfraid
Copy link

We may scratch BMP280 of the list since 252733a

@maxekman
Copy link
Contributor Author

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

@bezineb5
Copy link
Contributor

bezineb5 commented Nov 3, 2018

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

@maruel maruel changed the title Support devices on the Enviro pHAT new: Support devices on the Enviro pHAT Nov 9, 2018
@NeuralSpaz
Copy link
Collaborator

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

@maruel
Copy link
Contributor

maruel commented Sep 20, 2023

Ported to periph/devices#61.

@maruel maruel closed this as completed Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants