BME4496 · Graduation Project of Efe ATEŞ 22290588; efeates3300@gmail.com

NFC Potentiostat

A Wireless Electrochemical Measurement Platform

NFC-Powered Battery-Free AI-Enhanced
References
or Scroll to explore
Sources

References

  1. H. S. Lee, R. K. Panesar, L. Gonzalez-Macia, G. Barandun, F. Güder, “NFC-enabled sensing platform for the onsite determination of asparagine in food,” Materials Today Bio, vol. 36, 2025. doi:10.1016/j.mtbio.2025.102675
  2. D. R. Gawade, “Development of a low-power, battery-less near field communication sensor transponder for wireless sensing applications,” MRes Thesis, University College Cork, 2022. CORA UCC Repository
  3. K. Krorakai, S. Klangphukhiew, S. Kulchat, R. Patramanon, “Smartphone-Based NFC Potentiostat for Wireless Electrochemical Sensing,” Applied Sciences, vol. 11, no. 1, 2021. SOAR Repository
  4. STMicroelectronics, “AN2866 – How to design a 13.56 MHz customized antenna for ST25 NFC / RFID tags,” Application Note. ST AN2866
  5. I. Sommerville, Software Engineering, 10th ed. Pearson, 2015.
  6. ISO/IEC 15693, “Identification cards – Contactless integrated circuit cards – Vicinity cards.” ISO 15693
  7. Google, Material UI 3 Material UI 3
Overview

About the Project

The NFC Potentiostat is a compact, wireless electrochemical measurement device designed for point-of-care diagnostics. Leveraging Near-Field Communication technology, it enables smartphone-powered cyclic voltammetry measurements without batteries or wired connections. The system integrates custom-designed hardware, a dedicated Android application, and an AI-powered analysis agent (Gemma) to deliver real-time electrochemical sensing capabilities.

TÜBİTAK TÜBİTAK 2209-B (2025) – Approved
Motivation

Problem & Solution

The Problem

Conventional potentiostat systems are bulky, expensive, and require wired connections and dedicated power sources. This limits their use in point-of-care diagnostics, field testing, and resource-limited settings where portable, low-cost electrochemical sensing is critically needed.

Our Solution

A fully wireless, battery-free potentiostat powered entirely via NFC energy harvesting from a smartphone. The system integrates a custom analog front-end, on-device AI for real-time analysis, and a companion Mobile app — enabling electrochemical measurements with nothing more than a phone tap.

Innovation & Value

First system to combine NFC energy harvesting, on-device AI inference (Gemma 3 1B), and voice-controlled electrochemistry in a single platform. Eliminates batteries, cables, and expensive lab equipment — reducing cost by over 90% compared to benchtop potentiostats while enabling truly portable biosensing.

Key Outputs

Custom 4-layer PCB with STM32U545 + ST25DV, 3D-printed enclosure with magnetic electrode holder, Mobile app (Sensitify Go NFC Edition) with real-time plotting, embedded firmware supporting 5 electroanalytical techniques, and on-device AI agent for automated data interpretation.

Architecture

System Overview

Smartphone Mobile App Gemma 3 1B AI Voice Control Real-time Plot NFC Reader 13.56 MHz ST25DV NFC Tag IC FTP Mailbox Energy Harvest V_EH out I²C STM32U545 Cortex-M33 12-bit DAC × 2 14-bit ADC 128× oversampling CMSIS-NN ~5 mW total DAC ADC Analog AFE AD8606 Op-Amp TIA (10kΩ, ±165µA) DG636 + MAX4634 Signal Mux TPS61094 Boost Electrodes WE / CE / RE 3-electrode cell NFC Energy Harvesting Power Path
Hardware

Technical Specifications

Microcontroller

STM32U545CE
ARM Cortex-M33, ultra-low-power, UFQFPN48 package. STOP2 deep sleep for NFC-powered operation.

NFC Interface

ST25DV
Dynamic NFC/RFID tag with 256-byte Fast Transfer Mailbox, energy harvesting output (V_EH), I²C interface.

ADC Resolution

14-bit
128× hardware oversampling. Effective resolution >16 bits with averaging. 5-cycle sampling time.

DAC Output

12-bit × 2
Dual channel: CH1 drives control amplifier potential, CH2 sets TIA virtual ground reference.

Analog Front-End

AD8606
Dual CMOS op-amp: control amplifier + transimpedance amplifier. 10kΩ TIA (±165µA range).

Power Budget

~5 mW
Entirely from NFC energy harvesting via TPS61094 boost converter. Zero batteries required.
Electrochemistry

Supported Techniques

CV

Cyclic Voltammetry

Sweeps potential linearly between two vertices while measuring current. The most versatile technique for studying redox reactions, electrode kinetics, and reaction mechanisms.

Parameters: E_start, E_high, E_low, scan rate (cV/s), cycles, quiet time
DPV

Differential Pulse Voltammetry

Applies a series of fixed-magnitude pulses superimposed on a linear potential ramp. Measures the difference between two currents sampled before and after each pulse, offering superior sensitivity over CV for trace analyte detection.

Parameters: E_start, E_end, pulse amplitude, pulse width, step potential
SWV

Square Wave Voltammetry

Combines a staircase potential with a symmetric square wave. Forward and reverse currents are sampled and differenced, eliminating capacitive background current and achieving the highest sensitivity among pulse techniques.

Parameters: E_start, E_end, amplitude, frequency, step potential
CA

Chronoamperometry

Steps the potential to a fixed value and records the resulting current vs. time. Ideal for studying diffusion-controlled processes, enzyme kinetics, and biosensor response curves following the Cottrell equation.

Parameters: E_step, duration, sample interval
Methodology

15 Work Areas · 4 Categories

Electronic Design

4 areas
  • Antenna design
  • NFC potentiostat circuit design
  • PCB soldering
  • Embedded code (ADC & DAC)

Mechanical Design

4 areas
  • CNC antenna fabrication
  • Design with Fusion360
  • 3D printing – first model
  • 3D printing – magnetic (5th attempt)

Software & AI

3 areas
  • Android app development
  • Gemma fine-tuning (AI agent)
  • Testing with the app

Testing & Validation

4 areas
  • Calibration
  • Experimental tests
  • Efficiency and cost analysis
  • Ferricyanide measurements
Communication

NFC Protocol · ST25DV Fast Transfer

Packet Format

Binary protocol over ST25DV 256-byte mailbox. CRC-8 integrity check on every packet.

[CMD: 1 byte] [PAYLOAD_LEN: 2 bytes LE] [PAYLOAD: 0–252 bytes] [CRC8: 1 byte]

Command IDs

  • 0x01 GET_STATUS — query device state
  • 0x02 PING — echo test
  • 0x14 RUN_CV — cyclic voltammetry
  • 0x1E RUN_DPV — differential pulse
  • 0x12 RUN_SWV — square wave
  • 0x28 RUN_CA — chronoamperometry
  • 0x3C RUN_LSV — linear sweep
  • 0x20 SET_GAIN — configure mux channel
  • 0x30 GET_RESULTS — chunked data read
  • 0xFF ABORT — stop experiment

Response Codes

  • 0x00 OK — success
  • 0x01 BUSY — experiment running
  • 0x02 ERROR — general failure
  • 0x03 BAD_CMD — unknown command
  • 0x04 BAD_PARAMS — invalid parameters
  • 0x05 BAD_CRC — checksum mismatch
  • 0x07 DATA_CHUNK — more data follows
  • 0x08 DATA_LAST — final chunk
  • 0x09 LOW_POWER — RF field weak
Software

Application · NFC Edition

Real-time Plotting

WebView-based interactive charts render voltammograms and amperograms in real time as data arrives from the NFC potentiostat. Supports multi-series overlay, zoom, pan, and color customization.

WebView + JavaScript Bridge

4 Experiment Modes

Dedicated fragments for Cyclic Voltammetry, Differential Pulse Voltammetry, Amperometry, and Potentiometry. Each mode has its own parameter configuration panel and visualization layout.

Fragment Architecture

Data Export

Save experiment data as CSV files for further analysis. Built-in file manager for organizing measurements. Export to spreadsheets with full metadata (timestamps, parameters, device info).

CSV & File Manager

NFC FTP Monitor

Live traffic inspector shows every mailbox read/write in real time. Debug NFC communication issues with full hex dump, auto-scrolling log, and pause/resume controls.

Protocol Debugger
Intelligence

On-Device AI · Gemma 3 1B

Voice-Controlled Lab

Hands-free operation with SpeechRecognizer enables voice commands for starting experiments, switching modes, and querying results — critical in lab environments where gloves or sample handling prevent touchscreen interaction. Text-to-Speech reads back results and AI interpretations aloud.

Multiplatform Access

With grace of kotlin multiplatform, this app runs on IOS too

On-Device Inference Privacy-First Offline Capable Voice Commands MediaPipe
Roadmap

Future Work

Cloud Integration

Optional cloud sync for multi-device result sharing, collaborative analysis, and remote monitoring of long-running experiments. Maintaining offline-first architecture.

Multiplexed Sensing

Expand to multi-analyte detection with electrode array support. Simultaneous measurement of multiple biomarkers from a single sample.

Fine-Tuned AI Models

Train domain-specific Gemma models on electrochemistry literature and lab data to improve peak detection accuracy, automatic technique selection, and anomaly identification.

Clinical Validation

Partner with clinical labs for real-world biosensor validation. Target applications: glucose monitoring, heavy metal detection in water, and point-of-care infectious disease testing.

System Design

UML Diagrams

State Machine Diagram

Idle Scanning Measuring Analysing Complete NFC tap connected data ready done reset

Activity Diagram – Measurement Workflow

Connect via NFC Configure parameters Run CV scan Process data Display results Repeat? [no] [yes]

Sequence Diagram – CV Measurement

User App NFC MCU Sensor start measurement connect establish link ACK CV parameters apply voltage read current measurement data display results
Validation

Calibration & Testing

10-run CV calibration graph

10-Run Repeatability Test

A 10 kΩ dummy resistor was used to validate potentiostat accuracy. Ten consecutive cyclic voltammetry scans (0 – 0.5 mV, 0.1 V/s) show consistent I–V linearity with minimal inter-run drift. The gradual upward shift across runs reflects expected thermal settling of the analog front-end during initial power-up from NFC energy harvesting.

10 kΩ Dummy Cell CV @ 0.1 V/s 98.5% Accuracy
Hardware

Design Evolution

Technologies

Tech Stack

C STM32 Java Kotlin Android JavaScript NFC MediaPipe Gemma KiCad Fusion 360 Git VS Code STM32CubeIDE 3D Printing