Computers in General Chemsitry

Goals, Development and Implementation

BGSU Chemsitry

Supported in part by a grant from the National Science Foundation, DUE/CCLI
last updated August 3, 2004

(This is a preliminary version and it lacks linkages.)

Our primary goal in this project was to bring laboratory computing into our introductory chemistry laboratories. This involved obtaining computers, data interfaces, laboratory sensors, printers and networking as well as generating appropriate experiments and software to support those experiments. We have achieved those goals, although a number of changes occurred between the original design and the final implementation. Those changes also stalled the project and some aspects of the project were completed too late for the desired assessments.

The goal was to provide individual student workstations. These were to be sufficiently portable to be moved in and out of a traditional laboratory as needed without dominating the individual student work area. The proposal targeted at the use of handheld computers (HPC) often categorized as personal data assistant (PDA) devices. At the time of the proposal several models of HPC were the only computers that met our combined restrictions on size (small footprint) and cost (typically $500/ unit.) We also limited our consideration to devices with standard serial input ports (to allow the use of external data systems), to devices with a Windows-CE operating system (to allow programming in a conventional language), to devices with a modest screen size and preferably with a small keyboard for input. Two manufacturers offered products that were attractive.

Casio sold an HPC (Cassiopeia A22T-Computer Extender) for about $400-500 and was offered with a compatible data unit (EA100, $175.) Casio generously provided two systems and sample software for our evaluation.
Hewlett Packard also made several versions that met our requirements, such as Jornada 720 Handheld PC at $750. The HP units were considerably more expensive but had color LCD displays and higher performance figures.

It became clear that such units would really meet our overall goals. During the early development stage, Windows-CE underwent a number of significant changes, leading us to fear that these computers (and applications written for them) would quickly become obsolete. We also feared that we would need an unrealistic commitment to stay abreast of changes. Casio warned that it was not committed to maintain that line of HPC units. HP discontinued the models we were considering and the newer units were more expensive or seemed less compatible with our goals. If the next generation units were incompatible with our units, we would be forced to replace our full collection with new machines in a few years or we would be forced to accommodate a mixture of different machines with different application programs.

Initially we considered but rejected laptop computers for two reasons. First, the cost was significantly higher ($1500-2000 per station) and we felt we would be unable to afford enough units to make the changes we envisioned for our laboratories. We also worried about the footprint-- the smaller HPC units preserved much more of the limited laboratory space allotted to each student. While we were contemplating the limitations of the HPC products, we had the opportunity to acquire a set of 30 refurbished laptops (Toshiba Protege 7020CT ) at a price (<$400) that was less than what we anticipated for the HPC units. Although hardly cutting edge technology these were still Pentium(TM) II devices at 366 MHz, with 128 RAM and a hard drive with 6 GB capacity and they accept a simple Ethernet card; these units were well in excess of our design goals. They were reasonably compact, in part due to an odd arrangement that treated floppy disk and CD disk drive as plug-in accessories.

The second key element was the acquisition of laboratory data from sensors; this requires an Analog to Digital interface unit. With the HPC we were effectively limited to devices that operate through the computer's serial port. Even laptops effectively limit one to interfacing through serial (RS232 or USB) or parallel (printer) port. We considered a number of commercial interface units, limiting our selection to units with 12 bit or higher resolution.

Ultimately we decided that our most versatile and cost effect solution was to construct our own interface units, built around microcomputer / microcontroller chips manufactured by MicroChip and sold under the name PIC's. These are typically 8 bit microcomputers with limited memory that can be programmed by the user. We chose the model 16C774 that contains Since we designed a custom board we were able to include a dedicated interface for pH electrodes. We also implemented the analog input ports using the same connectors used by Vernier, Pasco, Texas Instruments and others so we could use standard sensors. These use the unusual connectors designed for the British Telephone system. (Although very difficult to find, they are available from R. S. Electronics, U.K., ordered in the U.S. through Allied Electronics.) The boards were laid out and assembled by Doug Martin, a BGSU electronics technician, with board itself being manufactured by PCBExpress. The PIC was "burned" with an applications program using a MicroChip PICStart Plus programmer which included editors, assemblers and simulation routines for developing and testing software. One bonus was the PI's development of proficiency in the programming of PIC microprocessors; this has led to another half dozen projects that are currently underway. (These include 19 bit ADC interfaces for chromatography, digitizing older analog Spectronic-20 instruments, digitizing a functional but vintage spectrofluorometer, creating a vacuum controller and replacement of most of the electronics in a vintage UV-Vis scanning spectrophotometer.)

Our applications program for the PIC accepts simple commands from a host computer (the lab laptop.) This allows setting the data acquisition rate. (This is nominally 10-20Hz but we can easily achieve 100 Hz. A minor upgrade to several boards will probably allow us 1 msec acquisition rates for a few special applications.) We also can select any combination of six input channels, one of which accepts a pH electrode directly. We can control 4 output binary lines and read 4 input binary lines, one of which allows trigger signals. We can also perform signal averaging during data acquisition.

The host program (on laptop) handles all treatment of data from conversion of voltages to physical units, plotting and interpretation of data. A sophisticated data handling/plotting package to interface with the PIC microcomputer was written by a BGSU senior chemistry/computing science major, Habib Ahmad.

Student Experimental Modules

We developed a series of general chemistry laboratory instructional modules that utilize the computers in a data collection mode. These generally also included tutorial software, often in the form of Power Point (TM) presentations to present and illustrate specific aspects of each experiment. Most of these are described in detail on the PI's web site

http://www.bgsu.edu/departments/chem/faculty/endres/nsf/nsf_home.htm

In several cases we have introduced experiments that would have been impractical without computerized data acquisition. More often, we have changed the character of such experiments. For example, an experiment on pH Titration curves has been around for decades. The revised version examines and compares a much wider range of samples and places much greater emphasis on the general features of graphical presentation of data.

However we also found several bonus enhancements of our instructional labs.