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.

using optical sensor in ISIS proteuse

Status
Not open for further replies.

arras.badre

Newbie level 3
Joined
Nov 12, 2013
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
48
Hello,
im developing a project in ISIS proteuse 2012 and i need to add an optical sensor to port B, when an object is detected by this sensor,+5v should be applied to this Port and i can start an operation of calculation.
i have think to use "E3Z-L81 from omron", but it deliver a current instead of voltage !!!
any idea please ??
 


    V

    Points: 2
    Helpful Answer Positive Rating
Hello HTA,

first, thank you for your reply it show me where to start :)

so if i understand well the schema should be look like this :

Sensor Input.jpg

if we apply Ohm's Law we must mount a resistor of 50 ohm between sensor output (Wire 4 black) and pin RB0 of microcontroller in order to get +5V when sensor detect objects
 

Hello arras.badre,

this would supply the 12-24V to your input and damage it. A resistor divider with two resistors in series to ground is needed. If you have for instance 12V supply and use 12k ohm for the two resistors, the lower one should have around 4kohm and the upper one 8kohm(total 12kohm). Then the signal between the two resistors can be connected to the port input.

Enjoy your design work!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top