I2CSoilMoistureSensor
I2CSoilMoistureSensor copied to clipboard
Two sensors
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.
Does anyone have advice on the above?
I've ran 3+ sensors. I used 0x20, 0x25, 0x30. Low power will cause the addresses to change so if you batteries are below around 2.5v be ready to have problems.
You should be able to do a scan and pick up whatever sensors are reporting and what address they are at if they do change then manually change them back. Also, run a median filter on the readings if you are turning them off and back on again. Sometimes the first reading is wrong. Good luck!
On Wed, Aug 10, 2022 at 6:04 AM Kyle Johnson @.***> wrote:
Does anyone have advice on the above?
— Reply to this email directly, view it on GitHub https://github.com/Apollon77/I2CSoilMoistureSensor/issues/21#issuecomment-1210578438, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK4NCTARC6R263R2FXRGVHTVYOLDRANCNFSM47PXJTWA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
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.
Wrong address or a corroded sensor and it's toast. Scan for address to double check it's correct.
(I haven't touched my sensors in 2+ years so grain of salt)
-Roger
On Tue, Mar 21, 2023, 6:28 AM Martin Coria @.***> wrote:
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: image] https://user-images.githubusercontent.com/26166711/226620410-b9266d7d-51c3-4a96-a8df-517f0406f05d.png
— Reply to this email directly, view it on GitHub https://github.com/Apollon77/I2CSoilMoistureSensor/issues/21#issuecomment-1477838919, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK4NCTHOGSQ3NMM73PVBC63W5GUI5ANCNFSM47PXJTWA . You are receiving this because you commented.Message ID: @.***>
Uhm is weird because i have 4 brand new sensors.
I have it connected to a Wemos D1. GND 3V SCL SDA
Check the addresses of your sensors. If you have multiple sensors on one address you could get those readings.
Make sure all your connections are good. If a loose connection and it gets low power it can reset address.
-Roger
On Tue, Mar 21, 2023, 6:37 AM Martin Coria @.***> wrote:
Uhm is weird because i have 4 brand new sensors.
[image: photo_2023-03-21_10-37-07] https://user-images.githubusercontent.com/26166711/226622894-b56ec1c8-1a25-49c3-ad5d-1bdc5800b6eb.jpg
I have it connected to a Wemos D1. GND 3V SCL SDA
— Reply to this email directly, view it on GitHub https://github.com/Apollon77/I2CSoilMoistureSensor/issues/21#issuecomment-1477852700, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK4NCTBAGZMIKP6RZAX4VL3W5GVKDANCNFSM47PXJTWA . You are receiving this because you commented.Message ID: @.***>
Well something is wrong i think but i cannot find it out.
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.