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!
-
Hello,
if you're new to MySensors:
- you can use the light sensor example, change the calculation for your sensor, and also change the msg type to UV. https://www.mysensors.org/build/light-lm393
- or use and change directly the UV example https://www.mysensors.org/build/uv
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.
2 out of 2
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
MQTT-Help me understand about the MQTT Gateway.
Development • 28 days ago • dpcons 17 days ago -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59