{"product_id":"2457-qtr-3rc-reflectance-sensor-array","title":"QTR-3RC Reflectance Sensor Array","description":"\u003cp\u003eThis compact module packs three IR LED\/phototransistor pairs onto a 1.25″ × 0.3″ board. The sensors are mounted on a 0.375″ pitch, allowing this array to be used as a minimal detector for a line-following robot. Each sensor provides a separate \u003cstrong\u003edigital I\/O-measurable voltage output\u003c\/strong\u003e .\u003c\/p\u003e\n\n\u003cbr\u003e\u003cp class=\"note\"\u003e The QTR-3RC reflectance sensor array requires digital I\/O lines to take readings. The similar \u003ca href=\"https:\/\/www.pololu.com\/product\/2456\"\u003eQTR-3A reflectance sensor array\u003c\/a\u003e is available with analog outputs.\u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J4641.1200.jpg?4fdf80a878def84b0e8cd9ac9dc807fe\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id or qtr-3rc reflectance sensor array on a line with quarter for size reference. data-picture-id=\"0J4641\" data-picture-longest_side=\"800\" src=\"https:\/\/a.pololu-files.com\/picture\/0J4641.250.jpg?4fdf80a878def84b0e8cd9ac9dc807fe\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003ch3\u003e Functional Description\u003c\/h3\u003e\n\n \u003cp\u003eThe QTR-3RC reflectance sensor array is intended as a line sensor, but it can be used as a general-purpose proximity or reflectance sensor. The module is a convenient carrier for three IR emitter and receiver (phototransistor) pairs. With sensors spaced at intervals of 0.375″ (9.525 mm) along of the board's longer axis, this array works well as a minimal detector for line-following robots, as \u003ca href=\"https:\/\/www.pololu.com\/docs\/0J22\"\u003eline-following courses\u003c\/a\u003e are commonly made using 3\/4″ (19 mm) black electrical tape. The middle sensor is slightly offset along the short axis of the board.\u003c\/p\u003e\n\n \u003cp\u003eTo use a sensor, you must first charge the output node by applying a voltage to its OUT pin. You can then read the reflectance by withdrawing that externally applied voltage on the OUT pin and timing how long it takes the output voltage to decay due to the integrated phototransistor. Shorter decay time is an indication of greater reflection. This measurement approach has several advantages, especially when multiple units are used:\u003c\/p\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e No analog-to-digital converter (ADC) is required\u003c\/li\u003e\n\n\u003cli\u003e Improved sensitivity over voltage-divider analog output\u003c\/li\u003e\n\n\u003cli\u003e Parallel reading of multiple sensors is possible with most microcontrollers\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003cp\u003e The LED current-limiting resistors are set to deliver approximately 17 mA to the LEDs when VCC is 5 V, making the total board consumption just over 50 mA. The schematic diagram of the module is shown below: \u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e\u003cimg alt=\"\" class=\"\" data-gallery-pictures=\"[{\" id diagram for the qtr-3rc reflectance sensor array. data-picture-id=\"0J4644\" data-picture-longest_side=\"500\" src=\"https:\/\/a.pololu-files.com\/picture\/0J4644.500.png?9143dc5528c1de8079b4ed8c564b87dc\"\u003e\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003cp\u003e This schematic is also available as a \u003ca href=\"\/en\/file\/0J652\/QTR-3RC-reflectance-sensor-array-schematic-diagram.pdf\"\u003edownloadable pdf\u003c\/a\u003e (117k pdf).\u003c\/p\u003e\n\n \u003cp\u003eFor an alternative array with eight sensors and the ability to turn off the IR LEDs to limit power consumption, consider our \u003ca href=\"https:\/\/www.pololu.com\/product\/961\"\u003eQTR-8RC reflectance sensor array\u003c\/a\u003e . For individual reflectance sensors, consider our \u003ca href=\"https:\/\/www.pololu.com\/product\/2459\"\u003eQTR-1RC\u003c\/a\u003e and \u003ca href=\"https:\/\/www.pololu.com\/product\/2455\"\u003eQTR-L-1RC\u003c\/a\u003e . \u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 400px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J4642.1200.jpg?9ae24a3959a88fee8dd66d333023e2dc\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id sensor size comparison. top row: qtrx-hd-07 qtr-hd-07 middle qtr-3 qtr-1 qtr-l-1 bottom qtr-8. data-picture-id=\"0J4642\" data-picture-longest_side=\"934\" src=\"https:\/\/a.pololu-files.com\/picture\/0J4642.400.jpg?9ae24a3959a88fee8dd66d333023e2dc\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 400px\"\u003e\u003cp\u003e QTR sensor size comparison. Top row: QTRX-HD-07, QTR-HD-07; middle row: QTR-3, QTR-1, QTR-L-1; bottom row: QTR-8.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch3\u003e Specifications\u003c\/h3\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J4638.1200.jpg?78f9facf2d01a2b5164dfb9727550c35\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id or qtr-3rc reflectance sensor array bottom view with dimensions. data-picture-id=\"0J4638\" data-picture-longest_side=\"500\" src=\"https:\/\/a.pololu-files.com\/picture\/0J4638.300.jpg?78f9facf2d01a2b5164dfb9727550c35\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e Dimensions: 1.25″ × 0.3″ × 0.1″ (32 mm × 8 mm × 3 mm) (without header pins installed)\u003c\/li\u003e\n\n\u003cli\u003e Operating voltage: 5.0V\u003c\/li\u003e\n\n\u003cli\u003e Supply current: 50 mA\u003c\/li\u003e\n\n\u003cli\u003e Output format: 3 digital I\/O-compatible signals that can be read as a timed high pulse\u003c\/li\u003e\n\n\t \u003cli\u003eOptimal sensing distance: 0.125\" (3 mm)\u003c\/li\u003e\n\n\u003cli\u003e Maximum recommended sensing distance: 0.25\" (6 mm)\u003c\/li\u003e\n\n\u003cli\u003e Weight without header pins: 0.02 oz (0.6 g)\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003ch3\u003e Interfacing the QTR-3RC Outputs to Digital I\/O Lines\u003c\/h3\u003e\n\n\u003cp\u003e The QTR-3RC module has three identical sensor outputs that, like the Parallax QTI, require a digital I\/O line capable of driving the output line high and then measuring the time for the output voltage to decay. The typical sequence for reading a sensor is:\u003c\/p\u003e\n\n\u003col\u003e\n\n\u003cli\u003e Set the I\/O line to an output and drive it high.\u003c\/li\u003e\n\n\u003cli\u003e Wait several microseconds to give the 2.2 nF capacitor node time to reach 5 V.\u003c\/li\u003e\n\n\u003cli\u003e Make the I\/O line an input (high impedance).\u003c\/li\u003e\n\n\u003cli\u003e Measure the time for the capacitor node voltage to decay by waiting for the I\/O line to go low.\u003c\/li\u003e\n\n\n\u003c\/ol\u003e\n\n\u003cp\u003e These steps can typically be executed in parallel on multiple I\/O lines.\u003c\/p\u003e\n\n \u003cp\u003eWith a strong reflectance, the decay time can be as low as several dozen microseconds; with no reflectance, the decay time can be up to a few milliseconds. The exact time of the decay depends on your microcontroller's I\/O line characteristics. Meaningful results can be available within 1 ms in typical cases (ie when not trying to measure subtle differences in low-reflectance scenarios), allowing up to 1 kHz sampling of all three sensors.\u003c\/p\u003e\n\n\u003cp\u003e Our \u003ca href=\"https:\/\/www.pololu.com\/docs\/0J20\"\u003ePololu AVR library\u003c\/a\u003e provides functions that make it easy to use these sensors with our \u003ca href=\"https:\/\/www.pololu.com\/category\/8\/robot-controllers\"\u003eOrangutan robot controllers\u003c\/a\u003e ; please see the \u003ca href=\"http:\/\/www.pololu.com\/docs\/0J18\/16\"\u003eQTR Reflectance Sensors section\u003c\/a\u003e of our library command reference for more information. We also have an \u003ca href=\"https:\/\/www.pololu.com\/docs\/0J19\"\u003eArduino library\u003c\/a\u003e for these sensors.\u003c\/p\u003e\n\n\u003ch3\u003e Included Components\u003c\/h3\u003e\n\n \u003cp\u003eThis module has two mounting holes intended for \u003ca href=\"https:\/\/www.pololu.com\/product\/1955\"\u003e#2 screws\u003c\/a\u003e (not included); if the mounting holes are not needed, the ends of the PCB can be ground off to make the unit even smaller (less than 1″ wide). The reflectance sensor array ships with a 1×5 \u003ca href=\"https:\/\/www.pololu.com\/product\/965\"\u003estraight male header strip\u003c\/a\u003e and a1×5 \u003ca href=\"https:\/\/www.pololu.com\/product\/967\"\u003eright-angle male header strip\u003c\/a\u003e as shown below. You can also solder wires, such as ribbon cable, directly to the pads for the smallest installation. \u003c\/p\u003e\n\n\u003ctable class=\"side_by_side_pics\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\n\n\u003ctr\u003e\u003ctd style=\"max-width: 375px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J4640.1200.jpg?3312ed64cb4a6db9ee82f05f024d491c\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id or qtr-3rc reflectance sensor array with included header pins. data-picture-id=\"0J4640\" data-picture-longest_side=\"800\" src=\"https:\/\/a.pololu-files.com\/picture\/0J4640.375.jpg?3312ed64cb4a6db9ee82f05f024d491c\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 375px\"\u003e\u003cp\u003e QTR-3A or QTR-3RC reflectance sensor array with included header pins. \u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\n\n\u003ctr\u003e\u003ctd style=\"max-width: 225px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J4639.1200.jpg?306a041c0c1fa1030f3f805cb88a12a3\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id and qtr-3rc reflectance sensor arrays soldered in different orientations. data-picture-id=\"0J4639\" data-picture-longest_side=\"800\" src=\"https:\/\/a.pololu-files.com\/picture\/0J4639.225.jpg?306a041c0c1fa1030f3f805cb88a12a3\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 225px\"\u003e\u003cp\u003e QTR-3A and QTR-3RC reflectance sensor arrays soldered in different orientations.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch3\u003e How it works in detail\u003c\/h3\u003e\n\n \u003cp\u003eFor more information about how this sensor works, see the “How it works in detail” section of the \u003ca href=\"https:\/\/www.pololu.com\/product\/2459\"\u003eQTR-1RC product page\u003c\/a\u003e .\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"2-4 Weeks","offer_id":47696677765465,"sku":"POL-2457","price":10.17,"currency_code":"EUR","in_stock":true},{"title":"1 day","offer_id":47885990723929,"sku":"POL-2457\/A","price":10.17,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J4636.1200.jpg?v=1705455895","url":"https:\/\/xernuqvalzi.pro\/en\/products\/2457-qtr-3rc-reflectance-sensor-array","provider":"Robot Italy","version":"1.0","type":"link"}