electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Communicating to other uC at a distance of 100m or more


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Communicating to other uC at a distance of 100m or more
Author Message
emavil



Joined: 18 Oct 2005
Posts: 53


Post26 May 2008 8:26   

Communicating to other uC at a distance of 100m or more


Hi guys, I am working with two microcontroller projects that communicates using SPI wherein both of them are 100meters apart. Is there any least possible electronic solution to this?
Back to top
tvthang



Joined: 17 May 2008
Posts: 46
Helped: 5
Location: Ho Chi Minh city, VietNam


Post26 May 2008 9:01   

Re: Communicating to other uC at a distance of 100m or more


Hi, to communicate between 2 uC, you should use UART, you use 2 MAX485 to exchange from TTL to RS485, in which distance may be 2km.
Back to top
Google
AdSense
Google Adsense




Post26 May 2008 9:01   

Ads




Back to top
sohailkhanonline



Joined: 08 Oct 2007
Posts: 33


Post26 May 2008 9:46   

Re: Communicating to other uC at a distance of 100m or more


Above solution is working. I have implemented it
Back to top
randell_xtian



Joined: 25 Mar 2008
Posts: 158
Helped: 9
Location: Philippines


Post26 May 2008 10:38   

Re: Communicating to other uC at a distance of 100m or more


i suggest that you may used a RF IC/RF module for wireless communication. Very HappyVery Happy
Back to top
FvM



Joined: 22 Jan 2008
Posts: 5154
Helped: 766
Location: Bochum, Germany


Post26 May 2008 10:40   

Re: Communicating to other uC at a distance of 100m or more


If - for any reason - a SPI interface has to be extended to 100 m, then this can be done using multiple differential pairs and RS422 respectively RS485 driver/receiver. You should consider, however, the roundtrip cable delay of about 1 us.
Back to top
Sayem Ahmed



Joined: 07 Apr 2008
Posts: 47
Helped: 3
Location: Dhaka,Bangladesh


Post26 May 2008 13:26   

Re: Communicating to other uC at a distance of 100m or more


One quetion freinds

when i am using a mcu with usart like 16f877 and only want to send data then should i have to use max233 or any of them for distant transmition.

Thanks.
Back to top
emavil



Joined: 18 Oct 2005
Posts: 53


Post27 May 2008 9:39   

Re: Communicating to other uC at a distance of 100m or more


thanks to all who responded. I am not familiar with RS485, currently i'm using buffer ICs like 74LS244 at the transmitter module and another 74LS244 at the receiver module. I am transmitting digital singals at TTL levels for SPI (Strobe, Data, Clock) using ordinary telephone cord. One line of the telephone cord is used to connect Grounds of the both modules. It worked. I also tried using UTP cable(Unshielded Twisted Pair) and it worked also for about 15 meters.

I would like to ask for technical support regarding the method that i'm using. What will happen to this configuration if i go for 50m or more?

Will my configuration affected with this "Ground Loop"?
Back to top
FvM



Joined: 22 Jan 2008
Posts: 5154
Helped: 766
Location: Bochum, Germany


Post27 May 2008 9:51   

Re: Communicating to other uC at a distance of 100m or more


Industrial RS485 networks are mostly using opto-isolated RS485 to achieve reliable operation also if ground voltage differences are present. It depends on your electrical enviroment, if RS85 is operational without isolation, probably yes. But you should activate potential interference sources for test, e. g. switch fluorescent lamps or electrical machines.
Back to top
b.zahedi



Joined: 20 May 2008
Posts: 18


Post27 May 2008 11:54   

Communicating to other uC at a distance of 100m or more


max485 is very simple, for reliable communication you'd better use one in the transmitter side and another in the receiver side
Back to top
FvM



Joined: 22 Jan 2008
Posts: 5154
Helped: 766
Location: Bochum, Germany


Post27 May 2008 12:32   

Re: Communicating to other uC at a distance of 100m or more


I agrre with b.zahedi. I didn't read from your post (or couldn't believe) that you wanted to continue using single-ended TTL signals for distant communication, but I fear, he understood it correct.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Communicating to other uC at a distance of 100m or more
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
which will cover more distance: Low or high Freq. signal?? (27)
any more video course other than berkeley webcast? (2)
network pc-pc 100m (7)
Any other sites for lecture videos other than MIT & Berk (6)
>100M iopad ESD protection? (5)
What are 100M-gate applications? (6)
i start to design a NIC chip(10/100M) (6)
a pipeline ADC with 100M sps/s ,8 bits design (1)
buffered opamp - GBW of 100M , PM of 60deg, dc-gain of 65dB (5)
microcontrollers communicating (6)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS