May 13, 2006 #1 V vicky29 Member level 4 Joined Feb 5, 2005 Messages 75 Helped 3 Reputation 6 Reaction score 2 Trophy points 1,288 Activity points 750 hi frnz i m designing a simple five digit counter which has the input sensor .the sensor is proximity sensor with either pnp or npn type output. the range is from 10 v to 30 v for pnp or -10 to -30volts for npn. now i have to feed this to 8051 .how to do this please help. will be waiting for response bye
hi frnz i m designing a simple five digit counter which has the input sensor .the sensor is proximity sensor with either pnp or npn type output. the range is from 10 v to 30 v for pnp or -10 to -30volts for npn. now i have to feed this to 8051 .how to do this please help. will be waiting for response bye
May 13, 2006 #2 I IanP Advanced Member level 7 Joined Oct 5, 2004 Messages 7,929 Helped 2,311 Reputation 4,624 Reaction score 531 Trophy points 1,393 Location West Coast Activity points 66,416 In both cases you can use an optocoupler .. see picture below .. Regards, IanP
May 13, 2006 #3 V vicky29 Member level 4 Joined Feb 5, 2005 Messages 75 Helped 3 Reputation 6 Reaction score 2 Trophy points 1,288 Activity points 750 thnx for replying ianp but will this circuit take input as -10 to -30 volts or 10 to 30 volts and give output as 0-5 volts so that i can feed it to 8051.could u please exlain me the details of this ciruit as to how is it solving my purpose
thnx for replying ianp but will this circuit take input as -10 to -30 volts or 10 to 30 volts and give output as 0-5 volts so that i can feed it to 8051.could u please exlain me the details of this ciruit as to how is it solving my purpose