adafruit / adafruit/Adafruit_Wippersnapper_Arduino

Detect chip ID / family where possible to improve auto-detection rejection of wrong sensors

Open
#750 0 comments 0 reactions 0 assignees View on GitHub
offline-mode
Dominant language
C++
Stars
54
Forks
56
Avg merge
2d 12h
Merged PRs (30d)
11

Description

Testing the latest batch of added sensors, most of them are identified incorrectly at auto-detection (HTU31d becomes INA219 etc).
Looking deeper most of the begin calls we don't confirm the chip ID, so we could in some instances. Those drivers should then come first in the list of sensors to try for the specific i2c addresses.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the sensor drivers' begin calls and the auto-detection logic described in the issue. Identify which drivers can confirm a chip ID or family and how sensor candidates are ordered for each I2C address. Done means supported IDs are checked where possible, wrong sensors such as HTU31D and INA219 are rejected, and the relevant drivers are tried first.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, cpp
Domain
embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.