Page 1 of 1

Urgent! Diffuse sensor help!

PostPosted: Mon Feb 13, 2012 9:59 am
by hellokitty9999
Hi, I have a diffuse sensor(PZ2-42 keyence sensor). Does anybody know the sensor output voltage and the voltage drop when the sensor sense something??

Information on the sensor:
http://www.alltronics.com/mas_assets/acrobat/24P006.pdf

Thank you

Re: Urgent! Diffuse sensor help!

PostPosted: Mon Feb 13, 2012 10:52 am
by kl84
The output should be digital signal, HIGH or LOW. You can switch the output to give HIGH when it detects object in its range or to give LOW when the same condition occurs.

Re: Urgent! Diffuse sensor help!

PostPosted: Mon Feb 13, 2012 11:19 am
by robosang
besides what kl84 highlighted, I think you should take a look at another thread:http://forum.cytron.com.my/viewtopic.php?f=7&t=11406

Looking at the datasheet, it is NPN output sensor, you will need to pull up.

Re: Urgent! Diffuse sensor help!

PostPosted: Tue Feb 14, 2012 9:18 am
by hellokitty9999
Hi, do I need to put a resistor between the Vcc and the output?? And how to do the switch output HIGH when it detect objects??

Re: Urgent! Diffuse sensor help!

PostPosted: Tue Feb 14, 2012 11:01 am
by ABSF
There are 2 ways:

1. Change your software to detect active Low instead of active High.
2. Use another NPN transistor to invert the signal.

Allen

Re: Urgent! Diffuse sensor help!

PostPosted: Wed Feb 15, 2012 11:17 am
by robosang
The sensor should have turnable knob, and there should be label of "L" and "D". Turn it and look at the output.

Re: Urgent! Diffuse sensor help!

PostPosted: Wed Feb 15, 2012 5:30 pm
by hellokitty9999
ok. Thanks!