원시데이터 수집 시스템
선정목록으로

PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)

기본 정보

저자
  1. Prattana Lopin — Department of Biology, Faculty of Science, Naresuan University, Phitsanulok, Thailand
  2. Kyle Vitautas Lopin — Department of Physics, Faculty of Science, Naresuan University, Phitsanulok, Thailand
DOI
10.1371/journal.pone.0201353
저널
PLoS ONE
발행년도
2018
발행기관
Public Library of Science
피인용수
72
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1371/journal.pone.0201353
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W2883994680

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
potentiostat, electrochemical experiments, cyclic voltammetry, amperometry, stripping voltammetry
판단 근거
이 논문은 저가형 오픈소스 전위계(potentiostat) 장치를 설계하고 구현하는 연구로, 직접적인 소재 연구는 아니나 전기화학적 분석 기법을 다룹니다.
R&D 활용 포인트
수소연료전지(PEMFC)의 MEA 성능 평가나 전극 촉매의 전기화학적 특성 분석(CV, Amperometry 등)을 위한 분석 장비 및 측정 프로토콜 연구에 응용 가능합니다.
평가 입력
본문 74,014자 중 30,032자 발췌

초록

In this paper we demonstrate a potentiostat built with a single commercially available integrated circuit (IC) that does not require any external electronic components to perform electrochemical experiments. This is done using the capabilities of the Programmable System on a Chip (PSoC®) by Cypress Semiconductor, which integrates all of the necessary electrical components. This is in contrast to other recent papers that have developed potentiostats but require technical skills or specialized equipment to produce. This eliminates the process of having to make a printed circuit board and soldering on electronic components. To control the device, a graphical user interface (GUI) was developed in the python programming language. Python is open source, with a style that makes it easy to read and write programs, making it an ideal choice for open source projects. As the developed device is open source and based on a PSoC, modification to implement other electrochemical techniques is straightforward and only requires modest programming skills, but no expensive equipment or difficult techniques. The potentiostat developed here adds to the growing amount of open source laboratory equipment. To demonstrate the PSoC potentiostat in a wide range of applications, we performed cyclic voltammetry (to measure vitamin C concentration in orange juice), amperometry (to measure glucose with a glucose strip), and stripping voltammetry experiments (to measure lead in water). The device was able to perform all experiments and could accurately measure Vitamin C, glucose, and lead.

본문 74,014자

본문 펼치기
~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0201353&domain=pdf&date_stamp=2018-07-25)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0201353&domain=pdf&date_stamp=2018-07-25)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0201353&domain=pdf&date_stamp=2018-07-25)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0201353&domain=pdf&date_stamp=2018-07-25)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0201353&domain=pdf&date_stamp=2018-07-25)</u>~~ OPEN ACCESS Citation: Lopin P, Lopin KV (2018) PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip. PLoS ONE [13(7): e0201353. https://doi.org/10.1371/journal.](https://doi.org/10.1371/journal.pone.0201353) [pone.0201353](https://doi.org/10.1371/journal.pone.0201353) Editor: Marco Rolandi, University of California Santa Cruz, UNITED STATES Received: November 27, 2017 Accepted: July 13, 2018 Published: July 25, 2018 Copyright: © 2018 Lopin, Lopin. This is an open access article distributed under the terms of the [Creative Commons Attribution License, which](http://creativecommons.org/licenses/by/4.0/) permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data Availability Statement: All relevant data are within the paper and its Supporting Information files. S1 DataSet contains all the raw data. S3 File contains all the python scripts used to analyze and plot the data. Funding: KVL and PL recieved funding from the Higher Education Research Promotion under the Office of the Higher Education Commission, Ministry of Education, Thailand, grant number: R2559A014. The funder had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. RESEARCH ARTICLE # PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip Prattana Lopin <sup>1</sup> , Kyle V. Lopin <sup>2</sup> * 1 Department of Biology, Faculty of Science, Naresuan University, Phitsanulok, Thailand, 2 Department of Physics, Faculty of Science, Naresuan University, Phitsanulok, Thailand - KyleL@nu.ac.th ## Abstract In this paper we demonstrate a potentiostat built with a single commercially available inte grated circuit (IC) that does not require any external electronic components to perform elec trochemical experiments. This is done using the capabilities of the Programmable System on a Chip (PSoC <sup>®</sup> ) by Cypress Semiconductor, which integrates all of the necessary electri cal components. This is in contrast to other recent papers that have developed potentiostats but require technical skills or specialized equipment to produce. This eliminates the process of having to make a printed circuit board and soldering on electronic components. To control the device, a graphical user interface (GUI) was developed in the python programming lan guage. Python is open source, with a style that makes it easy to read and write programs, making it an ideal choice for open source projects. As the developed device is open source and based on a PSoC, modification to implement other electrochemical techniques is straightforward and only requires modest programming skills, but no expensive equipment or difficult techniques. The potentiostat developed here adds to the growing amount of open source laboratory equipment. To demonstrate the PSoC potentiostat in a wide range of applications, we performed cyclic voltammetry (to measure vitamin C concentration in orange juice), amperometry (to measure glucose with a glucose strip), and stripping voltam metry experiments (to measure lead in water). The device was able to perform all experi ments and could accurately measure Vitamin C, glucose, and lead. Introduction Electrochemistry studies the movement of electrons during chemical reactions and is important for numerous fields including for chemistry (analytical chemistry) [1], biology (neurotransmitter release) [2], material science (electrodeposition, anodization) [3], energy storage (batteries) [4], medicine (glucose sensors) [5], and environmental sensing (heavy metal detection) [6]. A chemical reaction with a transfer of charge between molecules is called an oxidation-reduction reaction. An electrochemical reaction occurs when there is a chemical reaction and a transfer of charge to an external source [7]. By measuring the amount of charge moving [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 1 / 21 Competing interests: The authors have declared that no competing interests exist. PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip through the external source, the chemical reaction rate can be determined. This allows for the monitoring of chemical concentrations and reactions by external electronics [8]. The most common electrochemical device used is the battery, where internal movement of ions between electrodes, releases electrons that can be used to do electrical work. Electrochemistry is also widely used in analytical chemistry to measure concentrations and reaction rates. The glucose meter found in most drug stores uses electrochemistry to measure blood glucose levels. As glucose is not directly electrochemically active, an enzyme is used to catalyze the oxidation of glucose. First generation glucose biosensors use glucose oxidase (GOx) to oxidize glucose to gluconic acid and hydrogen peroxide [9]. The produced hydrogen peroxide can then be electrochemically detected, but this requires a high electrical potential to achieve good selectivity [10]. To overcome this, second generation glucose sensors use electron acceptors, such as ferrocene, to mediate the oxidation of glucose and transfer electrons to a working electrode [11]. As hydrogen peroxide is no longer the detection molecule, glucose-1-dehydrogenase (GDH) can be used as the glucose oxidizing enzyme. Third generation glucose sensors use direct electron transfer between the oxidizing enzyme, such as GDH-PQQ (pyrrolo quinolone quinone), and the electrode using electron conductive hydrogels [5]. To calculate the concentration of glucose most commercially available devices use amperometry, where the current is measured at the working electrode while the electrode is held at a constant voltage [12]. After an initial period, the current measured is proportional to the rate of glucose oxidation, which is diffusion limited. As Fick’s first law states, the diffusion rate is proportional to the concentration of glucose, making the current proportional to the glucose concentration [13]. The main type of device used to perform electrochemistry is a potentiostat [14]. The basic requirement of a potentiostat is to control the voltage between two electrodes while measuring the current passing between them, this is a 2-electrode configuration for a potentiostat. To make accurate measurements, the electrodes have to pass a current while maintaining a standard / reference voltage between them. Because a current passing through an electrode causes a voltage change that interferes with keeping the voltage between the electrodes constant, a third electrode is often used for a 3-electrode configuration. In the 3-electrode configuration, the chemical reactions occur on the working electrode surface while the reference electrode provides a stable reference potential, and not should not pass current, and a counter (or sometimes called the auxiliary) electrode provides enough current to the solution to keep the potential between the reference and working electrode at the desired voltage [15]. As the three electrodes have different roles, different materials can be used for each electrode in the 3-electrode configuration. The working electrode is selected based on the chemical reaction to be studies [16]. The counter electrode is selected to have a large conductivity to supply current and to be stable and not degrade or oxidize during the experiment, while still passing current [17]. For this reason, noble metals are often used, with platinum being especially prominent. As the reference electrode needs to provide a reference voltage, it needs to have a well-known electrode potential, i.e. a known electrical potential between the electrode material and the electrolytes in solution. Common reference electrodes include the saturated calomel electrode and silver / silver-chloride which are stable and have well characterized electrode potentials. There have been many potentiostat designs reported recently with many designed with discrete integrated circuits (ICs) that are connected with a printed circuit board (PCB) [18–20]. Many of these designs have shown very good performance [21], small size [22–24] and low cost [25–27]. Most open source potentiostats cover the voltage ranges of ± 1.5 V, and voltages in excess of this results in electrolysis of water, making larger voltages less useful in aqueous solutions. And most of the potentiostats are limited to around 0.1–0.2 mA of current as they [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 2 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip Table 1. Comparison of different potentiostats. <u>Potentiostat</u> <u>Voltage range</u> <u>Current range (mA)</u> <u>Noise</u> <u>ADC resolution</u> <u>Cost</u> <u>Max sampling rate (kHz)</u> <u>DAC resolution (mV)</u> <u>PSoC-Stat</u> <u>± 2 V</u> <u>0.1</u> <sup>a</sup> <u>26–2.5 nA</u> <sup>b</sup> <u>12-bits</u> <sup>c</sup> <u>$10</u> <u>50</u> <u>1</u> <u>uMed</u> <u>± 2 V</u> <u>0.156</u> <u>5–0.5 nA</u> <sup>d</sup> <u>16-bits</u> <u>~$25</u> <sup>e</sup> <u>0.8</u> <u>0.05</u> <u>DStat</u> <u>± 1.5 V</u> <u>10</u> <u>10 nA—0.2 pA</u> <sup>f</sup> <u>24-bits</u> <u>~$120</u> <u>30</u> <u>0.046</u> <u>CheapStat</u> <u>± 0.99 V</u> <u>0.05</u> <u>not listed</u> <u>12-bits</u> <u>$80-$135</u> <sup>g</sup> <u>2</u> <u>1</u> a This range can be extended using an external resistor, a 10 mA range is possible with a 100 Ohm resistor between P[0][4] and P[0][7] b Noise is dependent on the current range used and is explored in S5 Supporting Information c ADC can be configured to have a higher resolution if desired d Paper lists a circuit resolution of 5 nA and that they average 10 measurements to get a 0.5 nA noise limit e Paper lists parts as costing $25 if parts for 1000 units are ordered, but cost does not count assembly f Noise is dependent on current range used g The paper states $80 to build from parts, a single assembled unit can be purchased for $135 from iorodeo.com [https://doi.org/10.1371/journal.pone.0201353.t001](https://doi.org/10.1371/journal.pone.0201353.t001) have mostly been designed for analytical chemistry purposes, though the DStat does have the capability to measure up to 10 mA of current, see Table 1 for a comparison of previous works [21]. Almost all implement the most common electrochemical techniques of cyclic voltammetry, amperometry, and potentiometry, while the DStat, uMed and UWED also implement square-wave voltammetry and differential pulse voltammetry [19,21,28]. The uMed and UWED are also notable for their incorporation of a wireless interface into their open source design making them a good fit for remote healthcare applications. However previously reported potentiostats require the user to manufacture a PCB and to solder the electronic components onto the board. As these potentiostats are designed with small, surface mounted ICs, they require more skilled technicians and sophisticated tools to solder together, as compared to through-hole connections. This creates impediments to chemists and other scientists who want to use a potentiostat. There are also many reports of single chip potentiostats manufactured with complementary metal-oxide-semiconductor (CMOS) and related technologies [29–31]. These require even more specialized skills and equipment than the PCB / IC based potentiostats. This paper describes a potentiostat that can be made with commercially available parts without making a PCB or any soldering. To do this we use a Programmable System on a Chip (PSoC), a single IC microcontroller that includes with the CPU core, an array of other digital and analog electronic components. The parts needed are 1.) PSoC 5LP board (such as a CY8CKIT-059, CY8CKIT-050, or FreeSoC2; these are PCBs made with a PSoC 5LP attached that are made available to develop applications on, i.e. development boards), 2.) computer, and 3.) some electrical connectors. To attach the electrical connectors to the board, a conductive glue can be used, or they can be soldered on; which should be easy for most as the pins are through-hole and are easier to attach than surface mounted electrical components. There are some tradeoffs for the convenience of using a single chip potentiostat such as, the Opamps cannot be selected to optimize noise or the offset voltage. For example the Opamps pf f i f f i f f used in the DStat were selected for this criteria and have a noise of 6 _:_ 5 _nV=_ _Hz_ and an offset f f f pf f i f f i f f _Hz_ pf f i f f i f f _Hz_ f f f used in the DStat were selected for this criteria and have a noise of 6 _:_ 5 _nV=_ _Hz_ and an offset pf f i f f i f f of _<_ 0.2 mV, in comparison the Opamps of the PSoC 5LP have a noise of 45 _nV=_ _Hz_ and an offset of up to 12 mV (for the reference and working electrodes combined). Also the inputs of the PSoC 5LP are programmable general purpose input-output pins which cause them have a [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 3 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip leakage current of up to 2 nA while the DStat Opamps, with their dedicated inputs designed for low currents, only have an input bias current of 200 fA. The ability to develop a potentiostat on a single chip is due to the power of the PSoC by Cypress Semiconductor, San Jose, California, which incorporates a microcontroller together with programmable analog components such as operational amplifiers (Opamps), comparators and transimpedance amplifiers. Together with the free Integrated Development Environment (IDE) PSoC Creator™, Cypress Semiconductor, San Jose, California, researchers with limited resources can now develop scientific and biomedical equipment quickly and with fewer components than was possible before. This can aid the growing movement towards developing open source equipment [32,33]. Just as 3D printers allows others to share the equipment they develop on the internet where others can download the designs and print them on their own 3D printer; the PSoC allows electronic designs, with both microcontroller and circuit elements, to be shared over the internet where others can use them by programming them into a PSoC device [34]. This paper shows how to produce a potentiostat using a single PSoC 5LP. To demonstrate our device, a low cost (~$10) CY8CKIT-059 was used, which can be ordered from any electronics distributor. In order to access the device, we showed that it could quantify the amount of vitamin C in orange juice, measure glucose levels with a glucose strip, and detect and quantify the amount of lead in water. Material and methods Design The potentiostat was designed with PSoC Creator 4.1, Cypress Semiconductor, San Jose, California, a free IDE for programming PSoCs. The device used a PSoC 5LP (part number CY8CKIT-059, purchased from Mouser Electronics), which has integrated analog components into a single chip with an ARM Cortex-M3 CPU. Voltage control circuit To control the voltage between the electrodes we use the circuit shown in Fig 1. The device can use an 8-bit voltage digital to analog converter (VDAC) or a 12-bit Dithering VDAC (DVDAC). The DVDAC is comprised of an 8-bit VDAC where the voltage of the DAC is quickly switched between 2 values. This makes the output the weighted average of the values written, which can be used to increase the resolution of the DAC. This switching causes noise on the output of the DVDAC so that a small capacitor (100 nF) has to be placed on its output to smooth out the voltage. Depending if the user has installed the external capacitor or not, they can choose what DAC to use to drive the common electrode by using an analog multiplexer (AMux) to select the DAC. The user interface asks the user if the DVDAC capacitor was installed and programs the device accordingly. The user’s choice is then saved in the electrically erasable programmable read-only memory (EEPROM). An operational amplifier (Opamp) is used to buffer the voltage and to provide feedback from the reference electrode [35,36]. The build in Opamp has a bandwidth of 3 MHz [37]. The device can be operated in the standard 3 electrode mode or in a 2 electrode mode by setting the appropriate channel on the electrode AMux, which can be done through the user interface. This circuit will pass current through the common electrode pin until the voltage on the reference electrode pin is the same voltage as the DAC. The DAC’s voltage is set by the firmware depending on the electrochemical parameters inputted into the device. [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 4 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip Fig 1. Circuit to control the reference and counter electrodes. One of two DACs can be used to control the voltage, based on if the external capacitor is installed. An Opamp buffers the DAC voltage and an analog multiplexer is used to select if 2 or 3 electrode <u>experiments should be performed.</u> [https://doi.org/10.1371/journal.pone.0201353.g001](https://doi.org/10.1371/journal.pone.0201353.g001) Current measuring circuit To measure the current, we use a current to voltage converting circuit, a transimpedance amplifier (TIA). The analog voltage from the TIA is then converted to a digital signal using an analog to digital convert (ADC). Fig 2 shows the circuit used to set the working electrode voltage and to measure the current passing between the common and working electrodes. To allow the device to work from a single power supply while still performing electrochemical experiments at negative potentials, a virtual ground is used. An 8-bit VDAC is used to make a virtual ground at 2.048 V so that the DAC driving the common electrode can make a -2.0 to +2.0 Volts difference between the common and working electrodes, which is a wider range than is needed for most electrochemical experiments. The current that passes through the working electrode is fed into a TIA, with a -3 db cutoff frequency of 567 kHz [38]. As the input impedance of the Opamp is high, the current goes through the resistor of the TIA. This causes a voltage that is the product of the current and the resistance according to Ohm’s law (V = I <sup>�</sup> R). This voltage is then measured by a delta sigma ADC. The ADC is in differential mode, where the voltage is calculated from the difference of the TIA output voltage and the virtual ground voltage. The ADC values are then sent to a computer where they are used to calculate the current that was passed between the counter and working electrodes. The TIA of the PSoC has a variable impedance that can be controlled by the firmware. The impedance can be one of 8 levels between 20 kilohms and 1 megaohm. To do this the TIA uses switch capacitors and because of how the switch capacitors are manufactured, there can be a [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 5 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip Fig 2. Current measuring circuit. A transimpedance amplifier (TIA) and a DAC are used to set the voltage and measure the current passing through the working electrode. The TIA output voltage is passed into a delta sigma ADC, which converts the analog signal into a digital signal. A current DAC is used to calibrate the TIA / ADC signal chain. If an increase in the maximum current is needed, pins are made available that <u>external resistors can be connected to.</u> [https://doi.org/10.1371/journal.pone.0201353.g002](https://doi.org/10.1371/journal.pone.0201353.g002) large variability in the actual impedance of the TIA (the datasheet says between -25 to +35% of the indicated value). To correct for this the current measuring circuit has a self-calibrating routine. An 8-bit current DAC (IDAC) is used to passed 5 different current levels into the TIA / ADC circuit. The resulting ADC values are then used to calibrate the TIA / ADC signal chain by using a linear interpretation of the calibration data to create the ADC counts to voltage conversion factor and to adjust any voltage offsets. To control when the calibration current or the working electrode current is passed into the TIA component an AMux is used. As the smallest impedance of the TIA is 20 kilohms, the device is limited to 100 μA of current. To give the user the option of increasing the current range, 2 analog pins (P[0][7] and P[0][4]) are made available that the user can place a resistor between with an AMux used to select when the external resistor should be used. S1 Supporting Information contains the analog circuit diagram drawn with an external schematic program using more conventional symbols and the different analog multiplexer connection options shown as typical switches for an additional reference guide to the analog circuitry. Peripherals Fig 3 shows the other peripherals used by the device. To control the timing of when the DAC voltage should be changed and the ADC values measured, a pulse width modulator (PWM) is [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 6 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip Fig 3. Peripheral components. To set the timing of when to change the DAC controlling the electrode voltage and when to measure the current, a PWM is used to trigger a set of interrupt service routines (isr). Communication to and from the device is done through a USB <u>component, and an EEPROM is used to save what DAC the user wants to use.</u> [https://doi.org/10.1371/journal.pone.0201353.g003](https://doi.org/10.1371/journal.pone.0201353.g003) used to trigger interrupt service routines (isr). The period and counter values of the PWM are controllable by the user to set different sampling rates. An EEPROM is used to save what DAC the user wants to use. To allow the user to configure the device properly and to export the data from the device to a computer, a Full Speed USB component is used. The USB uses 2 endpoints, an interrupt OUT endpoint that polls the computer ever 10 ms that the user can use to send instructions to the device and a bulk IN that polls the computer every 1 ms that sends the data to the computer to display to the user. Firmware development The firmware for the device is located at github.com/KyleLopin/PSoC-Potentiostat. The firmware was developed in PSoC Creator 4.1 developed by Cypress Semiconductor. Figs 1–3 are all made in the TopDesign window of PSoC Creator, which will configure the analog portion of the PSoC 5LP chip. Graphical user interface A screen shot of the graphical user interface (GUI) is shown in Fig 4. The GUI is written in the [python software language, version 2.7. The source code can be found at https://github.com/](https://github.com/KyleLopin/Potentiostat_GUI) [KyleLopin/Potentiostat_GUI and a copy of the source code has been compiled into an execut-](https://github.com/KyleLopin/Potentiostat_GUI) [able and can be found at https://github.com/KyleLopin/Potentiostat_GUI/releases.](https://github.com/KyleLopin/Potentiostat_GUI/releases) The user can select different electrochemical techniques by selecting the appropriate notebook. The data is displayed using the matplotlib library. USB communication is done using pyUSB and the libusb-win32 libraries. All libraries and the USB backends have been compiled into the single executable file. How to create the device The following steps allow anyone to create the device shown in this paper. All components used for the experiments in this paper are shown in Fig 5A, and a completed device is shown in Fig 5B and 5C. Fig 5D shows a close up of the CY8CKIT-059 with the pins labeled. A video [of how to create this device is available at https://youtu.be/OCPO-TYS1mw.](https://youtu.be/OCPO-TYS1mw) [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 7 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip Fig 4. Screenshot of GUI to control the potentiostat. Different electrochemical techniques use different tabs in the main GUI. Important information for each experiment type is displayed to the user and a pop-up interface allows the <u>user to change each parameter. The voltage source and electrode configuration settings are displayed to the user.</u> [https://doi.org/10.1371/journal.pone.0201353.g004](https://doi.org/10.1371/journal.pone.0201353.g004) 1. Obtain a CY8CKIT-059 and plug the USB programmer end (the male end) into a computer. Note: The board has exposed electrical components, so an insulating enclosure for the board is beneficial. 2. Download the free program PSoC Programmer from Cypress Semiconductor found at [http://www.cypress.com/products/psoc-programming-solutions](http://www.cypress.com/products/psoc-programming-solutions) 3. [Load the Potentiostat.hex file located at https://github.com/KyleLopin/PSoC-Potentiostat,](https://github.com/KyleLopin/PSoC-Potentiostat) or S1 File, into PSoC Programmer. 4. Attach wires to pins 0.0 (working electrode), 3.4 (reference electrode), and 3.6 (counter electrode) using either conductive glue, solder or alligator clips. 5. Use a USB cable to connect to the female end of the CY8CKIT-059. 6. [Download the free program Zadig, at http://zadig.akeo.ie/, to install the windows UBS](http://zadig.akeo.ie/) drivers. 7. Select “List all devices” from the options menu in Zadig, select the “Naresuan Potentiostat” device, select the libusb-win32 driver and click on the Install Driver button. 8. [Download and run the executable file NU.Potentiostat.exe at https://github.com/](https://github.com/KyleLopin/Potentiostat_GUI/releases) [KyleLopin/Potentiostat_GUI/releases, or unzip it from S2 File.](https://github.com/KyleLopin/Potentiostat_GUI/releases) 9. Optional: A small capacitor (100 nF) can be connected between pins 3.1 and ground on the board so that the more accurate dither VDAC can be used. Experimental setup Ferricyanide experiment. To compare the performance of our device to a commercial potentiostat, we performed cyclic voltammetry on 5 mM Potassium ferricyanide (K3[Fe (CN)6]) (Lab Scan, Gliwice, Poland) in 1 M KCl (Sigma Aldrich) with our PSoC-Stat and an EmStat3 potentiostat (PalmSens BV, Utrecht Netherlands). We used a conventional threeelectrode electrochemical cell with 3 standard electrodes. We used a glassy carbon electrode [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 8 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip Fig 5. Potentiostat parts and completed device. A) Photo of all the components needed to develop a single chip potentiostat and perform the experiments in this paper. _From the top_ : EZ-Hook electrical connectors used to connect the device to glucose strips; CY8CKIT-059 that has the PSoC 5LP that contains all the electrical components needed for a potentiostat; headers that can be connected to the board, with either solder or conductive glue (Conductive glue is not as strong over time but requires less equipment and skill to use); The DVDAC capacitor is optional but will increase the resolution of the potentiostat; 3 alligator clips with female jumper cables ends to attach electrodes to the device; a pencil lead electrode attached to a jumper wire with electrical glue. B) Photo of the assembled device with a case. C) Device assembled in its case. D) Close up of the CY8CKIT-059 with <u>labels for where the electrodes, capacitor and USB connections should be attached.</u> [https://doi.org/10.1371/journal.pone.0201353.g005](https://doi.org/10.1371/journal.pone.0201353.g005) [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 9 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip (BASi <sup>1</sup>, Indiana, USA) for the working electrode, a platinum electrode (Nilaco, Tokyo, Japan) for the counter electrode, and a standard Ag/AgCl electrode (BASi <sup>1</sup>, Indiana, USA) was used as the reference electrode. The experiments were run from 1000 mV to -400 mV with a scan rate of 10 mV/s. Ascorbate determination in orange juice. To determine the amount of ascorbate (Vitamin C) in orange juice, we used the technique of standard additions. We used a graphite electrode, a 20 mm thick 2B pencil ‘lead’ (brand Rotring, purchased from a local book store with coordinates: 16˚44’43”N 100˚11’36.2”E), for the working electrode and 99.9% pure Ag wire (purchased from a local jewelry store with coordinates: 16˚48’45.8”N 100˚15’43.6”E) for the counter and reference electrodes. The Ag wires were put in a container with bleach for 5–15 minutes, until they were observed to turn from silver to black, to coat the outside of the wire with a Ag/AgCl layer. The wire was then rinsed with deionize water to remove any bleach residue before use. The counter and reference electrodes were connected using alligator clips. Conductive glue was used to connect a wire to the working electrode. A picture of the electrode attachments is shown in S2 Supporting Information and the STL file to 3D print the electrode holder is in S4 File. We tested platinum and gold wires for the counter electrode and got similar results, but we chose to show the results from the cheapest set of electrodes we tested. To limit the current and to keep the surface area of the working electrode constant between experiments, even if the fluid level was slightly different, we coated the working electrode with dental wax and used a flame to expose just the tip of the electrode. 0.5 mm pencil ‘lead’ was also tested but was found to be difficult to use because they would often break between experiments. Type 2H pencil ‘lead’ was also used but had very poor results with much smaller currents than 2B. We mixed 1 part orange juice, 1 part 3 M KCl (to increase the conductance) and 1 part of added ascorbate to make our standard addition solutions. The orange juice was purchased from a local grocery store (coordinates: 16˚48’45.8”N 100˚15’43.6”E) and was made of Si Thong oranges. The KCl used in the 3M stock solution was purchased from Merck (CAS-No: 7447-40-7) and Sodium L-ascorbate was purchased from Sigma Aldrich (A4034-100G). We then gave a cyclic voltammetry sweep from +200 mV to +900 mV with a sweep rate of 0.1 V / second. A rolling mean of 2 samples was used to eliminate the 50 Hz noise picked up from the power lines in the building. Because a sweep rate of 0.1 V/second samples at 100 Hz, this rate picks up 50 Hz as a very high frequency noise in the signal. This noise could be eliminated by removing or shortening the lead wires connecting the device to the electrodes, but not by running the experiments on a battery powered laptop. This suggests the noise is picked up from electromagnetic interference. To calculate the value of ascorbate in our sample of orange juice we measured the current level at +550 mV, as was used in [25,39], for all samples. Using potentials higher than this can lead to species other than ascorbate oxidizing [39]. Next the current versus the added ascorbate was plotted [25]. By interpreting a line through the samples back to a zero current (the x-axis intercept) we can calculate the amount of ascorbate in the orange juice sample. The error of the standard additions was calculated using the following equation: s f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f 1 - _<u>y</u>_ <sup>2</sup> 2 _n_ <sup>þ</sup> _m_ <sup>2</sup> <sup>~~P~~</sup> ð _xi_ - _x_ �Þ _sx_ ¼ <sup>_<u>sy</u>_</sup> j _m_ j _m_ <sup>2</sup> <sup>~~P~~</sup> ð _xi_ - _x_ �Þ 2 where sy is the standard deviation of the residuals given by the following equation: s f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i ffi 2 P ð _<u>yi</u>_ <u>�</u> _<u>m</u>_ <u>�</u> _<u>xi</u>_ <u>�</u> _<u>b</u>_ <u>Þ</u> _n_ - 2 _sy_ ¼ [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 10 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip and _m_ is the slope of a line fitted to the data, _n_ is the number of standards measured, � _y_ is the average current measured, _xi_ is the concentration of the added standard, � _x_ is the average of the standards added, yi is the current measured, and b is the calculated y-intercept [40]. Glucose measurements. To measure glucose, we purchased Accu-check Performa glucose test strips, Roche Diabetes Care, Inc., Indiana, USA. We used 2 mini-hook test clips to connect the outside electrodes of the glucose strips to the device to show a complex connector was not needed to use commercial strips, see S3 Supporting Information. The glucose samples were prepared by making a 2000 mg/dl glucose (Ajax Finechem: 783-500G) stock solution with 1X phosphate buffer solution (PBS) (Gibco: 14190–144) and then mixing the appropriate amount of the glucose stock with 1X PBS to make our testing samples. An amperometric experiment was performed for 6 seconds with the working electrode set at +500 mV [41], to receive electrons from the glucose oxidizing enzyme, GDH-PQQ [42], and the current was recorded at a rate of 1 kHz [43]. Initial tests showed that the readings were noisy due to power line noise so a 50 points rolling mean was used to smooth out the signal. To quantify the amount of glucose we took the average current from 4.8 to 5 seconds. Lead determination in water. To measure the amount of lead in water we first made a 2 M sodium acetate (Sigma Aldrich: 53272-250G) stock solution, an 800 mg/L stock solution of bismuth nitrate (Sigma Aldrich: 383074-100G) and a 200 ppm lead citrate (from Electron Microscopy Science: CAS-No: 512-26-5) stock solution. Next we used deionized water and made samples with a final concentration of 0.1 M sodium acetate, 4 mg/L of bismuth and the desired amount of lead for each sample. We used a 20 ml glass vial as our chemical chamber with a gold wire as the working electrode and a Ag/AgCl wire as the counter and reference electrodes. The chamber was placed on top of a stir plate and a Teflon stirrer was used to stir the solution during the plating step, see S4 Supporting Information for a picture of the setup. For the anodic stripping voltammetry experiments we used a cleaning step of +500 mV for 30 seconds, a plating step of -1100 mV for 5 minutes with the solution being stirred for the first 4.5 minutes. A linear sweep from -1100 mV to +500 mV at a rate of 0.1 V/second was given after the plating step to strip the lead. Between readings the electrode is electrochemically cleaned by applying a +500 mV potential for 30 seconds while the solution is stirred to remove any lead or bismuth from binding to the electrode between experiments [44]. Additional experiments were also performed with a plating time of 10 minutes (included in the S1 Dataset) but they gave less clear results than the 5 minute plating time experiments. Also a carbon electrode was tested but the background current was so large that it was more difficult to measure the stripping current. While others have shown more sensitivity with carbon electrodes, they usually require a special coating, such as Nafion, to reduce the capacitive current [45,46]. We chose to use a simpler working electrode composed of an uncoated 1 mm diameter, 99.7% pure gold wire that was purchased from a local jewelry store (coordinates: 16˚48’45.8”N 100˚15’43.6”E). Results and discussion Device characterization To verify our device, we compared it to a commercial potentiostat, an EmStat from PalmSens, using standard electrodes. Fig 6 shows the results. Fig 6A shows our data in blue and a commercial potentiostat in black, performing cyclic voltammetry on a 5 mM ferricyanide solution in 1 M KCl with a scan rate of 10 mV/second. Both show the characteristic reversible oxidation and reduction peaks. There are slight differences between the traces, some of which could be due to electrochemical variations and temporal changes in the electrodes [19,21]. The [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 11 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip Fig 6. Comparison to a commercial potentiostat using standard electrodes. A) Raw current traces of cyclic voltammetry experiments in 5 mM ferricyanide using an EmStat (black) and PSoC-Stat (blue) with the voltage in reference to a Ag /AgCl reference electrode. B) Currents from A with the noise removed using a 10 point <u>rolling sample.</u> [https://doi.org/10.1371/journal.pone.0201353.g006](https://doi.org/10.1371/journal.pone.0201353.g006) PSoC-Stat can also have a slight voltage shift from the onboard Opamps. For potentiostats built from discrete ICs, the Opamps can be selected that are specialized for their applications. For potentiostats, the Opamps should be chosen to have no voltage offset. For the PSoC-Stat, we had to use the Opamps in the PSoC 5LP which can have a voltage offset. The Opamp that drives the counter electrode can have a maximum of 2 mV offset (though it will typically have 0 offset [37]) and the Opamp in the TIA circuit can have a maximum of 10 mV offset (though it typically will have 0 offset [38]). There are some tradeoffs for using a fixed single chip to build a circuit, and if an electrochemical experiments needs to be performed with an absolute accuracy of greater than 12 mV, the PSoC-Stat cannot meet that need and a more accurate potentiostat should be invested in. Also the current is noisier for the PSoC-Stat, most likely due to the TIA using switched capacitors to emulate the variable resistor used to change the current range, which will introduce a high frequency noise. In Fig 6B we show the data from Fig 6A with a 10 point rolling mean which removes most of the noise from the data. This is the strategy used by the uMED potentiostat [19]. The ADC of the PSoC-Stat has a sampling rate of 50 kHz, a future strategy to have the hardware remove the noise would be to collect multiple samples per data point and average them (even at 1 V/second the ADC can collect over 10 samples per step). Also the PSoC 5LP has a digital filter blocks (DFB) that can be configured to filter out the noise. Or post data acquisition filtering can be performed as was done here. The GUI has an option in the menu to implement a rolling mean with a variable number of samples. A more detailed characterization of the circuit noise is given in S5 Supporting Information and Table 1 is given to compare our noise and other important parameters to the other open source potentiostats developed. [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 12 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip Fig 7. Cyclic voltammetry experiments. A) Raw current traces of cyclic voltammetry experiments in orange juice with different levels of added ascorbate. Voltage is in reference to a Ag /AgCl reference electrode. B) Standard addition results of the cyclic voltammetry experiments. The current value at +550 mV was used and a <u>fitted line to the data was used to calculate the amount of ascorbate in the orange juice.</u> [https://doi.org/10.1371/journal.pone.0201353.g007](https://doi.org/10.1371/journal.pone.0201353.g007) Orange juice standard additions To demonstrate the capabilities of our device we performed standard addition experiments to quantify ascorbate (Vitamin C) in orange juice using cyclic voltammetry as shown in Fig 7. This experiment is exceptionally well positioned to be an introductory analytical chemistry lab as all the materials are inexpensive, non-hazardous and demonstrates the technique of cyclic voltammetry and standard additions [26,39,47]. Ascorbate is redox active and will readily lose electrons (oxidizes) when the voltage of the working electrode increases above +100 mV (data not shown). The flow of electrons released from the oxidation of ascorbate is collected by the working electrode and measured by the potentiostat allowing the quantification of the oxidation rate, which is correlated with the concentration of ascorbate in the solution. By adding known quantities of ascorbate to the orange juice and measuring the increase in current, the ratio of current increase to concentration can be calculated. Taking the relationship between current and concentration with the current measured in the pure orange juice sample, the amount of ascorbate in the orange juice can be determined. Because the ratio of current to concentration is the slope of the fitted line, by extending the fitted line until the current is zero, the x-axis intercept is the concentration of ascorbate in the original sample [39]. Our experiments give a result of 0.152 ± 0.019 mg/ml. This is within 2% of the value given on nutrition panel of the orange juice of 0.15 mg/ml. Glucose measurements The most common electrochemical medical device in use today is the glucose meter used by diabetics to monitor their blood glucose levels [48]. To measure glucose the working electrode is coated with the enzyme glucose oxidase, that converts glucose to gluconic acid with the [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 13 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip Fig 8. Amperometric experiments. A) Current traces measure at +500 mV using Accu-Check Performa glucose strips. 3 strips were used for each glucose sample. B) Average current between 4.8 and 5 seconds of the amperometric currents is plotted versus the glucose in the samples. Our device measured a linear relationship <u>(R</u> <sup>2</sup> <u>= 0.98) over the physiological range of glucose within the range of the FDA’s guidelines.</u> [https://doi.org/10.1371/journal.pone.0201353.g008](https://doi.org/10.1371/journal.pone.0201353.g008) production of hydrogen peroxide [49,50]. The hydrogen peroxide is then oxidized on the surface of the working electrode [51]. Glucose meters use the technique of amperometry, where a constant voltage is applied between a working electrode and counter electrode while the current is measured versus time. Because the glucose strips have 2 electrodes, the 2 electrodes configuration was used for the glucose measuring experiments. The user can select the 2-electrode option from the option menu of the GUI. Fig 8 shows the results of our experiments. Fig 8A is the raw current traces measured. To calculate the amount of glucose in solution, the current traces are measure for 5 seconds and the average of the current from 4.8 to 5 seconds is plotted versus the glucose concentration, see Fig 8B [52]. Our device showed a relationship of a 10.5 nA current for each mg/dl increase of glucose in solution with an R <sup>2</sup> of 0.98. At the current range used for the measurement of ±8 μA, the PSoC-Stat has resolution of 0.4 mg/dl. At this level most variation in the glucose measurements will be due to differences between glucose strips, and the temperature and humidity changes between measurements [53]. The PSoC-Stat measurements were well within the 15% accuracy needed for a glucose meter to be approved by the FDA [54]. Lead measurements Lead contamination has become a major problem worldwide, from the use of lead pipes and lead solder used to join copper pipes together in the water system of America [55,56], to area contamination from mining activity [57]. Because there is almost no government testing of household water, it would be beneficial for people to have an easy way to test if their water is safe for human consumption [58–61]. To measure lead in water we performed anodic stripping voltammetry (ASV) on water samples prepared with added bismuth [62]. ASV uses a [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 14 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip Fig 9. Anodic Stripping Electrode experiments. A) Raw current traces of the stripping step with added Pb <sup>2+</sup> . Voltage is in reference to a Ag /AgCl reference. electrode. B) Raw traces normalized to the -350 mV current level. C) Current with the average baseline subtracted from all traces. D) Relationship of the current at <u>-175 mV of the baseline subtracted traces versus the Pb</u> <sup>2+</sup> <u>concentration.</u> [https://doi.org/10.1371/journal.pone.0201353.g009](https://doi.org/10.1371/journal.pone.0201353.g009) [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 15 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip negative voltage on the working electrode to “plate” (reduce) dissolved metal ions onto the electrode. To increase the sensitivity of the electrode, bismuth was added to the solution [63]. During the plating potential Bi <sup>2+</sup> will plate onto the electrode with Pb <sup>2+</sup> and form a “fused alloys” [64]. The electrode’s voltage is then ramped up to “strip” (oxidized) the ions off. By measuring the currents from oxidation as a function of voltage, the amount of metal ions in solution can be quantified. Fig 9A shows the raw traces measured during the linear sweep of the ASV measurement. In these traces 3 current maximums can clearly be seen. The curves in the current around -200 mV occur as Pb atoms are oxidized off of the electrode to become Pb <sup>2+</sup> ions, while the increased current at +100 mV and +250 mV, is the oxidation of Bismuth atoms [65]. Because there is a background capacitive current that is sensitive to the area of the working electrode exposed to solution, a small change in the height of the testing solution can affect the background current. For the cyclic voltammetry measurements in orange juice we coated our electrodes in dental wax to fix the surface area of the electrode for each experiment. This was not possible in these experiments as the bismuth and lead will bind to the dental wax and not on the electrode. To fix the background current level of our experiments we normalized each current at -350 mV, as shown in Fig 9B. To further enhance the signal from the water samples the baseline (zero added lead) samples were averaged and that averaged baseline was subtracted from all recordings as shown in Fig 9C. Taking the current of the processed signals at -175 mV showed a linear relationship between the current and the lead concentration, see Fig 9D. These experiments shows that the PSoC-Stat could measure lead at levels above the concentration approved by the EPA of 15 ppb [66,67]. Conclusions Over the last few years there has been a movement in creating open source laboratory instruments [68]. The wide spread adoption of 3D printers has allowed labs to produce their own equipment, while sharing their designs online for others to use and modify [69]. This in conjunction with the development of open-source microcontroller platforms (e.g. Arduino), has made it easier for researchers to develop their own electronic equipment. The Programmable System on a Chip (PSoC) is another tool that can be used by the open source community to develop electronic equipment that has many benefits compared to other microcontrollers. The PSoC 5LP incorporates a microcontroller with programmable analog components. This flexibility allows electronic devices to be made without having to make a custom PCB and connecting numerous ICs. This greatly reduces the development and production cost of these devices in resource-limited environments. We demonstrated that it is possible to develop a potentiostat using just a single PSoC and demonstrated its capabilities by determining Vitamin C levels of orange juice, showed it can be used as a single chip glucose meter, and that it can determine lead contamination in water. Different electrochemical techniques are performed by changing the look up table functions in lut_function.c and additional techniques such as differential pulse voltammetry or square wave voltammetry could be programmed into the device by adding the appropriate embedded functions. We have made our device open source so that it can be used as a reference design. Others are welcome to modify and contribute code to implement other electrochemical techniques in the PSoC-Stat at the Github repository. Supporting information [S1 Dataset. Data files used in this paper.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0201353.s001) (ZIP) [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 16 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip [S1 File. Hex file of potentiostat.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0201353.s002) This is the file to load into the PSoC 5LP to make the device tested in the paper. (HEX) [S2 File. Graphical user interface executable.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0201353.s003) The GUI used with the device in this paper. (ZIP) [S3 File. Python files used to make figures.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0201353.s004) (ZIP) [S4 File. STL files for the enclosure and holders used.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0201353.s005) (ZIP) [S1 Supporting Information. Circuit diagram of our device.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0201353.s006) (PDF) [S2 Supporting Information. Cyclic voltammetry of orange juice setup.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0201353.s007) (PDF) [S3 Supporting Information. Glucose amperometry setup.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0201353.s008) (PDF) [S4 Supporting Information. Anode stripping voltammetry setup.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0201353.s009) (PDF) [S5 Supporting Information. Noise analysis.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0201353.s010) (PDF) Acknowledgments This work was funded by the Higher Education Research Promotion under the Office of the Higher Education Commission, Ministry of Education, Thailand. Thanks is given to Nipitpon Srimai for the photographs in this paper, to Shyue-An Chan, Corey Smith and Gareth Ross for editing of the manuscript, and to Kontad Ounnunkad and Chammari Pathipor for help and use of their EmStat potentiostat for the ferricyanide experiments. Author Contributions Conceptualization: Prattana Lopin, Kyle V. Lopin. Data curation: Kyle V. Lopin. Formal analysis: Prattana Lopin, Kyle V. Lopin. Funding acquisition: Prattana Lopin, Kyle V. Lopin. Investigation: Kyle V. Lopin. Methodology: Prattana Lopin, Kyle V. Lopin. Project administration: Prattana Lopin, Kyle V. Lopin. Resources: Prattana Lopin, Kyle V. Lopin. Software: Kyle V. Lopin. Supervision: Kyle V. Lopin. Validation: Kyle V. Lopin. Visualization: Prattana Lopin, Kyle V. Lopin. [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 17 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip Writing – original draft: Kyle V. Lopin. Writing – review & editing: Prattana Lopin, Kyle V. Lopin. References 1. Erickson JS, Shriver-Lake LC, Zabetakis D, Stenger DA, Trammell SA. A Simple and Inexpensive Electrochemical Assay for the Identification of Nitrogen Containing Explosives in the Field. Sensors. 2017; [17: 1769. https://doi.org/10.3390/s17081769 PMID: 28767088](https://doi.org/10.3390/s17081769) 2. Samasilp P, Lopin K, Chan S-A, Ramachandran R, Smith C. Syndapin 3 modulates fusion pore expansion in mouse neuroendocrine chromaffin cells. Am J Physiol—Cell Physiol. 2014; 306: C831–C843. [https://doi.org/10.1152/ajpcell.00291.2013 PMID: 24500282](https://doi.org/10.1152/ajpcell.00291.2013) 3. Dejang N. Fabrication NiAl/Cu Composite Powder for Thermal Spray Coating. Appl Mech Mater. 2017; [866: 240–243. https://doi.org/10.4028/www.scientific.net/AMM.866.240](https://doi.org/10.4028/www.scientific.net/AMM.866.240) 4. Dobbelaere T, Vereecken PM, Detavernier C. A USB-controlled potentiostat/galvanostat for thin-film [battery characterization. HardwareX. 2017; 2: 34–49. https://doi.org/10.1016/j.ohx.2017.08.001](https://doi.org/10.1016/j.ohx.2017.08.001) 5. Heller A, Feldman B. Electrochemical Glucose Sensors and Their Applications in Diabetes Manage[ment. Chem Rev. 2008; 108: 2482–2505. https://doi.org/10.1021/cr068069y PMID: 18465900](https://doi.org/10.1021/cr068069y) 6. Forsberg G, O’Laughlin JW, Megargle RG, Koirtyihann SR. Determination of arsenic by anodic stripping voltammetry and differential pulse anodic stripping voltammetry. Anal Chem. 1975; 47: 1586–1592. 7. Wipf DO, Kristensen EW, Deakin MR, Wightman RM. Fast-scan cyclic voltammetry as a method to measure rapid heterogeneous electron-transfer kinetics. Anal Chem. 1988; 60: 306–310. 8. Robinson DL, Venton BJ, Heien MLAV, Wightman RM. Detecting Subsecond Dopamine Release with [Fast-Scan Cyclic Voltammetry in Vivo. Clin Chem. 2003; 49: 1763–1773. https://doi.org/10.1373/49.10.](https://doi.org/10.1373/49.10.1763) [1763 PMID: 14500617](https://doi.org/10.1373/49.10.1763) 9. Franke W, Deffner M. Zur Kenntnis der sog. Glucose-oxydase. II. Justus Liebigs Ann Chem. 541: [117–150. https://doi.org/10.1002/jlac.19395410107](https://doi.org/10.1002/jlac.19395410107) 10. Yoo E-H, Lee S-Y. Glucose Biosensors: An Overview of Use in Clinical Practice. Sensors. 2010; 10: [4558–4576. https://doi.org/10.3390/s100504558 PMID: 22399892](https://doi.org/10.3390/s100504558) 11. Cass AEG, Davis G, Francis GD, Hill HAO, Aston WJ, Higgins IJ, et al. Ferrocene-mediated enzyme [electrode for amperometric determination of glucose. Anal Chem. 1984; 56: 667–671. https://doi.org/](https://doi.org/10.1021/ac00268a018) [10.1021/ac00268a018 PMID: 6721151](https://doi.org/10.1021/ac00268a018) 12. Castle JR, Kenneth Ward W. Amperometric Glucose Sensors: Sources of Error and Potential Benefit of [Redundancy. J Diabetes Sci Technol. 2010; 4: 221–225. https://doi.org/10.1177/193229681000400127](https://doi.org/10.1177/193229681000400127) [PMID: 20167187](http://www.ncbi.nlm.nih.gov/pubmed/20167187) 13. Fick A. Ueber Diffusion. Ann Phys. [170: 59–86. https://doi.org/10.1002/andp.18551700105](https://doi.org/10.1002/andp.18551700105) 14. Skoog DA, Holler FJ, Crouch SR. Principles of Instrumental Analysis. 7 edition. San Francisco, CA: Brooks Cole; 2017. 15. Bard AJ, Faulkner LR. Electrochemical Methods: Fundamentals and Applications. 2 edition. New York: Wiley; 2000. 16. Kawde A-N, Baig N, Sajid M. Graphite pencil electrodes as electrochemical sensors for environmental analysis: a review of features, developments, and applications. RSC Adv. 2016; 6: 91325–91340. [https://doi.org/10.1039/C6RA17466C](https://doi.org/10.1039/C6RA17466C) 17. SG8 9AZ. (01763) 222 333 BPL The Sty, 47 Upper King Street, Royston, Hertfordshire. Electrodes [Based on Noble Metals. In: Johnson Matthey Technology Review [Internet]. [cited 27 Apr 2018]. https://](https://www.technology.matthey.com/article/41/2/54-63/) [www.technology.matthey.com/article/41/2/54-63/](https://www.technology.matthey.com/article/41/2/54-63/) 18. Kwakye S, Baeumner A. An embedded system for portable electrochemical detection. Sens Actuators [B Chem. 2007; 123: 336–343. https://doi.org/10.1016/j.snb.2006.08.032](https://doi.org/10.1016/j.snb.2006.08.032) 19. Nemiroski A, Christodouleas DC, Hennek JW, Kumar AA, Maxwell EJ, Ferna´ndez-Abedul MT, et al. Universal mobile electrochemical detector designed for use in resource-limited applications. Proc Natl [Acad Sci. 2014; 111: 11984–11989. https://doi.org/10.1073/pnas.1405679111 PMID: 25092346](https://doi.org/10.1073/pnas.1405679111) 20. Huang CY, Lee MH, Wu ZH, Tseng HY, Huang YC, Liu BD, et al. A Portable Potentiostat with Molecularly Imprinted Polymeric Electrode for Dopamine Sensing. 2009 IEEE Circuits and Systems International Conference on Testing and Diagnosis. 2009. pp. 1–4. 21. Dryden MDM, Wheeler AR. DStat: A Versatile, Open-Source Potentiostat for Electroanalysis and Inte[gration. PLOS ONE. 2015; 10: e0140349. https://doi.org/10.1371/journal.pone.0140349 PMID:](https://doi.org/10.1371/journal.pone.0140349) [26510100](http://www.ncbi.nlm.nih.gov/pubmed/26510100) [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 18 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip 22. Beach RD, Conlan RW, Godwin MC, Moussy F. Towards a miniature implantable in vivo telemetry monitoring system dynamically configurable as a potentiostat or galvanostat for two- and three-electrode [biosensors. IEEE Trans Instrum Meas. 2005; 54: 61–72. https://doi.org/10.1109/TIM.2004.839757](https://doi.org/10.1109/TIM.2004.839757) 23. Gopinath AV, Russell D. An Inexpensive Field-Portable Programmable Potentiostat. Chem Educ. 2005; 10: 1–6. 24. Sun A, Venkatesh AG, Hall DA. A Multi-Technique Reconfigurable Electrochemical Biosensor: Enabling Personal Health Monitoring in Mobile Devices. IEEE Trans Biomed Circuits Syst. 2016; 10: [945–954. https://doi.org/10.1109/TBCAS.2016.2586504 PMID: 28113176](https://doi.org/10.1109/TBCAS.2016.2586504) 25. Rowe AA, Bonham AJ, White RJ, Zimmer MP, Yadgar RJ, Hobza TM, et al. CheapStat: An OpenSource, “Do-It-Yourself” Potentiostat for Analytical and Educational Applications. PLOS ONE. 2011; 6: [e23783. https://doi.org/10.1371/journal.pone.0023783 PMID: 21931613](https://doi.org/10.1371/journal.pone.0023783) 26. Meloni GN. Building a Microcontroller Based Potentiostat: A Inexpensive and Versatile Platform for [Teaching Electrochemistry and Instrumentation. J Chem Educ. 2016; 93: 1320–1322. https://doi.org/](https://doi.org/10.1021/acs.jchemed.5b00961) [10.1021/acs.jchemed.5b00961](https://doi.org/10.1021/acs.jchemed.5b00961) 27. Sun A, Wambach T, Venkatesh AG, Hall DA. A low-cost smartphone-based electrochemical biosensor for point-of-care diagnostics. 2014 IEEE Biomedical Circuits and Systems Conference (BioCAS) Proceedings. 2014. pp. 312–315. 28. Ainla A, Mousavi MPS, Tsaloglou M-N, Redston J, Bell JG, Ferna´ndez-Abedul MT, et al. Open-Source Potentiostat for Wireless Electrochemical Detection with Smartphones. Anal Chem. 2018; 90: [6240–6246. https://doi.org/10.1021/acs.analchem.8b00850 PMID: 29658268](https://doi.org/10.1021/acs.analchem.8b00850) 29. Kakerow RG, Kappert H, Spiegel E, Manoli Y. Low-power Single-chip CMOS Potentiostat. The 8th International Conference on Solid-State Sensors and Actuators, 1995 and Eurosensors IX. Transducers ‘95. 1995. pp. 142–145. 30. Kimura M, Fukushima H, Sagawa Y, Setsu K, Hara H, Inoue S. An Integrated Potentiostat With an Electrochemical Cell Using Thin-Film Transistors. IEEE Trans Electron Devices. 2009; 56: 2114–2119. [https://doi.org/10.1109/TED.2009.2026120](https://doi.org/10.1109/TED.2009.2026120) 31. Ayers S, Gillis KD, Lindau M, Minch BA. Design of a CMOS Potentiostat Circuit for Electrochemical [Detector Arrays. IEEE Trans Circuits Syst Regul Pap. 2007; 54: 736–744. https://doi.org/10.1109/](https://doi.org/10.1109/TCSI.2006.888777) [TCSI.2006.888777 PMID: 20514150](https://doi.org/10.1109/TCSI.2006.888777) 32. Pearce JM. Laboratory equipment: Cut costs with open-source hardware. Nature. 2014; 505: 618. [https://doi.org/10.1038/505618d PMID: 24476879](https://doi.org/10.1038/505618d) 33. da Costa ET, Mora MF, Willis PA, do Lago CL, Jiao H, Garcia CD. Getting started with open-hardware: [development and control of microfluidic devices. Electrophoresis. 2014; 35: 2370–2377. https://doi.org/](https://doi.org/10.1002/elps.201400128) [10.1002/elps.201400128 PMID: 24823494](https://doi.org/10.1002/elps.201400128) 34. Baden T, Chagas AM, Gage GJ, Gage G, Marzullo TC, Marzullo T, et al. Open Labware: 3-D printing [your own lab equipment. PLoS Biol. 2015; 13: e1002086. https://doi.org/10.1371/journal.pbio.1002086](https://doi.org/10.1371/journal.pbio.1002086) [PMID: 25794301](http://www.ncbi.nlm.nih.gov/pubmed/25794301) 35. [Texas Instruments. AN-1798 Designing with Electro-Chemical Sensors [Internet]. 2013. http://www.ti.](http://www.ti.com/lit/an/snoa514c/snoa514c.pdf) [com/lit/an/snoa514c/snoa514c.pdf](http://www.ti.com/lit/an/snoa514c/snoa514c.pdf) 36. [Sennequier P. AN4348—Signal conditioning for electrochemical sensors [Internet]. http://www.st.com/](http://www.st.com/content/ccc/resource/technical/document/application_note/b7/3a/2b/63/6c/10/46/27/DM00093722.pdf/files/DM00093722.pdf/jcr:content/translations/en.DM00093722.pdf) [content/ccc/resource/technical/document/application_note/b7/3a/2b/63/6c/10/46/27/DM00093722.pdf/](http://www.st.com/content/ccc/resource/technical/document/application_note/b7/3a/2b/63/6c/10/46/27/DM00093722.pdf/files/DM00093722.pdf/jcr:content/translations/en.DM00093722.pdf) [files/DM00093722.pdf/jcr:content/translations/en.DM00093722.pdf](http://www.st.com/content/ccc/resource/technical/document/application_note/b7/3a/2b/63/6c/10/46/27/DM00093722.pdf/files/DM00093722.pdf/jcr:content/translations/en.DM00093722.pdf) 37. [Operational Amplifier (Opamp) [Internet]. [cited 24 Apr 2018]. http://www.cypress.com/documentation/](http://www.cypress.com/documentation/component-datasheets/operational-amplifier-opamp) [component-datasheets/operational-amplifier-opamp](http://www.cypress.com/documentation/component-datasheets/operational-amplifier-opamp) 38. [Trans-Impedance Amplifier (TIA) [Internet]. [cited 24 Apr 2018]. http://www.cypress.com/](http://www.cypress.com/documentation/component-datasheets/trans-impedance-amplifier-tia) [documentation/component-datasheets/trans-impedance-amplifier-tia](http://www.cypress.com/documentation/component-datasheets/trans-impedance-amplifier-tia) 39. King D, Friend J, Kariuki J. Measuring Vitamin C Content of Commercial Orange Juice Using a Pencil [Lead Electrode. J Chem Educ. 2010; 87: 507–509. https://doi.org/10.1021/ed800151x](https://doi.org/10.1021/ed800151x) 40. R. Bruce G, Gill P. Estimates of Precision in a Standard Additions Analysis. J Chem Educ—J CHEM [EDUC. 1999; 76. https://doi.org/10.1021/ed076p805](https://doi.org/10.1021/ed076p805) 41. Crouch E, Cowell DC, Hoskins S, Pittson RW, Hart JP. A novel, disposable, screen-printed amperometric biosensor for glucose in serum fabricated using a water-based carbon ink. Biosens Bioelectron. [2005; 21: 712–718. https://doi.org/10.1016/j.bios.2005.01.003 PMID: 16242609](https://doi.org/10.1016/j.bios.2005.01.003) 42. [skup_2011_93_accu_chek_performa_report.pdf [Internet]. http://www.skup.dk/files/5/skup_2011_93_](http://www.skup.dk/files/5/skup_2011_93_accu_chek_performa_report.pdf) [accu_chek_performa_report.pdf](http://www.skup.dk/files/5/skup_2011_93_accu_chek_performa_report.pdf) 43. Jou AF, Tai N-H, Ho JA. Gold Nanobone/Carbon Nanotube Hybrids for the Efficient Nonenzymatic [Detection of H2O2 and Glucose. Electroanalysis. 2014; 26: 1816–1823. https://doi.org/10.1002/elan.](https://doi.org/10.1002/elan.201400140) [201400140](https://doi.org/10.1002/elan.201400140) [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 19 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip 44. Economou A. Bismuth-film electrodes: recent developments and potentialities for electroanalysis. TrAC [Trends Anal Chem. 2005; 24: 334–340. https://doi.org/10.1016/j.trac.2004.11.006](https://doi.org/10.1016/j.trac.2004.11.006) 45. Kefala G, Economou A, Voulgaropoulos A. A study of Nafion-coated bismuth-film electrodes for the [determination of trace metals by anodic stripping voltammetry. Analyst. 2004; 129: 1082–1090. https://](https://doi.org/10.1039/b404978k) [doi.org/10.1039/b404978k PMID: 15508038](https://doi.org/10.1039/b404978k) 46. Demetriades D, Economou A, Voulgaropoulos A. A study of pencil-lead bismuth-film electrodes for the determination of trace metals by anodic stripping voltammetry. Anal Chim Acta. 2004; 519: 167–172. [https://doi.org/10.1016/j.aca.2004.05.008](https://doi.org/10.1016/j.aca.2004.05.008) 47. David IG, Popa D-E, Buleandra M. Pencil Graphite Electrodes: A Versatile Tool in Electroanalysis. In: [Journal of Analytical Methods in Chemistry [Internet]. 2017 [cited 25 Oct 2017]. https://doi.org/10.1155/](https://doi.org/10.1155/2017/1905968) [2017/1905968 PMID: 28255500](https://doi.org/10.1155/2017/1905968) 48. Kost GJ, Katip P, Vansith K, Negash H. The Final Frontier for Point of Care: Performance, Resilience, [and Culture. Point Care. 2013; 12: 1–8. https://doi.org/10.1097/POC.0b013e318266b7fe](https://doi.org/10.1097/POC.0b013e318266b7fe) 49. Hobbs JM, Patel NN, Kim DW, Rugutt JK, Wanekaya AK. Glucose Determination in Beverages Using Carbon Nanotube Modified Biosensor: An Experiment for the Undergraduate Laboratory. J Chem [Educ. 2013; 90: 1222–1226. https://doi.org/10.1021/ed300429a](https://doi.org/10.1021/ed300429a) 50. Amor-Gutie´rrez O, Rama EC, Ferna´ndez-Abedul MT, Costa-Garcı´a A. Bioelectroanalysis in a Drop: [Construction of a Glucose Biosensor. J Chem Educ. 2017; 94: 806–812. https://doi.org/10.1021/acs.](https://doi.org/10.1021/acs.jchemed.6b00948) [jchemed.6b00948](https://doi.org/10.1021/acs.jchemed.6b00948) 51. Gooding JJ, Yang W, Situmorang M. Bioanalytical Experiments for the Undergraduate Laboratory: [Monitoring Glucose in Sports Drinks. J Chem Educ. 2001; 78: 788. https://doi.org/10.1021/ed078p788](https://doi.org/10.1021/ed078p788) 52. Wang G, Poscente MD, Park SS, Andrews CN, Yadid-Pecht O, Mintchev MP. Minimally invasive pseudo-continuous blood glucose monitoring: Results from in-vitro and in-vivo testing of the e-Mosquito. 2016 IEEE International Symposium on Circuits and Systems (ISCAS). 2016. pp. 321–324. 53. Pratumvinit B, Charoenkoop N, Niwattisaiwong S, Kost GJ, Tientadakul P. The Effects of Temperature and Relative Humidity on Point-of-Care Glucose Measurements in Hospital Practice in a Tropical Clini[cal Setting. J Diabetes Sci Technol. 2016; 10: 1094–1100. https://doi.org/10.1177/1932296816633485](https://doi.org/10.1177/1932296816633485) [PMID: 26908568](http://www.ncbi.nlm.nih.gov/pubmed/26908568) 54. Food and Drug Administration. Self-Monitoring Blood Glucose Test Systems for Over-the-Counter Use; Guidance for Industry and Food and Drug Administration Staff; Availability [Internet]. 11 Oct 2016 [cited [20 Oct 2017]. https://www.fda.gov/downloads/medicaldevices/deviceregulationandguidance/](https://www.fda.gov/downloads/medicaldevices/deviceregulationandguidance/guidancedocuments/ucm380327.pdf) [guidancedocuments/ucm380327.pdf](https://www.fda.gov/downloads/medicaldevices/deviceregulationandguidance/guidancedocuments/ucm380327.pdf) 55. Goyer RA. Results of lead research: prenatal exposure and neurological consequences. Environ Health [Perspect. 1996; 104: 1050–1054. PMID: 8930545](http://www.ncbi.nlm.nih.gov/pubmed/8930545) 56. Silver MK, Li X, Liu Y, Li M, Mai X, Kaciroti N, et al. Low-level prenatal lead exposure and infant sensory [function. Environ Health Glob Access Sci Source. 2016; 15: 65. https://doi.org/10.1186/s12940-016-](https://doi.org/10.1186/s12940-016-0148-6) [0148-6 PMID: 27266277](https://doi.org/10.1186/s12940-016-0148-6) 57. Phenrat T, Otwong A, Chantharit A, Lowry GV. Ten-Year Monitored Natural Recovery of Lead-Contaminated Mine Tailing in Klity Creek, Kanchanaburi Province, Thailand. Environ Health Perspect. 2016; [124: 1511–1520. https://doi.org/10.1289/EHP215 PMID: 27157823](https://doi.org/10.1289/EHP215) 58. Surkan PJ, Zhang A, Trachtenberg F, Daniel DB, McKinlay S, Bellinger DC. NEUROPSYCHOLOGICAL FUNCTION IN CHILDREN WITH BLOOD LEAD LEVELS < 10μg/dL. Neurotoxicology. 2007; 28: [1170–1177. https://doi.org/10.1016/j.neuro.2007.07.007 PMID: 17868887](https://doi.org/10.1016/j.neuro.2007.07.007) 59. Kennedy C, Yard E, Dignam T, Buchanan S, Condon S, Brown MJ, et al. Blood Lead Levels Among Children Aged <6 Years—Flint, Michigan, 2013–2016. MMWR Morb Mortal Wkly Rep. 2016; 65: [650–654. https://doi.org/10.15585/mmwr.mm6525e1 PMID: 27359350](https://doi.org/10.15585/mmwr.mm6525e1) 60. Carrel M, Zahrieh D, Young SG, Oleson J, Ryckman KK, Wels B, et al. High prevalence of elevated blood lead levels in both rural and urban Iowa newborns: Spatial patterns and area-level covariates. [PLOS ONE. 2017; 12: e0177930. https://doi.org/10.1371/journal.pone.0177930 PMID: 28520816](https://doi.org/10.1371/journal.pone.0177930) 61. Thongsaw A, Sananmuang R, Ross G, Chaiyasith W. Solidified floating organic drop microextraction– electrothermal atomic absorption spectrometry for the determination of trace amounts of lead in water [samples. 2017; 21: 72–81. https://doi.org/10.17576/mjas-2017-2101-09](https://doi.org/10.17576/mjas-2017-2101-09) 62. Goldcamp MJ, Underwood MN, Cloud JL, Harshman S, Ashley K. An Environmentally Friendly, CostEffective Determination of Lead in Environmental Samples Using Anodic Stripping Voltammetry. J [Chem Educ. 2008; 85: 976. https://doi.org/10.1021/ed085p976](https://doi.org/10.1021/ed085p976) 63. Kefala G, Economou A, Voulgaropoulos A, Sofoniou M. A study of bismuth-film electrodes for the detection of trace metals by anodic stripping voltammetry and their application to the determination of Pb and [Zn in tapwater and human hair. Talanta. 2003; 61: 603–610. https://doi.org/10.1016/S0039-9140(03)](https://doi.org/10.1016/S0039-9140%0x2803%0x2900350-3) [00350-3 PMID: 18969224](https://doi.org/10.1016/S0039-9140%0x2803%0x2900350-3) [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 20 / 21 PSoC-Stat: A single chip open source potentiostat based on a Programmable System on a Chip 64. Long GG, Freedman LD, Doak GO. Bismuth and bismuth alloys. Encyclopedia of Chemical Technology. New York: Wiley; 1978. pp. 912–937. 65. March G, Nguyen D, Piro B. Modified Electrodes Used for Electrochemical Detection of Metal Ions in [Environmental Analysis. Biosensors. 2015; 5: 241–275. https://doi.org/10.3390/bios5020241 PMID:](https://doi.org/10.3390/bios5020241) [25938789](http://www.ncbi.nlm.nih.gov/pubmed/25938789) 66. Hanna-Attisha M, LaChance J, Sadler RC, Champney Schnepp A. Elevated Blood Lead Levels in Children Associated With the Flint Drinking Water Crisis: A Spatial Analysis of Risk and Public Health [Response. Am J Public Health. 2015; 106: 283–290. https://doi.org/10.2105/AJPH.2015.303003 PMID:](https://doi.org/10.2105/AJPH.2015.303003) [26691115](http://www.ncbi.nlm.nih.gov/pubmed/26691115) 67. [US EPA O. Lead and Copper Rule. In: US EPA [Internet]. 13 Oct 2015 [cited 2 Nov 2017]. https://www.](https://www.epa.gov/dwreginfo/lead-and-copper-rule) [epa.gov/dwreginfo/lead-and-copper-rule](https://www.epa.gov/dwreginfo/lead-and-copper-rule) 68. Pearce JM. Materials science. Building research equipment with free, open-source hardware. Science. [2012; 337: 1303–1304. https://doi.org/10.1126/science.1228183 PMID: 22984059](https://doi.org/10.1126/science.1228183) 69. Sulkin MS, Widder E, Shao C, Holzem KM, Gloschat C, Gutbrod SR, et al. Three-dimensional printing [physiology laboratory technology. Am J Physiol Heart Circ Physiol. 2013; 305: H1569–1573. https://doi.](https://doi.org/10.1152/ajpheart.00599.2013) [org/10.1152/ajpheart.00599.2013 PMID: 24043254](https://doi.org/10.1152/ajpheart.00599.2013) [PLOS ONE | https://doi org/10 1371/journal pone 0201353](https://doi.org/10.1371/journal.pone.0201353) July 25 2018 21 / 21

섹션 본문 44문단 · 36,219자

(제목 없음)

1In this paper we demonstrate a potentiostat built with a single commercially available integrated circuit (IC) that does not require any external electronic components to perform electrochemical experiments. This is done using the capabilities of the Programmable System on a Chip (PSoC ® ) by Cypress Semiconductor, which integrates all of the necessary electrical components. This is in contrast to other recent papers that have developed potentiostats but require technical skills or specialized equipment to produce. This eliminates the process of having to make a printed circuit board and soldering on electronic components. To control the device, a graphical user interface (GUI) was developed in the python programming language. Python is open source, with a style that makes it easy to read and write programs, making it an ideal choice for open source projects. As the developed device is open source and based on a PSoC, modification to implement other electrochemical techniques is straightforward and only requires modest programming skills, but no expensive equipment or difficult techniques. The potentiostat developed here adds to the growing amount of open source laboratory equipment. To demonstrate the PSoC potentiostat in a wide range of applications, we performed cyclic voltammetry (to measure vitamin C concentration in orange juice), amperometry (to measure glucose with a glucose strip), and stripping voltammetry experiments (to measure lead in water). The device was able to perform all experiments and could accurately measure Vitamin C, glucose, and lead.

Introduction

2Electrochemistry studies the movement of electrons during chemical reactions and is important for numerous fields including for chemistry (analytical chemistry) [1], biology (neurotransmitter release) [2], material science (electrodeposition, anodization) [3], energy storage (batteries) [4], medicine (glucose sensors) [5], and environmental sensing (heavy metal detection) [6]. A chemical reaction with a transfer of charge between molecules is called an oxidation-reduction reaction. An electrochemical reaction occurs when there is a chemical reaction and a transfer of charge to an external source [7]. By measuring the amount of charge moving a1111111111 a1111111111 a1111111111 a1111111111 a1111111111 through the external source, the chemical reaction rate can be determined. This allows for the monitoring of chemical concentrations and reactions by external electronics [8].

3The most common electrochemical device used is the battery, where internal movement of ions between electrodes, releases electrons that can be used to do electrical work. Electrochemistry is also widely used in analytical chemistry to measure concentrations and reaction rates. The glucose meter found in most drug stores uses electrochemistry to measure blood glucose levels. As glucose is not directly electrochemically active, an enzyme is used to catalyze the oxidation of glucose. First generation glucose biosensors use glucose oxidase (GOx) to oxidize glucose to gluconic acid and hydrogen peroxide [9]. The produced hydrogen peroxide can then be electrochemically detected, but this requires a high electrical potential to achieve good selectivity [10]. To overcome this, second generation glucose sensors use electron acceptors, such as ferrocene, to mediate the oxidation of glucose and transfer electrons to a working electrode [11]. As hydrogen peroxide is no longer the detection molecule, glucose-1-dehydrogenase (GDH) can be used as the glucose oxidizing enzyme. Third generation glucose sensors use direct electron transfer between the oxidizing enzyme, such as GDH-PQQ (pyrrolo quinolone quinone), and the electrode using electron conductive hydrogels [5].

4To calculate the concentration of glucose most commercially available devices use amperometry, where the current is measured at the working electrode while the electrode is held at a constant voltage [12]. After an initial period, the current measured is proportional to the rate of glucose oxidation, which is diffusion limited. As Fick's first law states, the diffusion rate is proportional to the concentration of glucose, making the current proportional to the glucose concentration [13].

5The main type of device used to perform electrochemistry is a potentiostat [14]. The basic requirement of a potentiostat is to control the voltage between two electrodes while measuring the current passing between them, this is a 2-electrode configuration for a potentiostat. To make accurate measurements, the electrodes have to pass a current while maintaining a standard / reference voltage between them. Because a current passing through an electrode causes a voltage change that interferes with keeping the voltage between the electrodes constant, a third electrode is often used for a 3-electrode configuration. In the 3-electrode configuration, the chemical reactions occur on the working electrode surface while the reference electrode provides a stable reference potential, and not should not pass current, and a counter (or sometimes called the auxiliary) electrode provides enough current to the solution to keep the potential between the reference and working electrode at the desired voltage [15].

6As the three electrodes have different roles, different materials can be used for each electrode in the 3-electrode configuration. The working electrode is selected based on the chemical reaction to be studies [16]. The counter electrode is selected to have a large conductivity to supply current and to be stable and not degrade or oxidize during the experiment, while still passing current [17]. For this reason, noble metals are often used, with platinum being especially prominent. As the reference electrode needs to provide a reference voltage, it needs to have a well-known electrode potential, i.e. a known electrical potential between the electrode material and the electrolytes in solution. Common reference electrodes include the saturated calomel electrode and silver / silver-chloride which are stable and have well characterized electrode potentials.

7There have been many potentiostat designs reported recently with many designed with discrete integrated circuits (ICs) that are connected with a printed circuit board (PCB) [18][19][20]. Many of these designs have shown very good performance [21], small size [22][23][24] and low cost [25][26][27]. Most open source potentiostats cover the voltage ranges of ± 1.5 V, and voltages in excess of this results in electrolysis of water, making larger voltages less useful in aqueous solutions. And most of the potentiostats are limited to around 0.1-0.2 mA of current as they have mostly been designed for analytical chemistry purposes, though the DStat does have the capability to measure up to 10 mA of current, see Table 1 for a comparison of previous works [21]. Almost all implement the most common electrochemical techniques of cyclic voltammetry, amperometry, and potentiometry, while the DStat, uMed and UWED also implement square-wave voltammetry and differential pulse voltammetry [19,21,28]. The uMed and UWED are also notable for their incorporation of a wireless interface into their open source design making them a good fit for remote healthcare applications.

8However previously reported potentiostats require the user to manufacture a PCB and to solder the electronic components onto the board. As these potentiostats are designed with small, surface mounted ICs, they require more skilled technicians and sophisticated tools to solder together, as compared to through-hole connections. This creates impediments to chemists and other scientists who want to use a potentiostat. There are also many reports of single chip potentiostats manufactured with complementary metal-oxide-semiconductor (CMOS) and related technologies [29][30][31]. These require even more specialized skills and equipment than the PCB / IC based potentiostats. This paper describes a potentiostat that can be made with commercially available parts without making a PCB or any soldering. To do this we use a Programmable System on a Chip (PSoC), a single IC microcontroller that includes with the CPU core, an array of other digital and analog electronic components. The parts needed are 1.) PSoC 5LP board (such as a CY8CKIT-059, CY8CKIT-050, or FreeSoC2; these are PCBs made with a PSoC 5LP attached that are made available to develop applications on, i.e. development boards), 2.) computer, and 3.) some electrical connectors. To attach the electrical connectors to the board, a conductive glue can be used, or they can be soldered on; which should be easy for most as the pins are through-hole and are easier to attach than surface mounted electrical components.

9There are some tradeoffs for the convenience of using a single chip potentiostat such as, the Opamps cannot be selected to optimize noise or the offset voltage. For example the Opamps used in the DStat were selected for this criteria and have a noise of 6:5 nV= ffiffiffiffiffiffi Hz p and an offset of < 0.2 mV, in comparison the Opamps of the PSoC 5LP have a noise of 45 nV= ffiffiffiffiffiffi Hz p and an offset of up to 12 mV (for the reference and working electrodes combined). Also the inputs of the PSoC 5LP are programmable general purpose input-output pins which cause them have a leakage current of up to 2 nA while the DStat Opamps, with their dedicated inputs designed for low currents, only have an input bias current of 200 fA. The ability to develop a potentiostat on a single chip is due to the power of the PSoC by Cypress Semiconductor, San Jose, California, which incorporates a microcontroller together with programmable analog components such as operational amplifiers (Opamps), comparators and transimpedance amplifiers. Together with the free Integrated Development Environment (IDE) PSoC Creator™, Cypress Semiconductor, San Jose, California, researchers with limited resources can now develop scientific and biomedical equipment quickly and with fewer components than was possible before. This can aid the growing movement towards developing open source equipment [32,33]. Just as 3D printers allows others to share the equipment they develop on the internet where others can download the designs and print them on their own 3D printer; the PSoC allows electronic designs, with both microcontroller and circuit elements, to be shared over the internet where others can use them by programming them into a PSoC device [34].

10This paper shows how to produce a potentiostat using a single PSoC 5LP. To demonstrate our device, a low cost (~$10) CY8CKIT-059 was used, which can be ordered from any electronics distributor. In order to access the device, we showed that it could quantify the amount of vitamin C in orange juice, measure glucose levels with a glucose strip, and detect and quantify the amount of lead in water.

Design

11The potentiostat was designed with PSoC Creator 4.1, Cypress Semiconductor, San Jose, California, a free IDE for programming PSoCs. The device used a PSoC 5LP (part number CY8CKIT-059, purchased from Mouser Electronics), which has integrated analog components into a single chip with an ARM Cortex-M3 CPU.

Voltage control circuit

12To control the voltage between the electrodes we use the circuit shown in Fig 1. The device can use an 8-bit voltage digital to analog converter (VDAC) or a 12-bit Dithering VDAC (DVDAC). The DVDAC is comprised of an 8-bit VDAC where the voltage of the DAC is quickly switched between 2 values. This makes the output the weighted average of the values written, which can be used to increase the resolution of the DAC. This switching causes noise on the output of the DVDAC so that a small capacitor (100 nF) has to be placed on its output to smooth out the voltage. Depending if the user has installed the external capacitor or not, they can choose what DAC to use to drive the common electrode by using an analog multiplexer (AMux) to select the DAC. The user interface asks the user if the DVDAC capacitor was installed and programs the device accordingly. The user's choice is then saved in the electrically erasable programmable read-only memory (EEPROM). An operational amplifier (Opamp) is used to buffer the voltage and to provide feedback from the reference electrode [35,36]. The build in Opamp has a bandwidth of 3 MHz [37]. The device can be operated in the standard 3 electrode mode or in a 2 electrode mode by setting the appropriate channel on the electrode AMux, which can be done through the user interface. This circuit will pass current through the common electrode pin until the voltage on the reference electrode pin is the same voltage as the DAC. The DAC's voltage is set by the firmware depending on the electrochemical parameters inputted into the device.

Current measuring circuit

13To measure the current, we use a current to voltage converting circuit, a transimpedance amplifier (TIA). The analog voltage from the TIA is then converted to a digital signal using an analog to digital convert (ADC). Fig 2 shows the circuit used to set the working electrode voltage and to measure the current passing between the common and working electrodes. To allow the device to work from a single power supply while still performing electrochemical experiments at negative potentials, a virtual ground is used. An 8-bit VDAC is used to make a virtual ground at 2.048 V so that the DAC driving the common electrode can make a -2.0 to +2.0 Volts difference between the common and working electrodes, which is a wider range than is needed for most electrochemical experiments.

14The current that passes through the working electrode is fed into a TIA, with a -3 db cutoff frequency of 567 kHz [38]. As the input impedance of the Opamp is high, the current goes through the resistor of the TIA. This causes a voltage that is the product of the current and the resistance according to Ohm's law (V = I Ã R). This voltage is then measured by a delta sigma ADC. The ADC is in differential mode, where the voltage is calculated from the difference of the TIA output voltage and the virtual ground voltage. The ADC values are then sent to a computer where they are used to calculate the current that was passed between the counter and working electrodes.

15The TIA of the PSoC has a variable impedance that can be controlled by the firmware. The impedance can be one of 8 levels between 20 kilohms and 1 megaohm. To do this the TIA uses switch capacitors and because of how the switch capacitors are manufactured, there can be a large variability in the actual impedance of the TIA (the datasheet says between -25 to +35% of the indicated value). To correct for this the current measuring circuit has a self-calibrating routine. An 8-bit current DAC (IDAC) is used to passed 5 different current levels into the TIA / ADC circuit. The resulting ADC values are then used to calibrate the TIA / ADC signal chain by using a linear interpretation of the calibration data to create the ADC counts to voltage conversion factor and to adjust any voltage offsets. To control when the calibration current or the working electrode current is passed into the TIA component an AMux is used. As the smallest impedance of the TIA is 20 kilohms, the device is limited to 100 μA of current. To give the user the option of increasing the current range, 2 analog pins (P[0] [7] and P[0] [4]) are made available that the user can place a resistor between with an AMux used to select when the external resistor should be used. S1 Supporting Information contains the analog circuit diagram drawn with an external schematic program using more conventional symbols and the different analog multiplexer connection options shown as typical switches for an additional reference guide to the analog circuitry. used to trigger interrupt service routines (isr). The period and counter values of the PWM are controllable by the user to set different sampling rates. An EEPROM is used to save what DAC the user wants to use. To allow the user to configure the device properly and to export the data from the device to a computer, a Full Speed USB component is used. The USB uses 2 endpoints, an interrupt OUT endpoint that polls the computer ever 10 ms that the user can use to send instructions to the device and a bulk IN that polls the computer every 1 ms that sends the data to the computer to display to the user.

Firmware development

16The firmware for the device is located at github.com/KyleLopin/PSoC-Potentiostat. The firmware was developed in PSoC Creator 4.1 developed by Cypress Semiconductor. Figs 1-3 are all made in the TopDesign window of PSoC Creator, which will configure the analog portion of the PSoC 5LP chip.

Graphical user interface

17A screen shot of the graphical user interface (GUI) is shown in Fig 4. The GUI is written in the python software language, version 2.7. The source code can be found at https://github.com/ KyleLopin/Potentiostat_GUI and a copy of the source code has been compiled into an executable and can be found at https://github.com/KyleLopin/Potentiostat_GUI/releases.

18The user can select different electrochemical techniques by selecting the appropriate notebook. The data is displayed using the matplotlib library. USB communication is done using pyUSB and the libusb-win32 libraries. All libraries and the USB backends have been compiled into the single executable file.

How to create the device

19The following steps allow anyone to create the device shown in this paper. All components used for the experiments in this paper are shown in Fig 5A, and a completed device is shown in Fig 5B and 5C. Fig 5D shows a close up of the CY8CKIT-059 with the pins labeled. A video of how to create this device is available at https://youtu.be/OCPO-TYS1mw.

201. Obtain a CY8CKIT-059 and plug the USB programmer end (the male end) into a computer. Note: The board has exposed electrical components, so an insulating enclosure for the board is beneficial.

212. Download the free program PSoC Programmer from Cypress Semiconductor found at http://www.cypress.com/products/psoc-programming-solutions 3. Load the Potentiostat.hex file located at https://github.com/KyleLopin/PSoC-Potentiostat, or S1 File, into PSoC Programmer.

224. Attach wires to pins 0.0 (working electrode), 3.4 (reference electrode), and 3.6 (counter electrode) using either conductive glue, solder or alligator clips.

235. Use a USB cable to connect to the female end of the CY8CKIT-059.

246. Download the free program Zadig, at http://zadig.akeo.ie/, to install the windows UBS drivers.

257. Select "List all devices" from the options menu in Zadig, select the "Naresuan Potentiostat" device, select the libusb-win32 driver and click on the Install Driver button. 6 ]) (Lab Scan, Gliwice, Poland) in 1 M KCl (Sigma Aldrich) with our PSoC-Stat and an EmStat3 potentiostat (PalmSens BV, Utrecht Netherlands). We used a conventional threeelectrode electrochemical cell with 3 standard electrodes. We used a glassy carbon electrode EZ-Hook electrical connectors used to connect the device to glucose strips; CY8CKIT-059 that has the PSoC 5LP that contains all the electrical components needed for a potentiostat; headers that can be connected to the board, with either solder or conductive glue (Conductive glue is not as strong over time but requires less equipment and skill to use); The DVDAC capacitor is optional but will increase the resolution of the potentiostat; 3 alligator clips with female jumper cables ends to attach electrodes to the device; a pencil lead electrode attached to a jumper wire with electrical glue. B) Photo of the assembled device with a case. C) Device assembled in its case. D) Close up of the CY8CKIT-059 with labels for where the electrodes, capacitor and USB connections should be attached.

26(BASi 1 , Indiana, USA) for the working electrode, a platinum electrode (Nilaco, Tokyo, Japan) for the counter electrode, and a standard Ag/AgCl electrode (BASi 1 , Indiana, USA) was used as the reference electrode. The experiments were run from 1000 mV to -400 mV with a scan rate of 10 mV/s. Ascorbate determination in orange juice. To determine the amount of ascorbate (Vitamin C) in orange juice, we used the technique of standard additions. We used a graphite electrode, a 20 mm thick 2B pencil 'lead' (brand Rotring, purchased from a local book store with coordinates: 16˚44'43"N 100˚11'36.2"E), for the working electrode and 99.9% pure Ag wire (purchased from a local jewelry store with coordinates: 16˚48'45.8"N 100˚15'43.6"E) for the counter and reference electrodes. The Ag wires were put in a container with bleach for 5-15 minutes, until they were observed to turn from silver to black, to coat the outside of the wire with a Ag/AgCl layer. The wire was then rinsed with deionize water to remove any bleach residue before use. The counter and reference electrodes were connected using alligator clips. Conductive glue was used to connect a wire to the working electrode. A picture of the electrode attachments is shown in S2 Supporting Information and the STL file to 3D print the electrode holder is in S4 File. We tested platinum and gold wires for the counter electrode and got similar results, but we chose to show the results from the cheapest set of electrodes we tested. To limit the current and to keep the surface area of the working electrode constant between experiments, even if the fluid level was slightly different, we coated the working electrode with dental wax and used a flame to expose just the tip of the electrode. 0.5 mm pencil 'lead' was also tested but was found to be difficult to use because they would often break between experiments. Type 2H pencil 'lead' was also used but had very poor results with much smaller currents than 2B.

27We mixed 1 part orange juice, 1 part 3 M KCl (to increase the conductance) and 1 part of added ascorbate to make our standard addition solutions. The orange juice was purchased from a local grocery store (coordinates: 16˚48'45.8"N 100˚15'43.6"E) and was made of Si Thong oranges. The KCl used in the 3M stock solution was purchased from Merck (CAS-No: 7447-40-7) and Sodium L-ascorbate was purchased from Sigma Aldrich (A4034-100G). We then gave a cyclic voltammetry sweep from +200 mV to +900 mV with a sweep rate of 0.1 V / second. A rolling mean of 2 samples was used to eliminate the 50 Hz noise picked up from the power lines in the building. Because a sweep rate of 0.1 V/second samples at 100 Hz, this rate picks up 50 Hz as a very high frequency noise in the signal. This noise could be eliminated by removing or shortening the lead wires connecting the device to the electrodes, but not by running the experiments on a battery powered laptop. This suggests the noise is picked up from electromagnetic interference.

28To calculate the value of ascorbate in our sample of orange juice we measured the current level at +550 mV, as was used in [25,39], for all samples. Using potentials higher than this can lead to species other than ascorbate oxidizing [39]. Next the current versus the added ascorbate was plotted [25]. By interpreting a line through the samples back to a zero current (the x-axis intercept) we can calculate the amount of ascorbate in the orange juice sample. The error of the standard additions was calculated using the following equation:

29where s y is the standard deviation of the residuals given by the following equation:

30and m is the slope of a line fitted to the data, n is the number of standards measured, " y is the average current measured, x i is the concentration of the added standard, "

31x is the average of the standards added, y i is the current measured, and b is the calculated y-intercept [40].

32Glucose measurements. To measure glucose, we purchased Accu-check Performa glucose test strips, Roche Diabetes Care, Inc., Indiana, USA. We used 2 mini-hook test clips to connect the outside electrodes of the glucose strips to the device to show a complex connector was not needed to use commercial strips, see S3 Supporting Information.

33The glucose samples were prepared by making a 2000 mg/dl glucose (Ajax Finechem: 783-500G) stock solution with 1X phosphate buffer solution (PBS) (Gibco: 14190-144) and then mixing the appropriate amount of the glucose stock with 1X PBS to make our testing samples. An amperometric experiment was performed for 6 seconds with the working electrode set at +500 mV [41], to receive electrons from the glucose oxidizing enzyme, GDH-PQQ [42], and the current was recorded at a rate of 1 kHz [43]. Initial tests showed that the readings were noisy due to power line noise so a 50 points rolling mean was used to smooth out the signal. To quantify the amount of glucose we took the average current from 4.8 to 5 seconds. We used a 20 ml glass vial as our chemical chamber with a gold wire as the working electrode and a Ag/AgCl wire as the counter and reference electrodes. The chamber was placed on top of a stir plate and a Teflon stirrer was used to stir the solution during the plating step, see S4 Supporting Information for a picture of the setup.

34For the anodic stripping voltammetry experiments we used a cleaning step of +500 mV for 30 seconds, a plating step of -1100 mV for 5 minutes with the solution being stirred for the first 4.5 minutes. A linear sweep from -1100 mV to +500 mV at a rate of 0.1 V/second was given after the plating step to strip the lead. Between readings the electrode is electrochemically cleaned by applying a +500 mV potential for 30 seconds while the solution is stirred to remove any lead or bismuth from binding to the electrode between experiments [44].

35Additional experiments were also performed with a plating time of 10 minutes (included in the S1 Dataset) but they gave less clear results than the 5 minute plating time experiments. Also a carbon electrode was tested but the background current was so large that it was more difficult to measure the stripping current. While others have shown more sensitivity with carbon electrodes, they usually require a special coating, such as Nafion, to reduce the capacitive current [45,46]. We chose to use a simpler working electrode composed of an uncoated 1 mm diameter, 99.7% pure gold wire that was purchased from a local jewelry store (coordinates: 16˚48'45.8"N 100˚15'43.6"E).

Device characterization

36To verify our device, we compared it to a commercial potentiostat, an EmStat from PalmSens, using standard electrodes. Fig 6 shows the results. Fig 6A shows our data in blue and a commercial potentiostat in black, performing cyclic voltammetry on a 5 mM ferricyanide solution in 1 M KCl with a scan rate of 10 mV/second. Both show the characteristic reversible oxidation and reduction peaks. There are slight differences between the traces, some of which could be due to electrochemical variations and temporal changes in the electrodes [19,21]. The PSoC-Stat can also have a slight voltage shift from the onboard Opamps. For potentiostats built from discrete ICs, the Opamps can be selected that are specialized for their applications. For potentiostats, the Opamps should be chosen to have no voltage offset. For the PSoC-Stat, we had to use the Opamps in the PSoC 5LP which can have a voltage offset. The Opamp that drives the counter electrode can have a maximum of 2 mV offset (though it will typically have 0 offset [37]) and the Opamp in the TIA circuit can have a maximum of 10 mV offset (though it typically will have 0 offset [38]). There are some tradeoffs for using a fixed single chip to build a circuit, and if an electrochemical experiments needs to be performed with an absolute accuracy of greater than 12 mV, the PSoC-Stat cannot meet that need and a more accurate potentiostat should be invested in.

37Also the current is noisier for the PSoC-Stat, most likely due to the TIA using switched capacitors to emulate the variable resistor used to change the current range, which will introduce a high frequency noise. In Fig 6B we show the data from Fig 6A with a 10 point rolling mean which removes most of the noise from the data. This is the strategy used by the uMED potentiostat [19]. The ADC of the PSoC-Stat has a sampling rate of 50 kHz, a future strategy to have the hardware remove the noise would be to collect multiple samples per data point and average them (even at 1 V/second the ADC can collect over 10 samples per step). Also the PSoC 5LP has a digital filter blocks (DFB) that can be configured to filter out the noise. Or post data acquisition filtering can be performed as was done here. The GUI has an option in the menu to implement a rolling mean with a variable number of samples.

38A more detailed characterization of the circuit noise is given in S5 Supporting Information and Table 1 is given to compare our noise and other important parameters to the other open source potentiostats developed.

Orange juice standard additions

39To demonstrate the capabilities of our device we performed standard addition experiments to quantify ascorbate (Vitamin C) in orange juice using cyclic voltammetry as shown in Fig 7. This experiment is exceptionally well positioned to be an introductory analytical chemistry lab as all the materials are inexpensive, non-hazardous and demonstrates the technique of cyclic voltammetry and standard additions [26,39,47].

40Ascorbate is redox active and will readily lose electrons (oxidizes) when the voltage of the working electrode increases above +100 mV (data not shown). The flow of electrons released from the oxidation of ascorbate is collected by the working electrode and measured by the potentiostat allowing the quantification of the oxidation rate, which is correlated with the concentration of ascorbate in the solution. By adding known quantities of ascorbate to the orange juice and measuring the increase in current, the ratio of current increase to concentration can be calculated. Taking the relationship between current and concentration with the current measured in the pure orange juice sample, the amount of ascorbate in the orange juice can be determined. Because the ratio of current to concentration is the slope of the fitted line, by extending the fitted line until the current is zero, the x-axis intercept is the concentration of ascorbate in the original sample [39]. Our experiments give a result of 0.152 ± 0.019 mg/ml. This is within 2% of the value given on nutrition panel of the orange juice of 0.15 mg/ml.

Glucose measurements

41The most common electrochemical medical device in use today is the glucose meter used by diabetics to monitor their blood glucose levels [48]. To measure glucose the working electrode is coated with the enzyme glucose oxidase, that converts glucose to gluconic acid with the production of hydrogen peroxide [49,50]. The hydrogen peroxide is then oxidized on the surface of the working electrode [51]. Glucose meters use the technique of amperometry, where a constant voltage is applied between a working electrode and counter electrode while the current is measured versus time. Because the glucose strips have 2 electrodes, the 2 electrodes configuration was used for the glucose measuring experiments. The user can select the 2-electrode option from the option menu of the GUI. Fig 8 shows the results of our experiments. Fig 8A is the raw current traces measured. To calculate the amount of glucose in solution, the current traces are measure for 5 seconds and the average of the current from 4.8 to 5 seconds is plotted versus the glucose concentration, see Fig 8B [ 52]. Our device showed a relationship of a 10.5 nA current for each mg/dl increase of glucose in solution with an R 2 of 0.98. At the current range used for the measurement of ±8 μA, the PSoC-Stat has resolution of 0.4 mg/dl. At this level most variation in the glucose measurements will be due to differences between glucose strips, and the temperature and humidity changes between measurements [53]. The PSoC-Stat measurements were well within the 15% accuracy needed for a glucose meter to be approved by the FDA [54].

Lead measurements

42Lead contamination has become a major problem worldwide, from the use of lead pipes and lead solder used to join copper pipes together in the water system of America [55,56], to area contamination from mining activity [57]. Because there is almost no government testing of household water, it would be beneficial for people to have an easy way to test if their water is safe for human consumption [58][59][60][61]. To measure lead in water we performed anodic stripping voltammetry (ASV) on water samples prepared with added bismuth [62]. ASV uses a negative voltage on the working electrode to "plate" (reduce) dissolved metal ions onto the electrode. To increase the sensitivity of the electrode, bismuth was added to the solution [63]. During the plating potential Bi 2+ will plate onto the electrode with Pb 2+ and form a "fused alloys" [64]. The electrode's voltage is then ramped up to "strip" (oxidized) the ions off. By measuring the currents from oxidation as a function of voltage, the amount of metal ions in solution can be quantified. Fig 9A shows the raw traces measured during the linear sweep of the ASV measurement. In these traces 3 current maximums can clearly be seen. The curves in the current around -200 mV occur as Pb atoms are oxidized off of the electrode to become Pb 2+ ions, while the increased current at +100 mV and +250 mV, is the oxidation of Bismuth atoms [65]. Because there is a background capacitive current that is sensitive to the area of the working electrode exposed to solution, a small change in the height of the testing solution can affect the background current. For the cyclic voltammetry measurements in orange juice we coated our electrodes in dental wax to fix the surface area of the electrode for each experiment. This was not possible in these experiments as the bismuth and lead will bind to the dental wax and not on the electrode. To fix the background current level of our experiments we normalized each current at -350 mV, as shown in Fig 9B. To further enhance the signal from the water samples the baseline (zero added lead) samples were averaged and that averaged baseline was subtracted from all recordings as shown in Fig 9C. Taking the current of the processed signals at -175 mV showed a linear relationship between the current and the lead concentration, see Fig 9D. These experiments shows that the PSoC-Stat could measure lead at levels above the concentration approved by the EPA of 15 ppb [66,67].

Conclusions

43Over the last few years there has been a movement in creating open source laboratory instruments [68]. The wide spread adoption of 3D printers has allowed labs to produce their own equipment, while sharing their designs online for others to use and modify [69]. This in conjunction with the development of open-source microcontroller platforms (e.g. Arduino), has made it easier for researchers to develop their own electronic equipment. The Programmable System on a Chip (PSoC) is another tool that can be used by the open source community to develop electronic equipment that has many benefits compared to other microcontrollers. The PSoC 5LP incorporates a microcontroller with programmable analog components. This flexibility allows electronic devices to be made without having to make a custom PCB and connecting numerous ICs. This greatly reduces the development and production cost of these devices in resource-limited environments. We demonstrated that it is possible to develop a potentiostat using just a single PSoC and demonstrated its capabilities by determining Vitamin C levels of orange juice, showed it can be used as a single chip glucose meter, and that it can determine lead contamination in water. Different electrochemical techniques are performed by changing the look up table functions in lut_function.c and additional techniques such as differential pulse voltammetry or square wave voltammetry could be programmed into the device by adding the appropriate embedded functions. We have made our device open source so that it can be used as a reference design. Others are welcome to modify and contribute code to implement other electrochemical techniques in the PSoC-Stat at the Github repository.

44Supporting information S1 Dataset. Data files used in this paper. (ZIP) S1 File. Hex file of potentiostat. This is the file to load into the PSoC 5LP to make the device tested in the paper.

참고문헌 67건

  1. ENCYCLOPEDIA OF CHEMICAL TECHNOLOGY Chemical & Engineering News · American Chemical Society · 1978 10.1021/cen-v056n003.p049
  2. Getting started with open‐hardware: Development and control of microfluidic devices Electrophoresis · Wiley · 2014 10.1002/elps.201400128
  3. DStat: A Versatile, Open-Source Potentiostat for Electroanalysis and Integration PLoS ONE · Public Library of Science · 2015 10.1371/journal.pone.0140349
  4. Amperometric Glucose Sensors: Sources of Error and Potential Benefit of Redundancy Journal of Diabetes Science and Technology · SAGE Publishing · 2010 10.1177/193229681000400127
  5. Principles of Instrumental Analysis CRC Press eBooks · Informa · 2001 10.1201/9781420025293.ch5
  6. Design of a CMOS Potentiostat Circuit for Electrochemical Detector Arrays IEEE Transactions on Circuits and Systems I Regular Papers · Institute of Electrical and Electronics Engineers · 2007 10.1109/tcsi.2006.888777
  7. An Environmentally Friendly, Cost-Effective Determination of Lead in Environmental Samples Using Anodic Stripping Voltammetry Journal of Chemical Education · American Chemical Society · 2008 10.1021/ed085p976
  8. Building Research Equipment with Free, Open-Source Hardware Science · American Association for the Advancement of Science · 2012 10.1126/science.1228183
  9. Electrochemical Methods: Fundamentals and Applications 1980
  10. Determination of arsenic by anodic stripping voltammetry and differential pulse anodic stripping voltammetry Analytical Chemistry · American Chemical Society · 1975 10.1021/ac60359a057
  11. Electrochemical Glucose Sensors and Their Applications in Diabetes Management Chemical Reviews · American Chemical Society · 2008 10.1021/cr068069y
  12. Measuring Vitamin C Content of Commercial Orange Juice Using a Pencil Lead Electrode Journal of Chemical Education · American Chemical Society · 2010 10.1021/ed800151x
  13. A study of pencil-lead bismuth-film electrodes for the determination of trace metals by anodic stripping voltammetry Analytica Chimica Acta · Elsevier BV · 2004 10.1016/j.aca.2004.05.008
  14. A low-cost smartphone-based electrochemical biosensor for point-of-care diagnostics 2014 10.1109/biocas.2014.6981725
  15. Glucose Biosensors: An Overview of Use in Clinical Practice Sensors · Multidisciplinary Digital Publishing Institute · 2010 10.3390/s100504558
  16. An embedded system for portable electrochemical detection Sensors and Actuators B Chemical · Elsevier BV · 2006 10.1016/j.snb.2006.08.032
  17. Fast-scan cyclic voltammetry as a method to measure rapid heterogeneous electron-transfer kinetics Analytical Chemistry · American Chemical Society · 1988 10.1021/ac00155a006
  18. Bioanalytical Experiments for the Undergraduate Laboratory: Monitoring Glucose in Sports Drinks Journal of Chemical Education · American Chemical Society · 2001 10.1021/ed078p788
  19. Electrochemical Methods: Fundamentals and Applications Anti-Corrosion Methods and Materials · Emerald Publishing Limited · 2003 10.1108/acmm.2003.12850eae.001
  20. Ferrocene-mediated enzyme electrode for amperometric determination of glucose Analytical Chemistry · American Chemical Society · 1984 10.1021/ac00268a018
  21. Cut costs with open-source hardware Nature · Nature Portfolio · 2014 10.1038/505618d
  22. Results of lead research: prenatal exposure and neurological consequences. Environmental Health Perspectives · National Institute of Environmental Health Sciences · 1996 10.1289/ehp.961041050
  23. Zur Kenntnis der sog. Glucose‐oxydase. I Justus Liebig s Annalen der Chemie · Wiley · 1937 10.1002/jlac.19375320102
  24. Glucose Determination in Beverages Using Carbon Nanotube Modified Biosensor: An Experiment for the Undergraduate Laboratory Journal of Chemical Education · American Chemical Society · 2013 10.1021/ed300429a
  25. Estimates of Precision in a Standard Additions Analysis Journal of Chemical Education · American Chemical Society · 1999 10.1021/ed076p805
  26. Three-dimensional printing physiology laboratory technology AJP Heart and Circulatory Physiology · American Physical Society · 2013 10.1152/ajpheart.00599.2013
  27. Bismuth-film electrodes: recent developments and potentialities for electroanalysis TrAC Trends in Analytical Chemistry · Elsevier BV · 2005 10.1016/j.trac.2004.11.006
  28. A novel, disposable, screen-printed amperometric biosensor for glucose in serum fabricated using a water-based carbon ink Biosensors and Bioelectronics · Elsevier BV · 2005 10.1016/j.bios.2005.01.003
  29. A study of Nafion-coated bismuth-film electrodes for the determination of trace metals by anodic stripping voltammetry The Analyst · Royal Society of Chemistry · 2004 10.1039/b404978k
  30. A study of bismuth-film electrodes for the detection of trace metals by anodic stripping voltammetry and their application to the determination of Pb and Zn in tapwater and human hair Talanta · Elsevier BV · 2003 10.1016/s0039-9140(03)00350-3
  31. CheapStat: An Open-Source, “Do-It-Yourself” Potentiostat for Analytical and Educational Applications PLoS ONE · Public Library of Science · 2011 10.1371/journal.pone.0023783
  32. Gold Nanobone/Carbon Nanotube Hybrids for the Efficient Nonenzymatic Detection of H<sub>2</sub>O<sub>2</sub> and Glucose Electroanalysis · Wiley · 2014 10.1002/elan.201400140
  33. An Integrated Potentiostat With an Electrochemical Cell Using Thin-Film Transistors IEEE Transactions on Electron Devices · Institute of Electrical and Electronics Engineers · 2009 10.1109/ted.2009.2026120
  34. Modified Electrodes Used for Electrochemical Detection of Metal Ions in Environmental Analysis Biosensors · Multidisciplinary Digital Publishing Institute · 2015 10.3390/bios5020241
  35. Open Labware: 3-D Printing Your Own Lab Equipment PLoS Biology · Public Library of Science · 2015 10.1371/journal.pbio.1002086
  36. Detecting Subsecond Dopamine Release with Fast-Scan Cyclic Voltammetry in Vivo Clinical Chemistry · American Association for Clinical Chemistry · 2003 10.1373/49.10.1763
  37. A Portable Potentiostat with Molecularly Imprinted Polymeric Electrode for Dopamine Sensing 2009 10.1109/cas-ictd.2009.4960767
  38. Universal mobile electrochemical detector designed for use in resource-limited applications Proceedings of the National Academy of Sciences · National Academy of Sciences · 2014 10.1073/pnas.1405679111
  39. Bismuth and Bismuth Alloys Kirk-Othmer Encyclopedia of Chemical Technology · 2010 10.1002/0471238961.0209191303080107.a01.pub3
  40. Towards a Miniature Implantable In Vivo Telemetry Monitoring System Dynamically Configurable as a Potentiostat or Galvanostat for Two- and Three-Electrode Biosensors IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2005 10.1109/tim.2004.839757
  41. Low-power Single-chip CMOS Potentiostat Proceedings of the International Solid-State Sensors and Actuators Conference - TRANSDUCERS '95 · 2005 10.1109/sensor.1995.717115
  42. Neuropsychological function in children with blood lead levels &lt;10μg/dL NeuroToxicology · Elsevier BV · 2007 10.1016/j.neuro.2007.07.007
  43. An Inexpensive Field-Portable Programmable Potentiostat The Chemical Educator · Springer Nature · 2005 10.1333/s00897050972a
  44. Elevated Blood Lead Levels in Children Associated With the Flint Drinking Water Crisis: A Spatial Analysis of Risk and Public Health Response American Journal of Public Health · American Public Health Association · 2015 10.2105/ajph.2015.303003
  45. The Effects of Temperature and Relative Humidity on Point-of-Care Glucose Measurements in Hospital Practice in a Tropical Clinical Setting Journal of Diabetes Science and Technology · SAGE Publishing · 2016 10.1177/1932296816633485
  46. Syndapin 3 modulates fusion pore expansion in mouse neuroendocrine chromaffin cells AJP Cell Physiology · American Physical Society · 2014 10.1152/ajpcell.00291.2013
  47. Building a Microcontroller Based Potentiostat: A Inexpensive and Versatile Platform for Teaching Electrochemistry and Instrumentation Journal of Chemical Education · American Chemical Society · 2016 10.1021/acs.jchemed.5b00961
  48. Ten-Year Monitored Natural Recovery of Lead-Contaminated Mine Tailing in Klity Creek, Kanchanaburi Province, Thailand Environmental Health Perspectives · National Institute of Environmental Health Sciences · 2016 10.1289/ehp215
  49. Low-level prenatal lead exposure and infant sensory function Environmental Health · BioMed Central · 2016 10.1186/s12940-016-0148-6
  50. Blood Lead Levels Among Children Aged &lt;6 Years — Flint, Michigan, 2013–2016 MMWR Morbidity and Mortality Weekly Report · Centers for Disease Control and Prevention · 2016 10.15585/mmwr.mm6525e1
  51. Minimally Invasive Pseudo-continuous Blood Glucose Monitoring: Results from In-Vitro and In-Vivo Testing of the eTac 2022 IEEE International Symposium on Circuits and Systems (ISCAS) · 2018 10.1109/iscas.2018.8351511
  52. The Final Frontier for Point of Care Point of Care The Journal of Near-Patient Testing & Technology · Lippincott Williams & Wilkins · 2013 10.1097/poc.0b013e318266b7fe
  53. Graphite pencil electrodes as electrochemical sensors for environmental analysis: a review of features, developments, and applications RSC Advances · Royal Society of Chemistry · 2016 10.1039/c6ra17466c
  54. A Multi-Technique Reconfigurable Electrochemical Biosensor: Enabling Personal Health Monitoring in Mobile Devices IEEE Transactions on Biomedical Circuits and Systems · Institute of Electrical and Electronics Engineers · 2016 10.1109/tbcas.2016.2586504
  55. Pencil Graphite Electrodes: A Versatile Tool in Electroanalysis Journal of Analytical Methods in Chemistry · Hindawi Publishing Corporation · 2017 10.1155/2017/1905968
  56. Bioelectroanalysis in a Drop: Construction of a Glucose Biosensor Journal of Chemical Education · American Chemical Society · 2017 10.1021/acs.jchemed.6b00948
  57. High prevalence of elevated blood lead levels in both rural and urban Iowa newborns: Spatial patterns and area-level covariates PLoS ONE · Public Library of Science · 2017 10.1371/journal.pone.0177930
  58. Wearable Microsystem for Minimally Invasive, Pseudo-Continuous Blood Glucose Monitoring: The e-Mosquito IEEE Transactions on Biomedical Circuits and Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tbcas.2017.2669440
  59. Fabrication NiAl/Cu Composite Powder for Thermal Spray Coating Applied Mechanics and Materials · Trans Tech Publications · 2017 10.4028/www.scientific.net/amm.866.240
  60. A Simple and Inexpensive Electrochemical Assay for the Identification of Nitrogen Containing Explosives in the Field Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17081769
  61. Open-Source Potentiostat for Wireless Electrochemical Detection with Smartphones Analytical Chemistry · American Chemical Society · 2018 10.1021/acs.analchem.8b00850
  62. A USB-controlled potentiostat/galvanostat for thin-film battery characterization HardwareX · Elsevier BV · 2017 10.1016/j.ohx.2017.08.001
  63. PRINCIPLES OF INSTRUMENTAL ANALYSIS 2019
  64. SOLIDIFIED FLOATING ORGANIC DROP MICROEXTRACTION–ELECTROTHERMAL ATOMIC ABSORPTION SPECTROMETRY FOR THE DETERMINATION OF TRACE AMOUNTS OF LEAD IN WATER SAMPLES Malaysian Journal of Analytical Science · Penerbit Universiti Kebangsaan Malaysia (UKM Press) · 2017 10.17576/mjas-2017-2101-09
  65. Ueber Diffusion Annalen der Physik · Wiley · 1855 10.1002/andp.18551700105
  66. Minimally invasive pseudo-continuous blood glucose monitoring: Results from in-vitro and in-vivo testing of the e-Mosquito 2022 IEEE International Symposium on Circuits and Systems (ISCAS) · 2016 10.1109/iscas.2016.7527235
  67. Zur Kenntnis der sog. Glucose‐oxydase. II Justus Liebig s Annalen der Chemie · Wiley · 1939 10.1002/jlac.19395410107