Setup guide, user workflows, and best practices
What to do: With manikin flat and at rest (no compression), record pressure readings from
all sensor inputs. This establishes the zero baseline (P₀).
Expected: Pressure readings stabilize within ±2 kPa. Threshold for compression detection
will be set to P₀ + offset (e.g., 5 kPa).
Perform: Once per training session or if manikin has been moved/adjusted.
What to do: Apply known displacement steps to manikin (10 mm, 20 mm, 30 mm, etc.) and record corresponding Hall sensor output values.
Expected: Hall voltage increases linearly with displacement. Plot data points and fit linear regression to obtain conversion curve.
Store: Calibration coefficients saved to firmware for reuse.
What to do: Attach USB/Serial cable from sensor device to PC. Driver should auto-install on Windows; Mac/Linux may require manual driver.
Expected: Device appears as COM port (Windows) or /dev/ttyUSB0 (Linux).
Verify in Device Manager or dmesg.
What to do: Open a web browser and navigate to the dashboard URL
(e.g., http://localhost:8080 or deployed server address).
Expected: Dashboard loads with empty session state, ready to start a new session.
What to do: Perform a gentle compression on the manikin. Watch the dashboard for metric updates (pressure graph should show activity).
Expected: Pressure readings appear in real-time; rate and depth graphs update smoothly.
Troubleshoot: If no data appears, check USB connection, verify COM port/device path, and reopen dashboard.
Once a session is active, the dashboard displays:
Coaching: Use live metrics to coach students in real-time. For example, if depth is shallow, provide verbal cue: "Go deeper—aim for 50–60 mm".
Click "Pause" to temporarily stop data collection (e.g., for feedback conversation). Click "Resume" to continue logging. Pause time is tracked separately for analysis.
In the main dashboard, click "Session History" to view previously saved sessions. You can re-open any session to review metrics, add additional comments, or re-export reports. This is useful for tracking student progress across multiple sessions.
Tip: Focus on proper hand placement and steady rhythm. Let the objective metrics (displayed in real-time or during debrief) guide your improvement.
After the session ends, the instructor may give you a report showing:
Use this feedback to practice more effectively in future sessions. Repeat sessions help track improvement and build confidence.
Check:
lsusb (Linux)Fix:
Possible Causes:
Fix:
Symptom: Every small motion registers as a compression, or compressions are over-counted.
Cause: Pressure threshold too sensitive or debounce window too short.
Fix:
Check:
http://localhost:8080)Fix:
Ctrl+Shift+R (Windows) or Cmd+Shift+R (macOS)Check:
Fix:
Cause: Real-time rate (cpm) updates rapidly; may show high variance if calculated over short window.
Expected: Minor fluctuations are normal. Look at the overall trend, not single-second updates.
Mitigation: Dashboard uses 10-second rolling window for smoother display.
Cause: Pressure or Hall sensor sensitivity may drift with temperature or aging.
Fix: