Preview

Qtr Arduino Library

Powerful Essays
Open Document
Open Document
4111 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Qtr Arduino Library
Arduino Library for the Pololu QTR Reflectance Sensors

© 2001–2011 Pololu Corporation

Arduino Library for the Pololu QTR Reflectance Sensors

1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Library Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3. QTRSensors Methods & Usage Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

http://www.pololu.com/docs/0J19

Page 1 of 12

Arduino Library for the Pololu QTR Reflectance Sensors

© 2001–2011 Pololu Corporation

1. Introduction

QTR-1RC reflectance sensor.

QTR-8A reflectance sensor array.

The Pololu QTR reflectance sensors carry infrared LED and phototransistor pairs that can provide analog measurements of IR reflectance, which makes them great for close-proximity edge detection and line-following applications. The modules come as compact, single-sensor units (QTR-1A [http://www.pololu.com/catalog/product/958] and QTR-1RC [http://www.pololu.com/catalog/product/959]) or as 8-sensor arrays (QTR-8A [http://www.pololu.com/catalog/product/960] and QTR-8RC [http://www.pololu.com/catalog/product/961]) that can be optionally split into a 2-sensor array and a 6-sensor array. The modules are available in two different output formats: the QTR-xA outputs an analog voltage between 0 and Vcc that can be measured by an analog-to-digital converter (ADC), and the QTR-xRC outputs a pulse that can be measured by a digital I/O line (the duration of which provides an analog measurement of reflectance).

QTR-1A reflectance sensor schematic diagram.

QTR-1RC reflectance sensor schematic diagram.

Please see the product pages [http://www.pololu.com/catalog/category/7] for more information on how these sensors work. This document will explain how to install Arduino libraries for the Pololu QTR reflectance sensors, and

You May Also Find These Documents Helpful

  • Good Essays

    To accomplish the task of line following, the two Line Follower sensors were placed on the two sides of the front of the car. They were used to detect the…

    • 1184 Words
    • 5 Pages
    Good Essays
  • Good Essays

    QNT 561 Final Exam

    • 697 Words
    • 5 Pages

    In this paperwork of QNT 561 Final Exam you will find the answers on the next questions:…

    • 697 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Acc 403

    • 5361 Words
    • 22 Pages

    | Note: Instructions for using the software can be found in the Appendix of the textbook. |…

    • 5361 Words
    • 22 Pages
    Powerful Essays
  • Satisfactory Essays

    Be sure to save a copy of this page. You will need it in 6.05!…

    • 2974 Words
    • 45 Pages
    Satisfactory Essays
  • Good Essays

    school

    • 302 Words
    • 2 Pages

    How does the spectrometer work? What does the absorption of light waves help you to determine? How did you use the calibration curve to determine the blood alcohol content?…

    • 302 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Photosynthesis Lab Report

    • 432 Words
    • 2 Pages

    Absorbance | 0.000 | 0.083 | 0.178 | 0.262 | 0.355 | 0.493 | 0.554 | 0.600 | 0.735 | 0.754 | 0.825 |…

    • 432 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Qnt 561

    • 2214 Words
    • 9 Pages

    80. Creek Ratz is a very popular restaurant located along the coast of northern Florida. They serve a variety of steak and seafood dinners. During the summer beach season, they do not take reservations or accept “call ahead” seating. Management of the restaurant is concerned with the time a patron must wait before being seated for dinner. Listed below is the wait time, in minutes, for the 25 tables seated last Saturday night.…

    • 2214 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    Cart on a Ramp

    • 2798 Words
    • 12 Pages

    1. We obtained all the materials necessary for this lab and assembled them: we taped off four one-meter increments, connected the motion detector to the interface to the computer, and opened Logger Pro.…

    • 2798 Words
    • 12 Pages
    Good Essays
  • Good Essays

    Beer-Lambert Law

    • 372 Words
    • 2 Pages

    Calibrate the colorimeter at 635 nm with deionized water (pure solvent) as the blank solution.…

    • 372 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Colorimeter Lab Report

    • 972 Words
    • 4 Pages

    The primary objective of this experiment is to determine the concentration of an unknown copper (II) sulphate solution. You will be using the colorimeter. In this device, red light from the LED light source will pass through the solution and strike a photocell. The CuSO4 solution used in this experiment has a deep green color. A higher concentration of the colored solution absorbs more light (and transmits less) than a solution of lower concentration. [Content Standard B- Structure and properties of matter] The colorimeter monitors the light received by the photocell as either an absorbance or a percent transmittance value.…

    • 972 Words
    • 4 Pages
    Better Essays
  • Good Essays

    - To study the transpiration rate of a plant (Gou Qi) by using the bubble photometer.…

    • 1073 Words
    • 5 Pages
    Good Essays
  • Good Essays

    susceptibility, attacker access to the flaw and attacker capability to exploit the flaw. A security…

    • 653 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Lab VIEW Case Study

    • 1767 Words
    • 8 Pages

    LabVIEW Express technology transforms common measurement and automation tasks into much higher-level, intuitive VIs, allowing beginners to quickly develop applications. For experienced programmers, LabVIEW's performance, flexibility, and compatibility is comparable to that of a traditional programming language such as C or BASIC. Indeed, LabVIEW uses similar constructs, such as variables, data types, objects, looping, and sequencing structures as well as error handling. LabVIEW also allows programmers to reuse legacy DLL and shared librariy code, and integrate with other software using ActiveX, TCP, and other standard…

    • 1767 Words
    • 8 Pages
    Good Essays
  • Better Essays

    References

    • 846 Words
    • 6 Pages

    The instrument show the content of the light source which is come from the light source of a spectrophotometer. The arrow as in the Figure 1.1 to show the path of light from the light source. A prism refracting a light to the wavelength selector and transmit to the cuvette and the results sent to the recorder or computer.…

    • 846 Words
    • 6 Pages
    Better Essays
  • Good Essays

    Projectile Motion

    • 1297 Words
    • 6 Pages

    2. Set up the light probes by placing them over the ramp where it becomes horizontal. Make sure they are working right by testing if something goes threw it, than the light on the probe turns red and that the light is green when nothing is moving threw it.…

    • 1297 Words
    • 6 Pages
    Good Essays