Open jcallaghan opened 4 years ago
Wiring with ESP32.
Using a filter to convert the ADC voltage to the UV Index based on information from Adafruit page.
filters:
- lambda: return (x/0.1);
Ever slightly impressed with this. I don't have a UV lamp to calibrate this but found the University in Manchester has a weather station and provides information to Defra.
They are reporting 2.7 UV Index while I am reporting 2.36 UV Index. This makes me feel great! 😎
Data flowed straight into Grafana without any input from me. I moved the sensor and discovered I had knocked one of the pins so the sensor was not reading properly between the two annotation markers on the chart.
The 17:00 corresponds to the data from the Manchester University sensor.
Something like this in Lovelace would be pretty cool.
https://genicom.en.ecplaza.net/products/outdoor-uv-index-meter-ag03_3042800
While I have been testing the pins have come loose a few times and skewed my data 🙁 but never mind as it will be fitted to a PCB board soon.
[ ] I need to find out the best way to ensure the sensor has visibility while also maintaining it from the elements and weatherproofing it. Right now I have it sat in a test-tube like a piece of plastic.
Since these sensors are incredibly cheap, what about spraying some conformal coating on the breakout board and see what happens?
Maybe that's enough to weatherproof it for a few years
Ultraviolet light sensor
Originally posted by @jcallaghan in https://github.com/jcallaghan/home-assistant-config/issues/13#issuecomment-624076582