University of Louisville Two Electrode Potentiostat ...

tamerunΛογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 5 χρόνια και 3 μήνες)

565 εμφανίσεις



1

UNIVERSITY OF LOUISV
ILLE

Two Electrode Potentiostat

Technical Manual


Lucas Bennett

and

Ben Williams

1
2
/
05
/2011

Revision
0



This is the
Technical Manual

for the
Two Electrode Potentioststat.



2

0.2

Table of Contents

1.

Arduino Development Board Firmware

................................
................................
................................

3

1.1

Arduino Integrated Development Environment (IDE)

................................
................................
..

3

1.2

Firm
ware Upload

................................
................................
................................
..........................

3

1.3

Firmware Interaction

................................
................................
................................
....................

5

2.

The NetBeans IDE

................................
................................
................................
................................
..

5

2
.1

NetBeans IDE Installation

................................
................................
................................
..............

5

2.2

Interfacing Source with NetBeans IDE

................................
................................
..........................

5

3.

Graphical User Interface User Manual
................................
................................
................................
..

6

3.1

Operation Requirements

................................
................................
................................
..............

6

3.2

Establishing Connection

................................
................................
................................
................

6

3.3

Live Measurem
ents

................................
................................
................................
.......................

7

3.4

Cyclic Voltammetry Testing

................................
................................
................................
..........

7

3.5

Data Logging

................................
................................
................................
................................
..

8

3.6

D
ebug Mode

................................
................................
................................
................................
.

9

3.7

Edit Settings (Unimplemented)

................................
................................
................................
.....

9




3

1.

Arduino Development Board Firmware


The following steps take place on a Personal Computer. These steps are re
quired to modify the Arduino
Development Boards firmware, or to load the firmware onto a new board. These steps are not required
before every experiment.

1.1

Arduino Integrated Development Environment (IDE)

1)

Unzip the Arduino IDE located on the provided
on the

project website under the name
Arduino
IDE Software
\
_Windows

or from the Arduino website.

2)

Install the Java Runtime Environment (JRE) located in the same folder.

1.2

Firmware Upload

1.)

The required Firmware for the Arduino is located on the
provided on the projec
t website under
the name _Firmware

2.)

Copy the firmware folder to the work directory on the computer

3.)

Run the Arduino.exe file which was unzipped in 2.1 Step 1




4.)

Open the Firmware copied in 2.2 Step 2, File


Open


pstat_firmware.pde



4


5.)

Ensure the correct A
rduino is selected to download to Tools


Board


xxx


6.)

Click on Upload



5


7.)

This will upload the firmware to the Arduino Development Board

1.3

Firmware Interaction


No user interaction is necessary for the firmware to function. All inputs and commands come from

the
Graphical User Interface, and all outputs go to the Graphical User Interface.


2.

The NetBeans IDE

The NetBeans IDE will provide users with the means of altering the source code of the Graphical User
Interface running on the DDMS.

2.1

NetBeans IDE

Installat
ion

1.)

Install the Java Software Development Kit (JDK)
provided on the project website under the name
Software
\
_NetBeans
\

2.)

Install NetBeans
provided on the project website under the name
Software
\
_NetBeans
\

2.2

Interfacing Source with NetBeans IDE

1.)

The required so
urce code is located on the
provided on the project website under the name
GUI
\

2.)

Copy the source code folder to the work directory on the computer

3.)

Run the NetBeans application



6

4.)

Open the project copied in 3.2 Step 2

5.)

Build the Project to an application by goin
g to Run


Build Project


6.)

The application file will be located in the work directory
\
work
\
Pstat_GUI
\
dist
\
GUI.jar

7.)

After the project has been built, NetBeans is no longer required, unless further modification to
the GUI is needed.

3.

Graphical User Interface
User Manual


The Graphical User Interface (GUI) is a powerful tool that can be utilized in many ways to exploit
the functionality of the Two Electrode Potentiostat.

3.1

Operation Requirements

To function properly a directory must be established which contains
Ardustat.jar, rxtxSerial.dll,
and the lib folder. To operate the system on a different operating system, the RXTXcomm.jar file
in the lib folder needs to be replaced with the corresponding file in the rxtxcomm folder.

3.2

Establishing Connection




7


To establis
h a connection with a Two Electrode Potentiostat already connected to the pc
running the software via a usb cable, the user should click the “Get Ports” button. A list of
connected serial ports will populate in the drop down field and the user should then
select the
appropriate port and click “Connect”. The connection should now be established and
measurements will begin to appear on the right tab.


3.3

Live Measurements

The software will display live measurements of the Two Electrode Potentiostat when a
connec
tion is made on the right panel of the software. The measurements are labeled
appropriately.



3.4

Cyclic Voltammetry Testing

The user can elect to perform Cyclic Voltammetry testing by selecting the radio field in the
testing panel. The user must then specif
y the mode of operation for the Cyclic Voltammetry test.
The different modes will allow the user to either specify a constant current or potential voltage


8

until either a cutoff is reached or a specified time allotment expired. There is a drop down box
for
selecting the type of mode of operation. When the user select a mode in the drop down box,
the type of testing will be clearly outlined for the user.


3.5

Data Logging

The software provides the user with the ability to record the measurements of the Two
Elect
rode Potentiostat into a CSV file so that graphs can easily be constructed. To specify the file
name of the CSV file, the user simply needs to type a file name in the input field located in the
“Log File” panel of the software. When the user is ready for t
he CSV file to begin collecting data,
the “Start Log” button can be clicked. The button will change to say “Stop Logging” and by
clicking this, the user will stop the CSV file from obtaining measurements.






9

3.6

Debug Mode

This feature was designed for future

developers. By clicking the Debug Mode button in the
menu, the user will be taken to a screen where manual commands can be sent to the Two
Electrode Potentiostat. The user can specify the type of mode the Potentiostat system should
operate in as well as o
ne input parameter. If the user knows the structure of the firmware, he
can also send the native commands directly to the processor. Logging is also enabled for this
feature.



3.7

Edit Settings (Unimplemented)

By clicking Edit
-
>Settings from the menu, the us
er will be taken to the edit settings panel of the
software. This feature does not currently function, but was left in for future development due to
the preexisting structure of the software.

To exit the settings, simply click “Close Settings”.



10