I am trying to connect a DS18B20 sensor to a raspberry pi. I have done and double checked all the setup code - w1-gpio, w1_therm, added them to startup modules list and added dtoverlay=w1-gpio to config.txt. But the sensor doesn't show up in /sys/bus/w1/devices/ - instead I get a variety of dodgy 00-x00000000 style IDs, with x being a number 1,4,8,6,++. Additionally, the w1_slave directory is not in the device ID directory.
Any ideas on what's wrong? Is it a dodgy sensor?