About Services Tools Blog Contact us

Live Vibration Display on a Badge

Turns the motion sensor in a round conference badge into a scrolling live graph with a simple strength reading. Buttons switch between directions of movement.

  • Embedded & IoT
  • Outdoor events
  • Hardware
  • Productised
  • Local/private
  • 2025

The problem

A festival badge has a motion sensor that visitors never see working, so there is no obvious way to show vibration, tilt or a shake live. Without a simple interface, every new badge program starts from the chip instead of from tilt and shake.

What it does

The badge keeps a short window of readings and resizes the graph so a tremor and a hard shake both fill the round display. The biggest movement becomes a demonstration figure from zero to ten, coloured as it climbs, and buttons cycle through directions. The same readings are offered as tilt and shake signals for the next program.

Outcomes

  • Visitors can see the motion sensor working within a few seconds.
  • A small shake and a hard shake both stay on screen.
  • The strength figure is a demonstration scale capped at 9.9.
  • The next badge program can use tilt and shake instead of starting from the chip.

Simplified mockup

Interactive preview with sample data. Nothing is sent to a server.

Live vibration

VIBRATION

Y axis

R4.2

peak 3.981 · +/- 5.37

Shake the badge
0–1.9 2–4.9 5–9.9

The trace grows with the shake, then clips to the round plot. The +/- figure is the auto-scale window.

Latest
2.87 m/s²
Window
100
samples
Axes
X Y Z
plus magnitude

Tilt and shake

Tilt

+12°

Tilt

The lamp lights once lean passes 8 degrees. A later program polls this instead of the chip.

Shake

R4.2

From the trace slider. Lights from 3.0, red from 5.0.

Poll
Waiting for a poll
  1. Sample window
  2. Baseline
  3. Tilt
  4. Shake

Z-axis spectrum

16 bands from a 64-point window

Same sensor, Z axis only. The loudest band is marked after the window is taken.

Capture
Ready to sample

How it works

  1. The built-in sensor is read at a steady rate into a short window of readings.
  2. The graph resizes so a tremor and a hard shake both fill the round display.
  3. The biggest movement from a running average becomes a figure from 0.0 to 9.9.
  4. The figure is coloured green, yellow or red as it climbs.
  5. Buttons cycle through the three directions, the combined strength, and a credits screen.
  6. Tilt and shake are also offered as signals so the next badge program can use them.

Pipeline

flowchart LR
  Imu[Accelerometer] --> Window[Sample window]
  Window --> Scale[Auto-scale the trace]
  Scale --> Screen[Scrolling waveform]
  Window --> Peak[Peak against a baseline]
  Peak --> Mag[Coloured magnitude]
  Buttons[Axis buttons] --> Screen