Posts: 3
Threads: 1
Likes Received:
0 in 0 posts
Likes Received:
0 in 0 posts
Reputation:
0
Joined: Jan 2021
Country:
I started having trouble all of a sudden with my pH module that came with my Robo-Tank setup. It has been working fine, but now I am getting errors in reef-pi stating ph subsystem: Failed read probe:HensReefTank pH MonitorError:write /dev/i2c-1: remote I/O error
If I run a sudo i2cdetect -y 1 I only get 40 and 70. I would expect to see a value for the pH module....but I do not even though it came with the unit. Any idea?
Posts: 3,250
Threads: 90
Likes Received:
163 in 120 posts
Likes Received:
163 in 120 posts
Reputation:
184
Joined: Sep 2015
Country:
Hi Athensley, sorry to hear, I think I know what's wrong and it's not good. This has happened a couple times, it appears something can happen causing the eeprom on the pH circuit to get erased so it loses the I2C address, the kicker is the defaults can't be reset without using I2C so basically it's bricked without a programmer. I've since made some changes that should prevent this and added a small jumper on board that can reset the defaults without I2C if it happens but yours is too old if I have your identity correct. Send me an email so I know for sure who this is and I'll get another circuit shipped out to you. Sorry for the trouble.
Posts: 3,250
Threads: 90
Likes Received:
163 in 120 posts
Likes Received:
163 in 120 posts
Reputation:
184
Joined: Sep 2015
Country:
Hi Athensley, this is happening because I program the pH module with a different I2C address than what's on the controller. The controller's pH is address 0x63 but the module is 0x62 like the i2cdetect.
To fix go to configure, drivers and edit the pH driver, change the address from 99 to 98. Then go to the admin tab and press the reload button. It should be ok then.
Posts: 3,250
Threads: 90
Likes Received:
163 in 120 posts
Likes Received:
163 in 120 posts
Reputation:
184
Joined: Sep 2015
Country:
No problem, glad you got it going.
Posts: 48
Threads: 6
Likes Received:
4 in 4 posts
Likes Received:
4 in 4 posts
Reputation:
4
Joined: Nov 2015
Country:
Rob,
Think I might be having the same issue with my system (version 1 hardware). Sent you a PM about it as well.
Thanks,
Matt
Posts: 48
Threads: 6
Likes Received:
4 in 4 posts
Likes Received:
4 in 4 posts
Reputation:
4
Joined: Nov 2015
Country:
Rob,
Have the Rev C board. Tried shorting those marked points for 15 seconds while powered on and the LED never flashed. Also, tried having them shorted while applying power to the board and the LED flashed after a second or so, but then stayed solid for 15 seconds.
The LED does flash 3 times every time the board is powered so I don't think the 3 flashes from my second method actually signaled reset, just initialization. Still not showing the pH address of 99 when running i2cdetect command so don't think either reset worked. Confirmed the I2C bus is functioning as well by connecting a PCA9685 board with a different address (0x41) up and it does show up when I run the i2cdetect command.
Sent you a PM about info for sending a circuit out. In the interim since I have the tank running without the controller and the board is out of the system, provided I have a programmer for an TINY85 is it possible to re-flash the chip with the correct information?
Thanks again for all the help,
Matt
Posts: 3,250
Threads: 90
Likes Received:
163 in 120 posts
Likes Received:
163 in 120 posts
Reputation:
184
Joined: Sep 2015
Country:
Thanks for trying, that only worked half the time depending how much of the code got corrupted. If you can reprogram it that should definitely fix it and it shouldn't happen again in the future as the low voltage detection will be enabled, this setting I didn't know about in the beginning and turns the ATtiny85 off before this can happen, since I started enabling that the problem went away. I'll send you an email with all the details as it's a little complicated but I'm guessing you've programmed these before.