The DS18B20 connects to the Raspberry Pi using 3 of the pins: 3.3V (pin #1, top left. Only pin with a square solder pad on the back), ground (pin # 6, 9, 14, 20, 25, 30, 34, or 39, just pick one), & any of the GPIO pins. You only have to use one GPIO pin to connect as many sensors as you want...