Related Experiment Video
Updated: Aug 7, 2025

A Computer-assisted Multi-electrode Patch-clamp System
Published on: October 18, 2013
Hard Potato: A Python Library to Control Commercial Potentiostats and to Automate Electrochemical Experiments
Oliver Rodríguez1,2,3, Michael A Pence1,2,3, Joaquín Rodríguez-López1,2,3
1Department of Chemistry, University of Illinois at Urbana-Champaign, 600 S. Mathews Avenue, Urbana, Illinois 61801, United States.
Abstract:
Here, we develop and show the use of an open-source Python library to control commercial potentiostats. It standardizes the commands for different potentiostat models, opening the possibility to perform automated experiments independently of the instrument used. At the time of this writing, we have included potentiostats from CH Instruments (models 1205B, 1242B, 601E, and 760E) and PalmSens (model Emstat Pico), although the open-source nature of the library allows for more to be included in the future. To showcase the general workflow and implementation of a real experiment, we have automated the Randles-Ševčı́k methodology to determine the diffusion coefficient of a redox-active species in solution using cyclic voltammetry. This was accomplished by writing a Python script that includes data acquisition, data analysis, and simulation. The total run time was 1 min and 40 s, well below the time it would take even an experienced electrochemist to apply the methodology in a traditional manner. Our library has potential applications that expand beyond the automation of simple repetitive tasks; for example, it can interface with peripheral hardware and well-established third-party Python libraries as part of a more complex and intelligent setup that relies on laboratory automation, advanced optimization, and machine learning.
Related Concept Videos
Controlled-Potential Coulometry: Electrolytic Methods
The chosen potential...
Potentiometry: Membrane Electrodes
Potentiometry: Overview
Potentiometry: Types of Electrodes
The Standard Hydrogen Electrode (SHE) is a widely used reference electrode that maintains zero potential across all temperatures. However, its need for a continuous hydrogen gas supply renders it impractical for everyday use.
An alternative to SHE is the Saturated Calomel Electrode (SCE). This electrode features an...
Standard Electrode Potentials

