{"product_id":"2456-qtr-3a-reflectance-sensor-array","title":"QTR-3A 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, making this array a great minimal sensing solution for a line-following robot. Each sensor provides a separate \u003cstrong\u003eanalog voltage output\u003c\/strong\u003e.\u003c\/p\u003e\n\u003cbr\u003e\u003cp class=\"note\"\u003eThe QTR-3A reflectance sensor array requires analog inputs to take readings. The similar \u003ca href=\"https:\/\/www.pololu.com\/product\/2457\"\u003eQTR-3RC reflectance sensor array\u003c\/a\u003e is available with digital I\/O-compatible outputs.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\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\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003ch3\u003eFunctional Description\u003c\/h3\u003e\n\u003cp\u003eThe QTR-3A 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\u003cp\u003eEach phototransistor is connected to a pull-up resistor to form a voltage divider that produces an analog voltage output between 0 V and VCC (which is typically 5 V) as a function of the reflected IR. Lower output voltage is an indication of greater reflection.\u003c\/p\u003e\n\u003cp\u003eThe 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\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003cimg alt=\"\" class=\"\" data-gallery-pictures=\"[{\" id diagram for the qtr-3a reflectance sensor array. data-picture-id=\"0J4643\" data-picture-longest_side=\"450\" src=\"https:\/\/a.pololu-files.com\/picture\/0J4643.450.png?c698fb1dc15633f63f4f042dd49b49fa\"\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eThis schematic is also available as a \u003ca href=\"\/file\/0J651\/QTR-3A-reflectance-sensor-array-schematic-diagram.pdf\"\u003edownloadable pdf\u003c\/a\u003e (115k pdf).\u003c\/p\u003e\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\/960\"\u003eQTR-8A reflectance sensor array\u003c\/a\u003e. For individual reflectance sensors, consider our \u003ca href=\"https:\/\/www.pololu.com\/product\/2458\"\u003eQTR-1A\u003c\/a\u003e and \u003ca href=\"https:\/\/www.pololu.com\/product\/2454\"\u003eQTR-L-1A\u003c\/a\u003e.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\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\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 400px\"\u003e\u003cp\u003eQTR 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\u003c\/table\u003e\n\u003ch3\u003eSpecifications\u003c\/h3\u003e\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\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\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cul\u003e\n\t\u003cli\u003eDimensions: 1.25″ × 0.3″ × 0.1″ (32 × 8 × 3 mm) (without header pins installed)\u003c\/li\u003e\n\t\u003cli\u003eOperating voltage: 5.0 V\u003c\/li\u003e\n\t\u003cli\u003eSupply current: 50 mA\u003c\/li\u003e\n\t\u003cli\u003eOutput format: 3 analog voltages\u003c\/li\u003e\n\t\u003cli\u003eOutput voltage range: 0 V to supplied voltage\u003c\/li\u003e\n\t\u003cli\u003eOptimal sensing distance: 0.125\" (3 mm)\u003c\/li\u003e\n\t\u003cli\u003eMaximum recommended sensing distance: 0.25\" (6 mm)\u003c\/li\u003e\n\t\u003cli\u003eWeight without header pins: 0.02 oz (0.6 g)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eInterfacing with the QTR-3A Outputs\u003c\/h3\u003e\n\u003cp\u003eThere are several ways you can interface with the QTR-3A outputs:\u003c\/p\u003e\n\u003cul\u003e\n\t\u003cli\u003eUse a microcontroller’s analog-to-digital converter (ADC) to measure the voltages.\u003c\/li\u003e\n\t\u003cli\u003eUse a comparator with an adjustable threshold to convert each analog voltage into a digital (i.e. black\/white) signal that can be read by the digital I\/O line of a microcontroller.\u003c\/li\u003e\n\t\u003cli\u003eConnect each output directly to a digital I\/O line of a microcontroller and rely upon its internal comparator.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis last method will work if you are able to get high reflectance from your white surface as depicted in the left image, but will probably fail if you have a lower-reflectance signal profile like the one on the right. (Please note that these images show the output of a \u003ca href=\"https:\/\/www.pololu.com\/product\/958\"\u003eQTR-1A\u003c\/a\u003e, which uses a sensor with slightly different characteristics than the ones on the QTR-3A.)\u003c\/p\u003e\n\u003ctable class=\"side_by_side_pics\"\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\u003ctd style=\"max-width: 300px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J638.1200.png?25e328bebc696eac190e4b40f70e1d06\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id output away from a spinning white disk with black line on it. data-picture-id=\"0J638\" data-picture-longest_side=\"1024\" src=\"https:\/\/a.pololu-files.com\/picture\/0J638.300.jpg?25e328bebc696eac190e4b40f70e1d06\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 300px\"\u003e\u003cp\u003eQTR-1A output 1\/8\" away from a spinning white disk with a black line on it.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\u003ctd style=\"max-width: 300px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J640.1200.png?8f9afe41d5408ff1438c62379e599c5a\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id output away from a spinning white disk with black line on it. data-picture-id=\"0J640\" data-picture-longest_side=\"1024\" src=\"https:\/\/a.pololu-files.com\/picture\/0J640.300.jpg?8f9afe41d5408ff1438c62379e599c5a\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 300px\"\u003e\u003cp\u003eQTR-1A output 3\/8\" away from a spinning white disk with a black line on it.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eOur \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 a \u003ca href=\"https:\/\/www.pololu.com\/docs\/0J19\"\u003eArduino library\u003c\/a\u003e for these sensors.\u003c\/p\u003e\n\u003ch3\u003eIncluded Components\u003c\/h3\u003e\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\u003ctable class=\"side_by_side_pics\"\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\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\u003c\/td\u003e\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 375px\"\u003e\u003cp\u003eQTR-3A or QTR-3RC reflectance sensor array with included header pins.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\u003c\/td\u003e\n\t\t\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\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\u003c\/td\u003e\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 225px\"\u003e\u003cp\u003eQTR-3A and QTR-3RC reflectance sensor arrays soldered in different orientations.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\u003c\/td\u003e\n\t\u003c\/tr\u003e\n\u003c\/table\u003e","brand":"Pololu","offers":[{"title":"2-4 Settimane","offer_id":47696677732697,"sku":"POL-2456","price":10.17,"currency_code":"EUR","in_stock":true},{"title":"1 Giorno","offer_id":47885990658393,"sku":"POL-2456\/A","price":10.17,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J4634.1200.jpg?v=1705455894","url":"https:\/\/xernuqvalzi.pro\/products\/2456-qtr-3a-reflectance-sensor-array","provider":"Robot Italy","version":"1.0","type":"link"}