Zhi Wei Ko
E-122K Group 2
Light Sensor Calibration Using PIC Data Acquisition
There were several fundamental objectives to this LabVIEW experiment. One main
objective was to experience LabVIEW’s capabilities, using its many virtual instruments.
group performed different excercises, including each creating their own program for collecting
light sensor data.
With LabVIEW and the programs made on it, the group needed to utilize and
implement a data acquisition system to collect data three different light sensors, CdS#1, CdS#2,
Connecting the program to the light sensors allowed the group to understand the
differences in the sensors as well as how they could be used to accurately measure light intensity,
which was another objective of the experiment. The experiment was ran inside a light tunnel
apparatus with a high LED source on one end and a movable stick with the three light sensors on
the other end. With the experiment set up, they had to collect and analyze light sensor data,
presenting their calibration plots on Excel, which would allow them to compare the data with
From this experiment, the group needed to understand the use of the
“PIC_Communication_(SubVI)” in order to have communication between LabVIEW and the
This experiment also set out was the further development of teamwork skills.
team had to be able to communicate and work together in order to complete other objectives and
At the end of the experiment a report was required, which would fulfill the last
objective of enhancing the group’s abilities to create and finish technical reports.
In order to begin the experiment, the group must start by utilizing the PIC Microcontroller. First,
the power switch labeled “MICRO” should be switched on. The motor switch can be left off.
Next, the PIC DAQ must connect to the laptop via a provided serial cable.
Afterwards, three light sensors will be wired onto the PIC DAQ. For the Cadmium 1 Light
Sensor (CdS#1), the two green wires were connected into the RA0 and GND terminals. Next, the
Cadmium 2 Light Sensor (CdS#2), wired two blue wires and connected them to the RA1 and
GND terminals. When connecting the solid state light sensor, three wires were used. Since it is
an active light sensor, it needs to receive power from the red and black wires. The red wire
connected to the VCC on the PIC DAQ, and the black wire connected to the GND terminal.
Additionally, a yellow wire connected to the RA2 port. Also, the jumper block was removed for