The TSL1401-DB includes the TAOS TSL1401R 128-pixel sensor chip, a 7.9mm focal length imaging lens, and control electronics to aid in capturing images for evaluation. It produces a clocked analog data output, whose voltage levels correspond to the light intensity at each pixel.
By means of an analog-to-digital converter (or even a simple digital logic threshold), image data are easily transferred to a microcontroller to detect objects, edges, gaps, holes, liquid levels, textures, emissive sources, simple barcodes, and other visible features. Combining it with the BS2pe Motherboard and a suitable output device, one can construct a complete inspection system in a very compact form factor.
Central to the TSL1401-DB's ease of use is the 50-page manual (downloadable below). The AVR coprocessor firmware for the BS2pe Motherboard, for example, provides a completely scriptable imaging front end that captures images in the background and locates features, while the BASIC Stamp is busy with other tasks. Also included is a programming template and examples for both the Motherboard and the BASIC Stamp 2.
As an aid to seeing what the camera sees in real time, both for setting up and alignment and for trying various detection strategies, a PC-hosted monitor program provides both an oscilloscope view of the pixels, as well as a sweeping view of multiple scans laid side-by-side. It also includes user-selectable measurement tools for locating edges, counting pixels, computing extrema and averages, and the like. This program is designed to be used with the BASIC Stamp 2pe Motherboard and automatically uploads the PBASIC code necessary for communication.
Future add-ons for the TSL1401-DB's topside mezzanine connector include the LightSync-DBM for synchronizing to fluorescent lighting, and the Strobe-DBM, which will provide LED front-lighting.