Posts: 5
Threads: 2
Likes Received:
0 in 0 posts
Likes Received:
0 in 0 posts
Reputation:
0
Joined: Nov 2021
Country:
Hi there. I have received my tobo-tank recently and have started playing a bit with it. It's great!
I want to start with something simple so I added two DS18B20 to the temperature ports, but weirdly only the one in port 1 seems to be detected. Swapping both sensors in ports 1 and 2 will show the other one, so both sensors seem to work. Am I missing something obvious here? Have I missed a jumper that needs to be set somewhere?
I'm using a Raspberry Pi Zero 2 W.
Posts: 3,250
Threads: 90
Likes Received:
163 in 120 posts
Likes Received:
163 in 120 posts
Reputation:
184
Joined: Sep 2015
Country:
Hi, that's happening because port 2 and 3 are on a different pin and by default the Pi only reads one. Soon I'm going to need to start sending a page pointing this out and a couple other things as it will catch many unless they use the install script from the manual.
To get it working you need to edit the config.txt file on the Pi.
Run this command in the Pi terminal window.
sudo nano /boot/config.txt
Then search for this line.
dtoverlay=w1-gpio
Add a # sign in front of that line so it looks like this.
#dtoverlay=w1-gpio
The add these two lines under that line.
dtoverlay=w1-gpio,gpiopin=4
dtoverlay=w1-gpio,gpiopin=23
Then press CTRL + X on the keyboard and press Y to save.
Now power cycle the controller and it should be working.
Posts: 5
Threads: 2
Likes Received:
0 in 0 posts
Likes Received:
0 in 0 posts
Reputation:
0
Joined: Nov 2021
Country:
Ah yes I suspected something like that but couldn't find in the docs if there was another gpio pin where to enable 1-wire. Both are working now, thanks.
Posts: 3,250
Threads: 90
Likes Received:
163 in 120 posts
Likes Received:
163 in 120 posts
Reputation:
184
Joined: Sep 2015
Country:
Great, I'll have to go through the manuals, probably missed it as I occasionally still forget about it.
Another thing not properly documented yet is the sensor extension. If you pop the lid off you'll see the jumpers to select if you are using optical or non-contact side for each plug. By default I have it for optical so the non-contact won't work on it's respected side unless the jumper is moved over. After you open it'll make sense.
The following 1 user Likes Rob F's post:1 user Likes Rob F's post
• Jmgr