Master/Slave Connection with Netduino's?
#1
Posted 25 September 2011 - 11:33 AM
#2
Posted 25 September 2011 - 12:37 PM
#3
Posted 25 September 2011 - 04:02 PM
Hi MarioI don't think Netduino/MF supports the I2C slave mode.
The most simple, yet reliable way to exchange data between two (or more) Netduinos are using the UART. Until you don't use the RS232, you may wire the two boards without any additional hardware.
Supposing to use the COM1 on both the Netduinos, wire the I/O #0 of the first board to the I/O #1 of the second one. The other wire is the complementary.
Cheers
Thanks for the valuable information... i will Try this and hope i get through this problem....
#4
Posted 26 September 2011 - 12:53 PM
#5
Posted 26 September 2011 - 01:55 PM
It depends on the cable quality, and the baud-rate.What is max wire length, connecting two Netduinos using UART?
If you want to use normal wire (i.e. without any shield, nor impedance adapting), you might consider up to 1mt @ 9600 (maybe 19200). If you keep the wiring shorter than 10-15cm, you may increase the speed up to 115200.
Anyway, there are several factors to consider.
Cheers
#6
Posted 29 September 2011 - 01:06 PM
Thanks for your answers.It depends on the cable quality, and the baud-rate.
Using CAT5 helps? What is the best solution to connect master N+ and couple of Netduinos in a distance of 20 meters? What about 100 meters?
#7
Posted 29 September 2011 - 01:31 PM
For cabling over 10-15 meters the standard RS232 is not supported, and may not work.Thanks for your answers.
Using CAT5 helps? What is the best solution to connect master N+ and couple of Netduinos in a distance of 20 meters? What about 100 meters?
For our devices working in very hard conditions, we support up to 1.5km cabling with RS485.
However, under the following conditions:
- baud rate 9600 or 19200 (38400 max), parity=E, bits=8, stop=1;
- the cable must be a twisted-pair coax with shield;
- the termination must be 120 Ohms;
- the RS485 hardware is opto-isolated (that's for better decoupling, especially against lightnings);
- if more than slave connected, the wiring must be a single path (not star).
There are many other solutions, even (maybe) cheaper, but it depends on what you are going to do.
For example, is it a generic approach to deploy several systems, or just one in particular?
Will the cable run along a heavy noisy environment (e.g. big motors, industry, etc)?
Is it more important the reliability of the communication, or the economy/simplicity of the system?
#8
Posted 29 September 2011 - 09:21 PM
Thanks.
#9
Posted 30 September 2011 - 04:04 AM
#10
Posted 11 November 2011 - 10:46 PM
#11
Posted 24 April 2012 - 08:43 PM
I don't think Netduino/MF supports the I2C slave mode.
The most simple, yet reliable way to exchange data between two (or more) Netduinos are using the UART. Until you don't use the RS232, you may wire the two boards without any additional hardware.
Supposing to use the COM1 on both the Netduinos, wire the I/O #0 of the first board to the I/O #1 of the second one. The other wire is the complementary.
Cheers
Quote:
The most simple, yet reliable way to exchange data between two (or more) Netduinos are using the UART
Question:
(or more)?
can anyone point me in the right direction for conecting more than two Netduino's together as a simple network.
i dont want two have to use my Netduino Plus bords, it seams a waste, i have spair Netduino's and i am trying to work out how to connect 4 of them together, one running an LCD displaying basic data colected from the other three.
I have two connected fine with UART but i carnt work out how to implement more.
any help gratly apresiated.
regards
Jay Dee
#12
Posted 25 April 2012 - 03:36 AM
Quote:
The most simple, yet reliable way to exchange data between two (or more) Netduinos are using the UART
Question:
(or more)?
can anyone point me in the right direction for conecting more than two Netduino's together as a simple network.
i dont want two have to use my Netduino Plus bords, it seams a waste, i have spair Netduino's and i am trying to work out how to connect 4 of them together, one running an LCD displaying basic data colected from the other three.
I have two connected fine with UART but i carnt work out how to implement more.
any help gratly apresiated.
regards
Jay Dee
How far are they each other?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users