Skip to content
J

JEEVAN

Joint Elderly and Vitality Assistant Network

Created on 11th October 2026

•

J

JEEVAN

Joint Elderly and Vitality Assistant Network

The problem JEEVAN solves

JEEVAN is a smart elder-care system that combines health monitoring, fall detection, medicine management, and an AI voice assistant into one platform.

The system uses wearable devices and sensors to monitor health readings and detect possible falls. Its smart medicine box helps manage medicine schedules and record medication-related activities. The AI voice assistant provides an additional way for users to interact with the system.

All the connected components communicate with the backend, which processes and stores information and sends it to a central dashboard. Through this dashboard, caregivers can check health readings, view fall alerts, monitor medicine schedules, and track device status.

The main aim of JEEVAN is to make elderly care easier and safer by helping elderly people live more independently while keeping caregivers informed about their well-being.

Challenges we ran into

  1. Wrong BPM from a mismatched sample rate

My BPM readings were consistently off, and not by random noise. The cause was that the sensor’s real output rate didn’t match the rate my code assumed. The MAX30102’s effective rate is the internal sample rate divided by the averaging setting, and I had changed one without updating the other.

Fix: I defined the effective sample rate once as a single constant and derived every filter coefficient, window length, and BPM conversion from it.

  1. Saturated or weak signal depending on the finger

With a fixed LED current, some fingers saturated the ADC and flattened the pulse waveform. Others gave a tiny signal buried in noise. SpO₂ jumped around because the AC component was clipped or too small to measure.

Fix: I added an auto-gain loop that checks the DC level about once a second and steps the LED current up or down to keep it in the middle of the ADC range. I also discard a short burst of data after each adjustment, because the change itself creates a transient.

  1. Double-counted beats

The simple peak detector sometimes counted the dicrotic notch as a second beat, which made BPM spike to roughly double the true value.

Fix:

Band-pass filter at 0.5–4 Hz.
Use an adaptive threshold that scales with recent peak height.
Add a 300 ms refractory period.
Reject any beat interval that deviates more than 30% from the running median.
4. Low sampling resolution and laggy updates

The reference-style code used a 4-second buffer at 25 Hz. That gives coarse timing (one sample is 40 ms) and slow updates, and a single missed beat shifted the result noticeably.

Fix: I moved to a higher effective sample rate, switched to per-beat updates using the median of recent intervals, and added parabolic interpolation around each peak for sub-sample timing.

  1. Unstable SpO₂ from noisy AC/DC estimates

Computing the ratio of ratios from raw peak-to-peak values made SpO₂ swing by several percent from one reading to the next.

Fix: I used the RMS of the filtered signal over whole beat cycles for AC, and the mean over the same cycles for DC. I then averaged the ratio R over several beats before converting to SpO₂, since the conversion is nonlinear. Weak-signal and out-of-range readings are marked invalid instead of displayed.

  1. Calibration without a medical reference

The generic SpO₂ formula isn’t tuned for any individual sensor module, and the MAX30102 isn’t a certified medical device. Without a reference, I had no way to know how far off the readings were.

Fix: I compared my readings against a commercial fingertip oximeter and fit my own calibration curve to the paired data. I also state clearly that accuracy at low SpO₂ values is unverified, because I can’t safely test those conditions.

  1. Motion, ambient light, and finger placement

Small finger movements and room light produced false readings.

  1. The GPS said “alive” but never got a fix.
    My first GPS test printed thousands of characters with zero checksum errors, yet showed Satellites: 0. The wiring was fine. The NEO-6M simply can’t see satellites indoors. I took it outdoors and waited through a cold start, and it locked on with 4 satellites. That taught me two things. A missing GPS fix is normal indoors, so I turned it into a feature: a fix older than 30 seconds means the person is probably inside the house. It also showed me that GPS alone can’t be trusted to decide “inside vs. outside”.

  2. Wrong pins on a classic ESP32.
    The first version used GPIO6 and GPIO7 for I2C, which are wired to the flash chip on a 30-pin ESP32 and cause crashes. I moved I2C to GPIO21/22. I also found the GPS RX/TX pins were swapped compared with my tested wiring, and moved the calibration button off GPIO2 (a boot-strapping pin) to GPIO23.

  3. The impact check could never trigger.
    The MPU6050 defaults to ±2g, but my code waited for a 3g impact. A single axis can’t read above 2g, so real falls would have been missed. I set the sensor to ±8g and changed the scale factor to match.

  4. A random byte-order bug.
    I read the sensor with Wire.read() << 8 | Wire.read(), but C++ doesn’t guarantee which call runs first, so the bytes can swap. I replaced it with a helper that reads the high byte explicitly first.

  5. A belt can’t assume how it was mounted.
    Setting the “upright” reference at boot gave wrong angles if the belt was on a table. I added one calibration button: press it once when the belt is worn and the elder is standing, and it saves the mean position.

Discussion

Builders also viewed

See more projects on Devfolio