Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

Reply To: AM2315C Compatibility

Home Forums Monitor My Watershed AM2315C Compatibility Reply To: AM2315C Compatibility

#18462
Shannon Hicks
Moderator

    I’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.