device.base.inoprobebase module

class device.base.inoprobebase.ArduinoProbeBase(bus, start_msg='START', **kwargs)[source]

Bases: ArduinoBase

Arduino controller that handles sweeped measurments of probe I-V characteristic.

Communication:

  • serial interface to Arduino

DIR_SAVED_DATA = PosixPath('/home/runner/saved_data')
PROBE_SAMPLES = 300
SWEEP_CMD = 'a'
measure_sweep(device_client, frequency, amplitude)[source]

Execute a sweeped measurement of the I-V characteristic. Returns numpy array, shape (3, 300), columns [volts, amps, time].

Parameters:
  • frequency (float) – Approximate frequency of the waveform in kHz.

  • amplitude (float) – Approximate amplitude of wavefrom 10-100%.