Local prototype dashboard for the BiteBud pressure sensor system. It supports live pressure trends, press/chew event detection, approximate force readings in grams and pounds, calibration, and future pressure zones.
npm install
npm run devOpen the local Vite URL printed in the terminal, usually:
http://localhost:5173
The home page contains the website from innovationprizejackdhruv, including its
How It Works, App Preview, Safety, FAQ, and Contact pages. Click View BiteBud
project to open the live sensor dashboard at /bitebud. The dashboard's
Back to landing page link returns to the home page.
The App Preview remains the original mock concept demo; /bitebud uses the local
sensor API. Their styles load separately to preserve both designs.
Under Sensor setup & calibration, use Start Mock Sensor to see live data before hardware arrives.
Recommended first build:
- Tekscan FlexiForce A201, 0-25 lb range.
- FlexiForce Quickstart Board if available, otherwise Tekscan-style signal conditioning.
- Arduino Nano ESP32.
- USB-C cable, breadboard, jumper wires, and a soft silicone/foam press pad.
The firmware lives at:
firmware/bitebud_esp32_sensor/bitebud_esp32_sensor.ino
Create the local firmware configuration before uploading:
cp firmware/bitebud_esp32_sensor/secrets.example.h \
firmware/bitebud_esp32_sensor/secrets.hEdit secrets.h with the Wi-Fi name, Wi-Fi password, and laptop server URL.
The file is ignored by Git so credentials are not pushed to GitHub.
For a serial-only wiring check that does not require Wi-Fi, upload:
firmware/bitebud_sensor_test/bitebud_sensor_test.ino
The completed wiring, calibration curve, and chronological prototype log are in
project-notes/.
POST /api/readings: receive ESP32 sensor readings.GET /api/readings/stream: stream live dashboard updates.GET /api/readings/history?limit=3600: read persisted readings from disk.POST /api/calibration: update baseline, thresholds, and force mapping.GET /api/session-summary: read event count, duration, intensity, and zone state.
Readings and calibration are persisted to data/ (override with BITEBUD_DATA_DIR)
so history survives server restarts. /api/session/reset clears persisted history too.
This is a bench/demo prototype. Do not put electronics in anyone's mouth. The dashboard is for pressure-pattern awareness and prototype testing only, not medical diagnosis.
The landing page's 3D Prototype link opens /#prototype. Visitors can rotate
and zoom the CAD concept, select any of its nine named parts, and separate the
assembly to inspect the pressure sensor and controller board. Buttons provide
keyboard alternatives to dragging and zooming. The model and fallback preview
are served from public/models/; the viewer does not depend on the sensor API.
The gray mouthguard contains the pressure sensor; the controller is shown in the orange outside loop. Geometry and hardware envelopes are conceptual, not manufacturing-ready or validated for baby use.