Skip to content

GUVA S12SD SENSOR

Jaume Olivé Petrus edited this page Aug 27, 2017 · 7 revisions

Specification

What Comments
Identifier GUVA-S12SD
Interface ADC
Provides UV Index see note 1
Properties none
Datasheet

Note 1:

(http://git.whitecatboard.org/uv-index.png)

Code

-- Attach sensor using internal ADC at GPIO32
s1 = sensor.attach("GUVA-S12SD", adc.ADC1, pio.GPIO32)

s1:read("UV Index")
Clone this wiki locally