Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Temperature probe DS18B20 connection
#1
I have a Robo-Tank Deluxe v2 that I am trying to set up with the DS18B20 temperature probe. 

When I go to add the probe in reef-pi, there are no options in the Sensor drop down menu.

   

I have followed all the installation and configuration instructions and used the install script. I have confirmed that /boot/config.txt contained the following lines:

dtoverlay=w1-gpio,gpiopin=4
dtoverlay=w1-gpio,gpiopin=22

In the second line I have tried pins 22 and 23 with no luck. I have also done a full re-install of Robo-Tank with no luck. As far as I can tell, the proper Connectors have been added. 

I have setup and calibrated a pH probe that is functioning as expected. 

What am I missing here?
[-] The following 1 user Likes kurby-reef's post:
  • Rob F
Reply to top
#2
Hi kurby-reef, sorry to hear about the trouble, did you get the DS18B20 from me or another source? Reason I ask is the wire colors are not always as expected such as red = 5v and black = ground. I think it's probably a configuration related error as there is no circuit for this, just a pullup resistor so the hardware side is very simple. I'm wondering if by chance the 1-wire bus didn't get enabled on the Pi although it should have with the install script.

Can you run the following command in the Raspberry Pi SSH terminal window.

sudo raspi-config

On the page that loads go down to "Interface Options" and press enter.

Then go down to "1-wire" and press enter and verify it's set to Yes.

If that doesn't work I think it could be a faulty sensor or bad connection. I have seen if a wire is pushed in the connector to far the insulation around the wire can cause a poor connection if it's getting clamped as well. Maybe try losing each wire, pull it out a bit and try to clamp only the exposed wire.
Reply to top
#3
Here's another command to run in the SSH terminal window, it should list the addresses of each sensor attached.

ls /sys/bus/w1/devices/
Reply to top
#4
Hi Rob- thanks for the reply. I did get the probe from you. But I redid the connection with more exposed wire and it popped up. So I am up and running and lessoned learned. Thanks again!
Reply to top
#5
Good to hear, the other possible issue you can have with those connectors, if the wire is moved lots it can get cut where it's clamped but other wires will hold it in place so it looks connected but actually just being held in place. This is rare but can happen.
Reply to top


Possibly Related Threads…
Thread Author Replies Views Last Post
  PH Probe Reading 0 DylanF1 8 1,716 01-26-2024, 01:43 AM
Last Post: Rob F
  Temperature Probe 2 Not Working DylanF1 3 916 01-26-2024, 01:42 AM
Last Post: Rob F
  Ph Probe Brooks 10 5,499 07-13-2021, 06:57 AM
Last Post: Rob F
  PH Probe stopped Brooks 5 2,931 06-09-2021, 01:13 PM
Last Post: Rob F

Forum Jump:

Current time: 04-28-2024, 01:55 AM