This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New I2C sensors supported
#37
(2021-03-02, 11:08 PM)DcnPat Wrote: Is there a HOWTO for writing sensor drivers? I'm wondering how to get the sensors on the WaveShare Sense Hat (B) working:

ADS1015: 4 channel ADC Device address:0x48 (may already work - testing to see if I can configure it.
ICM-20948: 9DOF sensor  Device address:0x68
LPS22HB: Barometric pressure sensor Device address:0x5C
SHTC3: Temprature & Humidity sensor  Device address:0x70
TC34725: Color sensor  Device address:0x29 (not sure if this is useful, but it is on the board)

WaveShare Wiki page https://www.waveshare.com/wiki/Sense_HAT_(B)

Currently there is not any HOWTO to write sensors drivers. We use adafruit drivers/libraries, so you only need enough python3 skills to implement them into openplotter-12c app following the example of any library already implemented. If an adafruit library exists for a sensor we could add it easily on request.

ICM-20948: already supported on next openplotter-pypilot app version.
LPS22HB: no plans to add this but there is an available library.
SHTC3: no plans to add this but there is an available library.
TC34725: no plans to add this.

The openplotter-i2c app needs to be adapted to new versions of Signal K and will be partially rewritten soon. If anyone wants to add any sensors, please contact us to coordinate.
Reply


Messages In This Thread
New I2C sensors supported - by Sailoog - 2020-11-02, 07:36 PM
RE: New I2C sensors supported - by Sailoog - 2020-11-05, 06:06 PM
RE: New I2C sensors supported - by zerze99 - 2020-11-09, 07:14 PM
RE: New I2C sensors supported - by Sailoog - 2020-11-11, 06:24 PM
RE: New I2C sensors supported - by Didier B - 2020-11-16, 10:53 AM
RE: New I2C sensors supported - by Didier B - 2020-11-17, 08:32 AM
RE: New I2C sensors supported - by Didier B - 2020-11-17, 05:02 PM
RE: New I2C sensors supported - by PaddyB - 2020-11-17, 06:38 PM
RE: New I2C sensors supported - by Didier B - 2020-11-17, 09:19 PM
RE: New I2C sensors supported - by beercansailor - 2020-11-17, 10:48 PM
RE: New I2C sensors supported - by PaddyB - 2020-11-18, 08:17 AM
RE: New I2C sensors supported - by Didier B - 2020-11-22, 11:07 PM
RE: New I2C sensors supported - by Didier B - 2020-11-26, 05:57 PM
RE: New I2C sensors supported - by Sailoog - 2020-11-26, 07:00 PM
RE: New I2C sensors supported - by Didier B - 2020-11-27, 10:28 AM
RE: New I2C sensors supported - by Sailoog - 2020-12-01, 08:18 PM
RE: New I2C sensors supported - by Didier B - 2020-12-01, 10:07 PM
RE: New I2C sensors supported - by jpaul1 - 2020-11-26, 03:43 PM
RE: New I2C sensors supported - by Sailoog - 2020-11-26, 06:56 PM
RE: New I2C sensors supported - by Sailoog - 2020-11-26, 07:32 PM
RE: New I2C sensors supported - by jpaul1 - 2020-11-26, 08:49 PM
RE: New I2C sensors supported - by Sailoog - 2020-12-01, 08:16 PM
RE: New I2C sensors supported - by Didier B - 2020-11-30, 12:50 AM
RE: New I2C sensors supported - by Didier B - 2020-12-05, 07:47 PM
RE: New I2C sensors supported - by Divemaster - 2020-12-07, 12:04 PM
RE: New I2C sensors supported - by Sailoog - 2020-12-09, 09:50 PM
RE: New I2C sensors supported - by Divemaster - 2020-12-10, 08:28 PM
RE: New I2C sensors supported - by olewsaa - 2020-12-17, 07:52 AM
RE: New I2C sensors supported - by Sailoog - 2020-12-17, 10:14 PM
RE: New I2C sensors supported - by olewsaa - 2020-12-19, 05:07 PM
Problem I2C -> HTU21D - by Romarin - 2020-12-28, 07:43 PM
RE: Problem I2C -> HTU21D - by Sailoog - 2021-03-03, 01:23 PM
RE: New I2C sensors supported - by Ski_Entropy - 2021-02-24, 09:07 PM
RE: New I2C sensors supported - by Sailoog - 2021-03-03, 01:27 PM
RE: New I2C sensors supported - by Techstyle - 2021-04-26, 06:53 PM
RE: New I2C sensors supported - by DcnPat - 2021-03-02, 11:08 PM
RE: New I2C sensors supported - by Sailoog - 2021-03-03, 01:40 PM
RE: New I2C sensors supported - by tortfeaser - 2021-03-04, 10:52 PM
RE: New I2C sensors supported - by jekyllandhyde - 2021-04-15, 11:44 PM
RE: New I2C sensors supported - by Sailoog - 2021-04-28, 01:00 PM
RE: New I2C sensors supported - by jekyllandhyde - 2021-04-28, 05:51 PM
RE: New I2C sensors supported - by jekyllandhyde - 2021-04-26, 05:45 AM
RE: New I2C sensors supported - by Sailoog - 2021-04-28, 12:47 PM
RE: New I2C sensors supported - by Nikola89 - 2021-05-23, 03:19 PM
RE: New I2C sensors supported - by arveasheim - 2021-05-23, 09:11 PM
RE: New I2C sensors supported - by Sailoog - 2021-05-24, 07:55 PM
RE: New I2C sensors supported - by dpdpkpcom - 2022-02-26, 01:54 PM
RE: New I2C sensors supported - by Relax - 2021-11-23, 02:41 PM
RE: New I2C sensors supported - by Sailoog - 2021-11-23, 08:00 PM
RE: New I2C sensors supported - by Relax - 2021-11-24, 05:28 PM
RE: New I2C sensors supported - by croy - 2022-01-01, 10:27 PM
RE: New I2C sensors supported - by croy - 2022-01-01, 10:29 PM
RE: New I2C sensors supported - by Surfer2010 - 2022-02-19, 01:43 PM
RE: New I2C sensors supported - by tYuoAz - 2022-02-26, 09:13 PM
RE: New I2C sensors supported - by Jay_cd33 - 2022-02-27, 12:05 PM
RE: New I2C sensors supported - by tYuoAz - 2022-02-28, 04:46 AM
RE: New I2C sensors supported - by Sailoog - 2022-02-27, 09:29 PM
RE: New I2C sensors supported - by hrios - 2022-03-03, 07:54 PM
RE: New I2C sensors supported - by hrios - 2022-03-07, 07:31 PM
RE: New I2C sensors supported - by amckeown - 2022-06-06, 08:42 PM
RE: New I2C sensors supported - by amckeown - 2022-06-26, 11:02 PM
RE: New I2C sensors supported - by amckeown - 2022-07-20, 03:07 AM

Forum Jump:


Users browsing this thread: 5 Guest(s)