read capacitance from density button