Controlling Humidity and Temperature with Arduino

Any microprocessor can control sensors to make the measurements and issue control signals.

Dehumidifying and cooling such a small space could be a challenge. The usual method is to use a refrigerator-type compressor with cooling condensor and a water trap. You probably would have to circulate air from the box into some other apparatus to do that.