What air purifier companies do...
Dave Paine
I used to work for an industrial gas production company.
You are essentially looking for how such companies remove atmospheric moisture.
The answer is not simple for continual use.
Air is compressed to about the same pressure as your air compressor, but then is typically sent through a "molecular sieve" system. This is a vessel filled with a first layer to absorb moisture, and the majority layer to absorb CO2.
The vessel is eventually saturated, so then needs to be re-activated.
Hence the design has two vessels, one absorbing, and one being re-activated.
If you really want drier air, I think you will need to construct a two bed system. One bed with a moisture absorbent, also called a dessicant. You need to select a material which can absorb moisture, and then with either temperature or pressure, to be re-activated. Not as easy as it seems.
A common material used to absorb moisture is silica gel. The challenge is the re-activation.
A typical silica gel pack states to place in a hot oven at xxxx deg F.
So if you want a manual re-activation, you can make a vessel or container, fill with silica gel, and then somehow determine when the gel is saturated and manually re-activate.