TINKER PIEDESIGN IN INDIA

UV sensor ML8511 with TinkerPie

How strong is the sunshine? Sunscreen reminders.

TypeAnalog sensors
Connect toP10-P13
GivesUV level 0-15
SimulatorYes: a control appears under the simulated board

How to wire it

Plug the module's A0 / OUT into P10 (or P11-P13 when Wi-Fi is off), VCC to 3.3 V, GND to GND.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
sensors.uvIndex(Pin.P10)

// Arduino C++
sensors::uvIndex(Pin::P10)

Try it in TinkerPie Studio

Similar modules