WheeStat User's Manual
What this page is about:
The WheeStat is a potentiostat, which is an instrument used to study electron transfer reactions between species in solution and electrodes. This instrument can be used to teach electrochemistry or to quantify the concentration of some analyte (such as a metal ion) in water. There is a PublicLab wiki page that discusses potentiostats here.
Links to Public Lab Research Notes that describe the WheeStat:
The history of the project was first described here. Discussions of how to build the WheeStat hardware are described here and here. While the former note discusses how to build your own pcb, the latter tells how to order the pcb from OSH Park. Some early discussion on the software and graphic user interface are here and here. A discussion of making low cost electrodes is here. Use of the WheeStat and low cost electrodes in monitoring airborne hydrogen sulfide is here.
To run the WheeStat, you need to install the appropriate drivers on your computer and have the application file for the GUI installed.
Drivers: The WheeStat is based on the Stellaris or Tiva microcontroller development board from Texas Instruments. The first thing you will need to do is download and install drivers from Texas Instruments. Drivers for the In-Circuit-Debug-Interface (ICDI) can be downloaded from this web page found here. At the same web page is a link to instructions for installing the drivers on windows machines. I recommend you print out the instructions and have them handy when installing the drivers. GUI Application Files You should be able to get this software from our GitHub page (here. You will need the application file (.exe) and the folders containing the source code, the libraries, and the data files. These will all need to be in one folder on your computer. Electrodes As stated above, we have a research note here describing how to make electrodes at low cost. The working electrode is where the reaction you are monitoring takes place. It attaches to the black wire lead. We commonly use 0.125 inch graphite rod insulated with brightly colored electrical tape. The purpose of the tapeis to prevent the electrode from shorting to another electrode in solution. between uses, it is a good practice to regenerate the surface of the electrode. We periodically by sand it with fine sandpaper and then polishing on a sheet of notebook paper. This is the first place to look when the performance of your system diminishes. If material builds up on the surface of your working electrode, you will get poor performance.
The counter electrode attaches to the red wire. The counter electrode can be another carbon electrode, or can be made of any chemically inert material. Do not try stainless steel. Despite the name, it will rust. Carbon has the benefit of producing a minimum of bubbles from reactions with water. Buildup of crud on your working electrode will lead to the counter electrode being driven to extreme voltages (up to 1.7 volts), and generation of hydrogen and / or oxygen on the counter electrode. If you see bubbles on your counter electrode, knock them off, then refresh the surface of your working electrode and try again. The reference electrode attaches to the green wire. We use a silver / silver chloride reference When not in use, store your reference electrode in a saturated solution of a chloride salt such as NaCl or KCl. Do not allow it to dry out. In order to function, there needs to be a conduction path leading from the silver wire, through the ceramic ball at the base, to the exterior solution. If the ceramic ball dries out, make sure that both the interior of the electrode and exterior of the ceramic ball are immersed in chloride solution. Then give it several days to equilibrate. Similarly, the electrode will not function if you get a bubble inside that separates the wire from the lower part of the electrode. Test Solutions: Electrochemistry requires some solution that exchanges electrons with the electrodes. Typically, this means metal ions in solution. A common ion used to characterize electrochemical apparatus is hexacyanoferrate (FeCN63-, note that their are six CN groups on the iron and the charge on the ion is 3-). Hexacyanoferrate can be reduced by one electron to give the 4- charged ion. Both ions are stable in aqueous solution and the reaction is reversible. While direct electrochemistry can be applied to solutions with analyte concentrations in the micromolar range, we typically work with are ~0.1 mM. It is usual practice to have a large excess of a non-reactive electrolyte like NaCl present in solution as well (100 mM is not uncommon). This electrolyte is added to minimize the effects of convection on the electrochemical response.
While the files described above can be used to run the WheeStat, some users may wish to change the functionality of the microcontroller or GUI. In addition, if you are building the potentiostat yourself, you will need to install firmware on your microcontroller board. Microcontroller Code: The firmware was written using the program Energia, which can be downloaded from www.energia.nu. You will need the most recent version of the WheeStat source code and the altSPI library. As of this writing, the most recent version is WheeStat5_4a. You should be able to get this software from our GitHub page (here Let me know if you have trouble with this. I am a little slow on updating software.). Once you download the program, you will need to have the altSPI library (altSPI.h and altSPI.cpp files) in a folder called "libraries" inside your sketchbook folder. GUI Code: The Graphic user interface (GUI) was written using a program called Processing that can be downloaded from processing.org. Source code for the GUI can be downloaded from the same GitHub page described above (here). As of this writing, the most current version was WheeStat5_4.
Graphic User Interface:
The following video shows the setup of the GUI and some of it's functionality. It shows the expected behavior of the instrument, tested using a resistor of known value. The demonstration shows that Ohm's Law can be used to predict the current / voltage behavior of the voltage ramp experiment.
The WheeStat is programmed to run a number of experiments that are useful for a number of tasks. These experiments are accessed by clicking on the "mode" button at the top of the GUI. Below is a quick discussion of what each does and what it is used for.
Instrument Testing and Calibration: The first experiment in the dropdown list is called "ramp". It is a quick experiment that used to test how well the instrument is functioning. To run the experiment, the black lead is attached to one side of a test resistor and the other two leads are attached to the other side, as shown in Figure 1, above. The voltage / time profile is shown in Figure 2, below and the experiment is demonstrated in the video demonstrating the GUI, above. The voltammagram shows the current as a function of applied voltage. If the experiment is working correctly, this should be a linear plot extending through the origin (0 current, 0 mV) with a slope equal to 1/R.
Experiments for Teaching Electrochemistry: 1. Chronoamperometry: In single step chronoamperometry, the potential of the working electrode is stepped from its initial value to a final value and the current is sampled as a function of time. Typically, the initial voltage is established where the compound in question is stable and no current passes. The voltage is then stepped to a potential where the compound will either accept or lose an electron to give a second compound. To illustrate, we consider electrochemical response of the hexacyanoferrate ion (FeCN63-). In this experiment, the initial voltage was set to +600 mV, where the iron(III) compound is stable. At time = 0, the voltage was stepped to +100 mV. At this voltage, the iron(II) form of the compound is the stable species and the following half reaction occurs at the working electrode:
FeCN63- + e- <==> FeCN64- (1) Data from such an experiment employing the iron(III) compound, FeCN63- is presented in Figure 3.
The electrical current passed to the electrode is presented in Figure 3 as a positive current that decays with time. To understand current response using other voltammetric techniques, it is necessary to understand the origin and nature of this decay. Just after the potential step, there is a great excess of the iron(III) compound close to the working electrode, giving rise to a large current. As time evolves, the amount of iron(III) available for reaction diminishes and subsequently, the electrical current decays. The current / time profile in chronoamperometry experiments is governed by the rates at which compounds reach the working electrode. In an unstirred electrolyte solution, the current is determined by the rate at which the compound diffuses. For a planar electrode under these conditions the current is described as a function of time by the Cottrell equation (since I cant figure out how to write equations in this format, click this link).: Note that all the terms in the Cottrell equation are constant with the exception of the current and the time. Thus, the current is expected to be proportional to one divided by the square root of time. Analysis of data (Presented in Figure 1) shows that this was the case.
Experiment 1B. Double step chronoamperometry. Figure 2A shows the time / voltage profile for a double potential step experiment. In this experiment, the voltage is stepped from the initial to the second
Experiments for Teaching Electrochemistry: 2. Normal pulse voltammetry: . A normal pulse voltammetry experiment consists of a series of voltage pulses with varying heights. For our discussion of chronoamperometry, we assumed that the iron(III) form of the compound was the only species stable at the initial voltage and the iron(II) form was the only one stable at the second voltage. At intermediate voltages, however, both oxidation states exist at equilibrium, with their ratio determined by the Nernst equation: E = E° + RT/nF ln([Fe3+]/[Fe2+]) (3) Where E is the applied voltage, E° is the standard reduction potential of the couple, R is the ideal gas constant, T is the absolute temperature, n is the number of moles of electrons transferred and F is the Faraday contant. Thus, Equation 3 tells us that the applied potential (E) and the standard reduction potential (E°) determine the position of the equilibrium mixture of oxidized and reduced species. The relationship that the Nernst equation predicts for a Fe3+ / Fe2+ couple with an Eo of +300 mV is presented in Figure 3 . In this figure, the red line represents the percentage of an Fe2+ ion and the blue line represents the percentage of Fe3+. Notice that at a potential of +150 mV, nearly all the compound exists as the reduced, Fe2+ state, at +300 mV (the Eo for the couple) the mixture contains 50% of each, and at +450 mV, nearly all is in the oxidized, Fe3+ state.
If we start a single step chronoamperometry experiment at a voltage where only the iron(III) form is stable and step to a voltage where both the forms coexist, we expect the shape of the current profile to be similar to that in the above case, but at a lower total current, as the electrical current only passes to achieve the equilibrium condition, and not to total reduction of reactant. The normal pulse experiment illustrates how the chosen step potential affects the current profile. In this experiment, a series of voltage steps are generated at incrementing potentials, as shown in Figure 2A. Unlike the case for chronoamperometry, however, the current in normal pulse voltammetry is only sampled once per step, at fixed time after the step is initiated. The current sample times are illustrated as the red circles in Figure 4A. Results of this experiment are plotted as the measured current versus the voltage at which the current was measured. Figure 4B shows a screen shot of normal pulse data obtained using the same solution as that from Figures 1 and 2. Figure 4C shows an analysis of the data from figure 4B. In this figure, original data are presented as open diamonds and the model is shown as a solid blue line. The data were treated by assuming (1) a linear baseline drift (caused by uncompensated solution resistance and double layer capacitance) and (2) that Nernstian conditions were established and maintained for the duration of the pulses. Comparing the predicted and observed results indicated a good fit of the data.
Experiments for quantifying redox active stuff: Differential Pulse Voltammetry (DPV): The problem with normal pulse voltammetry is that it is a very time consuming experiment if done right. This is because it is necessary to establish the initial solution conditions at the working electrode between each voltage step and also because non-Faradaic processes (double layer capacitance and solution resistance) are significant contributors to currents for these large steps. Differential Pulse Voltammetry does not suffer from these problems.
A variation on the differential pulse theme: Stripping voltammetry Anodic stripping voltammetry (ASV) is a technique that can be used at very low concentrations if the product of reduction is not soluble. For example, if you reduce Cu2+ ions to Cu metal, the metal that is deposited on the electrode stays on the electrode. When this is the case, the analyte can be "pre-concentrated" on the electrode, making it easier to detect during a subsequent analysis step. The WheeStat is set up to do ASV using differential pulse voltammetry during this analysis. The difference between the ASV experiment and the DPV experiment
Experiments for characterizing redox active stuff: Cyclic voltammetry
The following video demonstrates some of the experiments that the WheeStat is programmed to do: