Author Topic: How to use TCRT5000 Infrared Sensor module with digital output (Arduino)??  (Read 4624 times)

0 Members and 1 Guest are viewing this topic.

Offline MrOmnosTopic starter

  • Frequent Contributor
  • **
  • Posts: 260
  • Country: np
  • BE in Electronics and Communication
Hi guys!! I bought these TCRT5000 Infrared Sensor module for my line follower bot.

It has two output pins, digital and analog. I am familiar with analog pin and I have used it several times. But I don't know how to use the digital pin in these things. I tried digital read but it didn't help. If anyone knows about these sensors or has worked with them before, some help will be appreciated.
« Last Edit: December 14, 2015, 07:41:04 pm by MrOmnos »
 

Offline alsetalokin4017

  • Super Contributor
  • ***
  • Posts: 2055
  • Country: us
Re: How to use TCRT5000 Infrared Sensor module with digital output (Arduino)??
« Reply #1 on: December 14, 2015, 10:01:20 pm »
The DO pin appears to be the output of the LM393 comparator circuit. Have you tried adjusting the potentiometer, which apparently sets the comparator setpoint?

I've used the raw sensor itself but not this module. I expect that digitalRead() would do the trick if the setpoint pot is set properly.

The easiest person to fool is yourself. -- Richard Feynman
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf