Sensor Óptico Reflectivo TCRT5000
- Em promoção!
- -0,50 €
O sensor de linha é baseado no sensor TCRT5000, que recebe eco dos sinais infravermelhos enviados para detectar a intensidade do sinal. Dentro de uma certa distância, a placa pode destinguir uma superficie preta de outra branca.
DESCRIÇÃO EM PORTUGUÊS BREVEMENTE DISPONÍVEL
Se tiver alguma dúvida neste produto não hesite em contactar-nos.
*Atenção: as imagens são meramente ilustrativas.
Working voltage | 3.3 or 5V DC |
Compatible interfaces | 2.54 3-pin interface |
Detecting height range | 0-50mm(2) |
Parameter | Min. | Typical | Max. | Unit |
Working voltage | 2.1 | 5 | 5.5 | VDC |
Digital output voltage(VCC=5V) | 0 | - | 5 | V |
Working current(VCC=5V) | - | 38 | - | mA |
Threshold hysteresis ΔUth | - | VCC*0.09 | - | V |
Detecting height range(VCC=5V,Vth=3.5V) | 0 | - | 50 | mm |
1. Regulating of threshold voltage:
The threshold voltage is a voltage for comparison. When the sensor encounters obstacles (white surface), and the induced voltage is above the threshold, it will digitally output a high level (3.3V or 5V); when there are no obstacles (black surface), and the induced voltage is below the threshold, it will digitally output a low level (0V). In this way, the digital pin can be used directly to see if the sensor encounters obstacles or not or to follow a black line on a white surface. The threshold voltage can be regulated by simply twisting the potentiometer which is shown in the following diagram, and it increases by rotating to left side and decreases by rotating to right side
2. Status LED
Within certain height, LED lamp will be OFF when obstacles or non-black objects are detected and it will be ON when no obstacles but black objects (compared to the non-black objects under the same height) are detected.
Connect S port of track sensor to D2 port of Arduino board, and we will use the following program to read the digital value of current status. When objects are detected, a buzzer (not included) connected to output pin 3 will give an alarm.
const int DSIGNAL = 2; const int buzzer= 3; void setup() { pinMode(DSIGNAL, INPUT); } void loop() { int DsignalState = digitalRead(DSIGNAL); if(DsignalState) { digitalWrite(buzzer,LOW); } else { digitalWrite(buzzer,HIGH); } }
Produtos Associados