Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

How to detect the RJ-45 cable plug in or not ?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> Easy TCP/IP Archive
View previous topic :: View next topic  
Author Message
odinfang68

Bascom Member



Joined: 12 Oct 2005
Posts: 11

taiwan.gif
PostPosted: Fri Feb 24, 2006 12:43 pm    Post subject: How to detect the RJ-45 cable plug in or not ? Reply with quote

I need a function to know whether the cable plug in or not ? Can anybody help me ? thanks.
Back to top
View user's profile
bzijlstra

Bascom Ambassador



Joined: 30 Dec 2004
Posts: 1179
Location: Tilburg - Netherlands

netherlands.gif
PostPosted: Tue Mar 07, 2006 6:52 pm    Post subject: Signal on link ethernetcontroller Reply with quote

If I look at the WebTiger from www.achatz.nl and unplug the RJ45 cable, I see the LINK-led going off. So I think it should be possible to check if a cable is inserted and if there is a link to a switch.

Perhaps check the datasheet of the ethernetcontroller. Specially the LED's. Perhaps you can connect this signal to an input on your microcontroller.

Have fun
Ben Zijlstra
Back to top
View user's profile Visit poster's website
george2002

Bascom Member



Joined: 23 Nov 2005
Posts: 74
Location: Krakow

poland.gif
PostPosted: Mon Mar 20, 2006 11:58 am    Post subject: Reply with quote

in my opinion ther are two options to check is there connected cable Smile
first option is to connect to microprocesor to rtl8019as pin60 or 61 or 62 or 63 because that pins are showing status of connection but i dont know which led showing it Razz

second idea is to ping some ip adress and when ping is working then cable is connected and when there is no ping then cable is not connected but in this option pinged computer/slave device must be on whole time Smile

ps
sorry for my poor english Very Happy

regards
george2002

_________________
Hi 4 all Smile
Back to top
View user's profile Visit poster's website
odinfang68

Bascom Member



Joined: 12 Oct 2005
Posts: 11

taiwan.gif
PostPosted: Wed Apr 05, 2006 9:29 am    Post subject: Use W3100A Pin36 /Link for Input Pin Reply with quote

I use W3100A Pin36 "/Link" for Input pin. It can work very well.
Back to top
View user's profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> Easy TCP/IP Archive All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum