adafruit / adafruit/Adafruit_CircuitPython_MS8607

Question about MS8607 Humidity Resolution Options

Open
#12 2 comments 0 reactions 0 assignees View on GitHub
bug question
Dominant language
Python
Stars
0
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I am in the process of attempting to create a smaller port of the MS8607 module to use with Micro Python on an ESP8266 (I have been unable to find a compatible existing module)

While analyzing the existing module and referencing a datasheet for the MS8607-02BA01 PHT Combination Sensor I discovered that (at least in the datasheet I have) that it doesn't have any humidity options other than OSR_2048 - 0x81. Is this the case?
I cant find any reference in the entire datasheet I have to any functions/resolutions/sampling rates that reference (0x01, 0x80, 0x00).

It is possible the datasheet represents a different MS8607 module but I thought I may as well ask.
Any information that could be provided would be much appreciated.

for reference, this is on line 95 of adafruit_ms8607.py:
```
HumidityResolution.add_values(
(
("OSR_256", 0x01, 8, 0.003),
("OSR_1024", 0x80, 10, 0.005),
("OSR_2048", 0x81, 11, 0.009),
("OSR_4096", 0x00, 12, 0.016),
)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Review adafruit_ms8607.py around line 95 against the MS8607-02BA01 datasheet, focusing on the four HumidityResolution entries and their values. Confirm whether the listed options match this sensor and document or correct the driver as appropriate; the issue is resolved when the supported humidity resolution options are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.