Repository navigation
GUI Guide
Control Tab
- 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
IDLEmode before full disconnection.
After connecting, always reboot ESP32 to avoid initialization failure
Initialization failure occurs when USB is connected before 9V power adapter is plugged in
- 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:
- Voltage in V
- (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 taband timer is set, comparison plot will be available as a clickable link under STOP button or as a txt file inoutput/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
- 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:
- Voltage Range (Default:
$\pm 0.5V$ , software cap at$\pm 1.5 V$ )- 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
- 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
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
- User can choose the number of electrometer up to 4 devices
- Check the USB TMC connection for each device
- Choose channel for steady current electrometer comparison
- Sets the polling rate for each electrometer
- The steady comparison data between PCB ADC and electrometer will be collected once every polling rate
- 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 |
-
Set electrometer NPLC to its maximum
-
4-wire Kelvin Measurement on
$402 \Omega$ &$1 k \Omega$ resistors -
Measure 2.5V DAC reference voltage
-
Input measured values on the GUI in
Calib tab -
Apply values by clicking
calibrate -
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
- Clicking
fetchwill fetch current calibrated values from the ESP32

