Question

Draw a circuit to interface the output of a two-wire NO proximity sensor that uses a...

Draw a circuit to interface the output of a two-wire NO proximity sensor that uses a 24 VDC power supply to the digital input line of an MCU that operates with VDD of 5 V.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Hi,

There are many ways to interface a normally-open (NO) proximity sensor to a 5V MCU. The safest of these is to use an optocoupler IC in-between. An opto-coupler is an LED and phototransistor packaged inside an IC. The following image shows this circuit. The computation for the resistance is series with LED (to control the amount of current that flows through it) is also shown.

Note than when NO contact is open, the LED will off and hence the voltage at the output of phototransistor will be high. When the contact closes, a current of about 10mA will flow through the LED, turning it on. At that time, the output of phototransistor will go low.

The value of R2 is not very critical. It can be in the range of 2K to 10K for a typical optocoupler.

An additional advantage of using an optocoupler is that it keeps the grounds of 24V power supply and 5V power supply separate.

Hope this helps.

Add a comment
Know the answer?
Add Answer to:
Draw a circuit to interface the output of a two-wire NO proximity sensor that uses a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT