I was wondering how people are building weather proof light sensors (LUX). I am building a solar tracker, and I need to add a few light sensors, but I don't want the electronics exposed. I found this product on Vegetronix, but I feel like it's kind of pricey and bulky for my needs. Thank you!
Search your favorite online retailer for a clear waterproof project box. Also add a nice desiccant pack that can be reused as you will need to keep condensation under control.
Get a waterproof clear plastic box and install your stuff inside.
I've some setup outside in a "Tic-Tac" box, here is an example from the web
with hot glue on the lid and wires, you get a (somewhat) OK system and can eat the tic-tacs
Very creative! I save every plastic box that components come in to reuse as project boxes but I completely overlooked the Tic-Tac box.
Could I drill a few small holes in the bottom as well? Would potting the sensor affect it? Ideally, I'd like the sensor to be hands-off once deployed.
I think you'd find that holes let moisture in, rather then keeping it out.
I only swap the desiccant in my outdoor cams once every 6 months or so, the right kind just need a few seconds in the microwave to dry them out.
What about applying a conformal coating to the sensor itself along with a desiccant pack for moisture?
I'm not sure that you need to seal the sensor if it's already sealed in a housing with desiccant.
Also, I do not know how a sealant would affect the sensor now and over time. Other users might though.