I am having trouble getting to run my temperature sensor. If I execute the following script to check if the PIN 7 gives me an output, it returns 1 (as it ought to).
import re, os, urllib2 import RPi.GPIO as GPIO if __name__ == '__main__': GPIO.setwarnings(True) GPIO.setmode(GPIO.BOARD) GPIO.setup(7, GPIO.IN) print GPIO.input(7) GPIO.cleanup()
Furthermore I am VERY sure, that the setup of my temperature sensor is correct, you can see an image of it here:
For all of this I was using a Rasperry Pi 3 Model B V1.2. My kernel Version is 4.4.50-v7+ As Operating System I am using Raspbian 8 (jessie)
Could it be a hardware, or a software error? I also changed up all the files as you see it in various tutorials (see comments) but still it doesn't show up in the w1/devices folder. Please help me, I have no idea what I could have done wrong. If you need further information feel free to ask.