The Parallax TSL1401 Linescan Imaging Daughterboard provides one-dimensional sight to almost any microcontroller.
The Parallax TSL1401 Linescan Imaging Daughterboard provides one-dimensional sight to almost any microcontroller. It is designed for plug-in compatibility with Parallax's BS2pe Motherboard but can be used with all other popular microcontrollers
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.
TAOS did a good job in making the TSL1401-DB easy to use with a very usable 50-page manual. The AVR coprocessor firmware provides a completely scriptable imaging front end that captures images in the background and locates features, freeing up the microcontroller for other tasks. Parallax has also included a programming template and examples for both the BS2pe Motherboard and the BASIC Stamp 2.
A PC-hosted monitor program is offered as an aid to seeing what the camera sees in real time, both for setting up and alignment and for trying various detection strategies. This 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.