Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two sensors #21

Open
fabio1955 opened this issue Jun 29, 2021 · 9 comments
Open

Two sensors #21

fabio1955 opened this issue Jun 29, 2021 · 9 comments

Comments

@fabio1955
Copy link

I did try one sensor with the default address (0X20) and it worked. I did try the change address and it worked (0X21). I did try to have two sensors (0X20 + 0X21) and it stopped. Even the I2C scanner dd not work anymore. It is blocked. Then I did try to use the changeSensor method but it didn't work. Then the question. It is possibile to have a two sensor example working? Arduino UNO and Nano tested with 1.8.15 IDE.

@kyle-ssg
Copy link

Does anyone have advice on the above?

@RT38
Copy link

RT38 commented Aug 11, 2022 via email

@marty1982
Copy link

Hi all!, what about if i have this readings?. It seems that my water chirp sensor is not propperly connected but turned on instead. Weird.

image

@RT38
Copy link

RT38 commented Mar 21, 2023 via email

@marty1982
Copy link

Uhm is weird because i have 4 brand new sensors.

photo_2023-03-21_10-37-07

I have it connected to a Wemos D1.
GND
3V
SCL
SDA

@RT38
Copy link

RT38 commented Mar 21, 2023 via email

@marty1982
Copy link

Well something is wrong i think but i cannot find it out.

image

@marty1982
Copy link

and the weird thing is that previously this worked in a wemos d1 mini with no problem. The wemos d1 mini get frosted and that's because im using another arduino board. I dont't think that could be a problem.

@smjacques
Copy link

Any solution for that?

I'm trying to change the address, but also getting errors.

10:24:59.809 -> I2C Soil Moisture Sensor Address: 30
10:24:59.809 -> Sensor Firmware version: FF
10:25:00.720 -> 
10:25:00.720 -> Change address to 0x21 ...... ERROR
10:25:02.750 -> 
10:25:02.750 -> Scanning...
10:25:02.750 -> I2C device found at address 0x20  !
10:25:02.782 -> done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants