# Title: Scanner Click Board™ ## Description: How Does The Scanner Click Board™ Work? The Scanner Click Board™ uses the TSL3301CL IC, 102 × 1 linear optical sensor array with onboard A/D conversion from AMS-AG. The sensor consists of 102 photodiodes, also called pixels, arranged in a linear array. Light energy impinging on a pixel generates a photocurrent, which is then integrated by the active integration circuitry associated with that pixel. During the integration period, a sampling capacitor connects to the output of the integrator through an analog switch. The amount of charge accumulated at each pixel is directly proportional to the light intensity on that pixel and to the integration time. Integration, sampling, output, and reset of the integrators are performed by the control logic in response to commands input via the SDI serial data input pin on the mikroBUS™. Data is than read out on the SDO serial data output pin. A normal sequence of operation consists of a pixel reset, start of integration, integration period, sampling of integrators, and pixel output. Reset sets all the integrators to zero. Start of integration releases the integrators from the reset state and defines the beginning of the integration period. Sampling the integrators ends the integration period and stores the charge accumulated in each pixel in a sample and hold circuit. Reading the pixels causes the sampled value of each pixel to be converted to 8-bit digital format and output on the SDO serial data output pin. All 102 pixels are output sequentially unless interrupted by an abort command or reset command. Gain adjustment is controlled by three 5-bit DACs, one for each of the the three zones, while offset correction is controlled by three 8-bit sign-magnitude DACs and is performed in the analog domain prior to the digital conversion. There is a separate offset DAC for each of the three zones, where codes 0h - 7Fh correspond to positive offset values and codes 80h – FFh correspond to negative offset values. The programmed offset correction is applied to the sampled energy, and then the gain is applied (i.e. the gain will affect the offset correction). The Scanner Click Board™ communicates over a serial digital interface (SPI serial interface) that follows a USART format, with start bit, 8 data bits, and one or more stop bits. Data is clocked in synchronously on the rising edge of system clock from SCK pin on the mikroBUS™ and clocked out on the falling edge of system clock. When clocking data out continuously (i.e. reading out pixels) there will be one stop bit between data words. The receive and transmit state machines are independent, which means commands can be issued while reading data. This feature allows starting new integration cycles while reading data. It is designed to be operated with both 3.3V and 5V logic levels that can be selected via VCC SEL jumper. This allows for both 3.3V and 5V capable MCUs to use the SPI communication lines properly. SPECIFICATIONS Type Optical Applications Can be used for applications like scanners, printer edge detect and optical character recognition. On-board modules The Scanner Click Board™ uses the TSL3301CL IC, 102 × 1 linear optical sensor array with onboard A/D conversion from AMS-AG. Key Features High density 102 pixel count and integrated analog-to-digital conversion sensor, with high resolution scanning of 300dpi and scalable operating range Interface SPI Compatibility mikroBUS Click board size S (28.6 x 25.4 mm) Input Voltage 3.3V or 5V Category Click Boards PINOUT DIAGRAM This table shows how the pinout of the Scanner Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes NC 1 AN PWM 16 NC NC 2 RST INT 15 NC NC 3 CS RX 14 NC SPI Clock SCK 4 SCK TX 13 NC SPI Data OUT SDO 5 MISO SCL 12 NC SPI Data IN SDI 6 MOSI SDA 11 NC Power Supply 3.3V 7 3.3V 5V 10 5V Power Supply Ground GND 8 GND GND 9 GND Ground ONBOARD SETTINGS AND INDICATORS Label Name Default Description LD1 PWR - Power LED Indicator JP1 VCC SEL Left Power Supply Voltage Selection 3V3/5V, left position 3V3, right position 5V SCANNER CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Supply Voltage +6 V Maximum Output Current -10 +10 mA Operating Temperature Range -25 +85 °C Maximum Clock Frequency 10 MHz ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: AMS AG, Click Board, MikroE, Sensor ## Price range: 11.55 - 11.55 GBP ## Link: https://thedebugstore.com/products/mikroe-4108-scanner-click-board-uk ## Compare-at price range: 16.5 - 16.5 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [AMS AG Device Support: Development Boards & Tools | The Debug Store](https://thedebugstore.com/a/llms/collections/devices-ams-ag) - [Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/sensor-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-4108, Available: yes, Inventory: 1 ## Metafields - full_description:

How Does The Scanner Click Board™ Work?

The Scanner Click Board™ uses the TSL3301CL IC, 102 × 1 linear optical sensor array with onboard A/D conversion from AMS-AG. The sensor consists of 102 photodiodes, also called pixels, arranged in a linear array. Light energy impinging on a pixel generates a photocurrent, which is then integrated by the active integration circuitry associated with that pixel. During the integration period, a sampling capacitor connects to the output of the integrator through an analog switch. The amount of charge accumulated at each pixel is directly proportional to the light intensity on that pixel and to the integration time. Integration, sampling, output, and reset of the integrators are performed by the control logic in response to commands input via the SDI serial data input pin on the mikroBUS™. Data is than read out on the SDO serial data output pin.

Scanner Click

A normal sequence of operation consists of a pixel reset, start of integration, integration period, sampling of integrators, and pixel output. Reset sets all the integrators to zero. Start of integration releases the integrators from the reset state and defines the beginning of the integration period. Sampling the integrators ends the integration period and stores the charge accumulated in each pixel in a sample and hold circuit. Reading the pixels causes the sampled value of each pixel to be converted to 8-bit digital format and output on the SDO serial data output pin. All 102 pixels are output sequentially unless interrupted by an abort command or reset command.

Gain adjustment is controlled by three 5-bit DACs, one for each of the the three zones, while offset correction is controlled by three 8-bit sign-magnitude DACs and is performed in the analog domain prior to the digital conversion. There is a separate offset DAC for each of the three zones, where codes 0h - 7Fh correspond to positive offset values and codes 80h – FFh correspond to negative offset values. The programmed offset correction is applied to the sampled energy, and then the gain is applied (i.e. the gain will affect the offset correction).

The Scanner Click Board™ communicates over a serial digital interface (SPI serial interface) that follows a USART format, with start bit, 8 data bits, and one or more stop bits. Data is clocked in synchronously on the rising edge of system clock from SCK pin on the mikroBUS™ and clocked out on the falling edge of system clock. When clocking data out continuously (i.e. reading out pixels) there will be one stop bit between data words. The receive and transmit state machines are independent, which means commands can be issued while reading data. This feature allows starting new integration cycles while reading data.

It is designed to be operated with both 3.3V and 5V logic levels that can be selected via VCC SEL jumper. This allows for both 3.3V and 5V capable MCUs to use the SPI communication lines properly.

SPECIFICATIONS

Type Optical
Applications Can be used for applications like scanners, printer edge detect and optical character recognition.
On-board modules The Scanner Click Board™ uses the TSL3301CL IC, 102 × 1 linear optical sensor array with onboard A/D conversion from AMS-AG.
Key Features High density 102 pixel count and integrated analog-to-digital conversion sensor, with high resolution scanning of 300dpi and scalable operating range
Interface SPI
Compatibility mikroBUS
Click board size S (28.6 x 25.4 mm)
Input Voltage 3.3V or 5V
Category Click Boards

PINOUT DIAGRAM

This table shows how the pinout of the Scanner Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

Notes Pin Mikrobus logo.png Pin Notes
NC 1 AN PWM 16 NC
NC 2 RST INT 15 NC
NC 3 CS RX 14 NC
SPI Clock SCK 4 SCK TX 13 NC
SPI Data OUT SDO 5 MISO SCL 12 NC
SPI Data IN SDI 6 MOSI SDA 11 NC
Power Supply 3.3V 7 3.3V 5V 10 5V Power Supply
Ground GND 8 GND GND 9 GND Ground

ONBOARD SETTINGS AND INDICATORS

Label Name Default Description
LD1 PWR - Power LED Indicator
JP1 VCC SEL Left Power Supply Voltage Selection 3V3/5V, left position 3V3, right position 5V

SCANNER CLICK ELECTRICAL SPECIFICATIONS

Description Min Typ Max Unit
Supply Voltage +6 V
Maximum Output Current -10 +10 mA
Operating Temperature Range -25 +85 °C
Maximum Clock Frequency 10 MHz

 

- description_tag: The Scanner Click Board™ is an optical scanner expansion board for building optical cost-sensitive scanners and printers. The main component of this board is a 102 pixels linear optical array sensor marked TSL3301CL from AMS. Available from Debug Store UK. - title_tag: MikroE Scanner Click Board™ (MIKROE-4108) - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - amazon_enable: TRUE - amazon_title: Scanner Click Board - amazon_product_type: computercomponent - amazon_block: FALSE - amazon_prime_enable: FALSE - amazon_search: MikroElektronika Microelectronica MIKROE-1100 - amazon_uk_price: 21.12 - amazon_uk_currency: GBP - amazon_de_currency: EUR - amazon_de_price: 23.8656 - amazon_fr_currency: EUR - amazon_fr_price: 23.8656 - amazon_es_currency: EUR - amazon_es_price: 23.8656 - amazon_nl_currency: EUR - amazon_nl_price: 23.8656 - amazon_it_currency: EUR - amazon_it_price: 23.8656 - amazon_se_curency: SEK - amazon_se_price: 240.768 - amazon_product_id: 8606018717552 - amazon_product_id_type: EAN - amazon_update: Update - amazon_short_description: The Scanner Click Board™ is an optical scanner expansion board for building optical cost-sensitive scanners and printers. The main component of this board is a 102 pixels linear optical array sensor marked TSL3301CL from AMS. For accessing sensor registers from any host controller communication is accomplished through a three-wire SPI high speed serial interface. This linear optical sensor provides high density pixel count and integrated analog-to-digital conversion to the Scanner click, and also enables high resolution scanning and scalable operating range. This Click board™ is most suitable for the applications like scanners, printer edge detect and optical character recognition.Scanner Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket. - amazon_main_image: https://www.thedebugstore.com/images/product/lg-scanner-click-front.jpg - amazon_other_image_1: https://www.thedebugstore.com/images/product/lg-scanner-click-back.jpg - amazon_other_image_2: https://www.thedebugstore.com/images/product/lg-scanner-click-fusion.jpg - amazon_other_image_3: https://www.thedebugstore.com/images/product/lg-scanner-click-shuttle.jpg - amazon_other_image_4: https://www.thedebugstore.com/images/product/lg-scanner-click-clicker.jpg - amazon_other_image_5: https://www.thedebugstore.com/images/product/lg-scanner-click-breadboard.jpg - amazon_other_image_6: https://www.thedebugstore.com/images/product/lg-scanner-click-breadboard.jpg - amazon_browse_node: 428655031 - mpn: MIKROE-4108 - backorder_label: If no stock shown above, check availability - condition: new - custom_product: false - mpn: MIKROE-4108 - google_product_category: Electronics - custom_label_0: Click Board - examples:

We provide a library for the Scanner Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.

Library Description

This library holds functions that allow user to start up the device, write to the device, make one clock pulse and control each individual pin used.

Key Functions

Example Description

The application is composed of three sections :

void application_task ( )
{
 scanner_pixel_log( log_write );
}

The full application code, and ready to use projects can be found on our LibStock page.

Other mikroE Libraries used in the example:

Additional Notes and Information

Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

MIKROSDK

The Scanner Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.

- attachments: [{"download_file":[{"download_file":"Scanner Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"AMS TSL3301CL 102 Pixel Linear Optical Array Sensor Datasheet"},{"download_file":null}],"download_filetype":[{"download_filetype":"pdf"}]}] - warranty: 12 months - brand: MikroE - key_feature_1: 102 x 1 Optical Scanner - manufacturer: Mikroelektronika d.o.o. - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- target_keyword: Scanner Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545969853"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The Scanner Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The"},{"type":"text","value":" Scanner Click Board™","bold":true,"italic":true},{"type":"text","value":" uses the TSL3301CL IC, 102 × 1 linear optical sensor array with onboard A/D conversion from AMS-AG. The sensor consists of 102 photodiodes, also called pixels, arranged in a linear array. Light energy impinging on a pixel generates a photocurrent, which is then integrated by the active integration circuitry associated with that pixel. During the integration period, a sampling capacitor connects to the output of the integrator through an analog switch. The amount of charge accumulated at each pixel is directly proportional to the light intensity on that pixel and to the integration time. Integration, sampling, output, and reset of the integrators are performed by the control logic in response to commands input via the SDI serial data input pin on the mikroBUS™. Data is than read out on the SDO serial data output pin."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"A normal sequence of operation consists of a pixel reset, start of integration, integration period, sampling of integrators, and pixel output. Reset sets all the integrators to zero. Start of integration releases the integrators from the reset state and defines the beginning of the integration period. Sampling the integrators ends the integration period and stores the charge accumulated in each pixel in a sample and hold circuit. Reading the pixels causes the sampled value of each pixel to be converted to 8-bit digital format and output on the SDO serial data output pin. All 102 pixels are output sequentially unless interrupted by an abort command or reset command."}]},{"type":"paragraph","children":[{"type":"text","value":"Gain adjustment is controlled by three 5-bit DACs, one for each of the the three zones, while offset correction is controlled by three 8-bit sign-magnitude DACs and is performed in the analog domain prior to the digital conversion. There is a separate offset DAC for each of the three zones, where codes 0h - 7Fh correspond to positive offset values and codes 80h – FFh correspond to negative offset values. The programmed offset correction is applied to the sampled energy, and then the gain is applied (i.e. the gain will affect the offset correction)."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":" Scanner Click Board™","bold":true},{"type":"text","value":" communicates over a serial digital interface (SPI serial interface) that follows a USART format, with start bit, 8 data bits, and one or more stop bits. Data is clocked in synchronously on the rising edge of system clock from SCK pin on the mikroBUS™ and clocked out on the falling edge of system clock. When clocking data out continuously (i.e. reading out pixels) there will be one stop bit between data words. The receive and transmit state machines are independent, which means commands can be issued while reading data. This feature allows starting new integration cycles while reading data."}]},{"type":"paragraph","children":[{"type":"text","value":"It is designed to be operated with both 3.3V and 5V logic levels that can be selected via VCC SEL jumper. This allows for both 3.3V and 5V capable MCUs to use the SPI communication lines properly."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nOptical\nApplications\nCan be used for applications like scanners, printer edge detect and optical character recognition.\nOn-board modules\nThe Scanner Click Board™ uses the TSL3301CL IC, 102 × 1 linear optical sensor array with onboard A/D conversion from AMS-AG.\nKey Features\nHigh density 102 pixel count and integrated analog-to-digital conversion sensor, with high resolution scanning of 300dpi and scalable operating range\nInterface\nSPI\nCompatibility\nmikroBUS\nClick board size\nS (28.6 x 25.4 mm)\nInput Voltage\n3.3V or 5V\nCategory\nClick Boards"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout of the "},{"type":"text","value":" Scanner Click Board™","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nNC\n1\nAN\nPWM\n16\nNC\nNC\n2\nRST\nINT\n15\nNC\nNC\n3\nCS\nRX\n14\nNC\nSPI Clock\nSCK\n4\nSCK\nTX\n13\nNC\nSPI Data OUT\nSDO\n5\nMISO\nSCL\n12\nNC\nSPI Data IN\nSDI\n6\nMOSI\nSDA\n11\nNC\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\n5V\nPower Supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD SETTINGS AND INDICATORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\nDescription\nLD1\nPWR\n-\nPower LED Indicator\nJP1\nVCC SEL\nLeft\nPower Supply Voltage Selection 3V3/5V, left position 3V3, right position 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SCANNER CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n+6\nV\nMaximum Output Current\n-10\n+10\nmA\nOperating Temperature Range\n-25\n+85\n°C\nMaximum Clock Frequency\n10\nMHz"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:

The Scanner Click Board™ is an optical scanner expansion board for building optical cost-sensitive scanners and printers. The main component of this board is a 102 pixels linear optical array sensor marked TSL3301CL from AMS. For accessing sensor registers from any host controller communication is accomplished through a three-wire SPI high-speed serial interface. This linear optical sensor provides high-density pixel count and integrated analogue-to-digital conversion to the Scanner Click Board™ and also enables high-resolution scanning and scalable operating range. This Click Board™ is most suitable for the applications like scanners, printer edge detects and optical character recognition.

The Scanner Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.