Scientific instruments: how to build and use them