Microcontroller › 8051 › 8051 interfacing to sensor › Hi Rakesh,A sensor cannot be
August 14, 2013 at 4:10 am
#10324
Participant
Hi Rakesh,
A sensor cannot be interfaced to an output pin. If the sensor gives digital output it can be interfaced to a digital input pin.
The sensor your are planning to use gives analog output and hence it can be interfaced to an analog input pin (input channel of an ADC) only.