09-27-2020 03:12 AM
I have connected the digital output of the PNP type sensor to Analog input in Single-ended mode. I am getting a Square wave.
Expected: Ideal case 0v should be obtained. When an obstacle crosses the sensor 10 V signal should come.
Actual : Pulse waveform is obtained ideal condition and 10 V signal is obtained when the obstacle cross the sensor
Please help me to resolve the issue.
Thanks,
Anbarasan.
09-27-2020 11:17 AM
Please post the waveform to understand better. Moreover, you can convert the analog signal into digital by applying thresholds for low and high.