Adafruit Circuit Playground Neopixel Triggering

How can you measure UV with a microphone? Or an accelerometer?

I use one of these UV sensors in my weather station.