I am using a raspberry pi 3 with an Atlas Scientific DO sensor to try and create a wireless sensor network for an aquaponics system. Everything works fine when I am running the system in my home in a normal outlet. When I try to deploy the system at the growing location however I run into a lot of strange issues. When I run
sudo i2cdetect -y 1 I get very inconsistent address listings that fluctuate after each call. Sometimes there are no addresses listed and sometimes the entire i2c bus is filled.
I am wondering if this could be caused by the different voltages that the aquaponics location has in the outlets or interference from all of the other gear that we have setup there. Any information or input would be greatly appreciated. I am looking into voltage regulators first see if this could potentially solve the problem.
I am using the sample code provided with the sensor: here.
Let me know if I can provide any other information!