ArduinoPlayground/components/keyestudio-ks0023-ds18b20/README.md

27 lines
860 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Keyestudio KS0023 DS18B20-temperatursensor
![Keyestudio KS0023 DS18B20-temperatursensor](image.webp)
## Identifikation
| Felt | Værdi |
| --- | --- |
| Produkt-id | KS0023 |
| Sensor | Dallas/Maxim DS18B20 |
| Interface | 1-Wire via `DAT`, `VCC`, `GND` |
| Forsyning | 3,3–5 V |
| Måleområde | −55 til +125 °C |
## Tilslutning og hensyn
`DAT` forbindes til en digital pin. Modulet indeholder den nødvendige
pull-up-komponent; flere DS18B20-enheder kan dele samme 1-Wire-bus. Typiske
biblioteker er `OneWire` og `DallasTemperature`.
## Sketches
- Arduino UNO R4 WiFi: [`ds18b20_payload`](../../sketches/arduino-uno-r4-wifi/ds18b20_payload) – måler hvert 10. sekund og sender temperaturen til payload-serveren.
## Kilde
- [Keyestudio KS0023 18B20 Temperature Sensor](https://wiki.keyestudio.com/Ks0023_keyestudio_18B20_Temperature_Sensor)