Fc 51 Ir Sensor Datasheet -

void loop() sensorValue = digitalRead(irSensorPin);

Obstacle avoidance for wheeled or tracked mobile robots. Fc 51 Ir Sensor Datasheet

The phototransistor receives the reflected light, and the onboard comparator compares this signal against the threshold set by the potentiometer. void loop() sensorValue = digitalRead(irSensorPin)

If you are building a line-following robot, a tachometer, or a proximity alarm, chances are you’ve stumbled upon the . It is one of the most ubiquitous, low-cost infrared obstacle avoidance sensors on the market. or a proximity alarm