adafruit / adafruit/Adafruit_CircuitPython_TCS34725

Problems with jumping values between two levels

Open
#30 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
25
Forks
25
PR merge metrics
No merged PRs in 30d

Description

I am using the RGB sensor in a project. There I have made the experience that the sensor shows really strange behaviour for larger value. So at small value the sensor shows the behaviour that is excpected but for large value, so for exemple then the roomlight is on, the sensor starts to jump around 2 different levels. I have ploted the values in the two plots below. What could be the problem ? I am using a gain of 4 and an integration time of 50ms. I have tried to change the integration time but it didn't help.

![RGB](https://user-images.githubusercontent.com/58993245/79980631-ade19800-84a3-11ea-81ce-dd697925ad4f.png)
![RGB_brightness_problem](https://user-images.githubusercontent.com/58993245/79981106-660f4080-84a4-11ea-89e0-ee4f2566848d.png)

The experimental setup is:

![RGB_experiment_setup](https://user-images.githubusercontent.com/58993245/79981149-76272000-84a4-11ea-8771-7cd89fd681f8.jpg)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the RGB sensor setup described in the issue with gain 4 and a 50 ms integration time, then compare readings under small and large light values using the supplied plots. No source file or test is named; done means identifying the cause of the two-level jumping behavior and documenting the finding or a reproducible fix.

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.