I am trying to produce nitrogen by passing air over a heated tube of coals. This leaves a mixture of $\ce{CO},$ $\ce{H2O}$ and $\ce{N2}.$ Only $\ce{CO}$ is unwanted in this case.
Could I use calcium hydroxide to scrub carbon monoxide out of the gas? What other substances could be effective?
edit: this is part of challenge to make other chemicals from natural resources, therefore i have to obtain nitrogen myself instead of buying it