Pages: [1]   Go Down
Author Topic: Multiple Arduinos  (Read 370 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi - if you have more than one Arduino board connected, how do you know which board is mapped to each comm port and will this mapping change each time the host pc is rebooted or the Arduinos unplugged and re-inserted. I have an app that requires two boards, they must not mixed up. Thanx
Logged

Paris FR
Offline Offline
Full Member
***
Karma: 0
Posts: 155
cute little geek...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you mean within the Arduino environnement or just for a software you've written which makes use of both the cards ? In the second option, it would be quite easy to make each Arduino identify itself at boottime or on a request using some kind of ID, possibly (but complicated) an UUID, or just a simple software signature or card signature you'll hardcode. Then you just write a very short handshaking code which allows the program to identify which card is which.
Logged

... could use some sleep

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank for the quick response and suggestions, I'll be using my own program on the host PC, so I'll give it a go!
Logged

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
this depends on the Operating System the you application is running on. I think there is a solution for all of them. What os will be used?
Eberhard
Logged

Paris FR
Offline Offline
Full Member
***
Karma: 0
Posts: 155
cute little geek...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

There are also electronic components (like DS-2401) which acts as a "silicon serial  number".... But it's a much more complicated solution than just hardcoding some id string into your code and sending it to the host computer when asked for.
Logged

... could use some sleep

Pages: [1]   Go Up
Jump to: