We calculate the systematic average speed of the adiabatic piston and a thermal Brownian motor, introduced by C. Van den Broeck, R. Kawai and P. Meurs [Phys. Rev. Lett. 93, 090601 (2004)], by an expansion of the Boltzmann equation and compare with the exact numerical solution.