# Title: Opto Encoder 3 Click Board™ ## Description: The Opto Encoder 3 Click Board™ is a linear incremental optical sensor/encoder click which can be used for the movement or rotation encoding. Encoders of this type are widely used for many applications, which involve precise detection of the position, speed, or rotational angle of an object. Rotary encoders are often used for various types of controllers on many different devices. Whether it be a rotary encoder knob controller or an angle encoder on a motor shaft, the principle is the same - it includes an optical sensor, just like the one found on Opto Encoder 3 click. This Click board™ features an optical sensor in a tall dome design, which allows more physical space, even for a vertical signal encoding. It can be used as an optical sensor in automotive applications, motion, speed, and direction sensor, for precise motor shaft positioning applications, knob encoder applications, and similar applications, where dual channel optical sensing can be utilized. How Does The Opto Encoder 3 Click Board™ Work? The optical sensor used on the Opto Encoder 3 Click Board™ is the TCUT1800X01, a tall dome quad channel transmissive optical sensor with phototransistor outputs from Vishay. This sensor is equipped with one infrared LED with the wavelength of 950nm, and four phototransistors. These phototransistors are positioned behind small slits on the sensor, on the opposite side of the LED. They form four separate channels. When the transistors get illuminated by the LED, they become conductive. The collectors of these transistors are connected to the same pin, while their emitters are routed to separate output pins of the TCUT1800X01 - E1, E2 E3, and E4. This allows the activity on each channel to be detected by the host MCU separately. Since the signals of these output channels are not enough to drive pins on a host MCU, the Click board™ features two additional buffer IC – the SN74LVC125A, from texas instruments. E1, E2, E3, and E4 pins are routed to the input pins od the buffer IC. These pins are pulled to a LOW logic level by the pull-down resistors, to avoid floating. The output pins of the buffer are routed to the mikroBUS™ AN, RST, INT, and PWM pins respectively. Signal encoding itself is done by the host MCU. Having four optical sensing channels, Opto Encoder 3 click has the ability of both speed and direction encoding. The most common usage is encoding of the step motor position: a cylinder with slits is physically mounted above the sensor so that the LED can illuminate the phototransistors only through these slits. By rotating this cylinder, the light beam will be blocked periodically. The single sensor output will be a pulse train, while the cylinder is rotating. Having two photo sensors physically distanced by a small amount, allows the pulse signal of the first sensor to be either delayed or expedited with respect to the pulse on the second sensor, depending on the rotational direction. By adding two more sensors, the resolution and reliability of the position reading are further increased. Provided Click board™ library offers easy to use functions that can be used to get the encoder position. The provided example application demonstrates the usage of these functions and can be used for further custom development. SPECIFICATIONS Type Optical Applications Automotive optical sensors, accurate position sensor for encoder, sensor for motion, speed, and direction, etc. On-board modules TCUT1800X01 Tall Dome Dual Channel Transmissive Optical Sensor with Phototransistor Outputs Key Features The Opto Encoder click features a precise detection of the position, speed, or rotational angle of an object. It is able to detect the direction of the movement since it features two photo-sensing elements. Interface GPIO Compatibility mikroBUS Click board size M (42.9 x 25.4 mm) Input Voltage 3.3V,5V PINOUT DIAGRAM This table shows how the pinout of the Opto Encoder 3 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes Output O1 1 AN PWM 16 O4 Output Output O2 2 RST INT 15 O3 Output Enable EN 3 CS RX 14 NC NC 4 SCK TX 13 NC NC 5 MISO SCL 12 NC NC 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 OPTO ENCODER 3 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit IR LED forward voltage 1 1.2 1.4 V Switching Rise Time (5V) - 9 150 µs Switching Fall Time (5V) - 16 150 µs ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, MikroE, Optical, Sensor ## Price range: 9.8 - 9.8 GBP ## Link: https://thedebugstore.com/products/opto-encoder-3-click-board-mikroe-3710-uk ## Compare-at price range: 14.0 - 14.0 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) - [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) - [Google Shopping - invalid product](https://thedebugstore.com/a/llms/collections/google-shopping-valid-products) - [Optical Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/optical-sensor-click-boards-catalogue) - [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-3710, Available: yes, Inventory: 1 ## Metafields - full_description:

The Opto Encoder 3 Click Board™ is a linear incremental optical sensor/encoder click which can be used for the movement or rotation encoding. Encoders of this type are widely used for many applications, which involve precise detection of the position, speed, or rotational angle of an object. Rotary encoders are often used for various types of controllers on many different devices. Whether it be a rotary encoder knob controller or an angle encoder on a motor shaft, the principle is the same - it includes an optical sensor, just like the one found on Opto Encoder 3 click. This Click board™ features an optical sensor in a tall dome design, which allows more physical space, even for a vertical signal encoding. It can be used as an optical sensor in automotive applications, motion, speed, and direction sensor, for precise motor shaft positioning applications, knob encoder applications, and similar applications, where dual channel optical sensing can be utilized.

How Does The Opto Encoder 3 Click Board™ Work?

The optical sensor used on the Opto Encoder 3 Click Board™ is the TCUT1800X01, a tall dome quad channel transmissive optical sensor with phototransistor outputs from Vishay. This sensor is equipped with one infrared LED with the wavelength of 950nm, and four phototransistors. These phototransistors are positioned behind small slits on the sensor, on the opposite side of the LED. They form four separate channels. When the transistors get illuminated by the LED, they become conductive. The collectors of these transistors are connected to the same pin, while their emitters are routed to separate output pins of the TCUT1800X01 - E1, E2 E3, and E4. This allows the activity on each channel to be detected by the host MCU separately.

Click Boards Sensors Opto Encoder 3 Click

Since the signals of these output channels are not enough to drive pins on a host MCU, the Click board™ features two additional buffer IC – the SN74LVC125A, from texas instruments. E1, E2, E3, and E4 pins are routed to the input pins od the buffer IC. These pins are pulled to a LOW logic level by the pull-down resistors, to avoid floating. The output pins of the buffer are routed to the mikroBUS™ AN, RST, INT, and PWM pins respectively.

Signal encoding itself is done by the host MCU. Having four optical sensing channels, Opto Encoder 3 click has the ability of both speed and direction encoding. The most common usage is encoding of the step motor position: a cylinder with slits is physically mounted above the sensor so that the LED can illuminate the phototransistors only through these slits. By rotating this cylinder, the light beam will be blocked periodically. The single sensor output will be a pulse train, while the cylinder is rotating. Having two photo sensors physically distanced by a small amount, allows the pulse signal of the first sensor to be either delayed or expedited with respect to the pulse on the second sensor, depending on the rotational direction. By adding two more sensors, the resolution and reliability of the position reading are further increased.

Provided Click board™ library offers easy to use functions that can be used to get the encoder position. The provided example application demonstrates the usage of these functions and can be used for further custom development.

SPECIFICATIONS

Type Optical
Applications Automotive optical sensors, accurate position sensor for encoder, sensor for motion, speed, and direction, etc.
On-board modules TCUT1800X01 Tall Dome Dual Channel Transmissive Optical Sensor with Phototransistor Outputs
Key Features The Opto Encoder click features a precise detection of the position, speed, or rotational angle of an object. It is able to detect the direction of the movement since it features two photo-sensing elements.
Interface GPIO
Compatibility mikroBUS
Click board size M (42.9 x 25.4 mm)
Input Voltage 3.3V,5V

 

PINOUT DIAGRAM

This table shows how the pinout of the Opto Encoder 3 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
Output O1 1 AN PWM 16 O4 Output
Output O2 2 RST INT 15 O3 Output
Enable EN 3 CS RX 14 NC  
  NC 4 SCK TX 13 NC  
  NC 5 MISO SCL 12 NC  
  NC 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

OPTO ENCODER 3 CLICK ELECTRICAL SPECIFICATIONS

Description Min Typ Max Unit
IR LED forward voltage 1 1.2 1.4 V
Switching Rise Time (5V) - 9 150 µs
Switching Fall Time (5V) - 16 150 µs

 

- description_tag: The Opto Encoder 3 Click Board™ is a linear incremental optical sensor/encoder click, which can be used for the movement or rotation encoding. The TCUT1800X01 sensor is equipped with one infrared LED with a wavelength of 950nm and four phototransistors. Available from Debug Store UK. - title_tag: MikroE Opto Encoder 3 Click Board™ (MIKROE-3710) - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - amazon_enable: TRUE - amazon_title: Opto Encoder 3 Click Board - amazon_product_type: computercomponent - amazon_block: FALSE - amazon_prime_enable: FALSE - amazon_search: MikroElektronika Microelectronica MIKROE-1100 - amazon_uk_price: 10.56 - amazon_uk_currency: GBP - amazon_de_currency: EUR - amazon_de_price: 11.9328 - amazon_fr_currency: EUR - amazon_fr_price: 11.9328 - amazon_es_currency: EUR - amazon_es_price: 11.9328 - amazon_nl_currency: EUR - amazon_nl_price: 11.9328 - amazon_it_currency: EUR - amazon_it_price: 11.9328 - amazon_se_curency: SEK - amazon_se_price: 120.384 - amazon_product_id: 8606018716685 - amazon_product_id_type: EAN - amazon_update: Update - amazon_short_description: The Opto Encoder 3 Click Board™ is a linear incremental optical sensor/encoder click, which can be used for the movement or rotation encoding. The TCUT1800X01 sensor is equipped with one infrared LED with the wavelength of 950nm, and four phototransistors. Encoders of this type are widely used for many applications which involve precise detection of the position, speed, or rotational angle of an object. Rotary encoders are often used for various types of controllers on many different devices. Whether it be a rotary encoded knob controller or a rotation encoder on a motor shaft, the principle is the same - it includes an optical sensor, just like the one found on Opto Encoder 3 click. - amazon_long_description:

Opto Encoder 3 Click Board™

- amazon_main_image: https://www.thedebugstore.com/images/product/lg-opto-encoder-3-click-3710-front_1.jpg - amazon_other_image_1: https://www.thedebugstore.com/images/product/lg-opto-encoder-3-click-3710-back_1.jpg - amazon_other_image_2: https://www.thedebugstore.com/images/product/lg-opto-encoder-3-click-3710-in-use_1.jpg - amazon_other_image_3: https://www.thedebugstore.com/images/product/lg-opto-encoder-3-click-3710-in-use_1.jpg - amazon_browse_node: 428655031 - mpn: MIKROE-3710 - backorder_label: If no stock shown above, check availability - badge: - widget:

Customer Reviews

Based on 1 review
100%
(1)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
D
David Coetzee

Opto Encoder 3 Click Board™

- google_product_category: 2082 - examples:

We provide a library for the Opto Encoder 3 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

The library includes functions to enable or disable reading pins, reading every single pin or reading all at once. The user has a function to count a number of swipes, a counter for direction swipes and a function for resetting these counters.

Key Functions

Example Description

The application is composed of three sections :

void applicationTask()
{
 uint8_t dataReady_;
 char receivedData_;
 dataReady_ = UART_Rdy_Ptr( );
 if (dataReady_ != 0)
 {
 receivedData_ = UART_Rd_Ptr( );
 switch (receivedData_)
 {
 case '1' :
 {
 taskNum = 1;
 break;
 }
 case '2' :
 {
 taskNum = 2;
 break;
 }
 case 'r' :
 {
 optoencoder3_ResetCounters();
 taskNum = 0;
 break;
 }
 }
 }
 if (taskNum == 1)
 {
 _drawPinsStatus();
 }
 else if (taskNum == 2)
 {
 _viewCounters();
 }
 else if (taskNum == 0)
 {
 _infoWrite();
 }
}

Additional Functions :

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 a USB UART click, USB UART 2 click or RS232 click 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 Opto Encoder 3 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":"Opto Encoder 3 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Vishay Quad Channel Optical Sensor Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-3710 - google_product_category: Electronics - custom_label_0: Click Board - rating: {"scale_min":"1.0","scale_max":"5.0","value":"5.0"} - rating_count: 1 - device_vendor: Texas Instruments, Vishay Semiconductor Opto Division - device_type: SN74LVC125ARGYR, TCUT1800X01 - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - target_keyword: Opto Encoder 3 Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545969853"] - review_snippet_widget:
- customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Opto Encoder 3 Click Board™ ","bold":true},{"type":"text","value":"is a linear incremental optical sensor/encoder click which can be used for the movement or rotation encoding. Encoders of this type are widely used for many applications, which involve precise detection of the position, speed, or rotational angle of an object. Rotary encoders are often used for various types of controllers on many different devices. Whether it be a rotary encoder knob controller or an angle encoder on a motor shaft, the principle is the same - it includes an optical sensor, just like the one found on Opto Encoder 3 click. This Click board™ features an optical sensor in a tall dome design, which allows more physical space, even for a vertical signal encoding. It can be used as an optical sensor in automotive applications, motion, speed, and direction sensor, for precise motor shaft positioning applications, knob encoder applications, and similar applications, where dual channel optical sensing can be utilized."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The Opto Encoder 3 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The optical sensor used on the "},{"type":"text","value":"Opto Encoder 3 Click Board™","bold":true},{"type":"text","value":" is the TCUT1800X01, a tall dome quad channel transmissive optical sensor with phototransistor outputs from Vishay. This sensor is equipped with one infrared LED with the wavelength of 950nm, and four phototransistors. These phototransistors are positioned behind small slits on the sensor, on the opposite side of the LED. They form four separate channels. When the transistors get illuminated by the LED, they become conductive. The collectors of these transistors are connected to the same pin, while their emitters are routed to separate output pins of the TCUT1800X01 - E1, E2 E3, and E4. This allows the activity on each channel to be detected by the host MCU separately."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"Since the signals of these output channels are not enough to drive pins on a host MCU, the Click board™ features two additional buffer IC – the SN74LVC125A, from texas instruments. E1, E2, E3, and E4 pins are routed to the input pins od the buffer IC. These pins are pulled to a LOW logic level by the pull-down resistors, to avoid floating. The output pins of the buffer are routed to the mikroBUS™ AN, RST, INT, and PWM pins respectively."}]},{"type":"paragraph","children":[{"type":"text","value":"Signal encoding itself is done by the host MCU. Having four optical sensing channels, Opto Encoder 3 click has the ability of both speed and direction encoding. The most common usage is encoding of the step motor position: a cylinder with slits is physically mounted above the sensor so that the LED can illuminate the phototransistors only through these slits. By rotating this cylinder, the light beam will be blocked periodically. The single sensor output will be a pulse train, while the cylinder is rotating. Having two photo sensors physically distanced by a small amount, allows the pulse signal of the first sensor to be either delayed or expedited with respect to the pulse on the second sensor, depending on the rotational direction. By adding two more sensors, the resolution and reliability of the position reading are further increased."}]},{"type":"paragraph","children":[{"type":"text","value":"Provided Click board™ library offers easy to use functions that can be used to get the encoder position. The provided example application demonstrates the usage of these functions and can be used for further custom development."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nOptical\nApplications\nAutomotive optical sensors, accurate position sensor for encoder, sensor for motion, speed, and direction, etc.\nOn-board modules\nTCUT1800X01 Tall Dome Dual Channel Transmissive Optical Sensor with Phototransistor Outputs\nKey Features\nThe Opto Encoder click features a precise detection of the position, speed, or rotational angle of an object. It is able to detect the direction of the movement since it features two photo-sensing elements.\nInterface\nGPIO\nCompatibility\nmikroBUS\nClick board size\nM (42.9 x 25.4 mm)\nInput Voltage\n3.3V,5V"}]},{"type":"paragraph","children":[{"type":"text","value":" "}]},{"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":"Opto Encoder 3 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\nOutput\nO1\n1\nAN\nPWM\n16\nO4\nOutput\nOutput\nO2\n2\nRST\nINT\n15\nO3\nOutput\nEnable\nEN\n3\nCS\nRX\n14\nNC\nNC\n4\nSCK\nTX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nNC\nNC\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\n Description\nLD1\nPWR\n-\nPower LED Indicator"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"OPTO ENCODER 3 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nIR LED forward voltage\n1\n1.2\n1.4\nV\nSwitching Rise Time (5V)\n-\n9\n150\nµs\nSwitching Fall Time (5V)\n-\n16\n150\nµs"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:

The Opto Encoder 3 Click Board™ is a linear incremental optical sensor/encoder click, which can be used for the movement or rotation encoding. The TCUT1800X01 sensor is equipped with one infrared LED with a wavelength of 950nm and four phototransistors. Encoders of this type are widely used for many applications which involve precise detection of the position, speed, or rotational angle of an object. Rotary encoders are often used for various types of controllers on many different devices.

Whether it be a rotary encoder knob controller or a rotary encoder on a motor shaft, the principle is the same - it includes an optical sensor, just like the one found on Opto Encoder 3 Click Board™.