Простой датчик чувствительности для роботов. При нажатии графитовая кнопка замыкает контакты. Имеет 3 позиции: 25% - легкое нажатие, 50% среднее и 75% сильное.
Сначала замыкается первая позиция, из-за маленькой толщины стенок, она легче нажимается и за счет этого контакты замыкаются раньше чем у других позиций. Остальные замыкаются аналогично, поочередно.
Чтобы датчик имел всего 1 пин, нужно замыкать резисторы в цепь, а получать значения путем измерения напряжения, например, на Arduino через аналоговый пин и функцию analogRead().
First closes the first position, due to the small wall thickness, it is easily pressed and thereby contacts close earlier than at other positions. The rest is similar to closed alternately.
To sensor had just one pin, you need to add the resistors in the circuit, and get values by measuring the voltage, for example, on the Arduino via analog pin and function analogRead().