Create a CR300 program using Short Cut, Campbell Scientific's program generator. Wire your sensor accordingly. Follow along with the QuickStart section of your datalogger manual.