If the first ROM address location is 0x28, the device is a DS18B20
If the first ROM address location is 0x10, the device is a DS18S20