Electronic and pneumatic sensors