I have followed the next web to do my project https://pimylifeup.com/raspberry-pi-temperature-sensor/
1º electrical connections:
I connected:
-black wire to ground
-red wire to +5 volts as I had the other 2 pins of 3.3volts busy with other sensors: dht11 and pir (both working well)
-yellow wire to pin gpio 27
-I placed a resistance of 10Kohms between red and yellow wire (a simple pull-up)
but the ds18b20 started to get hot so I disconnected
I made a new connection, this time red wire to +3.3volts with another new ds18b20 and the ds18b20 was ok (not get hot)
2º I activated one.wire support in the raspberry pi
3º I wrote:
-
Code: Select all
sudo modprobe w1-gpio
sudo modprobe w1-thermCode: Select all
cd /sys/bus/w1/devices
lsYou can see this in the image
So, I can not continue with my proyect as I can not point to any fix value at https://mydevices.com to my ds18b20 sensor to see the temperature
What am I doing bad?
Thanks

