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 can i read switch 50m away from my system???

Status
Not open for further replies.

eng_ahmed22

Full Member level 3
Joined
Jun 7, 2005
Messages
189
Helped
20
Reputation
40
Reaction score
5
Trophy points
1,298
Activity points
2,944
i need to read switchs 50m away from my system, how that could be electronically??
i need schematic to enable me to determine the switch status with my microcontroller.
thanks alot
 

you should search RS485 protocol. With a microcontroller, you can control your switch with this protocol.

Maybe you can use only RS232 (serial port) protocol (in 2400 baud). But this protocol not good for long distances.

Here is a link about RS485: http://www.turkengineers.com/metin.php?metin=50

If you search with google, you can find a lots of information about this protocol.
 

Use current transmitters at remote side (switches)... if your switch is press transmitte 20mA, if not transmitte 4mA. You can do it with a voltage-current converter, at another side you can use just a resistor to convert it again. But the RS485 is good suggestion...


leomecma
 

I've made an application with 1 analog multiplexer CD4067 - 16 inputs for switches and 1 output which is connected to microcontroller through 1 comparator lm339 (one input is at 2.5 v and the other input to multiplexer); ... so I have 16 switches, some of them at over 100 m distance and works very well, no false readings...
If that's what you want, I'll search the schematic ...
 

Thanks alot everybody for interrest
yes yo5oqa.
this is exactly what i want, this is excellent solution becouse the awitchs are distributed at different distances and locations.
waiting for your schematic.

thanks everybody
 

Here is the schematic, it was a more complex project with PC interface to store some logs and display switches states, also to drive relays and flash leds ... but you can see how to connect only what you want to ...
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top