PC-CONTROLLED
SCANNING TUNNELING MICROSCOPE

ECE 476 SPRING 2002 FINAL PROJECT

 
PC CODE
 
The PC code was implemented in JAVA programming language. The program consists of a Serial Port communication scheme (SerialTalk.java) implementing RS232, a command interpreter for interpreting/generating messages to/from the MCU, a graphical user interface with real time plotting capabilities and a file-writer that stores the data in a user specified file (the file is automatically created if it does not exist).
 
Graphical user interface with real time plotting
 
MCU CODE
 
The MCU code was implemented in C programming language. The program interprets the commands sent by PC, then performs calibration to get the constants associated with the sample, and controls the motion of the tip by applying appropriate voltages to the unimorph scanner according to the specification entered by user at the PC. Data is sent to the PC after the measurement at each point (with averaging option).
   
 
A commented listing for both codes is available in the listing section.