Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2016, 03:23:42 03:23


Login with username, password and session length


Pages: [1]
Print
Author Topic: Proximity Sensor Interfacing  (Read 3137 times)
0 Members and 1 Guest are viewing this topic.
king
Junior Member
**
Offline Offline

Posts: 84

Thank You
-Given: 2
-Receive: 21


Jack of All But Master of One


« on: April 21, 2009, 09:50:35 09:50 »

Hi!
    I need to interface Proximity sensor with micro-controller but the sensor operates on 24V so tell me how can i drop 24V signal to 5V and i want to do this with the help of transistor not with opto coupler .If any schematic you have then plz give it to me
Logged
chandra2sekhar2000
Active Member
***
Offline Offline

Posts: 121

Thank You
-Given: 22
-Receive: 17


« Reply #1 on: April 21, 2009, 10:59:13 10:59 »

HELLO
DESIGN A VOLTAGE DIVIDER NETWORK WHOSE RATIO IS 6:1(24V:4V) FOR SAFER RANGE BELOW 5V.FOR EXAMPLE USE 5K AS R1 FROM 24V OUTPUT PIN.AND 1K FROM GROUND.CONNECT ANOTHER TWO ENDS OF RESISTORS DIRECTLY TO MICRO. OR CONNECT TO A TRANSISTOR BASE(BC547) ,EMITTER TO GND,COLLECTER PULLED UP WITH A 10K TO 5V,TAKE THE OUTPUT FROM COLLECTER TO MICRO.BUT USING A SINGLE TRANSISTER WILL PERFORM NOT OPERATION.


+24V-----^^^^^----|-----^^^^^-------GND
                 5K          | O/P      1K
                           TO MICRO
                          OR TRANSISTOR BASE.
Logged
ajak
Active Member
***
Offline Offline

Posts: 116

Thank You
-Given: 198
-Receive: 77


« Reply #2 on: April 21, 2009, 05:45:28 17:45 »

use a voltage regulator like a lm7805
Logged
oldvan
V.I.P
Senior Member
*****
Offline Offline

Posts: 375

Thank You
-Given: 152
-Receive: 106


If the van is a Rockin'...


WWW
« Reply #3 on: April 22, 2009, 10:48:14 10:48 »

Resistor in series to limit current, 5.1V Zener from input to ground.

If sensor is in electrically noisy environment or at different ground potential than the uC, use an optoisolator.
Logged

Give a man a fish and you feed him for a day.
Teach a man to fish and he will sit around in a boat drinking beer all day.
avrPassion
Newbie
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 0
-Receive: 4


« Reply #4 on: April 22, 2009, 05:19:37 17:19 »

Some of the proximity sensors are open drain. It means that if you put a resistor between their output and GND no current will pass the resistor.
My suggestion is to first check if your sensor can provide +24V in its output.
Logged
falcon _bd
V.I.P
Active Member
*****
Offline Offline

Posts: 139

Thank You
-Given: 66
-Receive: 117


falconbd.com


WWW
« Reply #5 on: April 23, 2009, 01:24:39 13:24 »

I want to know about Proximity Sensor in details.
need some links or pdf doc.
Logged

jzaghal
V.I.P
Active Member
*****
Offline Offline

Posts: 147

Thank You
-Given: 355
-Receive: 49



« Reply #6 on: April 24, 2009, 09:06:02 09:06 »

Hi,

It is better and safer to use an opto coupler.

Why ?? you don't want to use one??

Bye.
Logged
jenniferkim
Guest
« Reply #7 on: December 22, 2010, 05:33:48 05:33 »

It is not better and safe to use an opto coupler. It will only make it harder to control.
Logged
Donovan
Newbie
*
 Muted
Offline Offline

Posts: 29

Thank You
-Given: 9
-Receive: 0


« Reply #8 on: December 22, 2010, 07:51:01 19:51 »

http://rchobby-net.de/fraese/endschalter/referenz.htm
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC