temp_sensor = md`### temperatur sensor
[Waterproof DS18B20 Digital Temperature Sensor for Arduino from DFRobot](https://www.dfrobot.com/product-689.html) (Bought at Amazon: [DFRobot Waterproof DS18B20 Digital temperature sensor](https://www.amazon.de/dp/B01B0IO6S2/ref=cm_sw_r_cp_apa_fabc_s0LVFbVWB2B0P?_encoding=UTF8&psc=1).)
More documentation in DFRobot's wiki: [Waterproof DS18B20 Digital Temperature Sensor, SKU: DFR0198](https://wiki.dfrobot.com/Waterproof_DS18B20_Digital_Temperature_Sensor__SKU_DFR0198_).
[Datasheet for DS18B20](https://datasheets.maximintegrated.com/en/ds/DS18B20.pdf)
#### Buy list:
- a single 4.7k Ω Resistor
- <10 cent/piece but shops are closed, online e.g. at Amazon [20 pieces for 1,27 EUR + 2,20 EUR shipping](https://www.amazon.de/Widerstand-St%C3%BCck-Metallschicht-Metallfilm-Widerst%C3%A4nde/dp/B00I8NOOEY)
- or: [Gravity: Terminal Sensor Adapter V2.0 from DFRobot](https://www.dfrobot.com/product-203.html), SKU: DFR0055
- More documentation in DFRobot's wiki: [Terminal sensor adapter V2, SKU: DFR0055](https://wiki.dfrobot.com/Terminal_sensor_adapter_V2_SKU_DFR0055)
- costs: <3 EUR but seems to be hard to get in Germany
Update: I found a bunch of 10k Ω at home. That should work. It is just for the pull-up. (It will use less power than the specified 4.7k Ω, but if need be I can put to 10k Ω in parallel to get 5k Ω.)
Two 10k Ω resisters were necessary to talk to the digital temperature sensor.
Note: The sensor uses the 1-Wire protocol, that is, multiple sensors can be attached to the same pin of the esp32. We could attach dozens or even hundreds of temperature sensors not waisting more pins.
`