GUVA-S12SD UV sensor sketch required
-
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login