Skip to content

DS1820 SENSOR

Jaume Olivé Petrus edited this page Feb 21, 2017 · 10 revisions

Specification

What Comments
Identifier DS1820
Interface 1-WIRE
Provides temperature celsius degrees
Properties resolution bits of resolution
rom address in the bus
type model
numdev number of DS180 sensors in the bus
[Datasheet] (https://datasheets.maximintegrated.com/en/ds/DS18S20.pdf)

Code

s1 = sensor.attach("DS1820", gpio.GPIO15)

s1:read("temperature")
Clone this wiki locally