First of all, hereÕs a list of what youÕll need:
*There are varying levels of complexity you can take your LEGO AFM to. If you want to actually be able to read an electrical signal from a simple photo detector, then you will need the parts marked with an asterisk.
You will need a program to tell the scanner to scan in a rastering motion, like reading a book. This is fairly easily done using the LEGO programming language the Mindstorms system comes with. You can find a copy of my program here.
If youÕd like to go one step further and read your data into a computer using a data acquisition board, youÕll need some software to do that as well. I recommend LabVIEW. Here is the program I wrote to read and store the data. You simply have to enter the numbers of the input channels for the top and bottom solar cells. The program subtracts the bottom signal from the top and displays it on the screen.