A coating of carbon nanotubes simplifies the design of these otherwise complicated sensors.