All posts Signals

Reading pressure from an analog force sensor

In short

The pen's tip rests on a force sensor whose electrical resistance changes as you press, which a circuit turns into a wavering analog voltage. To make that usable we filter the noise, subtract each writer's resting baseline, and calibrate it toward real force, then a model reads the pattern over time.

Steady, moderate pressure is the mark of a relaxed, controlled hand; heavy or wildly varying pressure signals tension and fatigue. For Indic scripts, whose aksharas pack many strokes into one character, even pressure is what keeps a long writing session legible.

The short version. The full post has the detail and the why.

In this post

  1. An analog voltage, not a number
  2. Cleaning and calibrating the signal
  3. What heavy and light pressure mean
  4. Pressure and the Indic scripts

Of all the things a pen can feel, pressure is the most intimate. It's the part of handwriting you don't see on the page, and the first to betray when a hand is tense, tired or unsure.

An analog voltage, not a number

At the tip sits a force-sensitive element, often a force-sensitive resistor (FSR) or a small load cell. Its electrical resistance falls as you press harder. Wired into a simple voltage divider, that changing resistance becomes a continuously varying voltage, and an analog-to-digital converter (ADC) samples it hundreds of times a second.

But that raw voltage is not "pressure" yet. It's noisy, it's non-linear (doubling the force doesn't double the voltage), it drifts with temperature, and every writer, and every pen grip, has a different resting level. The signal is real, but it needs work before it means anything.

Cleaning and calibrating the signal

Several steps turn the wavering voltage into a trustworthy pressure trace:

  • Filtering. A low-pass filter (a moving average or an exponential filter) removes high-frequency electrical jitter while keeping the real pressure changes that happen as you write.
  • Baseline removal. The pen learns each session's resting and light-touch level and subtracts it, so "no pressure" reliably reads as zero.
  • Linearisation & calibration. A calibration curve maps the sensor's non-linear response toward a consistent scale, so the same press always reports the same value.
  • Normalisation. Because grip strength varies between people, the signal is normalised per writer, so the analysis compares your pressure to your own range, not to a stranger's.

Only then does a model look at the shape of the pressure over time, how it rises into a downstroke, eases on a curve, spikes at a stop.

RAW SENSOR VOLTAGE filter + cal CLEAN PRESSURE
The journey from a jittery, drifting analog voltage to a calibrated pressure curve the analysis can actually read.

What heavy and light pressure mean

Pressure is a window onto control. A steady, moderate pressure that eases gently through curves is the signature of a relaxed, practised hand. Consistently heavy pressure, the kind that almost embosses the page, usually means a tight grip: it tires the hand quickly and is common in early or anxious writers. Erratic pressure, lurching between hard and faint, points to uncertainty in forming the letters.

None of these is "bad" in isolation, but the pattern is diagnostic. The analyser uses it to score control and to suggest gentler, more even pressure where it will reduce fatigue and improve consistency, which in turn lifts legibility.

Pressure and the Indic scripts

Pressure is especially revealing in Indic scripts. A single akshara in Telugu, Kannada, Malayalam, Tamil or Devanagari (Hindi) often combines a base consonant with stacked vowel signs and conjunct strokes, far more pen-work per character than a Latin letter. Holding even pressure across all those strokes, character after character, is what keeps a page of Telugu or Malayalam from degrading into heavy, cramped marks by the end of a paragraph.

Because the curved, looping forms of these scripts demand frequent changes of direction, a writer who presses too hard fatigues fast and loses the fine control those curves need. Reading pressure well lets Vahini give script-aware feedback, not "press less" in the abstract, but "ease your pressure through these curves so your aksharas stay clean to the end of the line."

Key takeaways

  • A force sensor outputs a noisy, non-linear analog voltage, not a ready-made pressure number.
  • Filtering, baseline removal, calibration and per-writer normalisation make it trustworthy.
  • The pattern over time, steady, heavy or erratic, reflects control, tension and fatigue.
  • Even pressure is critical for the stroke-dense aksharas of Indic scripts.

Read next