GUVA-S12SD UV sensor sketch required



  • Dear All!

    Does anybody have mysensors compatible GUVA-S12SD UV sensor sketch?
    I would like to operate it from 3.3V battery connected to Sensebender MIcro.

    Thank you in advance!


  • Hardware Contributor

    Hello,

    if you're new to MySensors:

    According to adafruit, your calc should look something like that:
    UVindex = (ADC reading * Sensor_VCC / 102.4) where Sensor_VCC in your case would be 3.3V. You might need to adapt for a variable voltage as it will follow the battery voltage.

    In case you have trouble, post your sketch.


Log in to reply
 

Suggested Topics

  • 13
  • 108
  • 4
  • 102
  • 3
  • 189
  • 54
  • 4

109
Online

10.8k
Users

10.9k
Topics

111.8k
Posts