The Godfather talking
You think I am funny guy huh?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 29, 2024, 07:42:35 19:42


Login with username, password and session length


Pages: [1]
Print
Author Topic: Proximity Sensor Interfacing  (Read 5484 times)
0 Members and 2 Guests 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, 08:50:35 08: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: 126

Thank You
-Given: 25
-Receive: 18


« Reply #1 on: April 21, 2009, 09:59:13 09: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: 115

Thank You
-Given: 199
-Receive: 77


« Reply #2 on: April 21, 2009, 04:45:28 16:45 »

use a voltage regulator like a lm7805
Logged
oldvan
Senior Member
****
Offline Offline

Posts: 372

Thank You
-Given: 154
-Receive: 107


If the van is a Rockin'...


WWW
« Reply #3 on: April 22, 2009, 09:48:14 09: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
*
Offline Offline

Posts: 10

Thank You
-Given: 0
-Receive: 4


« Reply #4 on: April 22, 2009, 04:19:37 16: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
Active Member
***
Offline Offline

Posts: 139

Thank You
-Given: 66
-Receive: 117


falconbd.com


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

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

jzaghal
Active Member
***
Offline Offline

Posts: 165

Thank You
-Given: 499
-Receive: 55



« Reply #6 on: April 24, 2009, 08:06:02 08: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, 04:33:48 04:33 »

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

Posts: 29

Thank You
-Given: 9
-Receive: 0


« Reply #8 on: December 22, 2010, 06:51:01 18: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