WriteED
JA Romania / Samsung

A smart pen that
teaches grammar
without showing
corrections, without
internet, and without
changing how
students write.

TagsCUSTOM MLIMU SENSORSHAPTIC FEEDBACKEDTECHON-DEVICE AI

Students repeat the same grammar mistakes for years because nobody tells them in real-time. We built an AI-powered pen that vibrates when you make errors -but doesn't show you what's wrong. You have to think and self-correct.

<100ms
Sensor-To-Feedback Latency
100Hz
Real-Time Sampling Rate
5,000+
Handwriting Samples Trained
60%
Reduction In Repeated Mistakes
WriteED pen cutaway showing internal components

Autocorrect is making us forget how to write

Romanian students are failing. Under 40% pass rate on national exams. Over 40% are functionally illiterate. The problem isn't intelligence -it's that nobody tells them when they're wrong.

Autocorrect made this worse. Every phone, every computer silently fixes “a fost” → “au fost” before you even notice. You never learn the rule. You just get dependent on technology thinking for you.

Teachers try, but they grade papers three days later. By then, the student forgot what they were thinking when they wrote it. The feedback is useless.

Exam paper highlighting delayed feedback

We asked a different question:

What if the pen itself could tell you -in the moment you're writing -that something is wrong?

But here's the key insight: telling you the answer doesn't help you learn. Making you figure it out yourself does.

The pen doesn't tell you what's wrong

The idea came from a childhood toy -“creionul fermecat” -a magic pencil that made a sound when you got the answer right.

What if we inverted that? A pen that signals when something is wrong, but leaves you to figure out what.

Cognitive science calls this “desirable difficulty.” Learning is stronger when you retrieve the answer yourself versus being told. Every competitor -Grammarly, spellcheck, autocorrect -shows you the fix. That's not learning. That's outsourcing your brain.

WriteED makes you think.

WriteED concept visual

How motion becomes grammar feedback

The pen looks normal. 167mm long, 15mm diameter, 25 grams. Feels like any ballpoint pen. But inside, it's packed with sensors capturing every micro-movement of your hand at 100Hz.

Student writing on paper

Hardware architecture

Front Accelerometer (6 DOF)
Gyroscope
Magnetometer
Rear Accelerometer
Force Sensor
Haptic Motor
Bluetooth Module
STM32 Microcontroller

From sensor data to conscious correction

Every stroke you make generates 14 measurements per timestep. The challenge: convert chaotic motion signals into readable text, check grammar in real-time, and deliver feedback before you finish the word.

Accelerometer signal data

Accelerometer signals (6-axis)

Gyroscope signal data

Gyroscope signals (3-axis)

Processing pipeline

1

Capture

IMU sensors record pen movement at 100Hz sampling rate.

2

Filter

High-pass filter removes gravity; moving average removes noise.

3

Transcribe

Custom LSTM model converts motion into character predictions.

4

Validate

Lightweight transformer checks grammar and spelling.

5

Respond

If error detected, haptic motor vibrates. No visual correction shown.

The entire pipeline executes in under 100 milliseconds. By the time you lift the pen, you already know something was wrong.

Force sensor data showing pen lifts during letter writing

Force sensor graph showing a single letter being written. The dip between timesteps 21-24 is a pen lift -the writer completing one stroke before starting another. This temporal information helps the model distinguish between similarly-shaped letters.

Two models, one goal: make you think

We built both ML models from scratch, trained on 5,000+ handwriting samples we collected ourselves.

1

TIMPIA Motion-to-Text

Architecture: LSTM-based sequence model

Input: 13-channel sensor data (accelerometer, gyroscope, magnetometer, force)

Output: Character predictions in real-time

Deployment: Optimized for TensorFlow Lite Micro

2

TIMPIA GrammarCheck

Architecture: Lightweight transformer

Quantization: INT8 for embedded inference

Latency target: <100ms on STM32

Language: Romanian today; English expansion planned

Demo of real-time grammar detection on digital text

Classification decision boundary visualization

Classification decision boundary visualization

The challenge isn't just accuracy -it's speed. Academic research achieves 83-90% accuracy on similar tasks, but often requires cloud processing. We run everything on-device. No internet required. No latency from server calls. Complete privacy -student data never leaves the pen.

Writing pressure variation across 50 different users

Writing pressure variation across 50 different users. Some press hard (writers 11, 30, 43), others barely touch the paper (writers 19, 21, 45). Our models must generalize across all these writing styles.

Building the dataset that didn't exist

No public dataset existed, so we built our own: 119 writers, 31,275 character samples, collected via custom protocol with automatic labeling.

Real-time character prediction from IMU sensor data

Pen showing XYZ coordinate system

The coordinate system matters. X points along the writing direction, Y along the pen shaft, Z perpendicular to the paper.

Every sensor reading is relative to these axes. Getting this right was critical for model accuracy across different writing positions and grip styles.

Learning that feels like a game

The pen vibrates. Now what?

The companion app turns that moment of awareness into lasting improvement.

1

Mistake logging

Every error recorded with timestamp and context.

2

Pattern analysis

"You wrote 'a' instead of 'au' 8 times this week."

3

Personalized tests

Exercises targeting YOUR specific error patterns.

4

Gamification

Badges, streaks, friend leaderboards.

5

Progress tracking

Watch your mistake rate decline over time.

Built in Flutter for cross-platform deployment. Firebase backend for sync. Works offline -the pen doesn't need internet.

Does it actually work?

Beta test results (15 students, 2 weeks):

“I didn't realize I wrote ‘a’ instead of ‘au’ every time until the pen buzzed.”

60% reduction in repeated mistakes after two weeks of use.

Survey data (143 respondents):

Majority would recommend the product

The feedback pattern was consistent: students didn't know they were making mistakes until the pen told them. That moment of awareness -delivered in real-time, without judgment -changed their writing behavior.

"WriteED represents exactly the kind of innovation we hoped to find. Technology that solves real problems for real people."

Jury Panel

Jury Panel

Samsung Solve for Tomorrow @ Samsung Romania

What this demonstrates

This wasn't “we added sensors and called it smart.”

Real constraints, no workarounds

Students write on paper. Teachers don't have tablet budgets. We built around their workflow, not ours.

ML for the outcome, not the CV

Custom models trained to trigger self-correction, not to hit benchmark scores.

Full-stack, shipped

Hardware, firmware, ML pipeline, mobile app. Not a proof of concept.

Edge AI

Works offline. Sub-100ms. Data never leaves the pen.

The actual insight

Everyone else shows you the answer. We just tell you you're wrong.

Tech stack

From ML training pipelines to edge deployment - the full stack for intelligent hardware.

PyTorch
PyTorchModel Training
LSTM NetworksSequence Model
TensorFlow Lite
TensorFlow LiteEdge Deployment
NumPy / SciPy
NumPy / SciPySignal Processing
Python
PythonML Pipeline
STM32Microcontroller
C
Embedded CFirmware
Flutter
FlutterMobile App
Client
Client
Client
Client

Trusted by companies across Europe

Now let's talk about your project

Let's discuss your idea, your problems and our solutions.