Difference between revisions of "Interfacing with a Photodiode Array"

From Mech
Jump to navigationJump to search
Line 5: Line 5:


In this interfacing structure, the data is clocked out so quickly that it is impossible to read every analog level. To remedy this, we lightly low pass filter the analog output and read in analog data as quickly as possible.
In this interfacing structure, the data is clocked out so quickly that it is impossible to read every analog level. To remedy this, we lightly low pass filter the analog output and read in analog data as quickly as possible.



<b>Sample code: Potodiode_array.c</b>
<b>Sample code: Potodiode_array.c</b>

Revision as of 13:48, 2 July 2008

Wiring Diagram
Wiring Diagram

The TAOS Photodiode Linear Sensor Array (TSL1406R) provides an analog output for each of the photodiodes in the array. During the integration time, a capacitor is charged by the photodiode. When the HOLD goes high, each of the charges accumulated during the integration time is simultaneously passed to its specific holding capacitor. The analog voltages on each holding capacitor can then be read one-by-one at the clock speed. We are using the PWM function of the PIC to act as the CLK signal.

In this interfacing structure, the data is clocked out so quickly that it is impossible to read every analog level. To remedy this, we lightly low pass filter the analog output and read in analog data as quickly as possible.


Sample code: Potodiode_array.c

Link to all sample code here.