Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3950

Troubleshooting • Re: 1-Wire DS18B20 sensor does not show up (Reterminal + Grove Hat)

$
0
0
Just a question,

The grove hat doesn't have pull up? so did you add a pull up resistor something like 4k7?

https://wiki.seeedstudio.com/Grove_Base ... pberry_Pi/

Or you are using the grove ds18b20 sensor which has already a pull up resistor attached to it?

So on which connector you set your DS18B20 on and on which one GPIO of the two ?
What is exactly the line in your config.txt?
Which from my understanding is due to the fact that the /sys/bus/w1/devices/ directory is empty
it should at least contains w1_bus_master1?

The strange thing on the tutorial is that you connect to the connector D5 but by default the 1wire is on GPIO-04 and the turorial specify to use the default 1wire in config.txt. Something is misleading there! I think this is the reason why it's not working. I did look at the schematic and this connector has access to GPIO5 or 6.
Sorry if I am making any mistakes, I am new to this.

I have not added any resistor, just followed this tutorial, plugging it into D5.

https://wiki.seeedstudio.com/One-Wire-T ... r-DS18B20/

Which is confusingly GPIO 5/6 as you mentioned. So I experimented with the gpiopins and only managed to get w1_bus_master1 after setting it to 6. However, still can't see the device.

Code:

dtoverlay=w1-gpio,gpiopin=6
Now, I have also been experimenting with analogue sensors, such as the moisture and light sensor. Again I managed to tweak the programs to point at i2c1 where the grove hat is but all readings are 0. I am guessing the main issue here is the Reterminal + grove hat compatibility.

Statistics: Posted by norbertdaj — Sat May 11, 2024 2:11 pm



Viewing all articles
Browse latest Browse all 3950

Trending Articles