Home › Forums › Monitor My Watershed › AM2315C Compatibility
- This topic has 2 replies, 2 voices, and was last updated 2024-05-14 at 4:27 PM by BrianJastram.
Viewing 2 reply threads
-
AuthorPosts
-
-
2024-05-07 at 9:10 AM #18461EnviroDIY Modular Sensors has the AOSongAM2315 but not the new AM2315C. I have the AM2315C. Is there a way for me to integrate the newer AM2315C sensor into my Mayfly project? I have the wiring ready.EnviroDIY Modular Sensors has the AOSongAM2315 but not the new AM2315C. I have the AM2315C. Is there a way for me to integrate the newer AM2315C sensor into my Mayfly project? I have the wiring ready. I have successfully tested the sensor and received good values using an example program so I know the sensor works but when I use the AOSongAM2315.h I only get -9999s.
-
2024-05-07 at 9:41 AM #18462I’m not familiar with the new C model, but I did use the older, now-discontinued one awhile back. Without digging into the manual and the library too deep, I’m guessing it might be an I2I’m not familiar with the new C model, but I did use the older, now-discontinued one awhile back. Without digging into the manual and the library too deep, I’m guessing it might be an I2C address issue? The old model used 0xB8 whereas the new one uses 0x38. So go into the ModularSensors/src/sensors folder and edit AOSongAM2315.cpp, find line 34 and change the address from 0xB8 to 0x38.
-
2024-05-14 at 4:27 PM #18477Thank you for your advice. I changed the I2C address at line 34 in the AOSongAM2315.cpp. I got this output ..
Current logger time is 2024-05-13T15:02:43-06:00
—————̵Thank you for your advice. I changed the I2C address at line 34 in the AOSongAM2315.cpp. I got this output ..Current logger time is 2024-05-13T15:02:43-06:00
———————–
EnviroDIY Mayfly at EnviroDIY Mayfly reports batteryVoltage is 4.715 volt
SensirionSHT4x at I2C_0x44 reports relativeHumidity is 39.09 percent
signalPercent is calculated to be 97 percent
SensirionSHT4x at I2C_0x44 reports temperature is 24.72 degreeCelsius
AOSongAM2315 at I2C_0x38 reports temperature is -9999.0 degreeCelsius
AOSongAM2315 at I2C_0x38 reports relativeHumidity is -9999.0 percent
———————–So it looks like the address change is in effect but sensor values are still -9999.
Do you have any advice or ideas for my next troubleshooting effort?
-
-
AuthorPosts
Viewing 2 reply threads
- You must be logged in to reply to this topic.