Skip to content

GUI Guide

ta1_k edited this page Aug 28, 2026 · 17 revisions

Control Tab

Device Manager

Control Tab

1. ESP Connection

  • Choose USB port dedicated for ESP32. Auto-detection will pick the most probable port.
  • If the port does not show up, look for the USB port by following multiple USB port guide
  • When the disconnection button is clicked, all channels will be set to IDLE mode before full disconnection.

Device Manager

After connecting, always reboot ESP32 to avoid initialization failure

Initialization failure occurs when USB is connected before 9V power adapter is plugged in

2. Steady Mode

  • Source steady biasing current at set voltage
  • $1 k \Omega$ and $100 k \Omega$ resistors are in series to supply current to the nano-wire with set DAC voltage
  • Current read-back on the GUI allows easy current measurement

Required User Inputs:

  1. Voltage in V
  2. (Optional) Timer (Time units: Min, Hour, Day, Month)

  • When the timer is set, the specified channel will supply the set voltage for the set duration

  • When electrometer is connected in calib tab and timer is set, comparison plot will be available as a clickable link under STOP button or as a txt file in output/ directory after timer is done
  • Electrometer comparison plot is useful for comparing calibrated current sensing on PCB to a commercial instruments for reliability of the PCB measurement

3. Sweep Mode

  • Hysteresis V-I sweep at set voltage range and voltage step size
  • Quicker sweep can be done by either changing to higher ODR, bigger step size, or smaller range
    • However, there is tradeoff between time and precision

Required User Inputs:

  1. Voltage Range (Default: $\pm 0.5V$, software cap at $\pm 1.5 V$)
  2. Step Size (Default: $10 m V$)

For v1.0 PCB
PCB Component Limit: Maximum sweep range is $\pm 1.5 V$

  • Op-amp's reference voltage is $\pm 2.5 V$
  • Maximum positive common mode input voltage that can maintain linearity is $V_{REF+} - 1.5 V = 1.0 V$

Reference voltage will be altered to $5.0V$ for v2.0 PCB

4. ADC ODR Setting

  • Sigma-Delta ADC over-samples and averages out samples to reduce noise
  • The lower the Sample per Second (SPS), the less the noise but at the cost of integration time
  • Default is set to 10 SPS, which is slightly faster than commercial electrometer's default NPLC settings, but with slightly less precision
  • User can change this ODR setting from the GUI from the options in the figure above

NOTE!

Device Manager

Channel ID

  • Channels on the GUI correspond to the PCB channels as in the above image

The more channel enabled (Not in OFF mode), the slower the measurement

Calibration Tab

Device Manager

Calibration Tab


1. Electrometer Connection

  • User can choose the number of electrometer up to 4 devices
  • Check the USB TMC connection for each device

2. Specifying Channels

  • Choose channel for steady current electrometer comparison

3. Setting Polling Rate

  • Sets the polling rate for each electrometer
  • The steady comparison data between PCB ADC and electrometer will be collected once every polling rate

4. Factory Calibration

  • Calibrates components that require manual electrometer measurement
  • The resistors and pins specified in the image below need to be calibrated with precision electrometer (e.g. DMM 6500 6.5 digit multimeter)
Required resistors and pin for calibration Probe DAC's V_REFIN pin (4th pin) for 2.5V
  1. Set electrometer NPLC to its maximum

  2. 4-wire Kelvin Measurement on $402 \Omega$ & $1 k \Omega$ resistors

  3. Measure 2.5V DAC reference voltage

  4. Input measured values on the GUI in Calib tab

  5. Apply values by clicking calibrate

  6. Repeat step 1 ~ 5 for the rest of the channels

Required User Inputs:
$R_{sense} = 1 k \Omega \pm 1%$, $R_{gain} = 402 \Omega \pm 1%$, $V_{REF_{DAC}} = 2.5 V \pm 0.5%$

  • If measured value is out of the tolerance, GUI will show an error. Measure again and ultimately swap the resistors

Non-Volatile Memory (NVM)

  • Data stored in NVM last across power cycle (e.g. reboot, power loss, reflashing firmware)
    --> Previous calibrated data can be loaded on every boot
  • Fresh firmware will have ideal resistor and reference voltage values, so calibration is not strictly necessary
  • However, it is strongly recommended to do 4-wire Kelvin measurement calibration on every channel for precise current sensing

5. Fetching Current Calibrated Values

  • Clicking fetch will fetch current calibrated values from the ESP32