# Title: Comparator Click Board™ ## Description: IC/module: LM2903 IC The LM2903 IC consists of two independent precision voltage comparators on the Click Board™ that operate over an extensive range of voltages. The comparators can operate from a single power supply as well as dual supplies. How Does The Comparator Click Board Work? When paired with analog sensors, the Comparator Click Board™ allows user to hook up an analog signal. The voltage from this analog signal is used as an input and compared with the physical value set as a reference by using the potentiometer. The device will then digitally check if your input voltage is higher or lower than the referenced value. If the input value exceeds, an interrupt signal is triggered. Power: Single-Supply or Dual Supplies The Comparator Click Board™ is designed to be used with single or dual power supply. For single power supply, ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: ADC, Click Board, Fairchild Semiconductor, MikroE, Mixed Signal ## Price range: 9.8 - 9.8 GBP ## Link: https://thedebugstore.com/products/mikroe-1915-comparator-click-board-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) - [Mixed Signal Click Boards™](https://thedebugstore.com/a/llms/collections/mixed-signal-click-boards-catalogue-uk) - [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) - [ADC Click Boards™](https://thedebugstore.com/a/llms/collections/adc-click-boards-catalogue-uk) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [Fairchild Semiconductor Device Support: Development Boards & Tools](https://thedebugstore.com/a/llms/collections/fairchild-semiconductor-device-support) - [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-1915, Available: yes, Inventory: 1 ## Metafields - full_description:

IC/module: LM2903 IC

The LM2903 IC consists of two independent precision voltage comparators on the Click Board™ that operate over an extensive range of voltages. The comparators can operate from a single power supply as well as dual supplies.

How Does The Comparator Click Board Work?

When paired with analog sensors, the Comparator Click Board™ allows user to hook up an analog signal. The voltage from this analog signal is used as an input and compared with the physical value set as a reference by using the potentiometer. The device will then digitally check if your input voltage is higher or lower than the referenced value. If the input value exceeds, an interrupt signal is triggered.

Power: Single-Supply or Dual Supplies

The Comparator Click Board™ is designed to be used with single or dual power supply. For single power supply,

- description_tag: The Comparator Click Board™ from MikroElektronika is a voltage comparator on a Click Board™ add-on board carrying an LM2903 precision voltage comparators. Available from Debug Store UK. - title_tag: MikroE Comparator Click Board™ (MIKROE-1915) - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - amazon_enable: TRUE - amazon_title: Comparator 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: 8606015076614 - amazon_product_id_type: EAN - amazon_update: Update - amazon_short_description: The Comparator Click Board™ from MikroElektronika is a voltage comparator on a Click Board™ add-on board carrying LM2903 chip. This LM2903 IC features two independent voltage comparators, two pairs of screw terminals (additional two screw terminals are for GND connections), and two potentiometers.It can be used with either single or dual power supply over a wide range of voltages. The screw terminals allow the user to connect separate inputs, while the two potentiometers, placed between the screw terminals and the IC, configure the set point voltage. Each input has its own interrupt pin on the socket, i.e., one through the MikroBUS INT pin, the other in place of the default MikroBUS AN pin. The Comparator Click Board™ is designed to use either a 3.3V or a 5V power supply. - amazon_long_description:

IC/module: LM2903 IC

The LM2903 IC consists of two independent precision voltage comparators on the Click Board™ that operate over an extensive range of voltages. The comparators can operate from a single power supply as well as dual supplies.

How Does it Work?

When paired with analog sensors, Comparator Click allows user to hook up an analog signal. The voltage from this analog signal is used as an input and compared with the physical value set as a reference by using the potentiometer. The device will then digitally check if your input voltage is higher or lower than the referenced value. If the input value exceeds, an interrupt signal is triggered.

Power: Single-Supply or Dual Supplies

Comparator Click is designed to be used with single or dual power supply. For single power supply,

- amazon_main_image: https://www.thedebugstore.com/images/product/lg-mikroe-click-comparator_1_1.jpg - amazon_browse_node: 428655031 - mpn: MIKROE-1915 - backorder_label: If no stock shown above, check availability - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- google_product_category: 1801 - examples:

Library Description

The library covers all the necessary functions to control the Comparator Click Board™. The Comparator Click Board™ communicates with the device via GPIO driver. This library contains drivers for check state of the OUT1 and OUT2 pin function.

Key Functions

Example Description

The application is composed of three sections:

void applicationTask() 
{
    outStateOne = comparator_checkOutputOne();
    outStateTwo = comparator_checkOutputTwo();
    
    mikrobus_logWrite( " Output One : ", _LOG_TEXT );
    
    if ( outStateOne )
        mikrobus_logWrite( "High", _LOG_LINE );
    else
        mikrobus_logWrite( "Low", _LOG_LINE );

    mikrobus_logWrite( " Output Two : ", _LOG_TEXT );

    if ( outStateTwo )
        mikrobus_logWrite( "High", _LOG_LINE );
    else
        mikrobus_logWrite( "Low", _LOG_LINE );
    
    mikrobus_logWrite( "-------------------", _LOG_LINE );
    Delay_1sec();
}       

Other mikroE Libraries used in the example:

Additional notes and informations

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

- attachments: [{"download_file":[{"download_file":"Comparator Click Board™ User Manual"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"ON Semiconductor LM2903 Comparator Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-1915 - google_product_category: Electronics - custom_label_0: Click Board - device_vendor: Fairchild Semiconductor - device_type: LM2903MX - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"heading","level":3,"children":[{"type":"text","value":"IC/module: LM2903 IC"}]},{"type":"paragraph","children":[{"type":"text","value":"The LM2903 IC consists of two independent precision voltage comparators on the Click Board™ that operate over an extensive range of voltages. The comparators can operate from a single power supply as well as dual supplies."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The Comparator Click Board Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"When paired with analog sensors, the "},{"type":"text","value":"Comparator Click Board™","bold":true},{"type":"text","value":" allows user to hook up an analog signal. The voltage from this analog signal is used as an input and compared with the physical value set as a reference by using the potentiometer. The device will then digitally check if your input voltage is higher or lower than the referenced value. If the input value exceeds, an interrupt signal is triggered."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Power: Single-Supply or Dual Supplies"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Comparator Click Board™","bold":true},{"type":"text","value":" is designed to be used with single or dual power supply. For single power supply,"}]}]} - summary:

The Comparator Click Board™ from MikroElektronika is a voltage comparator on a Click Board™ add-on board carrying an LM2903 precision voltage comparators. This LM2903 IC features two independent voltage comparators, two pairs of screw terminals (additional two screw terminals are for GND connections), and two potentiometers.

It can be used with either a single or dual power supply over a wide range of voltages. The screw terminals allow the user to connect separate inputs, while the two potentiometers, placed between the screw terminals and the IC, configure the setpoint voltage. Each input has its own interrupt pin on the socket, i.e., one through the MikroBUS INT pin, the other in place of the default MikroBUS AN pin.

The Comparator Click Board™ is designed to use either a 3.3V or a 5V power supply.