Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to connect inductive sensor to PIC via optocoupler

Status
Not open for further replies.

betuse

Junior Member level 3
Joined
Oct 17, 2013
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
173
Dear colleagues,
I am new on this forum,
I need help about how to connect inductive sensor to PIC via optocoupler,
I attach images from optocoupler sch, sensor image (that is NPN normally open type),
I need to drive this sensor with 12 VDC,
thanks
BR
 

Attachments

  • optoc.jpg
    optoc.jpg
    133.9 KB · Views: 70
  • sensor.jpg
    sensor.jpg
    71 KB · Views: 66
  • npn_no.jpg
    npn_no.jpg
    24.4 KB · Views: 65

You'll connect IN1-1 to brown and IN1-2 to black.
 
  • Like
Reactions: betuse

    betuse

    Points: 2
    Helpful Answer Positive Rating
Dear collegues, this connection version dont work,
any suggestion?
best regards
 

Hi there,
first, maybe is better for you to test your sensor alone with out mcu,
use for example 9V battery, connect + and -, on the back side of sensor you probably have led indicator, when metal is close to sensor, led will light,
check your black wire and condition when led light,
regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top