TINKER PiEDESIGN IN INDIA

Force sensor (FSR) with TinkerPie

Squeeze it: pressure pads, smart chairs, drum pads.

TypeAnalog sensors
Connect toP10-P13
Gives0-100 %
SimulatorYes: a control appears under the simulated board

How it works

A force-sensitive resistor (FSR) is a thin pad whose resistance drops when it is pressed. The module turns that into a voltage, so harder presses give higher numbers.

How to wire it

Plug the module's A0 / OUT into P10 (or P11-P13 when Wi-Fi is off), VCC to 3.3 V, GND to GND.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
sensors.forceSensor(Pin.P10)

// Arduino C++
sensors::forceSensor(Pin::P10)

Good to know

Try it in TinkerPie Studio

Similar modules

More projects to try

Questions

Can I try the Force sensor (FSR) without buying one?

Yes. In TinkerPie Studio the simulator shows a control for it under the board, so you can test your program before you build it.

Can I build a kitchen scale with an FSR?

It can show more or less pressure, but it is not accurate enough for grams. For real weights, engineers use a load cell with an HX711 amplifier.