damir27:
I have a huge problem about reading ds18s20 temperature sensor , I can not find how to read the temperature from it, Not one example, the sensor has 2 pins only,
please help me
Nick is right. The ds18b20 (and ds18s20) has 3 pins.
Also, on ebay, there are definitely fake ds18b20 out there, which are transistors in disguise. And whoever fabricated those fake ds18b20 should be jailed (or put out of their misery).
And.... also, the ds18s20 could be a hassle to use, while the ds18b20 is easier to get going.
https://www.maximintegrated.com/en/app-notes/index.mvp/id/4377