TAOS TSL230RD User Manual Download Page 5

An Evaluation System for the TAOS Light-to-Frequency Converters 

 

 

 

www.taosinc.com

 

5 of 10 

time. This integration time is controlled independently for each daughterboard. The frequency is then 

determined by dividing the count value by the integration time to get units of Hz (cycles per second). 
Since the number of counts obtained during the integration time interval determines the measurement 

resolution, resolution can be improved by using longer integration times. The maximum count value 

that can be obtained is 65535 (16-bit), so integration time must be chosen so that this maximum 

count value is not exceeded. 

 

Period measurement

 uses the technique of measuring the time between pulses (i.e. low-to-high 

transitions) on the sensor output pin. The EVM uses an internal hardware-based timer to measure this 
time interval. The measurement resolution is 2

µ

s with a maximum count value of 65535, therefore the 

maximum time interval (period) that can be measured is 0.131s. 

 

Long period measurement

 uses a software loop to measure the time interval rather than a 

hardware-based timer. After establishing an initial condition (such as a high-to-low or low-to-high 

transition) this technique samples the output state from the sensor and increments a value used as a 
counter. This process repeats until the state changes from the initial condition. The period is then 

proportional to the number of counts obtained. Actual time is calculated by multiplying the count 

value by the time it takes to execute a single pass through the loop. On the BS2pe used on the EVM, 

this loop time is 0.00119s, or 1.19ms, and the maximum count value is 65535. Therefore the 

maximum time interval (period) that can be measured is about 78s. 

 
Each of the above three measurement techniques can give different resolution for a given frequency. 

In general, for high frequencies it is best to use the Frequency measurement mode since this gives a 

relatively high count value in a reasonable amount of time (integration time). For lower frequencies, a 

longer integration time is required to get a high count value (high resolution). In this case Period 

measurement mode can be used, which will result in a higher count value in a shorter amount of time, 

since only the measurement of one period, or cycle, is required. For very low frequencies (less than 
about 8Hz, or 1/0.131s), the maximum count of the Period measurement mode can be exceeded. In 

this case the Long Period measurement mode can be used, allowing periods up to 78s (about 0.01Hz) 

to be measured, although measurement times of this length are not practical in most cases. 

 

Measurement mode can be selected independently for the daughterboards in sockets A and B. 

 

Update Readings 

The host software application periodically polls the EVM automatically and requests a measurement. 

This polling, or update, interval can be adjusted in several steps between 0.1s and 10s using the Rate 

slider. Note that this update rate is independent of the integration time used to measure frequency. 

Therefore if the selected integration time exceeds the selected update rate, the update rate will be 
decreased to allow the frequency measurement to be made. Additionally, if two daughterboards are 

installed and measuring frequency, both integration times must be accommodated. Therefore the 

actual update rate may be much slower than the rate selected. The actual update interval is shown 

below the Rate slider. Automatic measurement update can be disabled and enabled using the Auto 

Update check box. 

 

Strip Chart Data Source 

A strip chart may be invoked which provides a visual representation of the measurement data (for 

more information on the Strip Chart see the section entitled Strip Chart). Option buttons select the 

source of the data for the strip chart from either Socket A or Socket B. 

 

Daughterboard Windows 

Daughterboard windows provide control and display measurement results for each daughterboard 

installed in the EVM motherboard. Although there are six different daughterboards, there are only two 

Summary of Contents for TSL230RD

Page 1: ...opriate drive letter in the above command to install the software CD ROMs are commonly D The installation program will guide you through the product installation Refer to the ReadMe file on CD for the latest installation instructions USB EVM HARDWARE AND DRIVER DESCRIPTION The specification and system requirements for the hardware portion of the Light to Frequency LTF EVM USB module follow System ...

Page 2: ...ith each daughterboard and these are labeled A and B on the motherboard Frequency measurements period measurements and PWM control of the daugherboard LEDs are performed by either the BASIC Stamp or the coprocessors under BASIC Stamp control The EVM is shipped with an application programmed into the BASIC Stamp which controls the communication between the BASIC Stamp the sensor coprocessors and th...

Page 3: ...connector on the bottom of the daughterboard with either of the sockets A or B Note that the connector is polarized and the daughterboard should be inserted such that the two mounting holes in the corners opposite the side with the connector align over the threaded standoffs on the motherboard Press firmly over the connector to make sure that the daughterboard is seated firmly in the socket As exp...

Page 4: ...ly a Strip Chart recorder window can be invoked which displays the data in a graphical representation Each window is explained in more detail in the following sections Figure 2 Light to Frequency EVM Main Window Control Window The control window appears at the far left of the main application window It provides control over measurement mode and measurement update rate of both daughterboard windows...

Page 5: ...ives a relatively high count value in a reasonable amount of time integration time For lower frequencies a longer integration time is required to get a high count value high resolution In this case Period measurement mode can be used which will result in a higher count value in a shorter amount of time since only the measurement of one period or cycle is required For very low frequencies less than...

Page 6: ...y cycle or percentage of time that the signal is high of the drive signal to the LED This drive signal is then low pass filtered to provide a continuous DC signal If the duty cycle is low then the percentage of time that the LED is on is low near 0 and the average power and thus the brightness is low If the duty cycle is high near 100 then the average power delivered to the LED is nearly maximum l...

Page 7: ...ed as the standard for subsequent measurements The ratiometric measurement is calculated as follows Reading Signal Reference Note that both measurement options can be used together In this case the following calculation is used Reading Signal Ambient Ambient Reference Ambient Ambient Strip Chart The Strip Chart window is invoked by selecting menu option View Strip Chart The Strip Chart is a graphi...

Page 8: ...An Evaluation System for the TAOS Light to Frequency Converters www taosinc com 8 of 10 Appendix ...

Page 9: ...An Evaluation System for the TAOS Light to Frequency Converters www taosinc com 9 of 10 ...

Page 10: ...An Evaluation System for the TAOS Light to Frequency Converters www taosinc com 10 of 10 ...

Reviews: