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
    Products
    • 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 1 - setup IDE, MCU and BLE
  • News
  • Projects
  • Forum
  • Details
  • Leaderboard
  • Files
  • Members
  • More
  • Cancel
  • New
Join Smart Home & Healthcare Challenge to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 18 subscribers
  • Views 127 views
  • Users 0 members are here
  • esp32
  • e14-smart home & healthcare
  • Platform IO
  • Xiao
Related

EdgeCare: phase 1 - setup IDE, MCU and BLE

mihaita802003
mihaita802003 4 days ago

My aplication for Smart Home & Healthcare Challenge is EdgeCare: a combination between a wearable device and professional software, where the primary goal is to create an system capable to map metabolic trends and autonimic system stress.

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

The Architecture:
The system consists of an ultra-low-power wearable bracelet powered by the Seeed Studio XIAO ESP32-C6, which acts as a high-density bio-datalogger. After an initial high-fidelity logging phase, the bracelet transmits the multi-sensor matrix via Bluetooth Low Energy (BLE) to a dedicated desktop gateway (a second ESP32). This gateway streams the data via high-speed Serial communication directly into a custom LabVIEW Front Panel. LabVIEW will handle the complex multi-channel visualization, digital signal filtering, and direct mathematical correlation against a medical-grade Dexcom One+ CGM ground truth.

Technical implementation plan is devided into several phases:

Phase 1:

001. Development Environment Setup & Hello World
- Installation and configuration of VS Code + PlatformIO extension.
- Environment setup for the ESP32-C6 chip's RISC-V compiler.
- Writing, compiling, and uploading a verification demo program (Blink Onboard LED + Serial Monitor output).

002. Wireless Infrastructure: BLE Server-Client Communication
- Creating a BLE 5.3 architecture between two Seeed Studio XIAO ESP32-C6 boards.
- Configuring the Wearable (BLE Server) with a custom Service, Characteristic, and push notification (notify()).
- Configuring the Gateway (BLE Client) for automatic scanning, connection, and packet reception.
- Resolving memory allocation and buffer termination (\0) issues for a clean data stream.

Phase 2:

003. Test Sensor Prototyping (Preliminary Prototype)
- I2C bus interfacing on the ESP32-C6.
- Connection and debugging of the MAX30100 ( used until MAXREFDES117 will arrive) the optical sensor module (resolving I2C logic level / 3.3V pull-up issues).
- Reading raw optical data and integrating it into the BLE data packet sent to the Gateway.

004. Data Packet Formatting & LabVIEW Interfacing
- Defining a standardized data structure (JSON or compact binary packet) for parameters (Temperature, PPG/BPM, Battery Status).
- Configuring the ESP32-C6 Gateway to forward data received via BLE to the USB-Serial port.
- Creating a Virtual Instrument (VI) in LabVIEW for serial data acquisition, string parsing, real-time graph display, and saving to CSV/TDMS files.

Phase 3:

005. Integration of Official Element14 Sensors (Hardware Kit)
- Interfacing the MAX30208 clinical temperature sensor via I2C (register configuration, conversion command).
- Interfacing the next-generation MAXREFDES117 (MAX30101) optical sensor (FIFO configuration, Red/IR/Green LEDs).
- Integration of the SHT40 environmental sensor (I2C) for ambient temperature and humidity.

006. Algorithms & Medical Signal Processing on ESP32-C6
- Implementation of an optical signal processing filter (digital filtering on the PPG signal).
- Extraction of clinical parameters: Heart Rate (BPM) and Oxygen Saturation (SpO2).
- Implementation of an anomaly/critical threshold detection algorithm (e.g., fever, tachycardia).

Phase 4:

007. Power Management & Data Robustness (Flash Storage)
- Implementation of a routine for temporary storage in non-volatile Flash memory (Preferences) to handle BLE disconnection states.
- Automatic data resynchronization algorithm for unsent data upon reconnection with the Gateway.
- Wearable power consumption optimization: Light Sleep / Deep Sleep modes between sensor readings.

008. Schematic & PCB Design (JLCPCB Strategy)
- Integrated electronic schematic design (ESP32-C6 + sensors + PMIC/LiPo battery management).
- PCB footprint design and routing, adhering to thermal guidelines for the SHT40 sensor (isolation slots, exposed GND pad/EP).
- Component selection for JLCPCB Economic Assembly (using DFN-4 / SHT40-N-NF components) and generation of Gerber, BOM, and CPL files.

Phase 5:

009. Enclosure Assembly, Integrated Testing & Calibration
- 3D wearable enclosure design / Ergonomics for body mounting.
- Final prototype assembly (PCB + Battery + Enclosure). Long-term testing (stress test) for BLE link stability, battery life, and data accuracy in LabVIEW.

010. Final Documentation & Element14 Challenge Publication
- Centralizing source code, PCB EDA projects, and LabVIEW VIs on GitHub.
- Creating a demonstration video of the EdgeCare system in operation.
- Writing the final presentation article for the Element14 community.

image XIAO ESP32C6 MCU used for this project

In this moment, the Phase 1 is finished: I have the VS Code + Platform IO set, I have two Xiao ESP32 working and I set the BLE connection between both ESP32s (one act as master (is connected to sensors) and other act as slave (will communicate with LabView)).

Obs: today, 14.09.2026, I received documents from Custom, for the KIT, so I will continue with Phase 2 using the hardware provided for this project.

See you in the next post.

  • Sign in to reply
  • Cancel
Parents
  • Qbit
    Qbit 2 days ago

    Solid implementation plan. Its smart to validate the ble pipeline with the MAX30100 while waiting on the MAXREFDES117 kit to clear customs. Looking forward to seeing the Labview in action.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Qbit
    Qbit 2 days ago

    Solid implementation plan. Its smart to validate the ble pipeline with the MAX30100 while waiting on the MAXREFDES117 kit to clear customs. Looking forward to seeing the Labview in action.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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