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: Changing I2C address of RTC

Home Forums Mayfly Data Logger Changing I2C address of RTC Reply To: Changing I2C address of RTC

#14459
Shannon Hicks
Moderator

    I just read through various manuals and datasheets for the K30 sensor, and it is technically possible to change the I2C address of the sensor, but it’s not easy so I wouldn’t suggest it. But the manual says the board also does serial UART output so you can just follow their example code for Arduino UART to modify it for working with the Mayfly’s correct pins and it should work. You’ll also want to power the board from the switched 5V output pin of the Mayfly since it needs 5v at 300ma to operate, which is a lot. If you run the board continuously, the aux supply regulator on the Mayfly will probably get a little warm and if you’re running this on a battery, it’ll drain pretty quickly. Is this going to be powered continuously by a benchtop supply or a battery?