Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

rs-485 info / tutorial / drivers needed

Status
Not open for further replies.

pharos

Junior Member level 1
Joined
Jul 22, 2002
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
99
avrco pascal 1wire

Hello All,
I need some good tutorial/notes for RS-485 and any s/w drivers for that. Please help.

Enjoy,

:D pharos :D
 

tom324

Full Member level 1
Joined
Jun 26, 2001
Messages
98
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Croatia
Activity points
672
485info

RS-485 is "electrical level" interface. It is half duplex. I assume you are interested in some specific protocol that uses RS485 as interface?

Tom
 

gabby

Member level 5
Joined
Mar 18, 2002
Messages
94
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,288
Location
Israel
Activity points
1,239

pharos

Junior Member level 1
Joined
Jul 22, 2002
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
99
Hello Tom,
I may be wrong, but what i think is that RS-485 is a serial protocol and i need to develop some s/w drivers over that.

Thanks,

pharos
 

tom324

Full Member level 1
Joined
Jun 26, 2001
Messages
98
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Croatia
Activity points
672
pharos said:
I may be wrong, but what i think is that RS-485 is a serial protocol and i need to develop some s/w drivers over that.
No, RS485 is not a 'protocol'. Protocol is a set of rules which determine how a connection is established, maintained and terminated. Data exchange is also part of these rules. Protocols are usually implemented by software layer.

Tom
 
  • Like
Reactions: vs3474

    vs3474

    points: 2
    Helpful Answer Positive Rating

ljmnunes

Junior Member level 3
Joined
Jun 28, 2001
Messages
29
Helped
4
Reputation
8
Reaction score
3
Trophy points
1,283
Location
Brazil
Activity points
158
hello, pharos.

As tom324 said, RS485 is a hardware interface not a protocol. Some people call it "protocol RS485" but it is not right.

There are a lot of protocol specification in the net. You can only choice that you need.

Can I help you? I used Modbus protocol for years.
 

stroma

Advanced Member level 4
Joined
Apr 25, 2002
Messages
114
Helped
9
Reputation
18
Reaction score
6
Trophy points
1,298
Activity points
837
Hi Pharos,
Tom324 is right about RS485 - it is just interface, not a protocol. You probable have to decide which protocol you will implement in software driver(s). I’m using Dallas “1-wire” protocol over RS485 interface to increase distance of the net.
Regards,
stroma
 

pharos

Junior Member level 1
Joined
Jul 22, 2002
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
99
Hello guys,
Thanks for the information. Please give me some useful links for RS-485 tutorials. I basically want to implement a serial protocol over RS-485.

regards,

pharos
 

ted

Full Member level 3
Joined
Mar 12, 2002
Messages
182
Helped
28
Reputation
56
Reaction score
24
Trophy points
1,298
Activity points
2,875
It all depends what is your application. For instance, for instrumentation using serial links (RS232, RS485 +others) you may get ready made software for free at
http://www.windmill.co.uk/rs232.html

You may also find intersting to read
http://www.ece.utexas.edu/~valvano/manual/Lab10.pdf (See also the directory .../manual/ for more documents)
The same professor, Jonathan W. Valvano, has also a software archive (written in C for MC68HC812) containing different things, including a driver for RS-485 networking:
http://www.ece.utexas.edu/~valvano/programs/

Good luck,
Ted
 

ghbolivar

Full Member level 1
Joined
Jul 25, 2001
Messages
98
Helped
7
Reputation
14
Reaction score
0
Trophy points
1,286
Activity points
766
hey! have you already implemented your protocol?
Anyway, i recomend you to take a look at http://www.hth.com
They have created SNAP, a very good protocol. It is open an free:D
 

    V

    points: 2
    Helpful Answer Positive Rating

jarmestor

Newbie level 2
Joined
May 30, 2002
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
22
For RS-485 cabling guidelines, you can view the technical note http://w??.smsc.com/ma?n/anpdf/tn75.p?f

jarmestor :)

PD:
I think that RS-485 is an electrical specification in many physical layer protocols (bitbus, profibus,....)
 

mdamdam

Member level 3
Joined
Apr 12, 2002
Messages
55
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
the old Europa
Activity points
464
E-Lab have a 9bit network protocol for AVR µC possible but tricky to interface with PC
 

avra

Junior Member level 3
Joined
Oct 22, 2001
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Serbia
Activity points
127
If you want protocol I use written in E-L-a-b A-V-R-c-o P-A-S-C-A-L, say it. I can also give you windows test software for this protocol.

Avra
 

Trishool

Full Member level 1
Joined
Jul 12, 2001
Messages
97
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
Himalayas.(mount K2)
Activity points
825
RS485 is a standard !!

pharos said:
Hello guys,
Thanks for the information. Please give me some useful links for RS-485 tutorials. I basically want to implement a serial protocol over RS-485.

regards,

pharos
pharos ,

RS485 is a standard , see RS485.com there yo'll find plenty of resource .

Ts
 

dsp2x

Junior Member level 2
Joined
Mar 2, 2002
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
96
STOR /RS422 and RS485 Application Note.pdf
550 RS422 and RS485 Application Note.pdf: Cannot create file.
RS422 and RS485 Application Note.pdf: Cannot create file
Failed [RS422 and RS485 Application Note.pdf: Cannot create file]
 

zohar

Junior Member level 1
Joined
Feb 20, 2002
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Israel
Activity points
71
S.N.A.P Protocol

Hi,
We build an 485 Controller network, after reviewing some major leading industry protocols (such as CAN, TCP, PPP etc.), we found the SNAP as the perfect protocol to controller network. It is a very flexible protocol that can meet ALL MCU application needs from the very smaller resources and up to 16 bits controller end so no.
If you need any help, PM me.

yours,
Zohar
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top