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.

Microcontroller embedded network

Status
Not open for further replies.

ruli

Newbie level 4
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?
 

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
 

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.
 

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

Back
Top