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

Microcontroller embedded network

Status
Not open for further replies.

ruli

Newbie level 4
Joined
Feb 24, 2003
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Monterrey, México
Activity points
41
Microcontroller network

I need to build a microcontroller network, i have tough to make it with CAN or RS-485. What do you think is the best protocol for make it, thanks

Is there any other protocol better for make an emmbedded network?
 

msmax

Full Member level 1
Joined
May 6, 2001
Messages
99
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Pays Bas
Activity points
919
I think you choose the hardware: CAn, RS485 and then define your own protocol for communication depended on the needs for your use.

I use a 5V/20mA current source to create a busline on which all micros are connected with single Rx/Tx pin. The pin is always Rx, except if the micro like to transmit. When transmitting, just short the busline with the data bits: 1= 0v, 0=5V
 

arturt134

Full Member level 2
Joined
Dec 31, 1999
Messages
125
Helped
8
Reputation
16
Reaction score
8
Trophy points
1,298
Location
Poland
Activity points
1,006
If you have only one master in your network - better solution is RS485. If you have many masters in the network - use CAN intrface. With CAN you can assign priority for each transmitter.
 

crono

Member level 3
Joined
May 1, 2001
Messages
59
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
767
Hi,
You can also use I2Cbus in single or multimaster arrangment. The limit is distance (ie capacitance of cable) if not buffered. Without buffer and low capacitance connection some meter of cable can be used at 100Kbaud.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top