AquaSift: point-of-use microfluidic detection system

Size: px
Start display at page:

Download "AquaSift: point-of-use microfluidic detection system"

Transcription

1 Santa Clara University Scholar Commons Interdisciplinary Design Senior Theses Engineering Senior Theses AquaSift: point-of-use microfluidic detection system Daniel Beyers Santa Clara University Jasper Tan Santa Clara University Brandon Young Santa Clara University Follow this and additional works at: Part of the Computer Engineering Commons, and the Electrical and Computer Engineering Commons Recommended Citation Beyers, Daniel; Tan, Jasper; and Young, Brandon, "AquaSift: point-of-use microfluidic detection system" (2015). Interdisciplinary Design Senior Theses This Thesis is brought to you for free and open access by the Engineering Senior Theses at Scholar Commons. It has been accepted for inclusion in Interdisciplinary Design Senior Theses by an authorized administrator of Scholar Commons. For more information, please contact

2

3 AquaSift: Point-of-Use Microfluidic Detection System by Daniel Beyers Jasper Tan Brandon Young Submitted in partial fulfillment of the requirements for the degrees of Bachelor of Science in Computer Science and Engineering Bachelor of Science in Electrical Engineering School of Engineering Santa Clara University Santa Clara, California June 05, 2015

4 AquaSift: Point-of-Use Microfluidic Detection System Daniel Beyers Jasper Tan Brandon Young Department of Computer Science and Engineering Department of Electrical Engineering Santa Clara University June 05, 2015 ABSTRACT AquaSift is a portable, a ordable, point-of-use system that performs microfluidic detection of contaminants in drinking water. It comprises four main components: a three-electrode sensor, a potentiostat circuit device, an Android application, and an online database. It utilizes three-electrode voltammetry by applying a voltage stimulus across the electrodes and reading the induced current on the water sample. Testing has shown that our system is able to detect arsenic in solution samples. The Android application serves as the user interface to the system, and the online database allows the mapping of test results on an easy-to-use website.

5 Table of Contents 1 Introduction Problem Statement Benefit Three-Electrode Voltammetry General Overview Arsenic Detection Discrimination Existing Solutions Lab-Grade Electrochemical Analyzer Colorimetric Detection CheapStat Previous Work Sensor Development Circuit Development Mobile Application Development Target Specifications General Overview Potentiostat Circuit Device Overview Microcontroller: Texas Instruments MSP430G State Diagram Providing Voltage Stimuli Pulse-Width Modulation Circuit Result Measuring Current Analog Reading Sensitivity Switching Analog-Digital Conversion Selecting Resistor Values Printed Circuit Board Rev Noise Issues High Resistance Value Simultaneously Running Android Application Testing and Results Accuracy Repeatability Sensitivity iv

6 3 Mobile Application Overview Requirements Functional Requirements Non-Functional Requirements State Diagram Use Cases Use Case 1: Connect to Microcontroller Use Case 2: Take Calibration Reading Use Case 3: Take Sensor Reading Data Analysis Geolocation Test Plan Web Overview Requirements Functional Requirements Non-Functional Requirements Solution Overall System General Overview Communication Physical Connections Ethical Analysis Introduction Markkula Center for Applied Ethics The Utilitarian Approach The Rights Approach The Common Good Approach Product Development Ethics Sustainability Future Work Potentiostat Circuit Device Microcontroller Analog Interface Android Application Lessons Learned Team Accountability Abstraction Big Picture Appendices 51 A Potentiostat Schematic 52 B PCB Rev 1 Gerber 53 C PCB Rev 1 Schematic 54 v

7 List of Figures 1.1 Necessary voltage input to detect arsenic The CH Instruments 730D Electrochemical Analyzer The CheapStat device from University of California Santa Barbara [3] AquaSift s potentiostat device, Android application, and online database (L-R) Microcontroller State Diagram Two voltage sweeps: linear voltage sweep for detecting arsenic (L) and square wave voltage sweep (R) Two possible issues: a voltage peak that is too small for analysis (L) and a voltage peak that saturates the op amp (R) The transimpedance amplifier contains three di erent possible RC configurations to allow di erent sensitivities Oscilloscope signal of high resistance when the sweep is initialized by the Android application (L) and by a hardware pushbutton interrupt without the application (R) with a 330K transimpedance resistor Peak Voltage Value vs. Arsenic Concentration Result taken from AquaSift and from CH Instruments Electrochemical Analyzer Voltage peaks for a 50mg/L arsenic sample using a 110k resistor (L), a 24k resistor (M), and a 10k resistor (R) Mobile Application State Diagram The Android tablet uses a USB cable to connect to the FTDI 232r, which is then connected to the potentiostat circuit device using wires. The three electrodes are connected to the potentiostat circuit device using wires vi

8 List of Tables 2.1 Microcontroller Specifications [4] PCB Rev 1 Costs Peak Voltage Values on a 5µg/L Arsenic Solution Voltage readings for sensitivity switching on a 50mg/L arsenic solution Mobile Application Functional Requirements Mobile Application Non-Functional Requirements Oscilloscope to Application Comparison Connecting to Microcontroller Taking a Calibration Reading Taking a Sensor Reading Web Functional Requirements Web Non-Functional Requirements vii

9 Chapter 1 Introduction 1.1 Problem Statement Being able to detect contaminants in drinking water provides many benefits. Arsenic is one such substance that serves as a good example. According to The World Health Organization (WHO), an estimated 200 million people are exposed to drinking water sources contaminated with arsenic [1]. Long-term exposure is linked to lung, bladder, skin, kidney, and liver cancers. Arsenic is di cult to detect because it is tasteless, colorless, and odorless, which prevents human senses from identifying it. As a result, many do not know that they are drinking contaminated water. Currently, solutions exist to detect contaminants, but they lack certain features beneficial for the emerging market. Large, expensive lab equipment (costing thousands of dollars) is needed to perform electrochemical detection using electrodes. This equipment requires extensive training, is not field-portable, and may cost too much for deployment in multiple areas. The colorimetric method o ers a less expensive alternative, but it does not provide a quantifiable measurement of arsenic. If arsenic is present in the water, the test paper changes color, but it is di cult to map a certain color to an exact concentration of arsenic. Furthermore, the end result of a test is simply a colored piece of paper; the test does not produce digital data that can be stored for further analysis. A research group in the bioengineering department of Santa Clara University has been able to provide a new method for detecting contaminants in water using a disposable three-electrode sensor system. Such a device needs both hardware and software support for its operation. We have thus designed and implemented a system comprising an a ordable, portable, and simple circuit board that can perform simple microfluidic electrochemical detections, as well as an Android application that interfaces with the bioengineering sensor. The circuit device is connected to an Android device for both power and control. The Android application is able to perform multiple functions, such as reading and analyzing test data, controlling the circuit board s operations, and 1

10 storing values on a global database. Our system maintains its low cost and convenience while still providing accurate concentration values in its readings. 1.2 Benefit Our system makes the detection of microfluidic substances easier. It can also be used for bookkeeping of contaminated sources through the database. While our work does not provide methods of filtering the contaminants out or of cleaning the water source, it provides information as to which sources need treatment. This can potentially save lives, as people will be more able to avoid drinking from contaminated water sources. We intend our product to be used by social enterprises and organizations for convenient management of water sources they are responsible for. Aside from its social implications, our system also has academic value, as it can be used for electrochemistry classes in school labs instead of costly equipment. Studying concepts such as voltammetry is di cult because schools may have reservations about allowing each student to operate an expensive electrochemical analyzer, or may lack the resources to provide enough analyzers for an optimal classroom experience. An a ordable and portable potentiostat makes it much more feasible for schools to have lab sessions where students can perform voltammetry and analyze results. 2

11 1.3 Three-Electrode Voltammetry General Overview The method AquaSift uses to detect contaminants is three-electrode voltammetry. This procedure from electrochemistry utilizes three metal electrodes, called the working, counter, and reference electrodes, that are submerged in the water sample being analyzed. An electrochemical analyzer is then attached to the three electrodes. The process is two-step: voltage stimulus and current measurement. The electrochemical analyzer first provides a certain voltage input, dependent on the specific contaminant to be detected, across the working and reference electrodes. This voltage stimulus causes a reaction to occur in the sample if the contaminant is present. The reaction then produces an electrical current; the higher the concentration of the contaminant, the higher the current produced. Next, the electrochemical analyzer measures the amount of current produced in the reaction, and one can then examine the data to determine the concentration of the contaminant in the water sample Arsenic Detection While we designed our circuit with the goal of having it be versatile for the detection of multiple contaminants, all of our testing this year has been with arsenic detection. For arsenic, the voltage stimulus required is a linear voltage sweep with two steps. The first is the deposition stage, where the voltage across the working and reference electrodes is maintained at -0.5V for two minutes. This low voltage attracts the arsenic ions, which appear positively charged in their aqueous form, to the working electrode. The ions are then joined with electrons, resulting in a solid form of arsenic. After the two minutes, a linear voltage sweep from -0.5V to 0.6V is applied over 22 seconds. At arsenic s oxidation potential of around 0.1V, the arsenic gives up its electrons, which produces a current that can be read through the working electrode. This is summarized in the plot seen on Figure

12 Figure 1.1: Necessary voltage input to detect arsenic Discrimination One question that may arise is how the electrochemical analyzer can discriminate among various contaminants. In other words, how can one determine which contaminant is producing the measured current? A certain contaminant would cause a reaction only for a certain voltage stimulus. For example, the voltage input used to detect arsenic may not cause reactions for other substances, which would then not produce any current. Furthermore, the current seen for a certain contaminant occurs at a precise voltage value during the stimulus. For arsenic, this is at 0.1V. Thus, it is safe to say that a current measured at 0.4V is not caused by arsenic contamination. 4

13 1.4 Existing Solutions Water contamination is a problem that has existed for a long time. Thus, there are numerous solutions present today that aim to detect these substances. However, each of them has disadvantages that we aim to address with AquaSift Lab-Grade Electrochemical Analyzer One of the standard methods for accurate detection of contaminants is using a lab-grade electrochemical analyzer, which utilizes voltammetry. It is attached to the set of electrodes that would be placed into the water sample, and it is also connected to a computer. The computer must contain the analyzer s accompanying software tool, which is used to operate the device. The user also uses the software tool to read and analyze the measurements made by the analyzer. Our lab contains the 730D from CH Instruments, as seen in Figure 1.2. Figure 1.2: The CH Instruments 730D Electrochemical Analyzer Such a tool provides strong accuracy in detecting contaminants. It is also versatile, as it is able to provide a variety of voltage stimuli for the detection of di erent types of contaminants. Also, digital data representing test results is readily available to be reviewed and analyzed again. This allows easy management, communication, and storage of information. However, lab-grade electrochemical analyzers still come with disadvantages, especially for emerging communities. First, these devices typically cost more than a thousand US dollars, which may not be financially feasible for poorer communities. Also, because of its size and software support requirements, the system must be housed in a laboratory instead of being able to be brought into the field for point-of-use testing. In line with this, such a tool requires technical knowledge and 5

14 training in order to be used properly. For emerging markets and developing nations, such resources are typically not available Colorimetric Detection Colorimetric detection can also be used to detect contaminants in drinking water [2]. In this method, specifically chosen pieces of paper are dipped into a water sample. The presence of the contaminant under investigation changes the color on the piece of paper. Higher concentrations would provide more drastic color changes. This method addresses the disadvantages of the lab-grade potentiostat. First, it is a portable kit that is easily brought into the field for point-of-use detection. Second, a kit typically costs less than 50 US dollars, which makes it more accessible for developing nations. Third, the method is easily performed by people without technical knowledge, which eliminates the requirement for having technically trained people present to perform tests. However, colorimetric detection also has some disadvantages. First, it is di cult to determine the specific concentration value of the contaminant present with just a color shade. The method does not return numeric values, but simply a visual cue. Thus, a user would have to restrict his/her analysis to how drastic he/she perceives the color change to be. Also, there would be no digital data that can later be analyzed or shared CheapStat The existing solution that shares many similarities with ours is the CheapStat, a potentiostat device designed by a research group at University of California Santa Barbara [3]. This device is a potentiostat with a size slightly larger than a deck of cards that can perform basic voltammetric sweeps for the detection of contaminants in liquid samples. It consists of a printed circuit board housed in a plastic container to which one can attach three electrodes to perform tests. The device is shown in Figure

15 Figure 1.3: The CheapStat device from University of California Santa Barbara [3] This device has the portability that allows easy point-of-use detection for in-field testing. It is also plugged into a computer, which then yields digital data and precise measurement values for analysis. Furthermore, its price tag of less than 80 US dollars makes it more feasible for developing nations to purchase compared to a lab-grade potentiostat. This device, however, does not contain some features which we deem important. First, it needs to be plugged into a computer for data analysis. This diminishes the portability value, as even laptop computers carry some extra bulk. Furthermore, computers increase the price for the entire system if they are a requirement for proper operation. Also, the CheapStat does not provide a database feature where results can be stored for easy management of test data. Lastly, some technical knowledge is still required to be able to use the CheapStat properly. While these existing solutions are able to address some issues with the detection of contaminants in drinking water, there are also still some opportunities for improvement. Our device provides features that none of these existing solutions have. 7

16 1.5 Previous Work In the past few years, other student groups have completed work on this project, and great progress has been made towards a deliverable system. This year, we took their work and improved on it, adding features and implementing designs Sensor Development Bioengineers at Santa Clara University have conducted research on a voltammetric method to detect arsenic using a three-electrode sensor. The end product of such research was a portable sensor prototype that contained three painted electrode strips on which water samples could be placed. The bioengineers tested their sensor by connecting it to a CH Instruments lab-grade potentiostat and its accompanying PC software. Their research has also given us the details regarding the voltage stimulus one must apply to a water sample in order to detect arsenic. We used this information to design our system Circuit Development Past electrical engineers at Santa Clara University have developed a potentiostat circuit to support the bioengineering sensor. A basic and functional potentiostat was implemented on a breadboard. It is able to perform linear sweeps with the Texas Instruments MSP430 as its microcontroller. In our project, we added features to this basic circuit such as sensitivity switching and implemented it on a printed circuit board. We also enhanced the code of the microcontroller to handle sensitivity selection input Mobile Application Development Previous Santa Clara University computer engineers have developed an Android application that integrates with the potentiostat circuit. This mobile app is able to accept test results from the circuit through UART communication. The application also provides a simple algorithm to plot the results. We enhanced the mobile application to include features such as sensitivity switching, geolocation, communication with our online database, a calibration option for visual comparison to clean water samples, and more precise test results displayed to the user. 8

17 1.6 Target Specifications In order for our product to be successful, we determined target specifications that our device must meet. The device must be able to tolerate temperatures from 30 o F to 120 o F to be durable for field testing. The target cost for one device is $50 (US). This ensures that developing nations will be able to a ord the system. To ensure portability, our device must have size dimensions close to 2in x 3in x 1in (about the size of a pack of cards). For arsenic, the device must be able to detect as low as 10ppb, as this is the threshold set by the World Health Organization for water safe from arsenic contamination. 9

18 1.7 General Overview AquaSift consists of four main components: a three-electrode sensor, a potentiostat device, an Android application, and an online database. The three-electrode sensor is the product of research done by bioengineering students. Its materials and geometry are carefully chosen for each contaminant. The sensor is where the water sample is placed for analysis. The other three components, which are seen in Figure 1.4 are the products of this research project. Figure 1.4: AquaSift s potentiostat device, Android application, and online database (L-R) A potentiostat is a device that utilizes voltammetry by being able to provide a voltage stimulus and to measure a read current. Our potentiostat device contains analog circuitry and a digital microcontroller to accomplish these needs. The Android application serves as the interface for the system. It allows the user to choose the type of voltammetric sweep he/she wants to perform, as well as shows the user the data from the test. The Android application also allows users to take readings from a clean water sample for visual comparison to contaminated samples, and to send test data, water source depth, and geolocation information to an online database. Aside from housing measurements, the online database also presents a clear map-based interface for easy reading of information. The components are connected with specific interfaces to handle the flow of data and signals. The three-electrode sensor and the potentiostat device are connected electrically using wire connectors such as alligator clips or hooks. A USB cable is used to connect the potentiostat circuit to the Android device. UART is the communication protocol used by the potentiostat s microcontroller, while USB is that used by the Android device. Thus, a USB-UART interface device is used between the two. Hypertext Transfer Protocol (HTTP), the standard protocol for transferring information over the Internet, is used to allow communication between the Android application and the online database. For a user to run a test, he/she must first place a water sample on the three-electrode sensor. Afterwards, he/she can determine the parameters for the voltammetric sweep to be run and input 10

19 the depth of the water source. Then, the user starts the sweep with a button on the Android application. After a few minutes, the Android application will show the results of the sweep and upload these results, the water source depth, and the Android device s current GPS location to the online database, finishing the test. On the system side, the test starts once a signal is sent from the Android application to the potentiostat device. The potentiostat then provides the controlled voltage on the three electrodes of the sensor. This voltage stimulus causes a reaction in the water sample if the contaminant is present, which then causes a current. The current is read by the potentiostat device and converted into a voltage. This voltage is converted into digital data via the microcontroller, which then sends this data back to the Android application. The Android application performs calculations and analyzes the data to produce the final results to be shown to the user. 11

20 Chapter 2 Potentiostat Circuit Device 2.1 Overview The purpose of the potentiostat device is to implement three-electrode voltammetry by being able to provide voltage stimuli and to read induced current. The device is to be connected to the three electrodes that would be placed into the water sample. To accomplish this, it comprises a digital microcontroller and an analog interface. The microcontroller is used to provide voltages, and it also allows communication between the potentiostat device and the Android application. The analog circuitry is used to interface between the sensors and the microcontroller, and it also maintains signal integrity by containing filters to eliminate noise. Our device also has non-functional requirements. It must be portable enough for convenient point-of-use testing. We aimed to have our device smaller than the size of a regular deck of cards. Also, the device must have a maximum cost of $50. Lastly, the device must be able to be powered by the Android device alone to eliminate the need for external power sources. 2.2 Microcontroller: Texas Instruments MSP430G2553 Our microcontroller choice is the Texas Instruments MSP430G2553. Such a chip contains features that are valuable for our requirements. First, it has a low cost with its through-hole and surface mount versions available on Digikey for $2.80 and $1.01 respectively. It is also small in size, as its through-hole version comes in the standard 20-DIP package. The microcontroller contains a 10-bit analog-to-digital converter, which we require to have digital data available to communicate to the Android application. The MSP430G2553 supports UART communication, which we use for data transfer between the microcontroller and the Android device. It does not have a digital-to-analog converter, and it can only output either its supply or ground voltages. Lastly, the microcontroller runs on low power, requiring a supply voltage of 1.8 to 3.6V, drawing only 230µA while active and 12

21 0.5µA on standby. USB connection to a host device is able to provide 3.3V, which is enough to power the microcontroller. These specifications are summarized in Table 2.1. Table 2.1: Microcontroller Specifications [4] Microcontroller Texas Instruments MSP430G2553 Cost (Digikey) Surface mount: $1.01 Through-hole: $2.80 Analog-to-digital converter 10-bits Digital-to-analog converter None Communication protocols UART, SPI, I2C Voltage supply V Operation current Active: 230µA Standby: 0.5µA State Diagram Figure 2.1 shows the microcontroller s state diagram, which depicts the standby, sweep, and data transfer states. The details for each state are listed after the state diagram. Figure 2.1: Microcontroller State Diagram 13

22 Standby State Initiation: The standby state is entered when the microcontroller is first powered on and whenever data transfer is completed. Function: This state uses low-power mode when waiting for the user to start a given test sweep using the Android application. Interaction: This state interacts with the Android application. Sweep State Initiation: The sweep state is entered once an interrupt sent from the Android application has been detected. Function: This state sends the appropriate voltage stimulus to the pathogen sensor for detecting a particular contaminant and reads the results. Interaction: This state interacts with the pathogen sensor. Data Transfer State Initiation: The data transfer state is entered after a test sweep has been completed. Function: The microcontroller must send the test results to the Android application for further analysis and processing. Interaction: This state interacts with the Android application. 14

23 2.3 Providing Voltage Stimuli Three-electrode voltammetry requires an input voltage stimulus to start the reaction in the chemical sample. Our device uses both the microcontroller and the analog interface to provide this voltage input. A schematic representing the analog interface can be found in Appendix A Pulse-Width Modulation Since the MSP430G2553 does not contain a digital-to-analog converter, the only voltages that it can provide are its supply voltage (3.3V for our system) and 0V. To be able to provide voltage values in between, pulse-width modulation is used. In this technique, the voltage is kept high for a certain amount of time, and then low for another period of time. The duty cycle is the proportion of the max voltage value that we desire for the output. It also describes how long the voltage should be kept high. For example, to achieve 80% of 3.3V, the voltage should be kept high for 80% of the time, and low for the remaining 20%. This behavior is kept in a cycle for the duration of time we desire the voltage value. This voltage is then fed into a low-pass filter in order to eliminate the high frequencies of switching between high and low voltage values. The final result is the average of the duty cycle, which then allows any value from 0 to 3.3V to be outputted Circuit For our system, we are controlling the voltage between the working and reference electrodes. The working electrode is the input of an op amp, with half of the voltage supply being the other input. Thus, the working electrode is kept at a constant voltage value of 1.65V, and it is the reference electrode s voltage value that is determined by the pulse-width modulation signal. This allows us to provide any voltage value from -1.65V to 1.65V, which is necessary because some contaminants, such as arsenic, require negative voltage values for detection. A second-order passive RC low-pass filter is used to clean the PWM signal fed in. Afterwards, a unity-gain op amp bu er is used. The output of the op amp serves as the voltage value for the counter and reference electrodes Result Figure 2.2 shows two examples of voltage sweeps by the potentiostat circuit device as measured on the oscilloscope. The linear voltage sweep has a duration of 22 seconds and starts at -0.5V and ends at 0.6V. These are the parameters required for arsenic detection. The square wave voltage sweep was implemented to serve as a proof of concept. While it was not designed with specific parameters 15

24 in mind, research suggests that square wave voltammetry is necessary for the detection of nitrates. An issue that arises with implementing square wave voltammetry on AquaSift s current design is that the square wave cannot accommodate high frequencies because of the included rise and fall times. Figure 2.2: Two voltage sweeps: linear voltage sweep for detecting arsenic (L) and square wave voltage sweep (R) 2.4 Measuring Current Analog Reading Current is read through the working electrode. The end value is to be read by the microcontroller, which can only read voltage values. Thus, a transimpedance amplifier is used to provide a voltage value that is the product of the current value and the resistor value. It is important to remember that one end of the resistor is kept constantly at 1.65V and not 0V. There are two issues that may arise when mapping the current to voltage. First, the conversion may not be sensitive enough, producing a voltage value that is too small to extract relevant information from. Second, the correct resulting voltage value may be larger than 3.3V, which would saturate the op amp. Such a value would not be able to be read as the output could not exceed 3.3V. Figure 2.3 shows these two issues as seen on an oscilloscope. 16

25 Figure 2.3: Two possible issues: a voltage peak that is too small for analysis (L) and a voltage peak that saturates the op amp (R) Sensitivity Switching To address such an issue, our device contains a sensitivity switching feature. Since the resistor value is used as the scaling factor for converting current into voltage, it is the factor that may cause the two issues. Thus, our device contains three di erent resistor values, each activated by a switch. This allows the user to choose which resistor value to activate for each test. If a low current value is expected, then the larger resistor should be chosen. Included in the transimpedance amplifier is a capacitor in parallel to the resistor to provide filtering. Each resistor can be accompanied by its own capacitor in order to maintain the same RC value regardless of the sensitivity. The microcontroller selects which of the switches to turn on. It contains three di erent general purpose input output (GPIO) ports that are each connected to one switch. The initiation of the whole process is triggered by interrupts on the microcontroller, which handles input characters of a, b, and c. If it receives an a, it would turn on the switch with the large resistor value by providing a high voltage to that switch and providing ground voltages to the remaining ones. The characters b and c do the same for the medium resistor value and the low resistor value respectively. Thus, one is able to start the test and to choose the sensitivity by simply sending these characters from the Android application, which, discussed in later sections, masks these operations with pushbuttons on the screen. Figure 2.4 shows the transimpedance amplifier with the sensitivity switching feature. 17

26 Figure 2.4: The transimpedance amplifier contains three di erent possible RC configurations to allow di erent sensitivities Analog-Digital Conversion At the end of the whole process, the circuit produces an output voltage from 0 to 3.3V depending on the concentration of the contaminant. The microcontroller then maps this into a 10-bit digital value to be communicated to the Android application. The digital resolution then is 3.3V/1024 = 3.22mV per data point. Our system takes these 10-bit samples 150 times during the duration of the whole sweep, each at di erent times in order to get a comprehensive image of the output. These 150 values are then sent to the Android application Selecting Resistor Values One can calculate the three resistance values to be able to meet a certain current range. There are 1024 possible data point values for the microcontroller. However, since one end of the transimpedance amplifier is fixed at half the supply voltage, the data point that represents zero current is 512. One could then choose the desired minimum size of the smallest voltage peak and map the lowest expected current value to that. For example, one can choose 150 data points to be the desired smallest peak (for an absolute digital value of 662) and then obtain the voltage value this point represents. Using this as the minimum voltage value and given the minimum expected current value, one can calculate the resistance using Ohm s Law. V min =(DataPoints + 512) VDD 1024 (2.1) 18

27 R = V min I min (2.2) The maximum current this resistor would be able to read is half the voltage supply divided by the resistance value. I max = VDD 2R (2.3) This process can then be repeated for the other two resistors, ensuring that there is enough overlap between the currents read by two adjacent resistors for each value in the range to be read. Note that these equations make ideal assumptions. They do not take into account the current into the op amps. Thus, for small current values, these equations would not be su cient. 2.5 Printed Circuit Board Rev. 1 We were able to produce a prototype printed circuit board (PCB) of our system. The prototype does not contain the sensitivity switching feature, only allowing one resistor to be used for the transimpedance amplifier. In addition to the analog circuitry discussed, it also contains other components to support the microcontroller such as power supply filters, LEDs, pushbuttons, etc. The layout and schematic are found in appendices B and C. The total cost of the board is $125.34, which is much higher than our goal of $50. The breakdown of the cost is seen on Table 2.2. This, however, does not indicate that the goal cannot be reached. First, the prototype board is much larger than necessary to ensure easy testing and low interference. It can be made smaller for the final version, greatly reducing the fabrication price. Furthermore, numerous components were included in the prototype board for the sole purpose of testing the device. These are unnecessary for the productized version. Lastly, a purchased breakout board was used for the UART-USB interface. The cost can be lowered by including the chip into the prototype board itself. 19

28 Table 2.2: PCB Rev 1 Costs Component Price Resistors $1.67 Capacitors $4.69 Op-amp $ pick socket $2.16 Microcontroller $2.80 FTDI USB to Serial Board $14.95 Testing components $10.59 Board fabrication $87.50 Total without test components $ Total with test components $ Noise Issues Multiple tests with the potentiostat circuit device have revealed that certain factors can cause high amounts of noise in signals. Using high transimpedance resistance values and obtaining simultaneous running of the Android application cause increased levels of noise that may be deemed unacceptable. The microcontroller only takes 150 samples of the sweep. Noise introduces large spikes in the signal, and if a sample is taken right at the point of where the noise is produced, then that sample would contaminate the result, as it reveals a large voltage value where one is not supposed to be seen. With only 150 samples, there is not enough data to determine which sample contains noise, as a large number of samples would need to be taken to be able to filter out undesired frequencies as discussed by the Shannon-Nyquist Sampling Theorem High Resistance Value High values for the resistor on the transimpedance amplifier introduce additional noise to the signals. Typically, values of 100k and above yield unacceptably noisy signals. For arsenic detection, 2µA is the minimum value of current to be detected, and as such, a maximum resistance value of 50k would be su cient. However, if future purposes need smaller values of current to be read, then the required large transimpedance resistance may cause noise issues Simultaneously Running Android Application Having the device powered by the Android application does not cause significant levels of noise. Plugging the Android device into the potentiostat circuit device and running a sweep through a hardware interrupt (such as a pushbutton on the circuit) instead of through the Android application does not indicate high levels of noise if the application is not running. However, observing a sweep 20

29 on the oscilloscope while the Android application is running reveals high levels of noise, as seen in Figure 2.5. Thus, there is some issue that arises when the Android application is running. We were not able to determine the exact cause of this noise. It is possible that it is because the Android application constantly sends messages to the microcontroller, waiting for the expected data points. If this is the cause, having the application enter standby mode could potentially eliminate the problem. However, there may also be other causes to the noise. Figure 2.5: Oscilloscope signal of high resistance when the sweep is initialized by the Android application (L) and by a hardware pushbutton interrupt without the application (R) with a 330K transimpedance resistor 2.7 Testing and Results In order to examine the validity of the potentiostat circuit device, tests have to be performed on it. During the span of our project, we were only able to test our device with arsenic. This is because during the start of our project, there was not enough significant research yet performed by the bioengineering team on how to detect other types of contaminants. The main attributes being tested are the device s accuracy, repeatability, and sensitivity Accuracy The potentiostat circuit device is accurate if it gives the expected results: increased resulting voltage peaks for increased concentrations of contaminants. To test this, we run the procedure on various concentrations. We use an oscilloscope to observe the input and output voltages of our potentiostat. 21

30 The oscilloscope can also provide csv values, which we can analyze and plot on Excel. The control sample we use is 0.1M Hydrochloric Acid, which conducts electrical current much better than water does. The final bioengineering sensor would have the electrodes pre-treated with this acid to allow water samples to be analyzed. Our device should not give any significant voltage peak with this control sample. We then perform tests on 0.1M Hydrochloric Acid with di erent concentrations of arsenic. As the concentration increases, the voltage peak is expected to increase as well. Figure 2.6 shows the values of the voltage peaks we see for the di erent concentrations using a 110k resistor for the transimpedance amplifier. As shown, the voltage peak does increase with concentration, verifying the correctness of our device. Figure 2.6: Peak Voltage Value vs. Arsenic Concentration To further analyze accuracy, we compare our results to those obtained with a lab-grade potentiostat, the CH Instruments 730D Electrochemical Analyzer. To test this, we run an analysis on a certain solution using the 730D. Afterwards, we run the operation with our potentiostat circuit device on the same solution. Since the 730D displays current while our device displays voltage, the values will be on di erent scales. Because voltage and current are linearly related, we can apply a scalar multiple to one in order to compare the results. Figure 2.7 shows that the general trend of our results is similar to the results of the 730D. 22

31 Figure 2.7: Result taken from AquaSift and from CH Instruments Electrochemical Analyzer It is important to note that the equations provided in Section did not match our results. That is, the current value seen on the CH Instruments Electrochemical Analyzer, the voltage values seen on the oscilloscope with AquaSift, and the resistor value used do not form the equality described by Ohm s Law. There are a number of possible reasons for such discrepancies. First, with currents on the range of microamps, the current that enters the op amps, which we did not take into account, may have contributed. Second, perhaps the current that the CH Instruments Electrochemical Analyzer reads is not similar to the current that enters the AquaSift. There are other possibilities, but we were not able to fully identify the source of the problem Repeatability To test repeatability, we run multiple tests on one solution. We wanted to see if we could obtain the same results for every test we perform. Table 2.3 shows the peak voltage values on three tests run on one 5µg/L Arsenic solution using a 110k resistor on the transimpedance amplifier. The percent error is smaller than 2%, which is acceptable for our purposes. 23

32 Table 2.3: Peak Voltage Values on a 5µg/L Arsenic Solution Description Peak Voltage Value Run V Run V Run V Average Value 2.141V Range of Di erences 0.035V % Error 1.635% Sensitivity We also tested the validity of our sensitivity switching feature. Figure 2.8 shows the oscilloscope results of measuring the output voltage of a 50mg/L sample of arsenic using three di erent resistor values: 110k, 24k, and 10k. The image shows that even for the same solution, di erent resistor values can give di erent sized voltage peaks. Thus, sensitivity switching is proved as e ective as it maps the current from one sample into various voltage values depending on the resistance. The values of the results are seen on Table 2.4. Figure 2.8: Voltage peaks for a 50mg/L arsenic sample using a 110k resistor (L), a 24k resistor (M), and a 10k resistor (R) Table 2.4: Voltage readings for sensitivity switching on a 50mg/L arsenic solution Resistor Value Peak Voltage 110k 2.57V 24k 1.94V 10k 1.76V 24

33 Chapter 3 Mobile Application 3.1 Overview The purpose of the Android application is to serve as the user interface for the system. It provides an easy-to-use means for conducting tests on water samples. Its features include the ability to start sweeps of varying sensitivities through resistor selection on the potentiostat device, a calibration function for visual comparison of contaminated water samples to a non-contaminated sample, graphing of test results, displaying contaminant concentration, and the uploading of test results to our online database while including GPS coordinates and the user-inputted depth of a water source. 3.2 Requirements This section lists the requirements for the Android application. Such requirements are valuable, as they allow easy identification of whether the device has been successfully implemented or not. Included with each requirement is its importance, a value from 1-10 where 10 denotes the most crucial requirements. Our system s requirements are divided into two categories: functional requirements and non-functional requirements Functional Requirements Functional requirements are those that our system must be able to do. They can be evaluated only as either true or false. Our system s functional requirements are listed in Table

34 Table 3.1: Mobile Application Functional Requirements Name of Requirement Importance (1-10) Read data from the sensor via the microcontroller 10 Send a message to the microcontroller to start taking 9 a reading Configure the sensitivity of the sweep the microcontroller uses to take a sensor reading 8 Display a graph of the results read from the microcontroller 8 Display a safe/unsafe result based on the data collected from the microcontroller 8 Display the amount of contaminants present in the 8 water sample Log the results to a map and a database Non-Functional Requirements Non-functional requirements are those that describe the manner of achievement of the functional requirements. They are evaluated as a degree of satisfaction. The non-functional requirements of the product are shown in Table 3.2. Table 3.2: Mobile Application Non-Functional Requirements Name of Requirement Importance (1-10) Be easy to use for new users 10 Be quick in displaying its results 8 26

35 3.3 State Diagram Figure 3.1 depicts the various states of the Android application and the actions that lead to each one. The diagram includes a disconnected state, connected state, testing state, and results state. The details for each state are listed after the state diagram. Figure 3.1: Mobile Application State Diagram 27

36 Disconnected State Initiation: The application enters the disconnected state when it is first started. Function: The application must be initialized before anything else can happen. When the user is ready, he/she can connect to the microcontroller using the Begin button. Interaction: This state interacts with the MSP430 microcontroller. Connected State Initiation: The connected state is entered once the application has successfully connected to the MSP430 microcontroller. Function: This state enables the buttons for high, medium, and low sensitivity sweeps, as well as the calibration sweep. Once the user has placed the three electrodes in the water sample, he/she can begin a test sweep of his/her choosing. Interaction: This state interacts with the MSP430 microcontroller. Testing State Initiation: The testing state is entered after a test sweep has been started. Function: The application must wait for the microcontroller to perform the test sweep and then read the resulting data. Interaction: This state interacts with the MSP430 microcontroller. Results State Initiation: This state is entered once the application has finished reading the data from the microcontroller. Function: When this state is entered, the application graphs the test results, displays peak voltage and digital values, and uploads the test results to the online database, as well as GPS location and water source depth. The user can then start another sweep of his/her choosing. Interaction: This state interacts with the online database and the MSP430 microcontroller. 28

37 3.4 Use Cases Our device allows users to perform certain actions such as starting a sweep and selecting sweep sensitivity. Any action that a user might take is considered a use case, which is defined as the steps needed to achieve a goal on our system. A use case contains information on the actor, goal, preconditions, postconditions, sequence of steps, and exceptions associated with the action. It is important to identify these use cases to ensure our device s requirements can be met through a certain sequence of steps. The use cases also shed light on appropriate ways to test the device. Our system must be able to support all these use cases to be successful Use Case 1: Connect to Microcontroller Actor User. Goal To connect the system to the microcontroller so that readings can be taken. Preconditions The system is plugged in to the microcontroller via microusb. Postconditions The system is connected to the microcontroller. Sequence of Steps 1. User presses Begin button. 2. System prompts user to allow access to the microusb port. 3. User confirms access to the microusb port. 4. User presses Begin button a second time. 5. The system indicates if it was able to connect to the microcontroller successfully or not. Exceptions None 29

38 3.4.2 Use Case 2: Take Calibration Reading Actor User. Goal To collect baseline data from an uncontaminated water sample via the pathogen sensor and display the results to the user. Preconditions The system is connected to the microcontroller. The microcontroller is connected to the pathogen sensor. The test sample has been placed on the pathogen sensor. Postconditions The system displays the results from the calibration reading in a graph. The system indicates the amount of contaminants present in the water sample. The system indicates that the uncontaminated sample is safe to drink. The system has stored the calibration data for later comparison to contaminated samples. Sequence of Steps 1. User enters depth of the water source in meters. 2. User presses Calibrate button. 3. System starts a sweep using the microcontroller and pathogen sensor. 4. System reads data from the microcontroller. 5. System stores the data for later comparison with sensor readings. 6. System displays a graph of the data. 7. System displays the amount of contaminants present in the water sample. 8. System indicates whether the water sample is safe or unsafe to drink. 9. System uploads the results, geolocation information, and water source depth to the Labon-a-Chip online database using a cell or wi-fi connection, if available. 30

39 Exceptions None Use Case 3: Take Sensor Reading Actor User. Goal To collect data from the pathogen sensor and display the results to the user. Preconditions The system is connected to the microcontroller. The microcontroller is connected to the pathogen sensor. The test sample has been placed on the pathogen sensor. Postconditions The system displays the results from the sensor reading in a graph. The system indicates the amount of contaminants present in the water sample. The system indicates if the sample is safe or unsafe to drink. Sequence of Steps 1. User enters depth of the water source in meters. 2. User presses High, Medium, or Low button, depending on the desired test sensitivity. 3. System starts a sweep at the appropriate sensitivity level using the microcontroller and pathogen sensor. 4. System reads data from the microcontroller. 5. System displays a graph of the data, as well as the baseline data from any previous calibration reading. 6. System displays the amount of contaminants present in the water sample. 7. System indicates whether the water sample is safe or unsafe to drink. 31

40 8. System uploads the results, geolocation information, and water source depth to the Labon-a-Chip online database using a cell or wi-fi connection, if available. Exceptions None. 3.5 Data Analysis When checking the accuracy of our application, we compared our peak voltage values for a variety of samples of known arsenic concentrations to the peak voltage values we read from our oscilloscope in the lab. The results of these tests are contained in Table 3.3 below. We found that the percent error between our application and our oscilloscope was less than 2% in all cases. Table 3.3: Oscilloscope to Application Comparison Arsenic Concentration Oscilloscope Voltage Application Voltage Percent Error 50 mg/l 1.76 V 1.75 V 0.6% 20 mg/l 1.92 V 1.91 V 0.5% 10 mg/l 2.44 V 2.46 V 0.8% 2 mg/l 1.86 V 1.89 V 1.6% 3.6 Geolocation One of the necessary features for our application is the ability to acquire the location of the site where the user is performing contamination testing. Android provides a simple interface for acquiring geolocation coordinates called the location manager. As long as the user is within range of a wi-fi or cell network, the Android device hosting the application can connect and use the location manager to produce the appropriate GPS coordinates, which can later be logged as needed. 3.7 Test Plan The test plan that follows contains the procedures for verifying that each test case is working correctly. The sequences of steps for verifying that the application can connect to the microcontroller, take a calibration reading, and take a sensor reading are in Tables 3.4, 3.5, and 3.6 respectively. Our system is simple enough that testing can be performed manually in a short amount of time. 32

41 Table 3.4: Connecting to Microcontroller Preconditions: The system is plugged in to the microcontroller via microusb. Steps Expected Results 1. User presses Begin button. 1a. System prompts the user to allow access to the microusb port. 2. User confirms access to the microusb port. 2a. Prompt window closes. 2b. System is ready to connect to the microcontroller. 3. User presses Begin button a second time. 3. System indicates if it was able to connect to the microcontroller successfully or not. Table 3.5: Taking a Calibration Reading Preconditions: The system is connected to the microcontroller. The microcontroller is connected to the pathogen sensor. The test sample has been placed on the pathogen sensor. Steps Expected Results 1. User enters depth of the water source in meters. 1a. System displays the entered depth in the input field. 2. User presses Calibrate button. 2a. System starts a sweep using the microcontroller and pathogen sensor. 2b. System reads data from the microcontroller. 2c. System stores the data for later comparison with sensor readings. 2d. System displays the results in a graph. 2e. System indicates whether the water sample is safe or unsafe to drink. 2f. System uploads the results, geolocation information, and water source depth to the Lab-on-a-Chip online database using a cell or wi-fi connection, if available. 33

42 Table 3.6: Taking a Sensor Reading Preconditions: The system is connected to the microcontroller. The microcontroller is connected to the pathogen sensor. The test sample has been placed on the pathogen sensor. Steps Expected Results 1. User enters depth of the water source in meters. 1a. System displays the entered depth in the input 2. User presses High, Medium, or Low button, depending on the desired test sensitivity. field. 2a. System starts a sweep at the appropriate sensitivity level using the microcontroller and pathogen sensor. 2b. System reads data from the microcontroller. 2c. System displays graph of the data, as well as the baseline data from any previous calibration reading. 2d. System displays the amount of contaminants present in the water sample. 2e. System indicates whether the water sample is safe or unsafe to drink. 2f. System uploads the results, geolocation information, and water source depth to the Lab-on-a-Chip online database using a cell or wi-fi connection, if available. 34

43 Chapter 4 Web 4.1 Overview The purpose of the web application is to collect all of the data from the Android device and display that data in an appealing medium. The Android device communicates with a database which in turn relays this information to a website for public access. The main goal of the web end is to store the test information in a central location accessible to the general user. 4.2 Requirements This section lists the requirements for the web application. Such requirements are valuable as they allow easy identification of whether the system has been successfully implemented or not. Included with each requirement is its importance, a value from 1-10 where 10 denotes the most crucial requirements. Our system s requirements are divided into two categories: functional requirements and non-functional requirements Functional Requirements Functional requirements are those that our system must be able to do. They can be evaluated only as either true or false. Our system s functional requirements are listed in Table 4.1. Table 4.1: Web Functional Requirements Name of Requirement Importance (1-10) Collect and store data from the Android device 10 Display data on a website 10 Allow for data filtration for easier viewing 5 35

44 4.2.2 Non-Functional Requirements Non-functional requirements are those that describe the manner of achievement of the functional requirements. They are evaluated as a degree of satisfaction. The non-functional requirements of the product are shown in Table 4.2. Table 4.2: Web Non-Functional Requirements Name of Requirement Importance (1-10) Be intuitive for users to access data 10 Be aesthetically pleasing for users Solution The web aspect of the project utilizes a PHP framework for the backend with a MySQL database to store data. The Android application communicates with the MySQL database via PHP and HTTP and the data is stored accordingly. The front end consists of a Bootstrap framework for aesthetics and simplicity with the Google Maps API to take the data and display it in an accessible medium. Filters created in Javascript allow for only specific data to be accessed at the user s discretion. 36

45 Chapter 5 Overall System 5.1 General Overview Each major component of AquaSift has been discussed in detail. This section describes how the components are all connected together to form the entire system. AquaSift comprises four main components: the three-electrode sensor, the potentiostat circuit device, the Android application, and the online database. These all need to be connected to each other in order to have information and quantities be transferred among them. 5.2 Communication The various parts of our system have di erent types of data to communicate to each other. Also, they all perform this communication in specific circumstances. Thus, each requires certain communication protocols. The communication between the three-electrode sensor and the potentiostat circuit device is purely electrical. That is, the only quantities being transferred between the two are physical voltages and currents. Thus, the only connection required is physical. The part of the potentiostat circuit device that communicates with the Android application is the microcontroller. Digital data is transferred between the two. Specifically, the microcontroller sends 10-bit values to the Android device, while the Android device communicates 8-bit ASCII values, which contain the signals to start sweeps. For the microcontroller side, we chose to use the Universal Asynchronous Receiver/Transmitter (UART) protocol. This protocol allows both the receiving and transmitting of data, and it does not require synchronized clocks. Thus, the microcontroller is able to communicate with various Android devices. However, the Android device itself does not support UART protocol. Instead, it supports Universal Serial Bus (USB). An interface is required for both to be able to communicate with each 37

46 other using their respective communication protocols. For our project, we used the FT232R USB UART IC by FTDI Chip. SparkFun provides a breakout board that we used for our system. The Android application must also be able to communicate with the online database. For this, we use Hypertext Transfer Protocol, or HTTP, which is the standard protocol for communicating information over the Internet. When a test sweep has been completed, the Android application can send the results and additional information to the database using an HTTP POST request, and the database will send a message back confirming that the data has been uploaded successfully. 5.3 Physical Connections The sensor and the circuit require electrical connection via physical contact. Any conducting wire between the two can su ce. If bulk electrodes are being used, for example, alligator clips or hook wires are suitable because of their shape. Ideally, the potentiostat board would contain an adaptor that the sensor could be plugged into. As long as the adaptor can provide a conductor that has robust contact with the electrodes, then the three-electrode sensor will be electrically connected to the potentiostat circuit device. The adaptor would be dependent on the geometry of the sensor. The potentiostat circuit device and the Android application require a wired communication method. The most suitable output port for the Android device is the USB port. USB is a host-slave connection. In this case, the Android device serves as the host. It is able to provide around 5V and ground, which allows the Android device to power the potentiostat circuit device. USB is a four-pin communication method where two pins are used for the supply voltage and ground and the other two are used for data communication. Mobile devices are typically slaves in the USB communication system. Thus, it is important to convert them into hosts for our purpose. To accomplish this, an on-the-go cable, which converts USB slaves to hosts, is needed. The microcontroller communicates with the UART protocol. Thus, a USB-to-Serial interface is also required. We use the FTDI 232r chip to fill this purpose. SparkFun Electronics provides a breakout board for easy usage. Its input is the USB cable and its output contains 4 pins: 3.3V, GND, receive data, and transmit data. With these, the connection between the potentiostat circuit device and the Android application is complete. The connections can be seen on Figure 5.1. The Android application communicates data with the online database through the Internet. With mobile Internet connection, no additional physical component is necessary to facilitate the transfer of data between the two. Existing Internet solutions serve the purpose. 38

47 Figure 5.1: The Android tablet uses a USB cable to connect to the FTDI 232r, which is then connected to the potentiostat circuit device using wires. The three electrodes are connected to the potentiostat circuit device using wires. 39

48 Chapter 6 Ethical Analysis 6.1 Introduction For our project, we created a device that can measure the presence of dangerous microfluidic substances, such as arsenic, in drinking water. It will also allow users to upload the data from their measurements into a global database. This device is to be productized and sold to NGOs, who can use it to analyze the safety of drinking water in areas that may not have enough resources to use expensive and complex lab-grade analysis equipment. Since our device has many real consequences, we investigated the ethical ramifications and implications of our product. Furthermore, since the project contains scientific research, we analyzed how we could be ethical in the di erent steps of the research process. This section contains our analysis of the ethics as divided into three components. In the first section, we take a general view and analyze the ethics of our project using the various approaches provided by the Markkula Center for Applied Ethics. In the second section, we analyze the product development ethics. This describes how we kept good ethics throughout the designing and implementation of our device. Finally, we analyze the implications of our project for issues of sustainability. 40

49 6.2 Markkula Center for Applied Ethics The center provides various approaches for analyzing the ethical aspects of our device. In this section, we analyze our project using the utilitarian approach, the rights approach, and the common good approach The Utilitarian Approach In this approach, we aim to measure the benefits of our device and investigate if our system does more good than harm. If our device is successful, it provides the benefit of letting people know if their water is safe or not. People may then be saved from sickness if they avoid water that our device measures to be unsafe. Thus, our device provides the benefit of improved health and saved lives. Furthermore, our device has benefits for the scientific community. There is little information regarding an independent a ordable potentiostat device. Thus, we provide advances in the field of electrochemical detection through our work. Our device is also beneficial for people interested in managing the water safety of their respective communities. The device allows them to take readings and place them into the database, giving them an easy-to-use and organized system to store information regarding the state of their water. The device in itself carries very little harm. The materials used to create it do not bring any significant detrimental e ects on the environment. Also, the presence of the device does not pose a danger to people. It can, however, be harmful if used in the wrong way. If people use it to make false claims, such as claiming that a dangerous source of water is actually safe, then it is harmful by allowing deception. Also, if our device is not accurate, it can be harmful to people s health by giving false negatives. An inaccurate device may tell a community that its drinking water is safe when it may actually have arsenic, causing people to comfortably drink the water, which then results in sickness and death. If our device is to be sold to other organizations, we must ensure that it is accurate and reliable The Rights Approach This approach analyzes the way our device promotes human rights. The most basic right that our project aims to protect is the right to human life. Safe drinking water is a human necessity, and everyone should have access to such a resource. However, some believe they have access when in reality they are drinking water that makes them sick. Thus, awareness is the first step in having access to clean water. By letting its users know about the state of their drinking water, our device helps communities know when they need to take steps to clean their water source or to search for a 41

50 new one. This draws them closer to maintaining a physically healthy life, upholding their right to live The Common Good Approach This approach analyzes whether our device promotes the welfare of the general public. Our device is fair, as it can be used for the benefit of people of any race, gender, or age. In fact, we are building our device specifically to be portable and a ordable to help emerging communities. It is unfair that wealthier communities can know if their water is safe or not, while poorer ones do not have such capability. Thus, our device works to level the two, allowing both to have this privilege. 42

51 6.3 Product Development Ethics As we developed our product s design, it was important to consider the integrity of data. There are many designs, schematics, and code present that are open-source. However, some contain copyrights. Before using other people s designs, we first ensured that we had the right permissions. We also attributed credit to others as necessary. There is also the issue of whether we should copyright our design or not. While it is perfectly legal for us to claim ownership of our own work, it could be more ethical to have our work be open-source and to allow others to modify, distribute, and use our work to open doors for more social benefits. Also, our designs and code could be used to advance scientific research in the field of low-cost microfluidic sensing devices. At this point, our code is not yet at the level of a product ready for distribution, and so we have not yet made the final decision on whether it should be open-source or not. To ensure the quality of our product, we ran multiple comprehensive test cases. We did not ignore any test cases that gave us unexpected results. We had a zero-tolerance policy when it came to bugs in our device. This ensured that our product does not produce false negatives. We also did not cut corners in providing features that allow for a more accurate device, such as making our device larger to avoid noise between components caused by small distances. Such features may have increased costs, but they were the more ethical ones to implement. We also ensured that we recorded all anomalies in our tests and tried to resolve them. If we were unable to eliminate errors in our device, we reported them without concealing details. It was critical to ensure safety as we worked on our project, which required handling dangerous chemicals in the lab. We kept our work environment safe by neatly organizing our chemicals in secure places. Also, we were responsible in cleaning chemical spills. Other students joined our team in the middle of the year, and we ensured that they went through the necessary safety training programs. We accurately informed them of all our errors, so they could be made aware of what remaining issues need to be solved before releasing the device. This is especially important as we now turn over our project to a new group of students. 43

52 6.4 Sustainability It is important to consider the implications our project and device have for the environment. We made design decisions while considering sustainability, so that our product would not contribute to long-term detrimental e ects on natural resources or the global ecosystem. As we designed our product, we aimed to require as little material as possible. Extra circuitry or electronics, for example, would contribute to electronic waste. Thus, we minimized the number of new physical components for our product, with our entire system only requiring the printed circuit board of the potentiostat circuit device. We chose to use an Android application as the software interface since Android devices are very common, and this would not introduce an additional physical component beyond what people already own. Our database is hosted online, and does not require more physical components for our system. We also considered the sustainability of our system s power source. We power the microcontroller through USB connection to the Android device. This eliminates the need for added circuitry or external batteries to power the system. Lastly, the potentiostat circuit device is reusable, minimizing disposal of circuit boards. 44

53 Chapter 7 Future Work While the system is functional, other features can still be added to it. Furthermore, it is not at a state where it can be distributed as a product. Thus, each aspect of the system can still be improved by future work. 7.1 Potentiostat Circuit Device Microcontroller Other Voltage Sweeps Currently, the microcontroller is only programmed to provide the necessary voltage sweep for arsenic detection. Other contaminants such as nitrates and fluoride would require other types of voltage stimuli. The research on what type of voltage sweep is required is in the domain of the bioengineering team. Once they complete their investigation, the microcontroller can be reprogrammed to allow other voltage sweeps for the detection of other contaminants. A PWM signal may not be su cient in providing these other voltage values. Thus, an external digital-to-analog converter may be necessary. We refrained from using one this year because it provided unnecessary cost and complexity for the detection of arsenic. Parameter Passing Currently, the parameters of the voltage sweep, such as its starting voltage, duration, and other such settings, are fixed. The user can only decide when to start a sweep and which sensitivity to use. A helpful feature would be to allow the user to select the values for these parameters and input them through the Android application. These values would then be passed to the microcontroller through UART. The microcontroller code could then be adjusted to use these values to determine the parameters of its operations. 45

54 The di culty is that UART has delays when communicating values. It can only pass one ASCII character at a time, and if a user tries to submit more than one, the others may be lost. Thus, even passing in a 2-digit value would pose problems, as the second character may not be transmitted in time. A possible workaround would be to provide delays in transmitting each ASCII value. Thus, the Android application could ensure each ASCII value is sent before attempting to pass the next one Analog Interface Programming the microcontroller for other voltage sweeps may require changes on the analog interface. For example, the current low-pass RC filter following the PWM signal may not be able to provide the necessary filtering. If an external DAC is to be used, then the analog interface would have to be set up for such adjustments. Noise is an issue that has been observed on our results, as discussed in Section 2.6. Such noise is caused by factors such as having the microcontroller powered by an Android device and by large resistance values for the transimpedance amplifier. Possible solutions to this noise issue may include redesigning the filters on the analog interface or examining other methods of supplying power to the microcontroller. 7.2 Android Application While we were able to successfully add many features to the Android application this year, there is still more work to be done in the future. First, a UI redesign could be helpful in making the application more aesthetically appealing and reducing the amount of space some of the current buttons take up. Next, test sensitivity selection is currently done manually by the user, but adding some sort of automatic retest feature for peaks that are either too low or that saturate the system could be desirable, if the need becomes apparent. The ability to select additional sweep types will also need to be added when the system is expanded to detect other contaminants beyond arsenic. As far as test results, the application only displays digital, voltage, and current values from test sweeps at the moment. More testing needs to be done by the electrical engineering and bioengineering teams to acquire formulas for converting these values to contaminant concentration measured in mg/l or parts per billion when using the bioengineering sensor. Lastly, additional database operations could be added to load test results onto the phone from the online database, or to store multiple tests. Currently, the application does not save data from tests on the Android device itself, it only tries to upload the results to the web. Adding a small database on the application side could help if users 46

55 do not have an internet connection when they are performing tests and want to save the results for later. 47

56 Chapter 8 Lessons Learned Throughout the duration of our project, we have learned both technical and non-technical lessons that will be relevant to our careers. This is this result of our accomplishments and failures as we worked on our system. 8.1 Team Accountability One lesson we learned is that it is very important to maintain accountability with each other. During the fall quarter, we met weekly to discuss our progress and goals. These meetings helped us always be aware of the recent accomplishments and problems each member had with the project. Thus, we always knew what to expect in the upcoming weeks from our teammates. Also, we were able to set weekly requirements, which provided enough pressure for us to make progress regularly. During the winter quarter, we stopped meeting every week (instead meeting every two weeks or so), and we progressed at a much slower pace. The accountability that comes with more frequent meetings really helps in moving a project forward. 8.2 Abstraction Our project delved into a variety of topics, from electrochemistry to analog circuitry to Android programming. We were able to e ciently divide our tasks by having each member work on di erent aspects of the project. As such, it was important to practice abstraction. For example, the member programming for the Android device did not need to understand how the circuit works. He simply needed to know how his application would communicate with the circuit. This kind of abstraction saved us a lot of time, as we focused only on what was important for our individual tasks. Similarly, while we were working towards the same general goal as the bioengineering research team, we still had very di erent assignments from them. If a problem with the system occurred, 48

57 it needed to be clear whose domain it fell into. For example, if the tests were not repeatable, we identified first if that was because of the bioengineering sensor or the electrical engineering circuit. After identifying who was in the appropriate position to tackle the problem, the other party did not waste time and e ort by trying to simultaneously solve it. This abstraction is relevant as many research projects are interdisciplinary, and an individual cannot master every aspect. 8.3 Big Picture It is important never to lose sight of the big picture. It is the overall goal of a given project that dictates how each individual component has to be constructed. For example, we have done multiple tests with bulk electrodes. At a point, we decided we wanted to be able to convert the voltage values we obtained into the concentration values of arsenic. In the long run, this really is our goal because users do not want to see voltage values; they want to see how contaminated their water is. However, considering the big picture reminded us that we are building a system to be used with the bioengineering sensor, not with bulk electrodes. Thus, working towards formulating a conversion factor for the bulk electrodes would be useless in the long run because the bioengineers three-electrode sensor would behave di erently. Remembering the big picture also reminded us of our purpose for working on the project. It is easy to get discouraged by the little details of noise seen on the circuit. However, remembering that the device we are creating can provide many benefits for emerging communities and enhance the scientific body of knowledge energized us to persevere and focus on the task. 49

58 References [1] Naujokas, M. F. et al. The broad scope of health e ects from chronic arsenic exposure: update on a worldwide public health problem. Environ Health Perspect 121, , doi: /ehp (2013). [2] Richardson, S. D., & Ternes, T. A. (2005). Water analysis: emerging contaminants and current issues. Analytical Chemistry, 77(12), [3] Rowe, A. A., Bonham, A. J., White, R. J., Zimmer, M. P., Yadgar, R. J., Hobza, T. M.,... & Plaxco, K. W. (2011). CheapStat: An open-source, do-it-yourself potentiostat for analytical and educational applications. PloS one, 6(9), e [4] Texas Instruments. MSP430G2553 Datasheet URL: 50

59 Appendices 51

60 Appendix A Potentiostat Schematic 52

61 Appendix B PCB Rev 1 Gerber 53

Laboratory Project 1a: Power-Indicator LED's

Laboratory Project 1a: Power-Indicator LED's 2240 Laboratory Project 1a: Power-Indicator LED's Abstract-You will construct and test two LED power-indicator circuits for your breadboard in preparation for building the Electromyogram circuit in Lab

More information

Sampling and Reconstruction

Sampling and Reconstruction Experiment 10 Sampling and Reconstruction In this experiment we shall learn how an analog signal can be sampled in the time domain and then how the same samples can be used to reconstruct the original

More information

University of California at Berkeley Donald A. Glaser Physics 111A Instrumentation Laboratory

University of California at Berkeley Donald A. Glaser Physics 111A Instrumentation Laboratory Published on Instrumentation LAB (http://instrumentationlab.berkeley.edu) Home > Lab Assignments > Digital Labs > Digital Circuits II Digital Circuits II Submitted by Nate.Physics on Tue, 07/08/2014-13:57

More information

Application Note Oxygen Sensor

Application Note Oxygen Sensor MEM2 Application Note Oxygen Sensor Contents 1)Sensor principle...1 Electrochemical Gas Sensors in General...1 Working Principle of the Membrapor Oxygen-Sensor...1 2)Characteristics of Membrapor Oxygen-Sensor...2

More information

Mechatronics. Analog and Digital Electronics: Studio Exercises 1 & 2

Mechatronics. Analog and Digital Electronics: Studio Exercises 1 & 2 Mechatronics Analog and Digital Electronics: Studio Exercises 1 & 2 There is an electronics revolution taking place in the industrialized world. Electronics pervades all activities. Perhaps the most important

More information

High Voltage Waveform Sensor

High Voltage Waveform Sensor High Voltage Waveform Sensor Computer Engineering Senior Project Nathan Stump Spring 2013 Statement of Purpose The purpose of this project was to build a system to measure the voltage waveform of a discharging

More information

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17 LABORATORY 4 ASSIGNED: 3/21/17 OBJECTIVE: The purpose of this lab is to evaluate the transient and steady-state circuit response of first order and second order circuits. MINIMUM EQUIPMENT LIST: You will

More information

EEC 134 Final Report

EEC 134 Final Report EEC 134 Final Report Team Falcon 9 Alejandro Venegas Marco Venegas Alexis Torres Gerardo Abrego Abstract: EEC 134 By Falcon 9 In the EEC 134 course the focus is on RF/microwave systems design. The main

More information

Lab E5: Filters and Complex Impedance

Lab E5: Filters and Complex Impedance E5.1 Lab E5: Filters and Complex Impedance Note: It is strongly recommended that you complete lab E4: Capacitors and the RC Circuit before performing this experiment. Introduction Ohm s law, a well known

More information

Rowan University Freshman Clinic I Lab Project 2 The Operational Amplifier (Op Amp)

Rowan University Freshman Clinic I Lab Project 2 The Operational Amplifier (Op Amp) Rowan University Freshman Clinic I Lab Project 2 The Operational Amplifier (Op Amp) Objectives Become familiar with an Operational Amplifier (Op Amp) electronic device and it operation Learn several basic

More information

Laboratory Project 1B: Electromyogram Circuit

Laboratory Project 1B: Electromyogram Circuit 2240 Laboratory Project 1B: Electromyogram Circuit N. E. Cotter, D. Christensen, and K. Furse Electrical and Computer Engineering Department University of Utah Salt Lake City, UT 84112 Abstract-You will

More information

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY Objectives Preparation Tools To see the inner workings of a commercial mechatronic system and to construct a simple manual motor speed controller and current

More information

EMG Electrodes. Fig. 1. System for measuring an electromyogram.

EMG Electrodes. Fig. 1. System for measuring an electromyogram. 1270 LABORATORY PROJECT NO. 1 DESIGN OF A MYOGRAM CIRCUIT 1. INTRODUCTION 1.1. Electromyograms The gross muscle groups (e.g., biceps) in the human body are actually composed of a large number of parallel

More information

Lab 3: Embedded Systems

Lab 3: Embedded Systems THE PENNSYLVANIA STATE UNIVERSITY EE 3OOW SECTION 3 FALL 2015 THE DREAM TEAM Lab 3: Embedded Systems William Stranburg, Sean Solley, Sairam Kripasagar Table of Contents Introduction... 3 Rationale... 3

More information

RF System: Baseband Application Note

RF System: Baseband Application Note Jimmy Hua 997227433 EEC 134A/B RF System: Baseband Application Note Baseband Design and Implementation: The purpose of this app note is to detail the design of the baseband circuit and its PCB implementation

More information

Embedded Test System. Design and Implementation of Digital to Analog Converter. TEAM BIG HERO 3 John Sopczynski Karim Shik-Khahil Yanzhe Zhao

Embedded Test System. Design and Implementation of Digital to Analog Converter. TEAM BIG HERO 3 John Sopczynski Karim Shik-Khahil Yanzhe Zhao Embedded Test System Design and Implementation of Digital to Analog Converter TEAM BIG HERO 3 John Sopczynski Karim Shik-Khahil Yanzhe Zhao EE 300W Section 1 Spring 2015 Big Hero 3 DAC 2 INTRODUCTION (KS)

More information

Lab E5: Filters and Complex Impedance

Lab E5: Filters and Complex Impedance E5.1 Lab E5: Filters and Complex Impedance Note: It is strongly recommended that you complete lab E4: Capacitors and the RC Circuit before performing this experiment. Introduction Ohm s law, a well known

More information

DATASHEET SMT172. Features and Highlights. Application. Introduction

DATASHEET SMT172. Features and Highlights. Application. Introduction V12 1/9 Features and Highlights World s most energy efficient temperature sensor Wide temperature range: -45 C to 130 C Extreme low noise: less than 0.001 C High accuracy: 0.25 C (-10 C to 100 C) 0.1 C

More information

Design Issues ECE480 Design Team 7 Mike Zito; Shaun Eisenmenger; Gu Enwei; Adam Rogacki

Design Issues ECE480 Design Team 7 Mike Zito; Shaun Eisenmenger; Gu Enwei; Adam Rogacki Design Issues ECE480 Design Team 7 Mike Zito; Shaun Eisenmenger; Gu Enwei; Adam Rogacki Product lifecycle management (PLM) refers to the engineering aspect of preparing for and managing a product for the

More information

How to Wire an Inverting Amplifier Circuit

How to Wire an Inverting Amplifier Circuit How to Wire an Inverting Amplifier Circuit Figure 1: Inverting Amplifier Schematic Introduction The purpose of this instruction set is to provide you with the ability to wire a simple inverting amplifier

More information

DUAL STEPPER MOTOR DRIVER

DUAL STEPPER MOTOR DRIVER DUAL STEPPER MOTOR DRIVER GENERAL DESCRIPTION The is a switch-mode (chopper), constant-current driver with two channels: one for each winding of a two-phase stepper motor. is equipped with a Disable input

More information

Revision: Jan 29, E Main Suite D Pullman, WA (509) Voice and Fax

Revision: Jan 29, E Main Suite D Pullman, WA (509) Voice and Fax Revision: Jan 29, 2011 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The purpose of this lab assignment is to provide users with an introduction to some of the equipment which

More information

Building a Microcontroller based potentiostat: A Inexpensive and. versatile platform for teaching electrochemistry and instrumentation.

Building a Microcontroller based potentiostat: A Inexpensive and. versatile platform for teaching electrochemistry and instrumentation. Supporting Information for Building a Microcontroller based potentiostat: A Inexpensive and versatile platform for teaching electrochemistry and instrumentation. Gabriel N. Meloni* Instituto de Química

More information

Understanding the Arduino to LabVIEW Interface

Understanding the Arduino to LabVIEW Interface E-122 Design II Understanding the Arduino to LabVIEW Interface Overview The Arduino microcontroller introduced in Design I will be used as a LabVIEW data acquisition (DAQ) device/controller for Experiments

More information

Preliminary Design Report with Diagram(s)

Preliminary Design Report with Diagram(s) EEL 4914C Electrical Engineering Design (Senior Design) Preliminary Design Report with Diagram(s) 28 January 2008 Team Members: Name: Mark Oden Name: Carlos Manuel Torres Jr. Email: cerberus.rock@gmail.com

More information

Week 15. Mechanical Waves

Week 15. Mechanical Waves Chapter 15 Week 15. Mechanical Waves 15.1 Lecture - Mechanical Waves In this lesson, we will study mechanical waves in the form of a standing wave on a vibrating string. Because it is the last week of

More information

User s Manual for Integrator Short Pulse ISP16 10JUN2016

User s Manual for Integrator Short Pulse ISP16 10JUN2016 User s Manual for Integrator Short Pulse ISP16 10JUN2016 Specifications Exceeding any of the Maximum Ratings and/or failing to follow any of the Warnings and/or Operating Instructions may result in damage

More information

10: AMPLIFIERS. Circuit Connections in the Laboratory. Op-Amp. I. Introduction

10: AMPLIFIERS. Circuit Connections in the Laboratory. Op-Amp. I. Introduction 10: AMPLIFIERS Circuit Connections in the Laboratory From now on you will construct electrical circuits and test them. The usual way of constructing circuits would be to solder each electrical connection

More information

potentiostat/galvanostat/impedance analyser

potentiostat/galvanostat/impedance analyser potentiostat/galvanostat/impedance analyser Rev. 5-2015 Contents Contents PalmSens3: potentiostat/galvanostat/impedance anayser...2 Supported techniques...3 Specifications of general parameters...4 System

More information

SENSOR AND MEASUREMENT EXPERIMENTS

SENSOR AND MEASUREMENT EXPERIMENTS SENSOR AND MEASUREMENT EXPERIMENTS Page: 1 Contents 1. Capacitive sensors 2. Temperature measurements 3. Signal processing and data analysis using LabVIEW 4. Load measurements 5. Noise and noise reduction

More information

DATASHEET. SMT172 Preliminary. Features and Highlights. Application. Introduction

DATASHEET. SMT172 Preliminary. Features and Highlights. Application. Introduction DATASHEET V4.0 1/7 Features and Highlights World s most energy efficient temperature sensor Wide temperature range: -45 C to 130 C Extreme low noise: less than 0.001 C Low inaccuracy: 0.25 C (-10 C to

More information

LABORATORY EXPERIMENT. Infrared Transmitter/Receiver

LABORATORY EXPERIMENT. Infrared Transmitter/Receiver LABORATORY EXPERIMENT Infrared Transmitter/Receiver (Note to Teaching Assistant: The week before this experiment is performed, place students into groups of two and assign each group a specific frequency

More information

Laboratory Project 1: Design of a Myogram Circuit

Laboratory Project 1: Design of a Myogram Circuit 1270 Laboratory Project 1: Design of a Myogram Circuit Abstract-You will design and build a circuit to measure the small voltages generated by your biceps muscle. Using your circuit and an oscilloscope,

More information

EE 210 Lab Exercise #5: OP-AMPS I

EE 210 Lab Exercise #5: OP-AMPS I EE 210 Lab Exercise #5: OP-AMPS I ITEMS REQUIRED EE210 crate, DMM, EE210 parts kit, T-connector, 50Ω terminator, Breadboard Lab report due at the ASSIGNMENT beginning of the next lab period Data and results

More information

Lab 6: Instrumentation Amplifier

Lab 6: Instrumentation Amplifier Lab 6: Instrumentation Amplifier INTRODUCTION: A fundamental building block for electrical measurements of biological signals is an instrumentation amplifier. In this lab, you will explore the operation

More information

LV8716QAGEVK Evaluation Kit User Guide

LV8716QAGEVK Evaluation Kit User Guide LV8716QAGEVK Evaluation Kit User Guide NOTICE TO CUSTOMERS The LV8716QA Evaluation Kit is intended to be used for ENGINEERING DEVELOPMENT, DEMONSTRATION OR EVALUATION PURPOSES ONLY and is not considered

More information

STATION NUMBER: LAB SECTION: RC Oscillators. LAB 5: RC Oscillators ELECTRICAL ENGINEERING 43/100. University Of California, Berkeley

STATION NUMBER: LAB SECTION: RC Oscillators. LAB 5: RC Oscillators ELECTRICAL ENGINEERING 43/100. University Of California, Berkeley YOUR NAME: YOUR SID: Lab 5: RC Oscillators EE43/100 Spring 2013 Kris Pister YOUR PARTNER S NAME: YOUR PARTNER S SID: STATION NUMBER: LAB SECTION: Pre- Lab GSI Sign- Off: Pre- Lab Score: /40 In- Lab Score:

More information

Lab 10: Oscillators (version 1.1)

Lab 10: Oscillators (version 1.1) Lab 10: Oscillators (version 1.1) WARNING: Use electrical test equipment with care! Always double-check connections before applying power. Look for short circuits, which can quickly destroy expensive equipment.

More information

ICRON TECHNOLOGIES CORPORATION S PC ON TV POWER SUPPLY ARCHITECTURE

ICRON TECHNOLOGIES CORPORATION S PC ON TV POWER SUPPLY ARCHITECTURE ICRON TECHNOLOGIES CORPORATION S PC ON TV POWER SUPPLY ARCHITECTURE Icron Technologies Corporation Date ABSTRACT Icron Technologies Corporation in Burnaby, BC, is developing a consumer product that will

More information

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

ME 461 Laboratory #5 Characterization and Control of PMDC Motors ME 461 Laboratory #5 Characterization and Control of PMDC Motors Goals: 1. Build an op-amp circuit and use it to scale and shift an analog voltage. 2. Calibrate a tachometer and use it to determine motor

More information

DESIGN OF AN EMBEDDED BATTERY MANAGEMENT SYSTEM WITH PASSIVE BALANCING

DESIGN OF AN EMBEDDED BATTERY MANAGEMENT SYSTEM WITH PASSIVE BALANCING Proceedings of the 6th European Embedded Design in Education and Research, 2014 DESIGN OF AN EMBEDDED BATTERY MANAGEMENT SYSTEM WITH PASSIVE BALANCING Kristaps Vitols Institute of Industrial Electronics

More information

PCB Scope / Logic Analyzer Hardware Design Description

PCB Scope / Logic Analyzer Hardware Design Description PCB Scope / Logic Analyzer Hardware Design Description Introduction The PCB scope is the result of a challenge I set for myself to build a practically usable oscilloscope with a minimum amount of components

More information

Xylophone Teaching Notes Issue 1.3

Xylophone Teaching Notes Issue 1.3 Teaching Notes Issue 1.3 Product information: www.kitronik.co.uk/quicklinks/2105/ TEACHER Xylophone Index of sheets Introduction Schemes of work Answers The Design Process The Design Brief Investigation

More information

LABORATORY 5 v3 OPERATIONAL AMPLIFIER

LABORATORY 5 v3 OPERATIONAL AMPLIFIER University of California Berkeley Department of Electrical Engineering and Computer Sciences EECS 100, Professor Bernhard Boser LABORATORY 5 v3 OPERATIONAL AMPLIFIER Integrated operational amplifiers opamps

More information

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering EE320L Electronics I Laboratory Laboratory Exercise #2 Basic Op-Amp Circuits By Angsuman Roy Department of Electrical and Computer Engineering University of Nevada, Las Vegas Objective: The purpose of

More information

Week 8 AM Modulation and the AM Receiver

Week 8 AM Modulation and the AM Receiver Week 8 AM Modulation and the AM Receiver The concept of modulation and radio transmission is introduced. An AM receiver is studied and the constructed on the prototyping board. The operation of the AM

More information

AirChip3000. Description and Main Functions

AirChip3000. Description and Main Functions Page 1 of 17 Page 2 of 17 Table of contents 1 OVERVIEW... 3 1.1 Introducing the... 3 1.2 Function overview... 4 1.3 Relevance of the functions... 4 1.4 Access to the configuration and user functions...

More information

1 Chrono methods. The term Chrono methods includes all the measurements of electrochemical signals during a well-defined sequence of steps.

1 Chrono methods. The term Chrono methods includes all the measurements of electrochemical signals during a well-defined sequence of steps. Version 1.11.0 NOVA Chrono methods tutorial 1 Chrono methods The term Chrono methods includes all the measurements of electrochemical signals during a well-defined sequence of steps. In NOVA, time resolved

More information

Getting started with OPENCORE NMR spectrometer. --- Installation and connection ---

Getting started with OPENCORE NMR spectrometer. --- Installation and connection --- Getting started with OPENCORE NMR spectrometer --- Installation and connection --- Assembly USB The USB module is bus-powered. That is, DC power is provided by the personal computer via the USB cable.

More information

Mapping device with wireless communication

Mapping device with wireless communication University of Arkansas, Fayetteville ScholarWorks@UARK Electrical Engineering Undergraduate Honors Theses Electrical Engineering 12-2011 Mapping device with wireless communication Xiangyu Liu University

More information

ET 438B Sequential Digital Control and Data Acquisition Laboratory 4 Analog Measurement and Digital Control Integration Using LabVIEW

ET 438B Sequential Digital Control and Data Acquisition Laboratory 4 Analog Measurement and Digital Control Integration Using LabVIEW ET 438B Sequential Digital Control and Data Acquisition Laboratory 4 Analog Measurement and Digital Control Integration Using LabVIEW Laboratory Learning Objectives 1. Identify the data acquisition card

More information

Operational Amplifiers

Operational Amplifiers Operational Amplifiers Reading Horowitz & Hill handout Notes, Chapter 9 Introduction and Objective In this lab we will examine op-amps. We will look at a few of their vast number of uses and also investigate

More information

COSC 3215 Embedded Systems Laboratory

COSC 3215 Embedded Systems Laboratory Introduction COSC 3215 Embedded Systems Laboratory Lab 5 Temperature Controller Your task will be to design a temperature controller using the Dragon12 board that will maintain the temperature of an object

More information

Electronic Instrumentation ENGR-4300 Fall 2002 Project 2: Optical Communications Link

Electronic Instrumentation ENGR-4300 Fall 2002 Project 2: Optical Communications Link Project 2: Optical Communications Link For this project, each group will build a transmitter circuit and a receiver circuit. It is suggested that 1 or 2 students build and test the individual components

More information

EMBEDDED SYSTEM DESIGN FOR A DIGITAL MULTIMETER USING MOTOROLA HCS12 MICROCONTROLLER

EMBEDDED SYSTEM DESIGN FOR A DIGITAL MULTIMETER USING MOTOROLA HCS12 MICROCONTROLLER EMBEDDED SYSTEM DESIGN FOR A DIGITAL MULTIMETER USING MOTOROLA HCS12 MICROCONTROLLER A Thesis Submitted in partial Fulfillment Of the Requirements of the Degree of Bachelor of Technology In Electronics

More information

ULS24 Frequently Asked Questions

ULS24 Frequently Asked Questions List of Questions 1 1. What type of lens and filters are recommended for ULS24, where can we source these components?... 3 2. Are filters needed for fluorescence and chemiluminescence imaging, what types

More information

EE 314 Spring 2003 Microprocessor Systems

EE 314 Spring 2003 Microprocessor Systems EE 314 Spring 2003 Microprocessor Systems Laboratory Project #9 Closed Loop Control Overview and Introduction This project will bring together several pieces of software and draw on knowledge gained in

More information

INSTRUMENTATION BREADBOARDING (VERSION 1.3)

INSTRUMENTATION BREADBOARDING (VERSION 1.3) Instrumentation Breadboarding, Page 1 INSTRUMENTATION BREADBOARDING (VERSION 1.3) I. BACKGROUND The purpose of this experiment is to provide you with practical experience in building electronic circuits

More information

Lab 3 Final report: Embedded Systems Digital Potentiometer Subsystem TEAM: RAR

Lab 3 Final report: Embedded Systems Digital Potentiometer Subsystem TEAM: RAR Lab 3 Final report: Embedded Systems Digital Potentiometer Subsystem TEAM: RAR EE 300W, Section 6 Professor Tim Wheeler Rui Xia, Yuanpeng Liao and Ashwin Ramnarayanan Table of Contents Introduction...2

More information

potentiostat/galvanostat/impedance analyser

potentiostat/galvanostat/impedance analyser potentiostat/galvanostat/impedance analyser Rev. 9-2014 potentiostat/galvanostat/impedance PalmSens3 is a battery-powered, handheld instrument which allows the application of most of the relevant voltammetric,

More information

173 Electrochemical Impedance Spectroscopy Goals Experimental Apparatus Background Electrochemical impedance spectroscopy

173 Electrochemical Impedance Spectroscopy Goals Experimental Apparatus Background Electrochemical impedance spectroscopy Goals 173 Electrochemical Impedance Spectroscopy XXGoals To learn the effect of placing capacitors and resistors in series and parallel To model electrochemical impedance spectroscopy data XXExperimental

More information

MUSIC RESPONSIVE LIGHT SYSTEM

MUSIC RESPONSIVE LIGHT SYSTEM MUSIC RESPONSIVE LIGHT SYSTEM By Andrew John Groesch Final Report for ECE 445, Senior Design, Spring 2013 TA: Lydia Majure 1 May 2013 Project 49 Abstract The system takes in a musical signal as an acoustic

More information

In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics:

In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics: In this lecture, we will look at how different electronic modules communicate with each other. We will consider the following topics: Links between Digital and Analogue Serial vs Parallel links Flow control

More information

An Analog Phase-Locked Loop

An Analog Phase-Locked Loop 1 An Analog Phase-Locked Loop Greg Flewelling ABSTRACT This report discusses the design, simulation, and layout of an Analog Phase-Locked Loop (APLL). The circuit consists of five major parts: A differential

More information

ENGS 26 CONTROL THEORY. Thermal Control System Laboratory

ENGS 26 CONTROL THEORY. Thermal Control System Laboratory ENGS 26 CONTROL THEORY Thermal Control System Laboratory Equipment Thayer school thermal control experiment board DT2801 Data Acquisition board 2-4 BNC-banana connectors 3 Banana-Banana connectors +15

More information

INA169 Breakout Board Hookup Guide

INA169 Breakout Board Hookup Guide Page 1 of 10 INA169 Breakout Board Hookup Guide CONTRIBUTORS: SHAWNHYMEL Introduction Have a project where you want to measure the current draw? Need to carefully monitor low current through an LED? The

More information

Using Magnetic Sensors for Absolute Position Detection and Feedback. Kevin Claycomb University of Evansville

Using Magnetic Sensors for Absolute Position Detection and Feedback. Kevin Claycomb University of Evansville Using Magnetic Sensors for Absolute Position Detection and Feedback. Kevin Claycomb University of Evansville Using Magnetic Sensors for Absolute Position Detection and Feedback. Abstract Several types

More information

EXPERIMENT NUMBER 8 Introduction to Active Filters

EXPERIMENT NUMBER 8 Introduction to Active Filters EXPERIMENT NUMBER 8 Introduction to Active Filters i-1 Preface: Preliminary exercises are to be done and submitted individually. Laboratory hardware exercises are to be done in groups. This laboratory

More information

Resistive Circuits. Lab 2: Resistive Circuits ELECTRICAL ENGINEERING 42/43/100 INTRODUCTION TO MICROELECTRONIC CIRCUITS

Resistive Circuits. Lab 2: Resistive Circuits ELECTRICAL ENGINEERING 42/43/100 INTRODUCTION TO MICROELECTRONIC CIRCUITS NAME: NAME: SID: SID: STATION NUMBER: LAB SECTION: Resistive Circuits Pre-Lab: /46 Lab: /54 Total: /100 Lab 2: Resistive Circuits ELECTRICAL ENGINEERING 42/43/100 INTRODUCTION TO MICROELECTRONIC CIRCUITS

More information

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board IXDP610 Digital PWM Controller IC Evaluation Board General Description The IXDP610 Digital Pulse Width Modulator (DPWM) is a programmable CMOS LSI device, which accepts digital pulse width data from a

More information

CHAPTER 7 HARDWARE IMPLEMENTATION

CHAPTER 7 HARDWARE IMPLEMENTATION 168 CHAPTER 7 HARDWARE IMPLEMENTATION 7.1 OVERVIEW In the previous chapters discussed about the design and simulation of Discrete controller for ZVS Buck, Interleaved Boost, Buck-Boost, Double Frequency

More information

EXPERIMENT 7 The Amplifier

EXPERIMENT 7 The Amplifier Objectives EXPERIMENT 7 The Amplifier 1) Understand the operation of the differential amplifier. 2) Determine the gain of each side of the differential amplifier. 3) Determine the gain of the differential

More information

Building a Biosensor!

Building a Biosensor! 1 Building a Biosensor! Do you wish you could put your organisms to good use? Wouldn t it be nice to make your very own homemade biosensor? For under $50.00, you can build a functional potentiostat circuit,

More information

PHYSICS 124 PROJECT REPORT Kayleigh Brook and Zulfar Ghulam-Jelani

PHYSICS 124 PROJECT REPORT Kayleigh Brook and Zulfar Ghulam-Jelani PHYSICS 124 PROJECT REPORT Kayleigh Brook and Zulfar Ghulam-Jelani MOTIVATION AND OVERALL CONCEPT The ability to track eye movements in a quantitative way has many applications, including psychological

More information

EE 233 Circuit Theory Lab 2: Amplifiers

EE 233 Circuit Theory Lab 2: Amplifiers EE 233 Circuit Theory Lab 2: Amplifiers Table of Contents 1 Introduction... 1 2 Precautions... 1 3 Prelab Exercises... 2 3.1 LM348N Op-amp Parameters... 2 3.2 Voltage Follower Circuit Analysis... 2 3.2.1

More information

Onwards and Upwards, Your near space guide

Onwards and Upwards, Your near space guide The NearSys One-Channel LED Photometer is based on Forest Mims 1992 article (Sun Photometer with Light-emitting Diodes as Spectrally selective Filters) about using LEDs as a narrow band photometer. The

More information

Chapter 13: Comparators

Chapter 13: Comparators Chapter 13: Comparators So far, we have used op amps in their normal, linear mode, where they follow the op amp Golden Rules (no input current to either input, no voltage difference between the inputs).

More information

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter EE283 Electrical Measurement Laboratory Laboratory Exercise #7: al Counter Objectives: 1. To familiarize students with sequential digital circuits. 2. To show how digital devices can be used for measurement

More information

Parts to be supplied by the student: Breadboard and wires IRLZ34N N-channel enhancement-mode power MOSFET transistor

Parts to be supplied by the student: Breadboard and wires IRLZ34N N-channel enhancement-mode power MOSFET transistor University of Utah Electrical & Computer Engineering Department ECE 1250 Lab 3 Electronic Speed Control and Pulse Width Modulation A. Stolp, 12/31/12 Rev. Objectives 1 Introduce the Oscilloscope and learn

More information

Lab 5: EC-3, Capacitors and RC-Decay Lab Worksheet

Lab 5: EC-3, Capacitors and RC-Decay Lab Worksheet , Capacitors and RC-Decay Lab Worksheet Name Your TA will use this sheet to score your lab. It is to be turned in at the end of lab. You must use complete sentences and clearly explain your reasoning to

More information

ELEG 205 Analog Circuits Laboratory Manual Fall 2016

ELEG 205 Analog Circuits Laboratory Manual Fall 2016 ELEG 205 Analog Circuits Laboratory Manual Fall 2016 University of Delaware Dr. Mark Mirotznik Kaleb Burd Patrick Nicholson Aric Lu Kaeini Ekong 1 Table of Contents Lab 1: Intro 3 Lab 2: Resistive Circuits

More information

EECS 140/240A Final Project spec, version 1 Spring 17. FINAL DESIGN due Monday, 5/1/2017 9am

EECS 140/240A Final Project spec, version 1 Spring 17. FINAL DESIGN due Monday, 5/1/2017 9am EECS 140/240A Final Project spec, version 1 Spring 17 FINAL DESIGN due Monday, 5/1/2017 9am 1 1.2 no layout? XC? Golden Bear Circuits is working on its next exciting circuit product. This is a mixedsignal

More information

Figure 1. C805193x/92x Capacitive Touch Sense Development Platform

Figure 1. C805193x/92x Capacitive Touch Sense Development Platform CAPACITIVE TOUCH SENSE SOLUTION RELEVANT DEVICES The concepts and example code in this application note are applicable to the following device families: C8051F30x, C8051F31x, C8051F320/1, C8051F33x, C8051F34x,

More information

Pre-Laboratory Assignment

Pre-Laboratory Assignment Measurement of Electrical Resistance and Ohm's Law PreLaboratory Assignment Read carefully the entire description of the laboratory and answer the following questions based upon the material contained

More information

ECE 317 Laboratory #1 Force Sensitive Resistors

ECE 317 Laboratory #1 Force Sensitive Resistors ECE 317 Laboratory #1 Force Sensitive Resistors Background Force, pressure, and position sensing are required for a wide variety of uses. In this lab, we will investigate a sensor called a force sensitive

More information

Pulse Sensor Individual Progress Report

Pulse Sensor Individual Progress Report Pulse Sensor Individual Progress Report TA: Kevin Chen ECE 445 March 31, 2015 Name: Ying Wang NETID: ywang360 I. Overview 1. Objective This project intends to realize a device that can read the human pulse

More information

Optical to Electrical Converter

Optical to Electrical Converter Optical to Electrical Converter By Dietrich Reimer Senior Project ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University San Luis Obispo 2010 1 Table of Contents List of Tables and Figures...

More information

Physics 323. Experiment # 1 - Oscilloscope and Breadboard

Physics 323. Experiment # 1 - Oscilloscope and Breadboard Physics 323 Experiment # 1 - Oscilloscope and Breadboard Introduction In order to familiarise yourself with the laboratory equipment, a few simple experiments are to be performed. References: XYZ s of

More information

LF442 Dual Low Power JFET Input Operational Amplifier

LF442 Dual Low Power JFET Input Operational Amplifier LF442 Dual Low Power JFET Input Operational Amplifier General Description The LF442 dual low power operational amplifiers provide many of the same AC characteristics as the industry standard LM1458 while

More information

Compliance Voltage How Much is Enough?

Compliance Voltage How Much is Enough? Introduction Compliance Voltage How Much is Enough? The compliance voltage of a potentiostat is the maximum voltage that the potentiostat can apply to the counter electrode in order to control the desired

More information

Programmable Timer Teaching Notes Issue 1.2

Programmable Timer Teaching Notes Issue 1.2 Teaching Notes Issue 1.2 Product information: www.kitronik.co.uk/quicklinks/2121/ TEACHER Programmable Timer Index of sheets Introduction Schemes of work Answers The Design Process The Design Brief Investigation

More information

Subject: Best Practices for Improving Tafel Plots of High Capacitance Cells with Low Series Resistance

Subject: Best Practices for Improving Tafel Plots of High Capacitance Cells with Low Series Resistance Technical Note Subject: Best Practices for Improving Tafel Plots of High Capacitance Cells with Low Series Resistance Date: April 2014 The PARSTAT4000 is designed with both function and versatility at

More information

CONDUCTIVITY sensors are required in many application

CONDUCTIVITY sensors are required in many application IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, VOL. 54, NO. 6, DECEMBER 2005 2433 A Low-Cost and Accurate Interface for Four-Electrode Conductivity Sensors Xiujun Li, Senior Member, IEEE, and Gerard

More information

Multiple Instrument Station Module

Multiple Instrument Station Module Multiple Instrument Station Module Digital Storage Oscilloscope Vertical Channels Sampling rate Bandwidth Coupling Input impedance Vertical sensitivity Vertical resolution Max. input voltage Horizontal

More information

AC : PERSONAL LAB HARDWARE: A SINE WAVE GENERATOR, LOGIC PULSE SIGNAL, AND PROGRAMMABLE SYNCHRONOUS SERIAL INTERFACE FOR ENHANCING EDUCATION

AC : PERSONAL LAB HARDWARE: A SINE WAVE GENERATOR, LOGIC PULSE SIGNAL, AND PROGRAMMABLE SYNCHRONOUS SERIAL INTERFACE FOR ENHANCING EDUCATION AC 2010-1527: PERSONAL LAB HARDWARE: A SINE WAVE GENERATOR, LOGIC PULSE SIGNAL, AND PROGRAMMABLE SYNCHRONOUS SERIAL INTERFACE FOR ENHANCING EDUCATION Jeffrey Richardson, Purdue University James Jacob,

More information

CMPE490/450 FINAL REPORT DYNAMIC CAMERA STABILIZATION SYSTEM GROUP 7. DAVID SLOAN REEGAN WOROBEC

CMPE490/450 FINAL REPORT DYNAMIC CAMERA STABILIZATION SYSTEM GROUP 7. DAVID SLOAN REEGAN WOROBEC CMPE490/450 FINAL REPORT DYNAMIC CAMERA STABILIZATION SYSTEM GROUP 7 DAVID SLOAN dlsloan@ualberta.ca REEGAN WOROBEC rworobec@ualberta.ca DECLARATION OF ORIGINAL CONTENT The design elements of this project

More information

PHYSICS 107 LAB #9: AMPLIFIERS

PHYSICS 107 LAB #9: AMPLIFIERS Section: Monday / Tuesday (circle one) Name: Partners: PHYSICS 107 LAB #9: AMPLIFIERS Equipment: headphones, 4 BNC cables with clips at one end, 3 BNC T connectors, banana BNC (Male- Male), banana-bnc

More information

Project 3 Build a 555-Timer

Project 3 Build a 555-Timer Project 3 Build a 555-Timer For this project, each group will simulate and build an astable multivibrator. However, instead of using the 555 timer chip, you will have to use the devices you learned about

More information

Experiment 1.A. Working with Lab Equipment. ECEN 2270 Electronics Design Laboratory 1

Experiment 1.A. Working with Lab Equipment. ECEN 2270 Electronics Design Laboratory 1 .A Working with Lab Equipment Electronics Design Laboratory 1 1.A.0 1.A.1 3 1.A.4 Procedures Turn in your Pre Lab before doing anything else Setup the lab waveform generator to output desired test waveforms,

More information

Electric Circuit Fall 2016 Pingqiang Zhou LABORATORY 7. RC Oscillator. Guide. The Waveform Generator Lab Guide

Electric Circuit Fall 2016 Pingqiang Zhou LABORATORY 7. RC Oscillator. Guide. The Waveform Generator Lab Guide LABORATORY 7 RC Oscillator Guide 1. Objective The Waveform Generator Lab Guide In this lab you will first learn to analyze negative resistance converter, and then on the basis of it, you will learn to

More information