actuated by variation of resistance or by piezo-electricity