The sensor consists of IR LED and receiver in the form of phototransistor. In addition to these two basic elements, in the circuit are: resistor limiting the transmitting LED's current 220Ω, and the time system on the basis of the 10nF and the resistor of 220Ω. Output are the time impulses, the duration of which depends on the color of the surface. The array below presents other examples of values depending on the distance and color of the surface.
|Distance||White surface||Black insulating tape|
|6 mm||100 us||320 us|
|25 mm||160 us||260 us|
The product is compatible with Arduino
The manufacturer has prepared a library that simplifies maintenance of the sensor for Arduino users.
A typical sequence of the reading of sensors' values:
1. Turning on the IR LEDs (if previously disabled)
2. The significance of the I/O pins of the microntroller as outputs and the creation of a high status.
3. Waiting at least 10us. (charging the capacitor of 10nF)
4. Setting the I/O pins as inputs (high impedance status)
5. Measuring the discharge time of the capacitor by waiting until the I/O lines go into the low status.
6. Disabling the IR LEDs (optional).
|Daylight, especially sunlight can affect the operation of the sensor. In the case when the output voltage is too low, you should install a rim that protects the sensor from the exposure to external light.|
The sensor has three simple pins: power supply - VDD (supply voltage), ground - GND and the output OUT. For proper operation, it is sufficient to connect the power supply.
STM32F407G-DISC1 - Discovery - STM32F4DISCOVERY* - 109,90 zł
Arduino Uno Rev3 - module A000066* - 92,00 zł
Arduino Mega 2560 Rev3 - module A000067* - 159,00 zł
SAME DAY SHIPPING
Posting the payment for the order on our account on a business day up to 13:00 means sending the goods on the same day!
The time of payment depends on the hours of ELIXIR session of the sender's bank and the recipient of the transfer (more information on this subject, for example on the websitehttp://www.kiedy-przelew.pl/).
The table presents available forms of delivery in Poland
|9,90 PLN||17,90 PLN||1-3 days|
|14,90 PLN||22,90 PLN|
|12,90 PLN||-||1-3 days|
If the amount to pay for products exceeds 500 PLN