element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products and Partners
    Products and Partners
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Smart Home & Healthcare Challenge
  • Challenges & Projects
  • Design Challenges
  • Smart Home & Healthcare Challenge
  • More
  • Cancel
Smart Home & Healthcare Challenge
Forum EdgeCare: phase 3 - bracelet with two dry electrodes placed on the skin for the dielectric profile;
  • News
  • Projects
  • Forum
  • Details
  • Leaderboard
  • Files
  • Members
  • DC
  • More
  • Cancel
  • New
Join Smart Home & Healthcare Challenge to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 17 subscribers
  • Views 22 views
  • Users 0 members are here
  • esp32C6
  • spo2
  • gsr
Related

EdgeCare: phase 3 - bracelet with two dry electrodes placed on the skin for the dielectric profile;

mihaita802003
mihaita802003 4 hours ago

EdgeCare: phase 1 - setup IDE, MCU and BLE - element14 Community

EdgeCare: phase 2 - setup I2C, read MAX30100 and create VI in LabView - element14 Community

EdgeCare will be a Multi-Sensor Metabolic & Autonomic Datalogging Wearable with LabVIEW R&D Analytics.

***********************************************************************************************************************************************************

OBS: at this moment, the sensors sent by element14 to me for this contest are blocked in custom because an issue with my EORI code.

I will continue to work on this project using MAX30100 and DS18B20 temperature sensor.

These sensors will be replaced if the competition package reaches me in time.

***********************************************************************************************************************************************************

In this post I will present the following implementations:

A. Determination of body hydration using the dielectric profile (using GSR, Tau and Temp);

B. Cardiorespiratory efficiency and tissue perfusion (using HR and SpO2);

C. The body's thermoregulatory response (using Temp + GSR);

A. Determination of body hydration using the dielectric profile (using GSR, Tau and Temp);

The circuit used to determine the dielectric profile for skin and to show the hydratation indes on the body can be one of the following solutions:

- a simple one with two resistors;

- with a specialized circuit, like AD5933 or MAX30009 (future implementation/upgrade).

I used first option, with two resistors and two ports from ESP32C6, like in the schematic diagram:

image

OBS: the circuit used to read the braceled dry electrodes are powered borm an power bank to avoid interferenced induced by the switching power supply and to have a total separation between sensors and PC with Labview.

All the calculation are done in LabView.

Parameter used:

- GSR (Rskin in Kohm) - measure the DC resistance of the skin; It is particularly influenced by surface moisture, perspiration and electrolytes.

- Skin capacity (Cskin) - It reflects the dielectric properties of deep cellular tissue (dermis and living epidermis); It depends directly on the bound and free water within the cells and in the interstitial space.

- Tau (Rskin x Cskin in us) - It measures the response speed to a transient pulse; It measures the rate at which the skin's dielectric capacitance charges and discharges in response to a pulse applied by the ESP32-C6.

The parameters Temp (using DS10B20 one-wire temp sensor with metalic capsule), GSR and Tau (using the bracelet two electrodes) are read by the ESP32C6  (see the photos below) and sent to LabVIEW for processing and display:

image    image    image

Algorithm: the processing is carried out in four main stages in LabVIEW (within the Formula Node):

Step 1: Thermal Compensation (DS18B20 Sensor)
Skin temperature alters electrical resistance through vasodilation/vasoconstriction. To eliminate temperature-induced errors:

Rcorr = GSR x (1 + alpha x (Tmasurat - 33.0))
(where alpha = 0.02, meaning a 2% correction per degree Celsius relative to the 33.0°C reference).
Step 2: Extraction of Dielectric Capacitance Cskin
By mathematically separating the time constant tau and the corrected resistance Rcorr:
Cskin (nF) = Tau (us) / Rcorr ()
OBS: The actual physical values ​​for the equivalent skin capacitance (Cskin) obtained using dry electrodes on the epidermis fall within the range of 0.2 nF – 5.0 nF (200 pF – 5000 pF),
depending on the hydration state, electrode surface area, and contact pressure.
Step 3: Normalization and Calculation of Hydration Index (0 - 100%)
The obtained value Cskin_nF is linearly scaled between the threshold for very dry skin (Cmin = 0.5 nF) and that for optimal hydration (Cmax = 3.0 nF):
Ih(%) = Clamp x [(Cskin - Cmin) / (Cmax - Cmin) X 100, 0, 100), 
where Clamp is a limitation fucntion used to mantined an interval between 0 and 100
Step 4: Safety Mask and Status Classification (status_code)
- Status 0 --> (Disconnected): used for GSR >= 9999 or Tau = 0; braceled/sensors are not in contact with skin;
- Status 1 --> (Dehydrated / Dried): Ih < 30%;
- Status 2 --> (Moderate hydratation): 30% <= Ih < 60%;
- Status 3 --> (Hydrated / Optimal): Ih >= 60%;
- Status 4 --> (Surface perspiration): Detected when Rcorr < 40 kΩ (presence of surface electrolytes, independent of the deep layer).
Status GSR value (Rskin) Skin capacity Cskin Fisiologin interpretation
Dehydrated / Dried  Big (> 200 kΩ) Low (<0.8 nF) Dry stratum corneum, low cellular volume.
Moderate hydratation  Medium (80 - 180 kΩ) Medium (1.0 - 2.2 nF) Optimal dermal/epidermal water balance.
Hydrated / optimal Normal-low (50 - 100kΩ) Big (2.2 - 3.5 nF) Well-hydrated interstitial tissue.
Surface perspiration  Very low (< 40 kΩ) Rapidly Changing Excess electrolytes on the surface (surface perspiration, not cellular hydration).

The function used in Labview for all above calculatiuon is this (in formula node):

// Intrari: gsr, tau, temp
// Iesiri: hydratation_index, c_skin_nF, status_code

if (gsr >= 9999.0 || tau == 0) {
    c_skin_nF = 0.0;
    hydratation_index = 0.0;
    status_code = 0; // Deconectat
} else {
    // 1. Compensare termica pentru GSR (Referinta: 33.0 °C, Coeficient: 2% per °C)
    float t_ref = 33.0;
    float alpha = 0.02;
    
    // Corectam GSR-ul daca temperatura este valida
    float gsr_corr = gsr;
    if (temp > 25.0 && temp < 42.0) {
        gsr_corr = gsr * (1.0 + alpha * (temp - t_ref));
    }

    // 2. Calcul capacitate dielectrici compensata
    c_skin_nF = tau / gsr_corr;
    // 3. Scalare Indice de Hidratare (0 - 100%)
    float c_min = 0.5; // nF
    float c_max = 3.0; // nF
    
    float raw_index = ((c_skin_nF - c_min) / (c_max - c_min)) * 100.0;
    
    if (raw_index < 0.0) raw_index = 0.0;
    if (raw_index > 100.0) raw_index = 100.0;
    
    hydratation_index = raw_index;

    // 4. Clasificare stare
    if (gsr_corr < 40.0) {
        status_code = 4; // Transpiratie / Hiperhidroza
    } else if (hydratation_index >= 60.0) {
        status_code = 3; // Hidratat / Optim
    } else if (hydratation_index >= 30.0) {
        status_code = 2; // Hidratare Moderata
    } else {
        status_code = 1; // Deshidratat / Uscat
    }
}
     image

Demo: 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

OBS: The EdgeCare system utilizes the parallel RC equivalent model for epidermal impedance described by Geddes & Baker (1989) and Martinsen & Grimnes (2011).

The determination of the dielectric capacitance (Cskin = Tau / R) and its scaling to derive the hydration index follow the dynamics of electrodermal activity (EDA) variation established by Boucsein (2012),

with a thermal correction using an alpha coefficient of 0.02°C applied in accordance with Wenig & Martinsen (2000).

Bibliography:

- Geddes, L. A., & Baker, L. E. (1989). Principles of Applied Biomedical Instrumentation (3rd ed.). John Wiley & Sons.

- Martinsen, O. G., & Grimnes, S. (2011). Bioimpedance and Bioelectricity Basics (3rd ed.). Academic Press.

- Wenig, P. B., & Martinsen, O. G. (2000). Thermal influence on skin bioimpedance measurements. Annals of Biomedical Engineering, 28(5), 582–588.

- Boucsein, W. (2012). Electrodermal Activity (2nd ed.). Springer Science & Business Media.

I will continue here with the implementations...

  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube